index.js000644 0004161107 14101745475007373 0ustar00000000 000000 !function(e){var t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(i,a,function(t){return e[t]}.bind(null,a));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=71)}([function(e,t,r){"use strict";r.r(t),r.d(t,"Cite",(function(){return lt})),r.d(t,"plugins",(function(){return b})),r.d(t,"util",(function(){return v})),r.d(t,"logger",(function(){return F})),r.d(t,"version",(function(){return Nt.version}));var i={};r.r(i),r.d(i,"currentVersion",(function(){return T})),r.d(i,"retrieveVersion",(function(){return A})),r.d(i,"retrieveLastVersion",(function(){return k})),r.d(i,"undo",(function(){return O})),r.d(i,"save",(function(){return S}));var a={};r.r(a),r.d(a,"options",(function(){return j})),r.d(a,"defaultOptions",(function(){return R}));var s={};r.r(s),r.d(s,"typeOf",(function(){return L})),r.d(s,"dataTypeOf",(function(){return B}));var n={};r.r(n),r.d(n,"applyGraph",(function(){return M})),r.d(n,"removeGraph",(function(){return U}));var o={};r.r(o),r.d(o,"TypeParser",(function(){return te})),r.d(o,"DataParser",(function(){return re})),r.d(o,"FormatParser",(function(){return ie}));var l={};r.r(l),r.d(l,"clean",(function(){return he}));var u={};r.r(u),r.d(u,"util",(function(){return Be})),r.d(u,"add",(function(){return Pe})),r.d(u,"get",(function(){return De})),r.d(u,"remove",(function(){return Re})),r.d(u,"has",(function(){return je})),r.d(u,"list",(function(){return Le})),r.d(u,"chain",(function(){return be})),r.d(u,"chainLink",(function(){return ve})),r.d(u,"chainAsync",(function(){return ye})),r.d(u,"chainLinkAsync",(function(){return xe})),r.d(u,"type",(function(){return J})),r.d(u,"addTypeParser",(function(){return Y})),r.d(u,"hasTypeParser",(function(){return K})),r.d(u,"removeTypeParser",(function(){return X})),r.d(u,"listTypeParser",(function(){return W})),r.d(u,"treeTypeParser",(function(){return Z})),r.d(u,"typeMatcher",(function(){return ee})),r.d(u,"data",(function(){return Oe})),r.d(u,"dataAsync",(function(){return ke})),r.d(u,"addDataParser",(function(){return Se})),r.d(u,"hasDataParser",(function(){return Qe})),r.d(u,"removeDataParser",(function(){return Ce})),r.d(u,"listDataParser",(function(){return Ne}));var c={};r.r(c),r.d(c,"add",(function(){return Ue})),r.d(c,"addAsync",(function(){return qe})),r.d(c,"set",(function(){return Fe})),r.d(c,"setAsync",(function(){return ze})),r.d(c,"reset",(function(){return Ge}));var m={};r.r(m),r.d(m,"sort",(function(){return Ye}));var p={};r.r(p),r.d(p,"async",(function(){return Ke})),r.d(p,"validateOutputOptions",(function(){return P})),r.d(p,"validateOptions",(function(){return D}));var h={};r.r(h),r.d(h,"register",(function(){return We})),r.d(h,"add",(function(){return Ze})),r.d(h,"remove",(function(){return et})),r.d(h,"has",(function(){return tt})),r.d(h,"list",(function(){return rt})),r.d(h,"format",(function(){return it}));var d={};r.r(d),r.d(d,"getIds",(function(){return at})),r.d(d,"format",(function(){return st})),r.d(d,"get",(function(){return nt}));var f={};r.r(f),r.d(f,"register",(function(){return ut})),r.d(f,"add",(function(){return ct})),r.d(f,"remove",(function(){return mt})),r.d(f,"has",(function(){return pt})),r.d(f,"list",(function(){return ht})),r.d(f,"get",(function(){return dt})),r.d(f,"htmlDict",(function(){return ft})),r.d(f,"textDict",(function(){return gt}));var g={};r.r(g),r.d(g,"add",(function(){return vt})),r.d(g,"get",(function(){return yt})),r.d(g,"has",(function(){return xt})),r.d(g,"remove",(function(){return _t})),r.d(g,"list",(function(){return wt}));var b={};r.r(b),r.d(b,"add",(function(){return At})),r.d(b,"remove",(function(){return Ot})),r.d(b,"has",(function(){return kt})),r.d(b,"list",(function(){return St})),r.d(b,"input",(function(){return u})),r.d(b,"output",(function(){return h})),r.d(b,"dict",(function(){return f})),r.d(b,"config",(function(){return g}));var v={};r.r(v),r.d(v,"deepCopy",(function(){return fe})),r.d(v,"fetchFile",(function(){return Lt})),r.d(v,"fetchFileAsync",(function(){return Bt})),r.d(v,"setUserAgent",(function(){return Mt})),r.d(v,"fetchId",(function(){return Me})),r.d(v,"TokenStack",(function(){return qt})),r.d(v,"Register",(function(){return Xe})),r.d(v,"Grammar",(function(){return Ft})),r.d(v,"Translator",(function(){return $t}));var y={};r.r(y),r.d(y,"parse",(function(){return Vt}));var x={};r.r(x),r.d(x,"parse",(function(){return Lt})),r.d(x,"parseAsync",(function(){return Bt}));var _={};r.r(_),r.d(_,"parse",(function(){return Jt})),r.d(_,"default",(function(){return Jt}));var w={};r.r(w),r.d(w,"parse",(function(){return Yt}));var E={};r.r(E),r.d(E,"parse",(function(){return Kt}));const T=function(){return this.log.length},A=function(e=1){if(e<=0||e>this.currentVersion())return null;{const[t,r]=this.log[e-1],i=new lt(JSON.parse(t),JSON.parse(r));return i.log=this.log.slice(0,e),i}},O=function(e=1){return this.retrieveVersion(this.currentVersion()-e)},k=function(){return this.retrieveVersion(this.currentVersion())},S=function(){return this.log.push([JSON.stringify(this.data),JSON.stringify(this._options)]),this},Q=["real","string"],C=["json","html","string","rtf"],N=["csl","bibtex","bibtxt","citation-*","ris","ndjson"],I=["string","function"];function P(e){if("object"!=typeof e)throw new TypeError("Options not an object!");const{format:t,type:r,style:i,lang:a,append:s,prepend:n}=e;if(t&&!Q.includes(t))throw new TypeError(`Option format ("${t}") should be one of: ${Q}`);if(r&&!C.includes(r))throw new TypeError(`Option type ("${r}") should be one of: ${C}`);if(i&&!N.includes(i)&&!/^citation/.test(i))throw new TypeError(`Option style ("${i}") should be one of: ${N}`);if(a&&"string"!=typeof a)throw new TypeError("Option lang should be a string, but is a "+typeof a);if(n&&!I.includes(typeof n))throw new TypeError("Option prepend should be a string or a function, but is a "+typeof n);if(s&&!I.includes(typeof s))throw new TypeError("Option append should be a string or a function, but is a "+typeof s);if(/^citation/.test(i)&&"json"===r)throw new Error(`Combination type/style of json/citation-* is not valid: ${r}/${i}`);return!0}function D(e){if("object"!=typeof e)throw new TypeError("Options should be an object");if(e.output)P(e.output);else{if(e.maxChainLength&&"number"!=typeof e.maxChainLength)throw new TypeError("Option maxChainLength should be a number");if(e.forceType&&"string"!=typeof e.forceType)throw new TypeError("Option forceType should be a string");if(null!=e.generateGraph&&"boolean"!=typeof e.generateGraph)throw new TypeError("Option generateGraph should be a boolean");if(null!=e.strict&&"boolean"!=typeof e.strict)throw new TypeError("Option strict should be a boolean");if(null!=e.target&&"string"!=typeof e.target)throw new TypeError("Option target should be a boolean")}return!0}const R={format:"real",type:"json",style:"csl",lang:"en-US"},j=function(e,t){return P(e),t&&this.save(),Object.assign(this._options,e),this},L=e=>{switch(e){case void 0:return"Undefined";case null:return"Null";default:return e.constructor.name}},B=e=>{switch(typeof e){case"string":return"String";case"object":if(Array.isArray(e))return"Array";if("Object"===L(e))return"SimpleObject";if("Null"!==L(e))return"ComplexObject";default:return"Primitive"}},M=(e,t)=>{if(e._graph){const r=t.findIndex(({type:e})=>"@else/list+object"===e);-1!==r&&t.splice(r+1,0,...e._graph.slice(0,-1))}return e._graph=t,e},U=e=>(delete e._graph,e),q={_output(e,t,r){this._log.push(t,r),this._levels.indexOf(e)q._output(e,t,r);"function"==typeof console.Console?q._console=new console.Console(process.stderr):q._console=console;var F=q;const z={},G={},$={},V=(e,t)=>{switch(t){case"Array":return 0===e.length||e.every(e=>"@csl/object"===J(e))?"@csl/list+object":"@else/list+object";case"SimpleObject":case"ComplexObject":return"@csl/object";default:return"@invalid"}},H=(e=[],t)=>{for(const r of e)if(z[r].predicate(t))return H(z[r].extensions,t)||r},J=e=>{const t=B(e);if("Array"===t&&0===e.length)return V(e,t);return H(G[t],e)||V(e,t)},Y=(e,{dataType:t,predicate:r,extends:i})=>{let a=[];e in $&&(a=$[e],delete $[e],F.debug("[core]",`Subclasses "${a}" finally registered to parent type "${e}"`));const s={predicate:r,extensions:a};if(z[e]=s,i){const t=z[i];t?t.extensions.push(e):($[i]||($[i]=[]),$[i].push(e),F.debug("[core]",`Subclass "${e}" is waiting on parent type "${i}"`))}else{(G[t]||(G[t]=[])).push(e)}},K=e=>Object.prototype.hasOwnProperty.call(z,e),X=e=>{delete z[e];[...Object.keys(G).map(e=>G[e]),...Object.keys(z).map(e=>z[e].extensions).filter(e=>e.length>0)].forEach(t=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)})},W=()=>Object.keys(z),Z=()=>{const e=t=>({name:t,children:z[t].extensions.map(e)});return{name:"Type tree",children:Object.keys(G).map(t=>({name:t,children:G[t].map(e)}))}},ee=/^(?:@(.+?))(?:\/(?:(.+?)\+)?(?:(.+)))?$/;class te{constructor(e){var t,r,i;i=["String","Array","SimpleObject","ComplexObject","Primitive"],(r="validDataTypes")in(t=this)?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,this.data=e}validateDataType(){const e=this.data.dataType;if(e&&!this.validDataTypes.includes(e))throw new RangeError(`dataType was ${e}; expected one of ${this.validDataTypes}`)}validateParseType(){const e=this.data.predicate;if(e&&!(e instanceof RegExp||"function"==typeof e))throw new TypeError(`predicate was ${typeof e}; expected RegExp or function`)}validateTokenList(){const e=this.data.tokenList;if(e&&"object"!=typeof e)throw new TypeError(`tokenList was ${typeof e}; expected object or RegExp`)}validatePropertyConstraint(){const e=this.data.propertyConstraint;if(e&&"object"!=typeof e)throw new TypeError(`propertyConstraint was ${typeof e}; expected array or object`)}validateElementConstraint(){const e=this.data.elementConstraint;if(e&&"string"!=typeof e)throw new TypeError(`elementConstraint was ${typeof e}; expected string`)}validateExtends(){const e=this.data.extends;if(e&&"string"!=typeof e)throw new TypeError(`extends was ${typeof e}; expected string`)}validate(){if(null===this.data||"object"!=typeof this.data)throw new TypeError(`typeParser was ${typeof this.data}; expected object`);this.validateDataType(),this.validateParseType(),this.validateTokenList(),this.validatePropertyConstraint(),this.validateElementConstraint(),this.validateExtends()}parseTokenList(){let e=this.data.tokenList;if(!e)return[];e instanceof RegExp&&(e={token:e});const{token:t,split:r=/\s+/,trim:i=!0,every:a=!0}=e,s=a?"every":"some";return[e=>(e=>i?e.trim():e)(e).split(r)[s](e=>t.test(e))]}parsePropertyConstraint(){return[].concat(this.data.propertyConstraint||[]).map(({props:e,match:t="every",value:r})=>{switch(e=[].concat(e),t){case"every":return t=>e.every(e=>e in t&&(!r||r(t[e])));case"any":case"some":return t=>e.some(e=>e in t&&(!r||r(t[e])));case"none":return t=>!e.some(e=>e in t&&(!r||r(t[e])))}})}parseElementConstraint(){const e=this.data.elementConstraint;return e?[t=>t.every(t=>J(t)===e)]:[]}parsePredicate(){return this.data.predicate instanceof RegExp?[this.data.predicate.test.bind(this.data.predicate)]:this.data.predicate?[this.data.predicate]:[]}getCombinedPredicate(){const e=[...this.parsePredicate(),...this.parseTokenList(),...this.parsePropertyConstraint(),...this.parseElementConstraint()];return 0===e.length?()=>!0:1===e.length?e[0]:t=>e.every(e=>e(t))}getDataType(){return this.data.dataType?this.data.dataType:this.data.predicate instanceof RegExp||this.data.tokenList?"String":this.data.elementConstraint?"Array":"Primitive"}get dataType(){return this.getDataType()}get predicate(){return this.getCombinedPredicate()}get extends(){return this.data.extends}}class re{constructor(e,{async:t}={}){this.parser=e,this.async=t}validate(){const e=this.parser;if("function"!=typeof e)throw new TypeError(`parser was ${typeof e}; expected function`)}}class ie{constructor(e,t={}){this.format=e,t.parseType&&(this.typeParser=new te(t.parseType)),t.parse&&(this.dataParser=new re(t.parse,{async:!1})),t.parseAsync&&(this.asyncDataParser=new re(t.parseAsync,{async:!0}))}validateFormat(){const e=this.format;if(!ee.test(e))throw new TypeError(`format name was "${e}"; didn't match expected pattern`)}validate(){this.validateFormat(),this.typeParser&&this.typeParser.validate(),this.dataParser&&this.dataParser.validate(),this.asyncDataParser&&this.asyncDataParser.validate()}}var ae=r(4);function se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function ne(e){for(var t=1;t"number"==typeof e)?e:!t||e.some(e=>isNaN(parseInt(e)))?void 0:e.map(e=>parseInt(e))},pe=function(e,t,r){const i=[].concat(ue[e]);switch(ue[e]){case 1:return ce(t,r);case 2:return function(e,t){if(e instanceof Array){const r=e.map(e=>ce(e,t)).filter(Boolean);return r.length?r:void 0}}(t,r);case 3:return function(e,t){const r="date-parts";if("object"==typeof e&&null!==e){if(e[r]instanceof Array&&e[r].every(e=>e instanceof Array)){const i=e[r].map(e=>me(e,t)).filter(Boolean);return i.length?ne(ne({},e),{},{"date-parts":i}):void 0}if(e instanceof Array&&e.every(e=>e[r]instanceof Array)){const i=e.map(e=>me(e[r],t)).filter(Boolean);return i.length?{"date-parts":i}:void 0}if(e[r]instanceof Array){const i=me(e[r],t);return i&&{"date-parts":[i]}}return"literal"in e||"raw"in e?e:void 0}}(t,r);case 4:return function(e,t){return e=pe("language",e,t),!0===le[e]?e:t&&e in le?le[e]:void 0}(t,r)}if(/^_/.test(e))return t;if(r){if("string"==typeof t&&i.includes("number")&&!isNaN(+t))return parseFloat(t);if("number"==typeof t&&i.includes("string")&&!i.includes("number"))return t.toString();if(Array.isArray(t)&&t.length)return pe(e,t[0],r)}return i.includes(typeof t)?t:void 0},he=function(e,t=!0){return e.map((function(e){const r={};for(const i in e){const a=pe(i,e[i],t);void 0!==a&&(r[i]=a)}return r}))};function de(e,t=new Set){if("object"!=typeof e||null===e||e.constructor!==Object&&e.constructor!==Array)return e;if(t.has(e))throw new TypeError("Recursively copying circular structure");let r;if(t.add(e),e.constructor===Array)r=e.map(e=>de(e,t));else{const i={};for(const r in e)i[r]=de(e[r],t);r=i}return t.delete(e),r}var fe=de;class ge{constructor(e,t={}){this.options=Object.assign({generateGraph:!0,forceType:J(e),maxChainLength:10,strict:!0,target:"@csl/list+object"},t),this.type=this.options.forceType,this.data="object"==typeof e?fe(e):e,this.graph=[{type:this.type,data:e}],this.iteration=0}iterate(){if(0!==this.iteration){const e=De(this.type);e&&e.outputs?this.type=e.outputs:this.type=J(this.data),this.graph.push({type:this.type})}return!this.error&&this.type!==this.options.target&&(this.iteration>=this.options.maxChainLength?(this.error=new RangeError(`Max. number of parsing iterations reached (${e=this.graph,e.reduce((e,t)=>{const r=e[e.length-1];return r&&r.type===t.type?r.count=r.count+1||2:e.push(t),e},[]).map(e=>(e.count>1?e.count+"x ":"")+e.type).join(" -> ")})`),!1):(this.iteration++,!0));var e}end(){if(this.error){if(F.error("[core]",this.error.message),!1!==this.options.strict)throw this.error;return[]}return"@csl/list+object"===this.options.target?this.data.map(this.options.generateGraph?e=>M(e,this.graph):U):this.data}}const be=(...e)=>{const t=new ge(...e);for(;t.iterate();)try{t.data=Oe(t.data,t.type)}catch(e){t.error=e}return t.end()},ve=e=>{const t=J(e),r=t.match(/array|object/)?fe(e):e;return Oe(r,t)},ye=async(...e)=>{const t=new ge(...e);for(;t.iterate();)t.data=await ke(t.data,t.type).catch(e=>{t.error=e});return t.end()},xe=async e=>{const t=J(e),r=t.match(/array|object/)?fe(e):e;return ke(r,t)},_e=e=>[].concat(...e),we={},Ee={},Te={"@csl/object":e=>[e],"@csl/list+object":e=>e,"@else/list+object":e=>_e(e.map(be)),"@invalid":()=>{throw new Error("This format is not supported or recognized")}},Ae={"@else/list+object":async e=>_e(await Promise.all(e.map(ye)))},Oe=(e,t)=>{if("function"==typeof we[t])return we[t](e);if("function"==typeof Te[t])return Te[t](e);throw new TypeError("No synchronous parser found for "+t)},ke=async(e,t)=>{if("function"==typeof Ee[t])return Ee[t](e);if("function"==typeof Ae[t])return Ae[t](e);if(Qe(t,!1))return Oe(e,t);throw new TypeError("No parser found for "+t)},Se=(e,{parser:t,async:r})=>{r?Ee[e]=t:we[e]=t},Qe=(e,t)=>t?Ee[e]||Ae[e]:we[e]||Te[e],Ce=(e,t)=>{delete(t?Ee:we)[e]},Ne=e=>Object.keys(e?Ee:we),Ie={},Pe=(e,t)=>{const r=new ie(e,t);r.validate();const i=Ie[e]||(Ie[e]={});r.typeParser&&(Y(e,r.typeParser),i.type=!0),r.dataParser&&(Se(e,r.dataParser),i.data=!0),r.asyncDataParser&&(Se(e,r.asyncDataParser),i.asyncData=!0),t.outputs&&(i.outputs=t.outputs)},De=e=>Ie[e],Re=e=>{const t=Ie[e];t&&(t.type&&X(e),t.data&&Ce(e),t.asyncData&&Ce(e,!0),delete Ie[e])},je=e=>e in Ie,Le=()=>Object.keys(Ie),Be=Object.assign({},s,n,o,l);var Me=function(e,t){let r;for(;void 0===r||e.includes(r);)r=`${t}${Math.random().toString().slice(2)}`;return r};const Ue=function(e,t={},r=!1){return!0!==t&&!0!==r||this.save(),this.data.push(...be(e,t)),this.data.filter(e=>!Object.prototype.hasOwnProperty.call(e,"id")).forEach(e=>{e.id=Me(this.getIds(),"temp_id_")}),this},qe=async function(e,t={},r=!1){return!0!==t&&!0!==r||this.save(),this.data.push(...await ye(e,t)),this.data.filter(e=>!Object.prototype.hasOwnProperty.call(e,"id")).forEach(e=>{e.id=Me(this.getIds(),"temp_id_")}),this},Fe=function(e,t={},r=!1){return!0!==t&&!0!==r||this.save(),this.data=[],"boolean"!=typeof t?this.add(e,t):this.add(e)},ze=async function(e,t={},r=!1){return!0!==t&&!0!==r||this.save(),this.data=[],"boolean"!=typeof t?this.addAsync(e,t):this.addAsync(e)},Ge=function(e){return e&&this.save(),this.data=[],this._options={},this},$e=e=>{if("citation-label"in e)return e["citation-label"];let t="";return e.author&&(t+=e.author[0].family||e.author[0].literal),e.issued&&e.issued["date-parts"]&&e.issued["date-parts"][0]&&(t+=e.issued["date-parts"][0][0]),e["year-suffix"]?t+=e["year-suffix"]:e.title&&(t+=e.title.replace(/<\/?.*?>/g,"").match(/^(?:(?:the|a|an)\s+)?(\S+)/i)[1]),t};var Ve={label:e=>e.reduce((e,t)=>(e[t.id]=$e(t),e),{})};const He=function(e,t,r="label"===t){let i=r?$e(e):e[t];switch(t){case"author":case"editor":return i.map(e=>e.literal||e.family||Object(ae.format)(e));case"accessed":case"issued":return i["date-parts"][0];case"page":return i.split("-").map(e=>parseInt(e));case"edition":case"issue":case"volume":return i=parseInt(i),isNaN(i)?-1/0:i;default:return i||-1/0}},Je=function(e,t,r,i=/^!/.test(r)){r=r.replace(/^!/,"");const a=He(e,r),s=He(t,r);return(i?-1:1)*(a>s?1:a{const i=e.slice();let a=0;for(;!a&&i.length;)a=Je(t,r,i.shift());return a}}(...e,"label")),this};var Ke=function(e,t,r){"function"!=typeof t||r||(r=t,t=void 0);const i=lt().setAsync(e,t);return"function"==typeof r?void i.then(r):i};var Xe=class{constructor(e={}){this.data=e}set(e,t){return this.data[e]=t,this}add(...e){return this.set(...e)}delete(e){return delete this.data[e],this}remove(...e){return this.delete(...e)}get(e){return this.data[e]}has(e){return Object.prototype.hasOwnProperty.call(this.data,e)}list(){return Object.keys(this.data)}};const We=new Xe,Ze=(e,t)=>{((e,t)=>{if("string"!=typeof e)throw new TypeError("Invalid output format name, expected string, got "+typeof e);if("function"!=typeof t)throw new TypeError("Invalid formatter, expected function, got "+typeof t)})(e,t),We.set(e,t)},et=e=>{We.remove(e)},tt=e=>We.has(e),rt=()=>We.list(),it=(e,t,...r)=>{if(!We.has(e))throw new Error(`Output format "${e}" unavailable`);return We.get(e)(t,...r)};function at(){return this.data.map(e=>e.id)}function st(e,...t){return it(e,he(this.data),...t)}function nt(e={}){P(e);const t=Object.assign({},this.defaultOptions,this._options.output,e),{type:r,style:i}=t,[a,s]=i.split("-"),n="citation"===a?"bibliography":"csl"===a?"data":a,o="string"===r?"text":"json"===r?"object":r;let l;switch(n){case"bibliography":{const{lang:e,append:r,prepend:i}=t;l={template:s,lang:e,format:o,append:r,prepend:i};break}case"data":case"bibtex":case"bibtxt":case"ndjson":case"ris":l={type:o};break;default:throw new Error(`Invalid style "${n}"`)}const u=this.format(n,Object.assign(l,e._newOptions)),{format:c}=t;if("real"===c&&"html"===o&&"undefined"!=typeof document&&"function"==typeof document.createElement){const e=document.createElement("div");return e.innerHTML=u,e.firstChild}return"string"===c&&"object"==typeof u?JSON.stringify(u):u}function ot(e,t={}){return this instanceof ot?(this._options=t,this.log=[],this.data=[],this.set(e,t),this.options(t),this):new ot(e,t)}Object.assign(ot.prototype,i,a,c,m,d),ot.prototype[Symbol.iterator]=function*(){yield*this.data},Object.assign(ot,p);var lt=ot;const ut=new Xe({html:{bibliographyContainer:['
',"
"],entry:['
',"
"],list:['
    ',"
"],listItem:["
  • ","
  • "]},text:{bibliographyContainer:["","\n"],entry:["","\n"],list:["\n",""],listItem:["\t","\n"]}}),ct=(e,t)=>{((e,t)=>{if("string"!=typeof e)throw new TypeError("Invalid dict name, expected string, got "+typeof e);if("object"!=typeof t)throw new TypeError("Invalid dict, expected object, got "+typeof t);for(const e in t){const r=t[e];if(!Array.isArray(r)||r.some(e=>"string"!=typeof e))throw new TypeError(`Invalid dict entry "${e}", expected array of strings`)}})(e,t),ut.set(e,t)},mt=e=>{ut.remove(e)},pt=e=>ut.has(e),ht=()=>ut.list(),dt=e=>{if(!ut.has(e))throw new Error(`Dict "${e}" unavailable`);return ut.get(e)},ft={wr_start:'
    ',wr_end:"
    ",en_start:'
    ',en_end:"
    ",ul_start:'
      ',ul_end:"
    ",li_start:"
  • ",li_end:"
  • "},gt={wr_start:"",wr_end:"\n",en_start:"",en_end:"\n",ul_start:"\n",ul_end:"",li_start:"\t",li_end:"\n"},bt={},vt=(e,t)=>{bt[e]=t},yt=e=>bt[e],xt=e=>Object.prototype.hasOwnProperty.call(bt,e),_t=e=>{delete bt[e]},wt=()=>Object.keys(bt),Et={input:u,output:h,dict:f,config:g},Tt={},At=(e,t={})=>{const r=Tt[e]={};for(const i in t){if("config"===i){r.config={[e]:t.config},Et.config.add(e,t.config);continue}const a=r[i]={},s=t[i];for(const e in s){const t=s[e];a[e]=!0,Et[i].add(e,t)}}},Ot=e=>{const t=Tt[e];for(const e in t){const r=t[e];for(const t in r)Et[e].remove(t)}delete Tt[e]},kt=e=>e in Tt,St=()=>Object.keys(Tt);var Qt=r(23),Ct=r.n(Qt),Nt=(r(43),r(14));const It="undefined"!=typeof location&&"undefined"!=typeof document;let Pt=`Citation.js/${Nt.version} Node.js/${process.version}`;function Dt(e){const t={},r=e instanceof Headers||e instanceof Ct.a.Headers?Array.from(e):Object.entries(e);for(const[e,i]of r)t[e.toLowerCase()]=i.toString();return t}function Rt(e={}){const t={headers:{accept:"*/*"},method:"GET",checkContentType:e.checkContentType};if(Pt&&!It&&(t.headers["user-agent"]=Pt),e.body){t.method="POST";const r="string"!=typeof e.body;t.body=r?JSON.stringify(e.body):e.body,t.headers["content-type"]=r?"application/json":"text/plain"}return e.headers&&Object.assign(t.headers,Dt(e.headers)),t}function jt(e,t){const{status:r,headers:i}=e;let a;if(r>=400?a=new Error("Server responded with status code "+r):!0!==t.checkContentType||function(e,t){if(!e.accept||"*/*"===e.accept||!t["content-type"])return!0;const[r,i]=t["content-type"].split(";")[0].trim().split("/");return e.accept.split(",").map(e=>e.split(";")[0].trim().split("/")).some(([e,t])=>!(e!==r&&"*"!==e||t!==i&&"*"!==t))}(t.headers,Dt(i))||(a=new Error("Server responded with content-type "+i.get("content-type"))),a)throw a.status=r,a.headers=i,a.body=e.body,a;return e}function Lt(e,t){const r=Rt(t);F.http("[core]",r.method,e,r);return jt(Ct()(e,r),r).text()}async function Bt(e,t){const r=Rt(t);return F.http("[core]",r.method,e,r),fetch(e,r).then(e=>jt(e,r)).then(e=>e.text())}function Mt(e){Pt=e}class Ut{constructor(e){this.stack=e,this.index=0,this.current=this.stack[this.index]}static getPatternText(e){return`"${e instanceof RegExp?e.source:e}"`}static getMatchCallback(e){if(Array.isArray(e)){const t=e.map(Ut.getMatchCallback);return e=>t.some(t=>t(e))}return e instanceof Function?e:e instanceof RegExp?t=>e.test(t):t=>e===t}tokensLeft(){return this.stack.length-this.index}matches(e){return Ut.getMatchCallback(e)(this.current,this.index,this.stack)}matchesSequence(e){const t=this.stack.slice(this.index,this.index+e.length).join("");return"string"==typeof e?t===e:e.every((e,r)=>Ut.getMatchCallback(e)(t[r]))}consumeToken(e=/^[\s\S]$/,{inverse:t=!1,spaced:r=!0}={}){r&&this.consumeWhitespace();const i=this.current;if(!Ut.getMatchCallback(e)(i,this.index,this.stack))throw new SyntaxError(`Unexpected token at index ${this.index}: Expected ${Ut.getPatternText(e)}, got "${i}"`);return this.current=this.stack[++this.index],r&&this.consumeWhitespace(),i}consumeWhitespace(e=/^\s$/,{optional:t=!0}={}){return this.consume(e,{min:+!t})}consumeN(e){if(this.tokensLeft()r)throw new SyntaxError("Too many "+Ut.getPatternText(e));return a&&(l=l.map(a)),s&&(l=l.filter(s)),l.join("")}}var qt=Ut;class Ft{constructor(e,t){this.rules=e,this.defaultState=t,this.mainRule=Object.keys(e)[0],this.log=[]}parse(e,t){return this.lexer=e,this.token=this.lexer.next(),this.state=de(this.defaultState),this.log=[],this.consumeRule(t||this.mainRule)}matchEndOfFile(){return!this.token}matchToken(e){return this.token&&e===this.token.type}consumeToken(e,t){const r=this.token;if(!e||r&&r.type===e)return this.token=this.lexer.next(),r;if(!t){const t=r?`"${r.type}"`:"EOF",i=new SyntaxError(this.lexer.formatError(r,`expected "${e}", got ${t}`));throw i.message+=` (${this.log.join("->")})`,i}}consumeRule(e){this.log.push(e);const t=this.rules[e].call(this);return this.log.pop(),t}}function zt(e,t){let r,i,a,s;if("string"==typeof e)r=i=e;else{if(!e)return null;r=t?e.target:e.source,i=t?e.source:e.target,e.convert&&(a=t?e.convert.toSource:e.convert.toTarget),e.when&&(s=t?e.when.target:e.when.source,null!=s&&(s=function(e){return function(t){return"boolean"==typeof e?e:Object.keys(e).every(r=>{const i=e[r];return!0===i?r in t:!1===i?!(r in t):"function"==typeof i?i(t[r]):Array.isArray(i)?i.includes(t[r]):t[r]===i})}}(s)))}return r=[].concat(r).filter(Boolean),i=[].concat(i).filter(Boolean),{inputProp:r,outputProp:i,convert:a,condition:s}}function Gt(e,t){return t=t===$t.CONVERT_TO_SOURCE,e=e.map(e=>zt(e,t)).filter(Boolean),function(t){const r={};for(const{inputProp:i,outputProp:a,convert:s,condition:n}of e){if(0===a.length)continue;if(n&&!n(t))continue;if(0!==i.length&&i.every(e=>!(e in t)))continue;let e=i.map(e=>t[e]);if(s){const r=s.apply(t,e);e=1===a.length?[r]:r}a.forEach((t,i)=>{const a=e[i];void 0!==a&&(r[t]=a)})}return r}}class $t{constructor(e){this.convertToSource=Gt(e,$t.CONVERT_TO_SOURCE),this.convertToTarget=Gt(e,$t.CONVERT_TO_TARGET)}}$t.CONVERT_TO_SOURCE=Symbol("convert to source"),$t.CONVERT_TO_TARGET=Symbol("convert to target");const Vt=()=>[],Ht=[[/((?:\[|:|,)\s*)'((?:\\'|[^'])*?[^\\])?'(?=\s*(?:\]|}|,))/g,'$1"$2"'],[/((?:(?:"|]|}|\/[gmiuys]|\.|(?:\d|\.|-)*\d)\s*,|{)\s*)(?:"([^":\n]+?)"|'([^":\n]+?)'|([^":\n]+?))(\s*):/g,'$1"$2$3$4"$5:']],Jt=function(e){if("string"!=typeof e)return JSON.parse(e);try{return JSON.parse(e)}catch(t){return F.debug("[plugin-common]","Invalid JSON, switching to experimental parser"),Ht.forEach(([t,r])=>{e=e.replace(t,r)}),JSON.parse(e)}};function Yt(e){return e.val()||e.text()||e.html()}function Kt(e){return e.value||e.textContent}const Xt={"@empty/text":{parse:Vt,parseType:{dataType:"String",predicate:e=>""===e}},"@empty/whitespace+text":{parse:Vt,parseType:{dataType:"String",predicate:/^\s+$/}},"@empty":{parse:Vt,parseType:{dataType:"Primitive",predicate:e=>null==e}},"@else/json":{parse:Jt,parseType:{dataType:"String",predicate:/^\s*(\{[\S\s]*\}|\[[\S\s]*\])\s*$/}},"@else/url":{parse:Lt,parseAsync:Bt,parseType:{dataType:"String",predicate:/^https?:\/\/(([\w-]+\.)*[\w-]+)(:\d+)?(\/[^?/]*)*(\?[^#]*)?(#.*)?$/i}},"@else/jquery":{parse:Yt,parseType:{dataType:"ComplexObject",predicate:e=>"undefined"!=typeof jQuery&&e instanceof jQuery}},"@else/html":{parse:Kt,parseType:{dataType:"ComplexObject",predicate:e=>"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}}},Wt=(e,t,r)=>e+(ter(e,t)):Object.keys(e).filter(t=>JSON.stringify(e[t])).map(r=>`"${r}": ${er(e[r],t)}`),i=i.map(Wt).map(e=>t.listItem.join(e)),i=t.list.join(i.join("")),r?`[${i}]`:`{${i}}`},er=function(e,t){return"object"==typeof e&&null!==e?0===e.length?"[]":0===Object.keys(e).length?"{}":Zt(e,t):JSON.stringify(e)},tr=function(e,t){let r=e.map(e=>Zt(e,t));return r=r.map(Wt).map(e=>t.entry.join(e)),r=r.join(""),t.bibliographyContainer.join(`[${r}]`)};var rr={data:(e,{type:t,format:r=t||"text"}={})=>"object"===r?fe(e):"text"===r?JSON.stringify(e,null,2):(F.warn("[core]","This feature (JSON output with special formatting) is unstable. See https://github.com/larsgw/citation.js/issues/144"),tr(e,f.get(r))),ndjson:e=>e.map(e=>JSON.stringify(e)).join("\n")},ir=Object.assign({},rr,Ve);At("@else",{input:Xt,output:ir})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"format",{enumerable:!0,get:function(){return a.default}});var i=s(r(90)),a=s(r(91));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=require("stream")},function(e,t){e.exports={shortLang:e=>e.toLowerCase().split("_")[0],forceArray:e=>("string"==typeof e&&(e=[e]),e||[]),isPlainObject:e=>!(!e||"object"!=typeof e||e instanceof Array),fixedEncodeURIComponent:e=>encodeURIComponent(e).replace(/[!'()*]/g,r),replaceSpaceByUnderscores:e=>e.replace(/\s/g,"_"),uniq:e=>Array.from(new Set(e))};const r=e=>"%"+e.charCodeAt(0).toString(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"format",{enumerable:!0,get:function(){return a.default}});var i=s(r(85)),a=s(r(86));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=joplin},function(e,t,r){"use strict";var i,a,s,n,o,l,u,c,m,p,h={PROCESSOR_VERSION:"1.4.59",error:function(e){throw"undefined"==typeof Error?new Error("citeproc-js error: "+e):"citeproc-js error: "+e},debug:function(e){"undefined"==typeof console?dump("CSL: "+e+"\n"):console.log("citeproc-js warning: "+e)},toLocaleUpperCase(e){var t=this.tmp.lang_array;try{e=e.toLocaleUpperCase(t)}catch(t){e=e.toUpperCase()}return e},toLocaleLowerCase(e){var t=this.tmp.lang_array;try{e=e.toLocaleLowerCase(t)}catch(t){e=e.toLowerCase()}return e},LOCATOR_LABELS_REGEXP:new RegExp("^((vrs|sv|subpara|op|subch|add|amend|annot|app|art|bibliog|bk|ch|cl|col|cmt|dec|dept|div|ex|fig|fld|fol|n|hypo|illus|intro|l|no|p|pp|para|pt|pmbl|princ|pub|r|rn|sched|sec|ser|subdiv|subsec|supp|tbl|tit|vol)\\.)\\s+(.*)"),STATUTE_SUBDIV_PLAIN_REGEX:/(?:(?:^| )(?:vrs|sv|subpara|op|subch|add|amend|annot|app|art|bibliog|bk|ch|cl|col|cmt|dec|dept|div|ex|fig|fld|fol|n|hypo|illus|intro|l|no|p|pp|para|pt|pmbl|princ|pub|r|rn|sched|sec|ser|subdiv|subsec|supp|tbl|tit|vol)\. *)/,STATUTE_SUBDIV_PLAIN_REGEX_FRONT:/(?:^\s*[.,;]*\s*(?:vrs|sv|subpara|op|subch|add|amend|annot|app|art|bibliog|bk|ch|cl|col|cmt|dec|dept|div|ex|fig|fld|fol|n|hypo|illus|intro|l|no|p|pp|para|pt|pmbl|princ|pub|r|rn|sched|sec|ser|subdiv|subsec|supp|tbl|tit|vol)\. *)/,STATUTE_SUBDIV_STRINGS:{"vrs.":"verse","sv.":"sub-verbo","subpara.":"subparagraph","op.":"opus","subch.":"subchapter","add.":"addendum","amend.":"amendment","annot.":"annotation","app.":"appendix","art.":"article","bibliog.":"bibliography","bk.":"book","ch.":"chapter","cl.":"clause","col.":"column","cmt.":"comment","dec.":"decision","dept.":"department","div.":"division","ex.":"example","fig.":"figure","fld.":"field","fol.":"folio","n.":"note","hypo.":"hypothetical","illus.":"illustration","intro.":"introduction","l.":"line","no.":"issue","p.":"page","pp.":"page","para.":"paragraph","pt.":"part","pmbl.":"preamble","princ.":"principle","pub.":"publication","r.":"rule","rn.":"randnummer","sched.":"schedule","sec.":"section","ser.":"series,","subdiv.":"subdivision","subsec.":"subsection","supp.":"supplement","tbl.":"table","tit.":"title","vol.":"volume"},STATUTE_SUBDIV_STRINGS_REVERSE:{verse:"vrs.","sub-verbo":"sv.","sub verbo":"sv.",subparagraph:"subpara.",opus:"op.",subchapter:"subch.",addendum:"add.",amendment:"amend.",annotation:"annot.",appendix:"app.",article:"art.",bibliography:"bibliog.",book:"bk.",chapter:"ch.",clause:"cl.",column:"col.",comment:"cmt.",decision:"dec.",department:"dept.",division:"div.",example:"ex.",figure:"fig.",field:"fld.",folio:"fol.",note:"n.",hypothetical:"hypo.",illustration:"illus.",introduction:"intro.",line:"l.",issue:"no.",page:"p.",paragraph:"para.",part:"pt.",preamble:"pmbl.",principle:"princ.",publication:"pub.",rule:"r.",randnummer:"rn.",schedule:"sched.",section:"sec.","series,":"ser.",subdivision:"subdiv.",subsection:"subsec.",supplement:"supp.",table:"tbl.",title:"tit.",volume:"vol."},LOCATOR_LABELS_MAP:{vrs:"verse",sv:"sub-verbo",subpara:"subparagraph",op:"opus",subch:"subchapter",add:"addendum",amend:"amendment",annot:"annotation",app:"appendix",art:"article",bibliog:"bibliography",bk:"book",ch:"chapter",cl:"clause",col:"column",cmt:"comment",dec:"decision",dept:"department",div:"division",ex:"example",fig:"figure",fld:"field",fol:"folio",n:"note",hypo:"hypothetical",illus:"illustration",intro:"introduction",l:"line",no:"issue",p:"page",pp:"page",para:"paragraph",pt:"part",pmbl:"preamble",princ:"principle",pub:"publication",r:"rule",rn:"randnummer",sched:"schedule",sec:"section",ser:"series,",subdiv:"subdivision",subsec:"subsection",supp:"supplement",tbl:"table",tit:"title",vol:"volume"},MODULE_MACROS:{"juris-pretitle":!0,"juris-title":!0,"juris-pretitle-short":!0,"juris-title-short":!0,"juris-main":!0,"juris-main-short":!0,"juris-tail":!0,"juris-tail-short":!0,"juris-locator":!0},MODULE_TYPES:{legal_case:!0,legislation:!0,bill:!0,hearing:!0,gazette:!0,report:!0,regulation:!0,standard:!0,patent:!0,locator:!0},checkNestedBrace:function(e){"note"===e.opt.xclass?(this.depth=0,this.update=function(e){for(var t=(e=e||"").split(/([\(\)])/),r=1,i=t.length;r-1;n--)if(e.opt.availableAbbrevDomains[t].indexOf(s[n])>-1){i=s[n];break}if(!i&&a)for(n=a.length-1;n>-1;n--)if(e.opt.availableAbbrevDomains[t].indexOf(a[n])>-1){i=a[n];break}}return i},FIELD_CATEGORY_REMAP:{title:"title","container-title":"container-title","collection-title":"collection-title",country:"place",number:"number",place:"place",archive:"container-title","title-short":"title",genre:"title",event:"title",medium:"title","archive-place":"place","publisher-place":"place","event-place":"place",jurisdiction:"place","language-name":"place","language-name-original":"place","call-number":"number","chapter-number":"number","collection-number":"number",edition:"number",page:"number",issue:"number",locator:"number","locator-extra":"number","number-of-pages":"number","number-of-volumes":"number",volume:"number","citation-number":"number",publisher:"institution-part"},parseLocator:function(e){if(this.opt.development_extensions.locator_date_and_revision&&e.locator){e.locator=""+e.locator;var t=e.locator.indexOf("|");if(t>-1){var r=e.locator;e.locator=r.slice(0,t);var i=(r=r.slice(t+1)).match(/^([0-9]{4}-[0-9]{2}-[0-9]{2}).*/);i&&(e["locator-date"]=this.fun.dateparser.parseDateToObject(i[1]),r=r.slice(i[1].length)),e["locator-extra"]=r.replace(/^\s+/,"").replace(/\s+$/,"")}}return e.locator&&(e.locator=(""+e.locator).replace(/\s+$/,"")),e},normalizeLocaleStr:function(e){if(e){var t=e.split("-");return t[0]=t[0].toLowerCase(),t[1]&&(t[1]=t[1].toUpperCase()),t.join("-")}},parseNoteFieldHacks:function(e,t,r){if("string"==typeof e.note){for(var i=[],a=e.note.split("\n"),s=0,n=a.length;s0||u>1)||i[u-1].match(h.NOTE_FIELD_REGEXP));u+=2)i[u]="\n"+i[u].slice(2,-1).trim()+"\n";a[s]=i.join("")}}var m=0,p={};for(s=0,n=(a=a.join("\n").split("\n")).length;s-1)e[g]&&!r||(e[g]=h.DateParser.parseDateToArray(b),(!t||t[g]&&this.isDateString(b))&&(a[s]=""));else if(!e[g]){if(h.NAME_VARIABLES.indexOf(g.replace(/^alt-/,""))>-1){p[g]||(p[g]=[]);var v=b.split(/\s*\|\|\s*/);if(1===v.length)p[g].push({literal:v[0]});else if(2===v.length){var y={family:v[0],given:v[1]};h.parseParticles(y),p[g].push(y)}}else e[g]=b;t&&!t[g]||(a[s]="")}}}for(var g in p)e[g]=p[g];if(t){a[m].trim()&&(a[m]="\n"+a[m]);for(s=m-1;s>-1;s--)a[s].trim()||(a=a.slice(0,s).concat(a.slice(s+1)))}e.note=a.join("\n").trim()}},checkPrefixSpaceAppend:function(e,t){t||(t="");var r="",i=t.replace(/<[^>]+>/g,"").replace(/["'\u201d\u2019\u00bb\u202f\u00a0 ]+$/g,""),a=i.slice(-1);return(i.match(h.ENDSWITH_ROMANESQUE_REGEXP)||h.TERMINAL_PUNCTUATION.slice(0,-1).indexOf(a)>-1||a.match(/[\)\],0-9]/))&&(r=" "),t=(t+r).replace(/\s+/g," ")},checkIgnorePredecessor:function(e,t){var r=t.replace(/<[^>]+>/g,"").replace(/["'\u201d\u2019\u00bb\u202f\u00a0 ]+$/g,"").slice(-1);return h.TERMINAL_PUNCTUATION.slice(0,-1).indexOf(r)>-1&&t.trim().indexOf(" ")>-1&&(e.tmp.term_predecessor=!1,!0)},checkSuffixSpacePrepend:function(e,t){return t?((t.match(h.STARTSWITH_ROMANESQUE_REGEXP)||["[","("].indexOf(t.slice(0,1))>-1)&&(t=" "+t),t):""},GENDERS:["masculine","feminine"],ERROR_NO_RENDERED_FORM:1,PREVIEW:"Just for laughs.",ASSUME_ALL_ITEMS_REGISTERED:2,START:0,END:1,SINGLETON:2,SEEN:6,SUCCESSOR:3,SUCCESSOR_OF_SUCCESSOR:4,SUPPRESS:5,SINGULAR:0,PLURAL:1,LITERAL:!0,BEFORE:1,AFTER:2,DESCENDING:1,ASCENDING:2,PRIMARY:1,SECONDARY:2,POSITION_FIRST:0,POSITION_SUBSEQUENT:1,POSITION_IBID:2,POSITION_IBID_WITH_LOCATOR:3,POSITION_CONTAINER_SUBSEQUENT:4,POSITION_MAP:{0:0,4:1,1:2,2:3,3:4},POSITION_TEST_VARS:["position","first-reference-note-number","near-note"],AREAS:["citation","citation_sort","bibliography","bibliography_sort","intext"],CITE_FIELDS:["first-reference-note-number","first-container-reference-note-number","locator","locator-extra"],SWAPPING_PUNCTUATION:[".","!","?",":",","],TERMINAL_PUNCTUATION:[":",".",";","!","?"," "],NONE:0,NUMERIC:1,POSITION:2,TRIGRAPH:3,DATE_PARTS:["year","month","day"],DATE_PARTS_ALL:["year","month","day","season"],DATE_PARTS_INTERNAL:["year","month","day","year_end","month_end","day_end"],NAME_PARTS:["non-dropping-particle","family","given","dropping-particle","suffix","literal"],DISAMBIGUATE_OPTIONS:["disambiguate-add-names","disambiguate-add-givenname","disambiguate-add-year-suffix"],GIVENNAME_DISAMBIGUATION_RULES:["all-names","all-names-with-initials","primary-name","primary-name-with-initials","by-cite"],NAME_ATTRIBUTES:["and","delimiter-precedes-last","delimiter-precedes-et-al","initialize-with","initialize","name-as-sort-order","sort-separator","et-al-min","et-al-use-first","et-al-subsequent-min","et-al-subsequent-use-first","form","prefix","suffix","delimiter"],LOOSE:0,STRICT:1,TOLERANT:2,PREFIX_PUNCTUATION:/[.;:]\s*$/,SUFFIX_PUNCTUATION:/^\s*[.;:,\(\)]/,NUMBER_REGEXP:/(?:^\d+|\d+$)/,NAME_INITIAL_REGEXP:/^([A-Z\u0e01-\u0e5b\u00c0-\u017f\u0400-\u042f\u0590-\u05d4\u05d6-\u05ff\u0600-\u06ff\u0370\u0372\u0376\u0386\u0388-\u03ab\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03fd-\u03ff])([a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0400-\u052f\u0600-\u06ff\u0370-\u03ff\u1f00-\u1fff]*|)(\.)*/,ROMANESQUE_REGEXP:/[-0-9a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]/,ROMANESQUE_NOT_REGEXP:/[^a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]/g,STARTSWITH_ROMANESQUE_REGEXP:/^[&a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]/,ENDSWITH_ROMANESQUE_REGEXP:/[.;:&a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]$/,ALL_ROMANESQUE_REGEXP:/^[a-zA-Z\u0e01-\u0e5b\u00c0-\u017f\u0370-\u03ff\u0400-\u052f\u0590-\u05d4\u05d6-\u05ff\u1f00-\u1fff\u0600-\u06ff\u200c\u200d\u200e\u0218\u0219\u021a\u021b\u202a-\u202e]+$/,VIETNAMESE_SPECIALS:/[\u00c0-\u00c3\u00c8-\u00ca\u00cc\u00cd\u00d2-\u00d5\u00d9\u00da\u00dd\u00e0-\u00e3\u00e8-\u00ea\u00ec\u00ed\u00f2-\u00f5\u00f9\u00fa\u00fd\u0101\u0103\u0110\u0111\u0128\u0129\u0168\u0169\u01a0\u01a1\u01af\u01b0\u1ea0-\u1ef9]/,VIETNAMESE_NAMES:/^(?:(?:[.AaBbCcDdEeGgHhIiKkLlMmNnOoPpQqRrSsTtUuVvXxYy \u00c0-\u00c3\u00c8-\u00ca\u00cc\u00cd\u00d2-\u00d5\u00d9\u00da\u00dd\u00e0-\u00e3\u00e8-\u00ea\u00ec\u00ed\u00f2-\u00f5\u00f9\u00fa\u00fd\u0101\u0103\u0110\u0111\u0128\u0129\u0168\u0169\u01a0\u01a1\u01af\u01b0\u1ea0-\u1ef9]{2,6})(\s+|$))+$/,NOTE_FIELDS_REGEXP:/\{:(?:[\-_a-z]+|[A-Z]+):[^\}]+\}/g,NOTE_FIELD_REGEXP:/^([\-_a-z]+|[A-Z]+):\s*([^\}]+)$/,PARTICLE_GIVEN_REGEXP:/^([^ ]+(?:\u02bb |\u2019 | |\' ) *)(.+)$/,PARTICLE_FAMILY_REGEXP:/^([^ ]+(?:\-|\u02bb|\u2019| |\') *)(.+)$/,DISPLAY_CLASSES:["block","left-margin","right-inline","indent"],NAME_VARIABLES:["author","collection-editor","composer","container-author","director","editor","editorial-director","illustrator","interviewer","original-author","recipient","reviewed-author","translator","commenter"],CREATORS:["author","collection-editor","composer","container-author","director","editor","editorial-director","illustrator","interviewer","original-author","recipient","reviewed-author","translator","commenter"],NUMERIC_VARIABLES:["call-number","chapter-number","collection-number","division","edition","page","issue","locator","locator-extra","number","number-of-pages","number-of-volumes","version","volume","supplement","citation-number"],DATE_VARIABLES:["locator-date","issued","event-date","accessed","original-date","publication-date","available-date","submitted","alt-issued","alt-event"],VARIABLES_WITH_SHORT_FORM:["title","container-title"],TITLE_FIELD_SPLITS:function(e){for(var t=["title","short","main","sub","subjoin"],r={},i=0,a=t.length;i-1&&i.indexOf(t[s].toLowerCase())>-1;s+=-1)a.push(t.pop());t.reverse();var n=t.join(" "),o=a.join(" ");"drop"!==r&&o?"demote"===r&&(t=[n,o].join(", ")):t=n}return t},extractTitleAndSubtitle:function(e,t){var r=t?" ":"",i=[""];this.opt.development_extensions.split_container_title&&i.push("container-");for(var a=0,s=i.length;a-1&&(p[o.subjoin]=r+": "),(p[o.subjoin].indexOf("-")>-1||p[o.subjoin].indexOf("—")>-1)&&(p[o.subjoin]="—")),u)for(var x in p)e.multi._keys[x]||(e.multi._keys[x]={}),e.multi._keys[x][u]=p[x];else for(var x in p)e[x]=p[x]}}},titlecaseSentenceOrNormal:function(e,t,r,i,a){var s=h.TITLE_FIELD_SPLITS(r),n={};if(i&&t.multi?(t.multi._keys[s.title]&&(n[s.title]=t.multi._keys[s.title][i]),t.multi._keys[s.main]&&(n[s.main]=t.multi._keys[s.main][i]),t.multi._keys[s.sub]&&(n[s.sub]=t.multi._keys[s.sub][i]),t.multi._keys[s.subjoin]&&(n[s.subjoin]=t.multi._keys[s.subjoin][i])):(n[s.title]=t[s.title],n[s.main]=t[s.main],n[s.sub]=t[s.sub],n[s.subjoin]=t[s.subjoin]),n[s.main]&&n[s.sub]){var o=n[s.main],l=n[s.subjoin],u=n[s.sub];return a?(o=h.Output.Formatters.sentence(e,o),u=h.Output.Formatters.sentence(e,u)):e.opt.development_extensions.uppercase_subtitles&&(u=h.Output.Formatters["capitalize-first"](e,u)),[o,l,u].join("")}if(n[s.title]){if(a)return h.Output.Formatters.sentence(e,n[s.title]);if(e.opt.development_extensions.uppercase_subtitles){for(var c=h.TITLE_SPLIT(n[s.title]),m=0,p=c.length;m-1||c[m].indexOf("—")>-1)&&(c[m]="—")}return n[s.title]=c.join(""),n[s.title]}return n[s.title]}return""},getSafeEscape:function(e){if(["bibliography","citation"].indexOf(e.tmp.area)>-1){var t=[];return e.opt.development_extensions.thin_non_breaking_space_html_hack&&"html"===e.opt.mode&&t.push((function(e){return e.replace(/\u202f/g,'')})),t.length?function(r){for(var i=0,a=t.length;i"@vertical-align"===e[0]).length>0||i&&i.strings.suffix?e.tmp.just_did_number=!1:t&&(t.match(/[0-9]$/)?e.tmp.just_did_number=!0:e.tmp.just_did_number=!1)}},EVALUATE_GROUP_CONDITION:function(e,t){if(e.opt.use_context_condition){var r,i="comma-safe-numbers-only"===t.condition.test;if("empty-label"===t.condition.test)r=!t.condition.termtxt;else if("empty-label-no-decor"===t.condition.test)r=!t.condition.termtxt||t.condition.termtxt.indexOf("%s")>-1;else if(["comma-safe","comma-safe-numbers-only"].indexOf(t.condition.test)>-1){var a=t.condition.termtxt,s=!1;t.condition.termtxt&&(s=t.condition.termtxt.slice(0,1).match(h.ALL_ROMANESQUE_REGEXP)),r=e.tmp.just_did_number?t.condition.valueTerm?!i:!a||(s?!i:["always","after-number"].indexOf(e.opt.require_comma_on_symbol)>-1):!t.condition.valueTerm&&(!!a&&(s?!i:"always"===e.opt.require_comma_on_symbol))}if(r)var n=!1;else n=!0;return t.condition.not&&(n=!n),n}},SYS_OPTIONS:["prioritize_disambiguate_condition","csl_reverse_lookup_support","main_title_from_short_title","uppercase_subtitles","force_short_title_casing_alignment","implicit_short_title","split_container_title"],TITLE_SPLIT_REGEXP:(i=["\\.\\s+","\\!\\s+","\\?\\s+","\\s*::*\\s+","\\s*—\\s*","\\s+\\-\\s+","\\s*\\-\\-\\-*\\s*"],{match:new RegExp("("+i.join("|")+")","g"),matchfirst:new RegExp("^("+i.join("|")+")"),split:new RegExp("(?:"+i.join("|")+")")}),TITLE_SPLIT:function(e){if(!e)return e;for(var t=e.match(h.TITLE_SPLIT_REGEXP.match),r=e.split(h.TITLE_SPLIT_REGEXP.split),i=r.length-2;i>-1;i--)r[i]=r[i].trim(),r[i]&&r[i].slice(-1).toLowerCase()!==r[i].slice(-1)?(r[i]=r[i]+t[i]+r[i+1],r=r.slice(0,i+1).concat(r.slice(i+2))):r=r.slice(0,i+1).concat([t[i]]).concat(r.slice(i+1));return r},GET_COURT_CLASS:function(e,t,r){var i="",a=null,s=t.jurisdiction?t.jurisdiction.split(":")[0]:null,n="court_condition_classes";return r&&(n="court_key_classes"),s&&t.authority&&("string"==typeof t.authority?a=t.authority:t.authority[0]&&t.authority[0].literal&&(a=t.authority[0].literal)),a&&(this.lang&&e.locale[this.lang].opts[n]&&e.locale[this.lang].opts[n][s]&&e.locale[this.lang].opts[n][s][a]?i=e.locale[this.lang].opts[n][s][a]:e.locale[e.opt["default-locale"][0]].opts[n]&&e.locale[e.opt["default-locale"][0]].opts[n][s]&&e.locale[e.opt["default-locale"][0]].opts[n][s][a]&&(i=e.locale[e.opt["default-locale"][0]].opts[n][s][a])),i},SET_COURT_CLASSES:function(e,t,r,i){for(var a=r.getNodesByName(i,"court-class"),s=0,n=r.numberofnodes(a);s-1)||e.children[i].attrs.prefix||e.children[i].attrs.suffix){t=!1;break}r=r.slice(0,s).concat(r.slice(s+1))}t&&!r.length&&(e.attrs["has-publisher-and-publisher-place"]=!0)}for(i=0,a=e.children.length;i0){var t=e.slice();return"substitute"===t.pop()||this.isChildOfSubstitute(t)}return!1},h.XmlJSON.prototype.addMissingNameNodes=function(e,t){if(t||(t=[]),"names"===e.name&&!this.isChildOfSubstitute(t)){for(var r=!0,i=0,a=e.children.length;i-1){var l=this.nodeCopy(this.institution);for(i=0,a=h.INSTITUTION_KEYS.length;i/,"")).replace(//g,"")).replace(/^\s+/g,"")).replace(/\s+$/g,""):e},h.parseXml=function(e){var t={children:[]},r=[t.children];function i(e){return e.split("&").join("&").split(""").join('"').split(">").join(">").split("<").join("<").replace(/&#([0-9]{1,6});/gi,(function(e,t){var r=parseInt(t,10);return String.fromCharCode(r)})).replace(/&#x([a-f0-9]{1,6});/gi,(function(e,t){var r=parseInt(t,16);return String.fromCharCode(r)}))}function a(e,t){var r=RegExp("^.*[\t ]+"+t+"=(\"(?:[^\"]*)\"|'(?:[^']*)').*$"),i=e.match(r);return i?i[1].slice(1,-1):null}function s(e){var t=RegExp("^<([^\t />]+)"),r=e.match(t);return r?r[1]:null}function n(e){var t={};t.name=s(e),t.attrs={};var r=function(e){var t=e.match(/([^\'\"= ]+)=(?:\"[^\"]*\"|\'[^\']*\')/g);if(t)for(var r=0,i=t.length;r([^<]*)<.*$/)[1])}function l(e){r.slice(-1)[0].push(e)}function u(e){var t;e.slice(1).indexOf("<")>-1?((t=n(e.slice(0,e.indexOf(">")+1))).children=[o(e)],l(t)):"/>"===e.slice(-2)?(t=n(e),"term"===s(e)&&t.children.push(""),l(t)):"[ ]+<").replace(/<\!--.*?-->/g,"")).split("><"),r=null,i=0,a=t.length;i0&&(t[i]="<"+t[i]),i"),"number"!=typeof r&&("","vancouver":"","harvard1":""}')},function(e){e.exports=JSON.parse('[{"source":["T1","BT"],"target":"title","when":{"source":{"TY":["ABST","ADVS","AGGR","ANCIENT","ART","BILL","BLOG","BOOK","CASE","CHAP","CHART","CLSWK","COMP","CONF","CPAPER","CTLG","DATA","DBASE","DICT","EBOOK","ECHAP","EDBOOK","EJOUR","ELEC","ENCYC","EQUA","FIGURE","GEN","GOVDOC","GRANT","HEAR","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MAP","MGZN","MPCT","MULTI","MUSIC","NEWS","PAMP","PAT","PCOMM","RPRT","SER","SLIDE","SOUND","STAND","STAT","THES","UNBILL","UNPB","VIDEO"],"TI":false},"target":false}},{"source":"A1","target":"author","when":{"source":{"TY":["ABST","ADVS","AGGR","ANCIENT","ART","BLOG","BOOK","CHAP","CHART","CLSWK","COMP","CONF","CPAPER","CTLG","DATA","DBASE","DICT","EBOOK","ECHAP","EJOUR","ELEC","ENCYC","EQUA","FIGURE","GEN","GOVDOC","GRANT","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MAP","MGZN","MULTI","PAMP","PAT","PCOMM","RPRT","SER","SLIDE","SOUND","STAND","THES","UNPB","VIDEO"],"AU":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["CONF"],"C2":false,"DA":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["PAT"],"C2":false,"DA":false,"PY":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["EBOOK"],"C5":false,"PY":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["ABST","ADVS","ANCIENT","ART","BILL","BLOG","BOOK","CASE","CHART","CPAPER","CTLG","DATA","EDBOOK","ELEC","ENCYC","EQUA","FIGURE","GEN","GRANT","HEAR","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MAP","MGZN","MPCT","MUSIC","PAMP","PCOMM","RPRT","SER","SLIDE","SOUND","STAND","THES","UNBILL","UNPB","VIDEO"],"DA":false,"PY":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["STAT"],"DA":false,"PY":false,"Y2":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["AGGR","DBASE"],"ET":false,"PY":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["CHAP","CLSWK","COMP","DICT","ECHAP","GOVDOC","MULTI","NEWS"],"PY":false},"target":false}},{"source":"Y1","target":"issued","when":{"source":{"TY":["EJOUR"],"PY":false,"SE":false},"target":false}},{"source":["JO","JF","J1"],"target":"container-title","when":{"source":{"TY":["CONF"],"C3":false},"target":false}},{"source":["JO","JF","J1"],"target":"container-title","when":{"source":{"TY":["ABST","ANCIENT","BILL","BLOG","CHAP","DICT","EBOOK","ECHAP","EDBOOK","EJOUR","ENCYC","GEN","INPR","JFULL","JOUR","MGZN","MUSIC","NEWS","PAMP","PAT","SER","STAT","THES","UNBILL"],"T2":false},"target":false}},{"source":"JA","target":"container-title-short","when":{"source":{"TY":["ABST","ANCIENT","BOOK","CHAP","CTLG","DATA","DICT","ENCYC","GRANT","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MGZN","PAMP","PCOMM","SER","STAND","STAT","UNPB"],"J2":false},"target":false}},{"source":"N2","target":"abstract","when":{"source":{"TY":["ABST","ADVS","AGGR","ANCIENT","ART","BILL","BLOG","BOOK","CASE","CHAP","CHART","CLSWK","COMP","CONF","CPAPER","CTLG","DATA","DBASE","DICT","EBOOK","ECHAP","EDBOOK","EJOUR","ELEC","ENCYC","EQUA","FIGURE","GEN","GOVDOC","GRANT","HEAR","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MAP","MGZN","MPCT","MULTI","MUSIC","NEWS","PAMP","PAT","PCOMM","RPRT","SER","SLIDE","SOUND","STAND","STAT","THES","UNBILL","UNPB","VIDEO"],"AB":false},"target":false}},{"source":["SP","EP"],"target":"page","when":{"source":{"TY":["BOOK"],"SE":false},"target":false}},{"source":["SP","EP"],"target":"page","when":{"source":{"TY":["ABST","AGGR","ANCIENT","BILL","CHAP","CONF","CPAPER","CTLG","DBASE","DICT","ECHAP","EJOUR","ENCYC","GEN","GOVDOC","GRANT","HEAR","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MGZN","MUSIC","NEWS","PAMP","PAT","PCOMM","RPRT","SER","STAND","STAT","UNBILL","UNPB"],"EP":true},"target":false}},{"source":"AV","target":"archive_location","when":{"target":false}},{"source":"LK","target":"URL","when":{"source":{"TY":["HEAR"],"L4":false,"UR":false},"target":false}},{"source":"LK","target":"URL","when":{"source":{"TY":["ABST","ADVS","AGGR","ANCIENT","ART","BILL","BLOG","BOOK","CASE","CHAP","CHART","CLSWK","COMP","CONF","CPAPER","CTLG","DATA","DBASE","DICT","EBOOK","ECHAP","EDBOOK","EJOUR","ELEC","ENCYC","EQUA","FIGURE","GEN","GOVDOC","GRANT","ICOMM","INPR","JFULL","JOUR","LEGAL","MANSCPT","MAP","MGZN","MPCT","MULTI","MUSIC","NEWS","PAMP","PAT","PCOMM","RPRT","SER","SLIDE","SOUND","STAND","STAT","THES","UNBILL","UNPB","VIDEO"],"UR":false},"target":false}}]')},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const a=r(5),s=r(72);a.default.plugins.register({onStart:function(){return i(this,void 0,void 0,(function*(){console.info("BibTeX plugin started!"),s.init()}))}})},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const a=r(5),s=r(73),n=r(74),o=r(75),l=r(147),u=r(41);t.init=function(){return i(this,void 0,void 0,(function*(){yield s.initConfigScreen(),yield o.registerAddBibTexReferenceCommand(),yield n.registerToolbarButton();try{yield u.getBibTeXData()}catch(e){yield a.default.views.dialogs.showMessageBox(e.message)}yield l.registerBibliographyRenderer()}))}},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.initConfigScreen=void 0;const a=r(5),s=r(28),n=r(10);t.initConfigScreen=function(){return i(this,void 0,void 0,(function*(){yield a.default.settings.registerSection(n.SETTINGS_SECTION_ID,{name:"bibtex",label:"BibTeX Plugin",description:"Use locally stored BibTeX files to include citations in Joplin notes",iconName:n.PLUGIN_ICON}),yield a.default.settings.registerSettings({[n.SETTINGS_BIBTEX_FILE_PATH_ID]:{value:"",type:s.SettingItemType.String,section:n.SETTINGS_SECTION_ID,public:!0,label:"BibTeX File",description:'You can include multiple paths by putting a ";" between every two paths'},[n.SETTINGS_CSL_FILE_PATH_ID]:{value:"",type:s.SettingItemType.String,section:n.SETTINGS_SECTION_ID,public:!0,label:"CSL File (used to specify citation style)",description:"You might need to restart the app for changes to take effect"}})}))}},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.registerToolbarButton=void 0;const a=r(5),s=r(28),n=r(10);t.registerToolbarButton=function(){return i(this,void 0,void 0,(function*(){yield a.default.views.toolbarButtons.create(n.PLUGIN_TOOLBAR_BUTTON_ID,n.ADD_BIBTEX_REFERENCE_COMMAND,s.ToolbarButtonLocation.EditorToolbar)}))}},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.registerAddBibTexReferenceCommand=void 0;const a=r(5),s=r(76),n=r(81),o=r(29),l=r(41),u=r(10);a.default.require("fs-extra");t.registerAddBibTexReferenceCommand=function(){return i(this,void 0,void 0,(function*(){yield a.default.commands.register({name:u.ADD_BIBTEX_REFERENCE_COMMAND,label:"Add BibTeX Reference",iconName:u.PLUGIN_ICON,execute:()=>i(this,void 0,void 0,(function*(){let e=[];try{e=yield l.getBibTeXData()}catch(e){return void(yield a.default.views.dialogs.showMessageBox(e.message))}const t=yield s.showCitationPopup(e);if(0===t.length)return;const r=t.map(e=>o.DataStore.getReferenceById(e)).map(e=>n.formatReference(e)).reduce((e,t)=>e+" "+t);yield a.default.commands.execute("insertText",r),yield a.default.commands.execute("focusElement","noteBody")}))})}))}},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.showCitationPopup=void 0;const a=r(5),s=r(40),n=r(77),o=r(10),l=a.default.require("fs-extra");let u="";t.showCitationPopup=function(e){return i(this,void 0,void 0,(function*(){""===u&&(u=yield a.default.views.dialogs.create(o.CITATION_POPUP_ID)),yield function(e){return i(this,void 0,void 0,(function*(){const t=yield a.default.plugins.installationDir();let r=yield l.readFile(t+"/ui/citation-popup/view.html","utf8");r=r.replace("\x3c!-- content --\x3e",function(e){const t=JSON.stringify(e.map(e=>({id:e.id,title:e.title,author:e.author,year:s.getDateYear(e)})));return`\n \n `}(e)),yield a.default.views.dialogs.setHtml(u,r),yield a.default.views.dialogs.addScript(u,"./ui/citation-popup/lib/autoComplete.min.css"),yield a.default.views.dialogs.addScript(u,"./ui/citation-popup/lib/autoComplete.min.js"),yield a.default.views.dialogs.addScript(u,"./ui/citation-popup/lib/he.min.js"),yield a.default.views.dialogs.addScript(u,"./ui/citation-popup/view.css"),yield a.default.views.dialogs.addScript(u,"./ui/citation-popup/view.js")}))}(e);const t=yield a.default.views.dialogs.open(u);if("cancel"===t.id)return[];return JSON.parse(t.formData.main.output)}))}},function(e,t,r){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,i=arguments.length;r'"&]/g,nonAscii:/(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,nonAsciiPrintable:/(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,extensive:/(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var r=void 0===(c=(s=void 0===t?u:t).mode)?"specialChars":c,i=void 0===(d=s.numeric)?"decimal":d,a=s.level;if(!e)return"";var s,c,m=l[r],p=o[void 0===a?"all":a].characters,h="hexadecimal"===i;if(m.lastIndex=0,s=m.exec(e)){c="";var d=0;do{d!==s.index&&(c+=e.substring(d,s.index));var f=p[a=s[0]];if(!f){var g=a.length>1?n.getCodePoint(a,0):a.charCodeAt(0);f=(h?"&#x"+g.toString(16):"&#"+g)+";"}c+=f,d=s.index+a.length}while(s=m.exec(e));d!==e.length&&(c+=e.substring(d))}else c=e;return c};var c={scope:"body",level:"all"},m=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,h={xml:{strict:m,attribute:p,body:a.bodyRegExps.xml},html4:{strict:m,attribute:p,body:a.bodyRegExps.html4},html5:{strict:m,attribute:p,body:a.bodyRegExps.html5}},d=i(i({},h),{all:h.html5}),f=String.fromCharCode,g=f(65533),b={level:"all"};t.decodeEntity=function(e,t){var r=void 0===(i=(void 0===t?b:t).level)?"all":i;if(!e)return"";var i=e,a=(e[e.length-1],o[r].entities[e]);if(a)i=a;else if("&"===e[0]&&"#"===e[1]){var l=e[2],u="x"==l||"X"==l?parseInt(e.substr(3),16):parseInt(e.substr(2));i=u>=1114111?g:u>65535?n.fromCodePoint(u):f(s.numericUnicodeMap[u]||u)}return i},t.decode=function(e,t){var r=void 0===t?c:t,i=r.level,a=void 0===i?"all":i,l=r.scope,u=void 0===l?"xml"===a?"strict":"body":l;if(!e)return"";var m=d[a][u],p=o[a].entities,h="attribute"===u,b="strict"===u;m.lastIndex=0;var v,y=m.exec(e);if(y){v="";var x=0;do{x!==y.index&&(v+=e.substring(x,y.index));var _=y[0],w=_,E=_[_.length-1];if(h&&"="===E)w=_;else if(b&&";"!==E)w=_;else{var T=p[_];if(T)w=T;else if("&"===_[0]&&"#"===_[1]){var A=_[2],O="x"==A||"X"==A?parseInt(_.substr(3),16):parseInt(_.substr(2));w=O>=1114111?g:O>65535?n.fromCodePoint(O):f(s.numericUnicodeMap[O]||O)}}v+=w,x=y.index+_.length}while(y=m.exec(e));x!==e.length&&(v+=e.substring(x))}else v=e;return v}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"­","­":"­","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"‌","‍":"‍","‎":"‎","‏":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©","ª":"ª","«":"«","¬":"¬","­":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´","µ":"µ","¶":"¶","·":"·","¸":"¸","¹":"¹","º":"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿","À":"À","Á":"Á","Â":"Â","Ã":"Ã","Ä":"Ä","Å":"Å","Æ":"Æ","Ç":"Ç","È":"È","É":"É","Ê":"Ê","Ë":"Ë","Ì":"Ì","Í":"Í","Î":"Î","Ï":"Ï","Ð":"Ð","Ñ":"Ñ","Ò":"Ò","Ó":"Ó","Ô":"Ô","Õ":"Õ","Ö":"Ö","×":"×","Ø":"Ø","Ù":"Ù","Ú":"Ú","Û":"Û","Ü":"Ü","Ý":"Ý","Þ":"Þ","ß":"ß","à":"à","á":"á","â":"â","ã":"ã","ä":"ä","å":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","í":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","÷":"÷","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ",'"':""","&":"&","<":"<",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"‌","‍":"‍","‎":"‎","‏":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"⁡","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"⁣","⁢":"⁢","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"​","​":"​","​":"​","​":"​","≫":"≫","≪":"≪"," ":"\n","𝔑":"𝔑","⁠":"⁠"," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц"," ":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"​","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"⁡","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"⁣","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"⁢","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"‏","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"­","­":"­","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"‍","‌":"‌"},characters:{"Æ":"Æ","&":"&","Á":"Á","Ă":"Ă","Â":"Â","А":"А","𝔄":"𝔄","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"⁡","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎","Ч":"Ч","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","É":"É","Ě":"Ě","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","Ѓ":"Ѓ",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","Ħ":"Ħ","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ī":"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","⁣":"⁣","⁢":"⁢","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"​","\n":" ","𝔑":"𝔑","⁠":"⁠"," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Õ":"Õ","⨷":"⨷","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",'"':""","𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","\t":" ","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ū":"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","а":"а","æ":"æ","𝔞":"𝔞","à":"à","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼","ą":"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","å":"å","𝒶":"𝒶","*":"*","ã":"ã","ä":"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶","б":"б","„":"„","⦰":"⦰","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍","č":"č","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠","ч":"ч","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†","ℸ":"ℸ","‐":"‐","⤏":"⤏","ď":"ď","д":"д","⇊":"⇊","⩷":"⩷","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦","ϝ":"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","⦦":"⦦","џ":"џ","⟿":"⟿","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","≕":"≕","э":"э","ė":"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","η":"η","ð":"ð","ë":"ë","€":"€","!":"!","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi",fj:"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌","ǵ":"ǵ","γ":"γ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","ℷ":"ℷ","ѓ":"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘","ℊ":"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀","ъ":"ъ","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ħ":"ħ","⁃":"⁃","í":"í","î":"î","и":"и","е":"е","¡":"¡","𝔦":"𝔦","ì":"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","ĩ":"ĩ","і":"і","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","λ":"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","л":"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄","љ":"љ","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","‎":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚","ł":"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩","м":"м","—":"—","𝔪":"𝔪","℧":"℧","µ":"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂","μ":"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮","ń":"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","♮":"♮","⩃":"⩃","ň":"ň","ņ":"ņ","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺","њ":"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸","ñ":"ñ","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧","ó":"ó","ô":"ô","о":"о","ő":"ő","⨸":"⨸","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝","ℴ":"ℴ","ª":"ª","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ø":"ø","⊘":"⊘","õ":"õ","⨶":"⨶","ö":"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽","п":"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","☎":"☎","π":"π","ϖ":"ϖ","ℎ":"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","р":"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","‏":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","⪴":"⪴","⪸":"⪸","š":"š","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","с":"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯","щ":"щ","ш":"ш","­":"­","σ":"σ","ς":"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪","ß":"ß","⌖":"⌖","τ":"τ","ť":"ť","ţ":"ţ","т":"т","⌕":"⌕","𝔱":"𝔱","θ":"θ","ϑ":"ϑ","þ":"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","⥣":"⥣","ú":"ú","ў":"ў","ŭ":"ŭ","û":"û","у":"у","ű":"ű","⥾":"⥾","𝔲":"𝔲","ù":"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","ų":"ų","𝕦":"𝕦","υ":"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","ü":"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","в":"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵","ξ":"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"‍","‌":"‌"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatReference=void 0;r(40);const i=r(82);function a(e){return e.author&&e.author.length>0?e.author[0].family:""}t.formatReference=function(e){return`[@${i.escapeTitleText(e.id)}](${i.escapeLinkUrl(function(e){let t="";if(e.DOI&&""!==e.DOI)t="http://dx.doi.org/"+encodeURIComponent(e.DOI);else if(e.URL&&""!==e.URL)t=e.URL;else{let r=e.title;""!==a(e)&&(r+=", "+a(e)),t="https://scholar.google.com/scholar?q="+encodeURIComponent(r)}return t}(e))})`}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeLinkUrl=t.escapeTitleText=void 0,t.escapeTitleText=function(e){return e.replace(/(\[|\])/g,"\\$1")},t.escapeLinkUrl=function(e){return e=(e=(e=e.replace(/\(/g,"%28")).replace(/\)/g,"%29")).replace(/ /g,"%20")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;const i=r(84);t.parse=function(e){return new i(e).data}},function(e,t,r){var i=r(0);r(66),r(151),r(152),r(65),r(153),r(64);var a=r(6),s=r(4),n=r(1);const o={getAttributedEntry:(e,t,r)=>e.replace(/^\s*<[a-z]+/i,`$& data-${t}="${r}"`),getPrefixedEntry:(e,t)=>o.getAttributedEntry(e,"csl-entry-id",t),getWrappedEntry(e,t,r){const i=(e,t)=>"function"==typeof t?t(e):null==t?t:"";if(null==r.prepend&&null==r.append)return e;const a=i(t,r.prepend),s=i(t,r.append);let n="",o="";const l=e.match(/^([^>]+>)([\s\S]+)(<[^<]+)$/i);return l&&(n=l[1],e=l[2],o=l[3]),n+a+e+s+o}};function l(e,t){if(!(this instanceof l))return new l(e,t);var r=new i.Cite(e,t);this._options=r._options,this.log=r.log,this.data=r.data}l.prototype=Object.create(i.Cite.prototype),l.async=i.Cite.async,l.validateOptions=i.Cite.validateOptions,l.validateOutputOptions=i.Cite.validateOutputOptions,l.input=i.plugins.input.chain,l.inputAsync=i.plugins.input.chainAsync,l.util=Object.assign({attr:o},i.util),l.version={cite:i.version,citeproc:a.PROCESSOR_VERSION};const u=i.plugins.config.get("@csl");var c,m,p,h,d,f;l.CSL={engine:r(111).fetchEngine,item:e=>t=>e.find(e=>e.id===t),locale:e=>u.styles.get(u.styles.has(e)?e:"en-US"),style:e=>u.templates.get(u.templates.has(e)?e:"apa"),register:{addTemplate:u.templates.add.bind(u.templates),getTemplate:u.templates.get.bind(u.templates),hasTemplate:u.templates.has.bind(u.templates),addLocale:u.locales.add.bind(u.locales),getLocale:u.locales.get.bind(u.locales),hasLocale:u.locales.has.bind(u.locales)}},l.plugins=function e(t){const r={};for(const i in t)r[i]="object"==typeof t[i]?e(t[i]):t[i];return r}(i.plugins),delete l.plugins.input.util.clean,l.parse=Object.assign({input:{chain:i.plugins.input.chain,chainAsync:i.plugins.input.chainAsync,chainLink:i.plugins.input.chainLink,chainLinkAsync:i.plugins.input.chainLinkAsync,data:i.plugins.input.data,dataAsync:i.plugins.input.dataAsync,type:i.plugins.input.type,async:{chain:i.plugins.input.chainAsync,chainLink:i.plugins.input.chainLinkAsync,data:i.plugins.input.dataAsync}},name:s.parse,date:n.parse,csl:i.plugins.input.util.clean,bibjson:r(66).parsers.json.record,bibtex:(h=r(116).formats,d=r(52),f=r(20).target,{json:e=>e.parse([].concat(e)),prop(e,t){const r=d.parse([{type:"book",properties:{[e]:t}}])[0],i=Object.keys(r).find(([e])=>"type"!==e);return[i,r[i]]},text:e=>h["@biblatex/text"].parse(e),type:e=>f[e]||"book"}),bibtxt:(p=r(51),{text:p.parse,textEntry:p.textEntry}),doi:(m=r(65),{api:m.parsers.api.parse,id:m.parsers.id.parse,async:{api:m.parsers.api.parseAsync}}),json:r(125).parsers.json.parse,wikidata:(c=r(64),{json:c.parsers.entity.parse,list:c.parsers.id.parse,prop:c.parsers.prop.parse,type:c.parsers.prop.parseType,async:{json:c.parsers.entity.parseAsync,prop(...e){return Promise.resolve(c.parsers.prop.parse.apply(this,e))}}})},l.plugins.input),l.get=Object.assign({dict:l.plugins.dict,name:s.format,date:n.format,bibtex:((e,t,r,i)=>({json:e=>t.formatBibtex([e])[0],label:({id:e,"citation-label":t,author:i,issued:a,"year-suffix":s,title:n})=>r.LABEL.toSource(e,t,i,a,s,n),text:(t,r)=>e.bibtex(t,{format:r?"html":"text"}),type:e=>i[e]||"misc"}))(r(136).default,r(56),r(21).Converters,r(20).target),bibtxt:r(57).format,json:r(58).default.data,label:r(58).default.label},l.plugins.output),e.exports=l},function(e,t,r){"use strict";function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],i=!0,a=!1,s=void 0;try{for(var n,o=e[Symbol.iterator]();!(i=(n=o.next()).done)&&(r.push(n.value),!t||r.length!==t);i=!0);}catch(e){a=!0,s=e}finally{try{i||null==o.return||o.return()}finally{if(a)throw s}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.parse=t.types=t.scope=void 0;const a=e=>e.replace(/$|( )|(?!^)(?=[A-Z])/g,"\\.?$1"),s=e=>`(?:${e.join("|")})\\b`,n=(e,t)=>new RegExp(`(?:^| )(${e}$)`,t),o=s(["mr","mrs","ms","miss","dr","herr","monsieur","hr","frau","a v m","admiraal","admiral","air cdre","air commodore","air marshal","air vice marshal","alderman","alhaji","ambassador","baron","barones","brig","brig gen","brig general","brigadier","brigadier general","brother","canon","capt","captain","cardinal","cdr","chief","cik","cmdr","coach","col","col dr","colonel","commandant","commander","commissioner","commodore","comte","comtessa","congressman","conseiller","consul","conte","contessa","corporal","councillor","count","countess","crown prince","crown princess","dame","datin","dato","datuk","datuk seri","deacon","deaconess","dean","dhr","dipl ing","doctor","dott","dott sa","dr","dr ing","dra","drs","embajador","embajadora","en","encik","eng","eur ing","exma sra","exmo sr","f o","father","first lieutient","first officer","flt lieut","flying officer","fr","frau","fraulein","fru","gen","generaal","general","governor","graaf","gravin","group captain","grp capt","h e dr","h h","h m","h r h","hajah","haji","hajim","her highness","her majesty","herr","high chief","his highness","his holiness","his majesty","hon","hr","hra","ing","ir","jonkheer","judge","justice","khun ying","kolonel","lady","lcda","lic","lieut","lieut cdr","lieut col","lieut gen","lord","m","m l","m r","madame","mademoiselle","maj gen","major","master","mevrouw","miss","mlle","mme","monsieur","monsignor","mr","mrs","ms","mstr","nti","pastor","president","prince","princess","princesse","prinses","prof","prof dr","prof sir","professor","puan","puan sri","rabbi","rear admiral","rev","rev canon","rev dr","rev mother","reverend","rva","senator","sergeant","sheikh","sheikha","sig","sig na","sig ra","sir","sister","sqn ldr","sr","sr d","sra","srta","sultan","tan sri","tan sri dato","tengku","teuku","than puying","the hon dr","the hon justice","the hon miss","the hon mr","the hon mrs","the hon ms","the hon sir","the very rev","toh puan","tun","vice admiral","viscount","viscountess","wg cdr"].map(a)),l=s(["I","II","III","IV","V","Senior","Junior","Jr","Sr","PhD","Ph\\.D","APR","RPh","PE","MD","MA","DMD","CME","BVM","CFRE","CLU","CPA","CSC","CSJ","DC","DD","DDS","DO","DVM","EdD","Esq","JD","LLD","OD","OSB","PC","Ret","RGS","RN","RNC","SHCJ","SJ","SNJM","SSMO","USA","USAF","USAFR","USAR","USCG","USMC","USMCR","USN","USNR"].map(a)),u=s(["Vere","Von","Van","De","Del","Della","Di","Da","Pietro","Vanden","Du","St.","St","La","Lo","Ter","O","O'","Mac","Fitz"]),c=new RegExp(`^((?:${o} )*)(.*)$`,"i"),m=n(`(?:${l}, )*(?:${l})`,"i"),p=n(/(?:[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27\uDCB0-\uDCD3]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89])/.source+".*"),h=n(`(?:${/(?:[a-z\xAA\xB5\xBA\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02B8\u02C0\u02C1\u02E0-\u02E4\u0345\u0371\u0373\u0377\u037A-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1DBF\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u2071\u207F\u2090-\u209C\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2170-\u217F\u2184\u24D0-\u24E9\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7D\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B-\uA69D\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7F8-\uA7FA\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]|\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD83A[\uDD22-\uDD43])/.source}.*|${u}.*|\\S*)`);t.default=t.parse=function(e=""){"string"!=typeof e&&(e+="");let t="",r="",a="";if(/[^.], /.test(e)){const i=e.split(", ");a=i.shift();const s=RegExp(l).exec(i.join(", "));t=i.splice(s&&0!==s.index?0:-1,1)[0],r=i.join(", ")}else{const i=e.split(m,2),s=i.shift().split(h,2);t=s[0],a=s[1],r=i.pop()}const s=i(t.match(c),3),n=s[1],o=s[2],u=r,d=i(a.split(p,2).reverse(),2),f=d[0],g=d[1];if(!o&&f)return f.includes(" ")?{literal:f}:{family:f};if(f){const e={"dropping-particle":n,given:o,suffix:u,"non-dropping-particle":g,family:f};return Object.keys(e).forEach(t=>{e[t]||delete e[t]}),e}return{literal:e}};t.scope="@name";t.types="@name"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=["dropping-particle","given"],a=["suffix"],s=["non-dropping-particle","family"];var n=function(e,t=!1){const r=t=>t.map(t=>e[t]||"").filter(Boolean).join(" ");if(e.literal)return e.literal;if(t){const e=r(a)?", "+r(a):"",t=r(i)?", "+r(i):"";return r(s)+e+t}return""+r([...i,...a,...s])};t.default=n},function(e,t){e.exports=require("child_process")},function(e,t){e.exports=require("path")},function(e,t,r){const i=r(2);function a(e,t={}){const r=new e.Headers;for(const e in t)for(const i of t[e])r.append(e,i);return r}const s={TypeError:TypeError};function n(e){return null==e?"Null":"URLSearchParams"===e.constructor.name?"URLSearchParams":Buffer.isBuffer(e)?"Buffer":"[object ArrayBuffer]"===Object.prototype.toString.call(e)?"ArrayBuffer":ArrayBuffer.isView(e)?"ArrayBufferView":e instanceof i?"Stream":"String"}function o(e,t=n(e)){switch(t){case"Null":return null;case"URLSearchParams":return Buffer.from(e.toString());case"Buffer":return e;case"ArrayBuffer":return Buffer.from(e);case"ArrayBufferView":return Buffer.from(e.buffer,e.byteOffset,e.byteLength);case"String":return Buffer.from(String(e));default:throw new TypeError("sync-fetch does not support bodies of type: "+t)}}function l(e){return new i.Transform({read(){this.push(e),this.push(null)}})}e.exports={serializeHeaders:function(e){return e.raw()},deserializeHeaders:a,serializeRequest:function(e){return[e.url,{method:e.method,headers:e.headers,body:e.body,mode:e.mode,credentials:e.credentials,cache:e.cache,redirect:e.redirect,referrer:e.referrer,referrerPolicy:e.referrerPolicy,integrity:e.integrity,keepalive:e.keepalive,follow:e.follow,timeout:e.timeout,compress:e.compress,size:e.size}]},deserializeRequest:function(e,t,r){return new e.Request(t,{...r,body:r.body?Buffer.from(r.body):void 0,headers:a(e,r.headers)})},serializeResponse:function(e){return{url:e.url,headers:e.headers.raw(),status:e.status,statusText:e.statusText,counter:e.redirected?1:0}},deserializeResponse:function(e,t,r,i){const s=o(t);return new e.Response(l(t?s:null),{...r,headers:a(e,r.headers)},{buffer:s,bodyError:i})},serializeError:function({constructor:e,message:t,type:r,code:i}){return[e.name,[t,r,{code:i}]]},deserializeError:function(e,t,r){return t in s?new s[t](...r):new e.FetchError(...r)},parseBodyType:n,parseBody:o,createStream:l}},function(e,t,r){"use strict";function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],i=!0,a=!1,s=void 0;try{for(var n,o=e[Symbol.iterator]();!(i=(n=o.next()).done)&&(r.push(n.value),!t||r.length!==t);i=!0);}catch(e){a=!0,s=e}finally{try{i||null==o.return||o.return()}finally{if(a)throw s}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const a={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},s=e=>a[e.toLowerCase().slice(0,3)];var n=function(e){let t=function(e){let t=new Date(e);return"number"!=typeof e||isNaN(t.valueOf())?null:[t.getFullYear(),t.getMonth()+1,t.getDate()]}(e)||function(e){const t=/^(\d{4}|[-+]\d{6,})-(\d{2})(?:-(\d{2}))?/;if("string"!=typeof e||!t.test(e))return null;let r=i(e.match(t),4),a=r[1],s=r[2],n=r[3];return+s?+n?[a,s,n]:[a,s]:[a]}(e)||function(e){const t=/^(?:[a-z]{3},\s*)?(\d{1,2}) ([a-z]{3}) (\d{4,})/i;if("string"!=typeof e||!t.test(e))return null;let r=i(e.match(t),4),a=r[1],n=r[2],o=r[3];return n=s(n),n?[o,n,a]:null}(e)||function(e){const t=/^(\d{1,2})\/(\d{1,2})\/(\d{2}(?:\d{2})?)/;if("string"!=typeof e||!t.test(e))return null;let r=i(e.match(t),4),a=r[1],s=r[2],n=r[3];return new Date(n,a,s).getMonth()===parseInt(a)?[n,a,s]:null}(e)||function(e){const t=/^(\d{1,2})[ .\-/](\d{1,2}|[a-z]{3,10})[ .\-/](-?\d+)/i,r=/^(-?\d+)[ .\-/](\d{1,2}|[a-z]{3,10})[ .\-/](\d{1,2})/i;let a,n,o;if("string"!=typeof e)return null;if(t.test(e)){var l=i(e.match(t),4);o=l[1],n=l[2],a=l[3]}else{if(!r.test(e))return null;var u=i(e.match(r),4);a=u[1],n=u[2],o=u[3]}if(s(n))n=s(n);else if(isNaN(n))return null;return[a,n,o]}(e)||function(e){const t=/^([a-z]{3,10}|-?\d+)[^\w-]+([a-z]{3,10}|-?\d+)$/i;if("string"==typeof e&&t.test(e)){let r,i=e.match(t).slice(1,3);if(s(i[1]))r=s(i.pop());else if(s(i[0]))r=s(i.shift());else{if(i.some(isNaN)||i.every(e=>+e<0))return null;r=+i[0]<0||+i[0]>+i[1]&&+i[1]>0?i.pop():i.shift()}return[i.pop(),r]}return null}(e)||("string"==typeof(r=e)&&/^-?\d+$/.test(r)?[r]:null);var r;return t?(t=t.map(e=>parseInt(e)),{"date-parts":[t]}):{raw:e}};t.default=n},function(e,t,r){"use strict";function i(e,t,r){if(e.length>=t)return e;for(;e.lengthe.toString());switch(r.length){case 3:r[2]=i(r[2],2,"0");case 2:r[1]=i(r[1],2,"0");case 1:r[0]=i(r[0],4,"0")}return r.join(t)};t.default=a},function(e,t,r){const{isPlainObject:i}=r(3),a=r(46),s=r(100),n=r(8),o=r(48),l=r(47),u=Object.assign({simplify:a,parse:s},n,o,l),c=e=>{if(!i(e))throw new Error("invalid config");const{instance:t,sparqlEndpoint:a}=e;let s,n,o,l,{wgScriptPath:c="w"}=e;if(c=c.replace(/^\//,""),!t&&!a)throw new Error("one of instance or sparqlEndpoint should be set at initialization.\nTip: if you just want to access functions that don't need an instance or a sparqlEndpoint,\nthose are also exposed directly on the module object. Exemple:\nconst { isItemId, simplify } = require('wikibase-sdk')");if(t){m("instance",t),n=t.replace(/\/$/,"").replace(`/${c}/api.php`,""),o=`${n}/${c}/api.php`;const e=r(102)(o);s={searchEntities:r(104)(e),cirrusSearchPages:r(105)(e),getEntities:r(49)(e),getManyEntities:r(106)(e),getRevisions:r(107)(e),getEntityRevision:r(108)(t,c),getEntitiesFromSitelinks:r(109)(e)}}else s={searchEntities:d("searchEntities"),cirrusSearchPages:d("cirrusSearchPages"),getEntities:d("getEntities"),getManyEntities:d("getManyEntities"),getRevisions:d("getRevisions"),getEntityRevision:d("getEntityRevision"),getEntitiesFromSitelinks:d("getEntitiesFromSitelinks")};a?(m("sparqlEndpoint",a),l={sparqlQuery:r(50)(a),getReverseClaims:r(110)(a)}):l={sparqlQuery:h("sparqlQuery"),getReverseClaims:h("getReverseClaims")};const p={instance:{root:n,apiEndpoint:o}};return Object.assign(p,u,s,l)};Object.assign(c,u);const m=(e,t)=>{if("string"!=typeof t||!t.startsWith("http"))throw new Error(`invalid ${e}: ${t}`)},p=e=>t=>()=>{throw new Error(`${t} requires ${e} to be set at initialization`)},h=p("a sparqlEndpoint"),d=p("an instance");e.exports=c},function(e,t,r){const{wikibaseTimeToISOString:i,wikibaseTimeToEpochTime:a,wikibaseTimeToSimpleDay:s}=r(8),n=e=>e.value,o=(e,t)=>u(e,t.entityPrefix),l={item:"Q",lexeme:"L",property:"P"},u=(e,t)=>{const{value:r}=e,i=r.id||l[r["entity-type"]]+r["numeric-id"];return"string"==typeof t?`${t}:${i}`:i},c=(e="iso")=>{const t=m[e];if(!t)throw new Error("invalid converter key: "+JSON.stringify(e).substring(0,100));return t},m={iso:i,epoch:a,"simple-day":s,none:e=>e.time||e},p={commonsMedia:n,"external-id":n,"geo-shape":n,"globe-coordinate":(e,t)=>t.keepRichValues?e.value:[e.value.latitude,e.value.longitude],math:n,monolingualtext:(e,t)=>t.keepRichValues?e.value:e.value.text,"musical-notation":n,quantity:(e,t)=>{const{value:r}=e,i=parseFloat(r.amount);if(t.keepRichValues){const e={amount:parseFloat(r.amount),unit:r.unit.replace(/^https?:\/\/.*\/entity\//,"")};return null!=r.upperBound&&(e.upperBound=parseFloat(r.upperBound)),null!=r.lowerBound&&(e.lowerBound=parseFloat(r.lowerBound)),e}return i},string:n,"tabular-data":n,time:(e,t)=>{let r;if(r="function"==typeof t.timeConverter?t.timeConverter(e.value):c(t.timeConverter)(e.value),t.keepRichValues){const{timezone:t,before:i,after:a,precision:s,calendarmodel:n}=e.value;return{time:r,timezone:t,before:i,after:a,precision:s,calendarmodel:n}}return r},url:n,"wikibase-entityid":o,"wikibase-form":o,"wikibase-item":o,"wikibase-lexeme":o,"wikibase-property":o,"wikibase-sense":o};e.exports={parsers:p,parse:(e,t,r,i)=>{e=(e=e||t.type).replace(" ","-");try{return p[e](t,r)}catch(t){throw"parsers[datatype] is not a function"===t.message&&(t.message=`${e} claim parser isn't implemented\n Claim id: ${i}\n Please report to https://github.com/maxlath/wikibase-sdk/issues`),t}}}},function(e,t){e.exports=e=>{"object"==typeof e&&(e=e.time);const t=e[0];let[i,a]=e.slice(1).split("T");i=i.replace(/-00/g,"-01");return r(t,`${i}T${a}`)};const r=(e,t)=>{const r=t.split("-")[0];return"-"===e||r.length>4?i(e,t,r):new Date(t)},i=(e,t,r)=>{let i;return i=4===r.length?`${e}00${t}`:5===r.length?`${e}0${t}`:e+t,new Date(i)}},function(e,t,r){const{isFormId:i}=r(8),{representations:a}=r(31),{simplifyClaims:s}=r(32),n=(e,t)=>{const{id:r,representations:n,grammaticalFeatures:o,claims:l}=e;if(!i(r))throw new Error("invalid form object");return{id:r,representations:a(n),grammaticalFeatures:o,claims:s(l,t)}};e.exports={simplifyForm:n,simplifyForms:(e,t)=>e.map(e=>n(e,t))}},function(e,t,r){const{isSenseId:i}=r(8),{glosses:a}=r(31),{simplifyClaims:s}=r(32),n=(e,t)=>{const{id:r,glosses:n,claims:o}=e;if(!i(r))throw new Error("invalid sense object");return{id:r,glosses:a(n),claims:s(o,t)}};e.exports={simplifySense:n,simplifySenses:(e,t)=>e.map(e=>n(e,t))}},function(e,t,r){const{getSitelinkUrl:i}=r(48);e.exports=(e,t={})=>{const{addUrl:r}=t;return Object.keys(e).reduce(a(e,r),{})};const a=(e,t)=>(r,a)=>{const{title:s}=e[a];return r[a]=t?{title:s,url:i(a,s)}:s,r}},function(e,t){e.exports=["aa","ab","ace","ady","af","ak","als","alt","am","ang","an","arc","ar","ary","arz","ast","as","atj","avk","av","awa","ay","azb","az","ban","bar","bat_smg","ba","bcl","be_x_old","be","bg","bh","bi","bjn","bm","bn","bo","bpy","br","bs","bug","bxr","ca","cbk_zam","cdo","ceb","ce","cho","chr","ch","chy","ckb","co","crh","cr","csb","cs","cu","cv","cy","da","de","din","diq","dsb","dty","dv","dz","ee","el","eml","en","eo","es","et","eu","ext","fa","ff","fiu_vro","fi","fj","fo","frp","frr","fr","fur","fy","gag","gan","ga","gcr","gd","glk","gl","gn","gom","gor","got","gu","gv","hak","ha","haw","he","hif","hi","ho","hr","hsb","ht","hu","hy","hyw","hz","ia","id","ie","ig","ii","ik","ilo","inh","io","is","it","iu","jam","ja","jbo","jv","kaa","kab","ka","kbd","kbp","kg","ki","kj","kk","kl","km","kn","koi","ko","krc","kr","ksh","ks","ku","kv","kw","ky","lad","la","lbe","lb","lez","lfn","lg","lij","li","lld","lmo","ln","lo","lrc","ltg","lt","lv","mad","mai","map_bms","mdf","mg","mhr","mh","min","mi","mk","ml","mni","mn","mnw","mo","mrj","mr","ms","mt","mus","mwl","myv","my","mzn","nah","nap","na","nds_nl","nds","ne","new","ng","nia","nl","nn","nov","no","nqo","nrm","nso","nv","ny","oc","olo","om","or","os","pag","pam","pap","pa","pcd","pdc","pfl","pih","pi","pl","pms","pnb","pnt","ps","pt","qu","rm","rmy","rn","roa_rup","roa_tara","ro","rue","ru","rw","sah","sat","sa","scn","sco","sc","sd","se","sg","shn","sh","shy","simple","si","skr","sk","sl","smn","sm","sn","sources","so","sq","srn","sr","ss","stq","st","su","sv","sw","szl","szy","ta","tay","tcy","tet","te","tg","th","ti","tk","tl","tn","to","tpi","trv","tr","ts","tt","tum","tw","tyv","ty","udm","ug","uk","ur","uz","vec","vep","ve","vi","vls","vo","war","wa","wo","wuu","xal","xh","xmf","yi","yo","yue","za","zea","zh_classical","zh_min_nan","zh_yue","zh","zu"]},function(e,t){e.exports=(e,t={})=>{"string"==typeof e&&(e=JSON.parse(e));const{vars:i}=e.head,a=e.results.bindings;if(1===i.length&&!0===t.minimize){const e=i[0];return a.map(t=>r(t[e])).filter(e=>null!=e)}const{richVars:s,associatedVars:n,standaloneVars:o}=c(i);return a.map(p(s,n,o))};const r=e=>{if(!e)return;let{datatype:t}=e;t=t&&t.replace("http://www.w3.org/2001/XMLSchema#","");return(i[e.type]||s(t))(e)},i={uri:e=>l(e.value),bnode:()=>null},a=e=>parseFloat(e.value),s=e=>(e=e&&e.replace("http://www.w3.org/2001/XMLSchema#",""),n[e]||o),n={decimal:a,integer:a,float:a,double:a,boolean:e=>"true"===e.value},o=e=>e.value,l=e=>e.match(/http.*\/entity\/statement\//)?u(e):e.replace(/^https?:\/\/.*\/entity\//,"").replace(/^https?:\/\/.*\/prop\/direct\//,""),u=e=>{const t=(e=e.replace(/^https?:\/\/.*\/entity\/statement\//,"")).split("-");return t[0]+"$"+t.slice(1).join("-")},c=e=>{const t=e.filter(t=>e.some(m(t))),r=new RegExp(`^(${t.join("|")})[A-Z]`),i=e.filter(e=>r.test(e)),a=e.filter(e=>!t.includes(e)&&!r.test(e));return{richVars:t,associatedVars:i,standaloneVars:a}},m=e=>{const t=new RegExp(`^${e}[A-Z]\\w+`);return t.test.bind(t)},p=(e,t,i)=>a=>{const s={};for(const i of e){const e={},n=r(a[i]);null!=n&&(e.value=n);for(const r of t)r.startsWith(i)&&h(a,i,r,e);Object.keys(e).length>0&&(s[i]=e)}for(const e of i)s[e]=r(a[e]);return s},h=(e,t,r,i)=>{let a=r.split(t)[1];a=a[0].toLowerCase()+a.slice(1),a=d[a]||a;const s=e[r];null!=s&&(i[a]=s.value)},d={altLabel:"aliases"}},function(e,t,r){const{simplifyEntity:i}=r(101),a={entities:e=>{e=e.body||e;const{entities:t}=e;return Object.keys(t).forEach(e=>{t[e]=i(t[e])}),t},pagesTitles:e=>(e=e.body||e).query.search.map(e=>e.title)};e.exports={wb:a,wd:a}},function(e,t,r){const i=r(46),a=(e,t)=>{const{type:r}=e,i={id:e.id,type:r,modified:e.modified};return e.datatype&&(i.datatype=e.datatype),"item"===r?(s(e,i,"labels"),s(e,i,"descriptions"),s(e,i,"aliases"),s(e,i,"claims",t),s(e,i,"sitelinks",t)):"property"===r?(i.datatype=e.datatype,s(e,i,"labels"),s(e,i,"descriptions"),s(e,i,"aliases"),s(e,i,"claims",t)):"lexeme"===r&&(s(e,i,"lemmas"),i.lexicalCategory=e.lexicalCategory,i.language=e.language,s(e,i,"claims",t),s(e,i,"forms",t),s(e,i,"senses",t)),i},s=(e,t,r,a)=>{null!=e[r]&&(t[r]=i[r](e[r],a))},n=(e,t={})=>{e.entities&&(e=e.entities);const{entityPrefix:r}=t;return Object.keys(e).reduce((i,s)=>{const n=e[s];return r&&(s=`${r}:${s}`),i[s]=a(n,t),i},{})};i.entity=a,i.entities=n,e.exports={simplifyEntity:a,simplifyEntities:n}},function(e,t,r){const i="undefined"!=typeof location&&"undefined"!=typeof document;let a;a=i?e=>new URLSearchParams(e).toString():r(103).stringify,e.exports=e=>t=>(i&&(t.origin="*"),Object.keys(t).forEach(e=>{null==t[e]&&delete t[e]}),e+"?"+a(t))},function(e,t){e.exports=require("querystring")},function(e,t,r){const{isPlainObject:i}=r(3),a=["item","property","lexeme","form","sense"];e.exports=e=>(t,r,s,n,o)=>{let l,u;if(i(t)){const e=t;t=e.search,r=e.language,s=e.limit,u=e.continue,n=e.format,o=e.uselang,l=e.type}if(!(t&&t.length>0))throw new Error("search can't be empty");if(r=r||"en",o=o||r,s=s||"20",n=n||"json",l=l||"item",u=u||"0",!a.includes(l))throw new Error("invalid type: "+l);return e({action:"wbsearchentities",search:t,language:r,limit:s,continue:u,format:n,uselang:o,type:l})}},function(e,t,r){const{isPlainObject:i}=r(3),a=/^\d+[|\d]*$/;e.exports=e=>t=>{if(!i(t))throw new Error(`expected parameters to be passed as an object, got ${t} (${typeof t})`);const{search:r,haswbstatement:s,format:n="json",limit:o,offset:l,profile:u,sort:c}=t;let{namespace:m}=t;if(!r&&!s)throw new Error('missing "search" or "haswbstatement" parameter');let p="";if(r&&(p+=r),s){const e=s instanceof Array?s:[s];for(const t of e)"-"===t[0]?p+=" -haswbstatement:"+t.slice(1):p+=" haswbstatement:"+t}if(null!=o&&("number"!=typeof o||o<1))throw new Error("invalid limit: "+o);if(null!=l&&("number"!=typeof l||l<0))throw new Error("invalid offset: "+l);if(m instanceof Array?m=m.join("|"):"number"==typeof m&&(m=m.toString()),m&&!a.test(m))throw new Error("invalid namespace: "+m);if(null!=u&&"string"!=typeof u)throw new Error(`invalid profile: ${u} (${typeof u}, expected string)`);if(null!=c&&"string"!=typeof c)throw new Error(`invalid sort: ${c} (${typeof c}, expected string)`);return e({action:"query",list:"search",srsearch:p.trim(),format:n,srnamespace:m,srlimit:o,sroffset:l,srqiprofile:u,srsort:c})}},function(e,t,r){const{isPlainObject:i}=r(3);e.exports=e=>{const t=r(49)(e);return(e,r,s,n,o)=>{if(i(e)&&({ids:e,languages:r,props:s,format:n,redirects:o}=e),!(e instanceof Array))throw new Error("getManyEntities expects an array of ids");return a(e).map(e=>t(e,r,s,n,o))}};const a=e=>{const t=[];for(;e.length>0;){const r=e.slice(0,50);e=e.slice(50),t.push(r)}return t}},function(e,t,r){const{forceArray:i}=r(3),a=r(19);e.exports=e=>(t,r={})=>{(t=i(t)).forEach(a.entityPageTitle);const n=1===t.length,o={action:"query",prop:"revisions"};o.titles=t.join("|"),o.format=r.format||"json",n&&(o.rvlimit=r.limit||"max"),n&&r.start&&(o.rvstart=s(r.start)),n&&r.end&&(o.rvend=s(r.end));const{prop:l,user:u,excludeuser:c,tag:m}=r;return l&&(o.rvprop=i(l).join("|")),u&&(o.rvuser=u),c&&(o.rvexcludeuser=c),m&&(o.rvtag=m),e(o)};const s=e=>"number"==typeof e&&e(r,s)=>(a(r)&&(s=r.revision,r=r.id),i.entityId(r),i.revisionId(s),`${e}/${t}/index.php?title=Special:EntityData/${r}.json&revision=${s}`)},function(e,t,r){const{isPlainObject:i,forceArray:a,shortLang:s}=r(3);e.exports=e=>(t,r,o,l,u,c)=>{if(i(t)){const e=t;t=e.titles,r=e.sites,o=e.languages,l=e.props,u=e.format,c=e.redirects}if(u=u||"json",!(t&&t.length>0))throw new Error("no titles provided");r&&r.length>0||(r=["enwiki"]),t=a(t),r=a(r).map(n),l=a(l);const m={action:"wbgetentities",titles:t.join("|"),sites:r.join("|"),format:u};return 1===r.length&&1===t.length&&(m.normalize=!0),o&&(o=a(o).map(s),m.languages=o.join("|")),l&&l.length>0&&(m.props=l.join("|")),!1===c&&(m.redirects="no"),e(m)};const n=e=>2===e.length?e+"wiki":e},function(e,t,r){const{forceArray:i}=r(3),{isItemId:a}=r(8),s=r(19);e.exports=e=>{const t=r(50)(e);return(e,r,a={})=>{const{limit:o,caseInsensitive:m,keepProperties:p}=a,h=m?u:l,d=p?"":"FILTER NOT EXISTS { ?subject rdf:type wikibase:Property . } ";let f=i(e);f.forEach(s.propertyId),f=f.map(c).join("|");let g=`SELECT DISTINCT ?subject WHERE { ${n(r,h,f,d)} }`;return o&&(g+=" LIMIT "+o),t(g)}};const n=(e,t,r,i)=>{if(!(e instanceof Array))return t(r,o(e),i);return"{ "+e.map(o).map(e=>t(r,e,i)).join("} UNION {")+" }"},o=e=>(a(e)?e="wd:"+e:"string"==typeof e&&(e=`'${e}'`),e),l=(e,t,r,i)=>`?subject ${e} ${t} .\n ${r}`,u=(e,t,r,i)=>`?subject ${e} ?value .\n FILTER (lcase(?value) = ${t.toLowerCase()})\n ${r}`,c=e=>"wdt:"+e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchEngine=t.default=void 0;var i,a=(i=r(6))&&i.__esModule?i:{default:i},s=r(112),n=r(114);const o=Symbol.for("proxied"),l=function(e){const t=function(t,r){if(t.sys.wrapBibliographyEntry){const[e,i]=t.sys.wrapBibliographyEntry(this.system_id);r=[e,r,i].join("")}return e.call(this,t,r)};return t[o]=!0,t};for(const e in a.default.Output.Formats){const t=a.default.Output.Formats[e]["@bibliography/entry"];t&&!t[o]&&(a.default.Output.Formats[e]["@bibliography/entry"]=l(t))}const u={},c=function(e,t,r,i,s){const n=`${e}|${t}`;let o;return u[n]instanceof a.default.Engine?(o=u[n],o.sys.retrieveItem=i,o.updateItems([])):o=u[n]=new a.default.Engine({retrieveLocale:s,retrieveItem:i},r,t,!0),o};t.fetchEngine=c;var m=function(e,t,r,i){const a=e.reduce((e,t)=>(e[t.id]=t,e),{}),o=s.templates.get(s.templates.has(t)?t:"apa");r=n.locales.has(r)?r:"en-US";const l=c(t,r,o,e=>a[e],n.locales.get.bind(n.locales));return l.setOutputFormat(i),l};t.default=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.templates=t.default=void 0;var i,a=r(0),s=(i=r(113))&&i.__esModule?i:{default:i};const n=new a.util.Register(s.default);t.templates=n;var o=e=>n.has(e)?n.get(e):n.get("apa");t.default=o},function(e){e.exports=JSON.parse('{"apa":"","vancouver":"","harvard1":""}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.locales=t.default=void 0;var i,a=r(0),s=(i=r(115))&&i.__esModule?i:{default:i};const n=new a.util.Register(s.default);t.locales=n;var o=e=>n.has(e)?n.get(e):n.get("en-US");t.default=o},function(e){e.exports=JSON.parse('{"en-US":"This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License2015-10-10T23:31:02+00:00accessedandand othersanonymousanon.atavailable atbycircac.citededitioneditionsed.et al.forthcomingfromibid.inin pressinternetinterviewletterno daten.d.onlinepresented at thereferencereferencesref.refs.retrievedscaleversionADBCthstndrdthththfirstsecondthirdfourthfifthsixthseventheighthninthtenthbookbookschapterchapterscolumncolumnsfigurefiguresfoliofoliosnumbernumberslinelinesnotenotesopusoperapagepagespagepagesparagraphparagraphspartpartssectionsectionssub verbosub verbisverseverses\\nvolumevolumesbk.bks.chap.chaps.col.cols.fig.figs.fol.fols.no.nos.l.ll.n.nn.op.opp.p.pp.p.pp.para.paras.pt.pts.sec.secs.s.v.s.vv.v.vv.vol.vols.¶¶§§§directordirectorseditoreditorseditoreditorsillustratorillustratorstranslatortranslatorseditor & translatoreditors & translatorsdir.dirs.ed.eds.ed.eds.ill.ills.tran.trans.ed. & tran.eds. & trans.bydirected byedited byedited byillustrated byinterview bytobytranslated byedited & translated bydir. byed. byed. byillus. bytrans. byed. & trans. byJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptember\\nOctoberNovemberDecemberJan.Feb.Mar.Apr.MayJun.Jul.Aug.Sep.Oct.Nov.Dec.SpringSummerAutumnWinter","nl-NL":"Rintze Zellehttp://twitter.com/rintzezelleThis work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License2012-07-04T23:31:02+00:00geraadpleegdenen anderenanoniemanon.bijbeschikbaar opdoorcircac.geciteerdeditieeditiesed.e.a.in voorbereidingvanibid.inin drukinternetinterviewbriefzonder datumz.d.onlinegepresenteerd bijreferentiereferentiesref.refs.geraadpleegdschaalversieADBCstededededededededededededededededededeeerstetweedederdevierdevijfdezesdezevendeachtstenegendetiendeboekboekenhoofdstukhoofdstukkencolumncolumnsfiguurfigurenfoliofolio\'snummernummersregelregels\\naantekeningaantekeningenopusoperapaginapagina\'spaginapagina\'sparagraafparagrafendeeldelensectiesectiessub verbosub verbisversversenvolumevolumesbk.hfdst.col.fig.f.nr.l.n.op.p.pp.p.pp.par.deelsec.s.v.s.vv.v.vv.vol.vols.¶¶§§§regisseurregisseursredacteurredacteurenredacteurredacteurenillustratorillustratorsvertalervertalersredacteur & vertalerredacteuren & vertalersreg.reg.red.red.red.red.ill.ill.vert.vert.red. & vert.red. & vert.doorgeregisseerd doorbewerkt doorbewerkt doorgeïllustreerd doorgeïnterviewd doorontvangen doordoorvertaald doorbewerkt & vertaald doorgeregisseerd doorbewerkt doorbewerkt doorgeïllustreerd doorvertaald doorbewerkt & vertaald door\\njanuarifebruarimaartaprilmeijunijuliaugustusseptemberoktobernovemberdecemberjan.feb.mrt.apr.meijun.jul.aug.sep.okt.nov.dec.lentezomerherstwinter","fr-FR":"Grégoire CollyThis work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License2012-07-04T23:31:02+00:00consulté leetet autresanonymeanon.surdisponible surparversv.citééditionéditionséd.et al.à paraîtreà l\'adresseibid.insous presseInternetentretienlettresans dates. d.en ligneprésenté àréférenceréférencesréf.réf.consultééchelleversionapr. J.-C.av. J.-C.«  »ʳᵉᵉʳpremierdeuxièmetroisièmequatrièmecinquièmesixièmeseptièmehuitièmeneuvièmedixièmelivrelivreschapitrechapitrescolonnecolonnesfigurefiguresfoliofoliosnuméronuméroslignelignesnotenotesopusopuspagepagespagepagesparagrapheparagraphespartiepartiessectionsections\\nsub verbosub verbisversetversetsvolumevolumesliv.chap.col.fig.fᵒfᵒˢnᵒnᵒˢl.n.op.p.p.p.p.paragr.part.sect.s. v.s. vv.v.v.vol.vol.§§§§réalisateurréalisateurséditeuréditeursdirecteurdirecteursillustrateurillustrateurstraducteurtraducteurséditeur et traducteuréditeurs et traducteursréal.réal.éd.éd.dir.dir.ill.ill.trad.trad.éd. et trad.éd. et trad.parréalisé parédité parsous la direction deillustré parentretien réalisé paràpartraduit parédité et traduit parréal. paréd. parss la dir. deill. partrad. paréd. et trad. parjanvierfévriermarsavrilmaijuinjuilletaoûtseptembre\\noctobrenovembredécembrejanv.févr.marsavr.maijuinjuill.aoûtsept.oct.nov.déc.printempsétéautomnehiver","de-DE":"This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License2012-07-04T23:31:02+00:00zugegriffenundund andereohne Autoro. A.aufverfügbar untervoncircaca.zitiertAuflageAuflagenAufl.u. a.i. E.vonebd.inim DruckInternetInterviewBriefohne Datumo. J.onlinegehalten auf derReferenzReferenzenRef.Ref.abgerufenMaßstabVersionn. Chr.v. Chr..ersterzweiterdrittervierterfünftersechstersiebterachterneunterzehnterBuchBücherKapitelKapitelSpalteSpaltenAbbildungAbbildungenBlattBlätterNummerNummernZeileZeilenNoteNotenOpusOperaSeiteSeitenSeiteSeitenAbsatzAbsätzeTeilTeileAbschnittAbschnittesub verbosub verbisVersVerseBandBändeB.\\nKap.Sp.Abb.Fol.Nr.Z.N.op.S.S.S.S.Abs.TeilAbschn.s. v.s. vv.V.V.Bd.Bde.¶¶§§§RegisseurRegisseureHerausgeberHerausgeberReihenherausgeberReihenherausgeberHerausgeberHerausgeberIllustratorIllustratorenÜbersetzerÜbersetzerHerausgeber & ÜbersetzerHerausgeber & ÜbersetzerReg.Reg.Hrsg.Hrsg.Hrsg.Hrsg.Hrsg.Hrsg.Ill.Ill.Übers.Übers.Hrsg. & Übers.Hrsg. & ÜbersvonRegie vonherausgegeben vonherausgegeben vonherausgegeben vonillustriert voninterviewt vonanvonübersetzt vonherausgegeben und übersetzt vonReg.hg. vonhg. vonhg. vonillus. vonübers. vonhg. & übers. vonJanuarFebruarMärzAprilMaiJuniJuliAugustSeptemberOktoberNovemberDezemberJan.Feb.\\nMärzApr.MaiJuniJuliAug.Sep.Okt.Nov.Dez.FrühjahrSommerHerbstWinter","es-ES":"This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License2012-07-04T23:31:02+00:00accedidoyy otrosanónimoanón.endisponible endecircac.citadoediciónedicionesed.et al.previstoa partir deibid.enen imprentainternetentrevistacartasin fechas. f.en líneapresentado enreferenciareferenciasref.refs.recuperadoescalaversiónd. C.a. C.«»-primerasegundaterceracuartaquintasextaséptimaoctavanovenadécimalibrolibroscapítulocapítuloscolumnacolumnasfigurafigurasfoliofoliosnúmeronúmeroslínealíneasnotanotasopusoperapáginapáginaspáginapáginaspárrafopárrafospartepartessecciónseccionessub vocesub vocibusversoversosvolumenvolúmeneslib.\\ncap.col.fig.f.n.ºl.n.op.p.pp.p.pp.párr.pt.sec.s. v.s. vv.v.vv.vol.vols.§§§§directordirectoreseditoreditoreseditoreditoresilustradorilustradorestraductortraductoreseditor y traductoreditores y traductoresdir.dirs.ed.eds.ed.eds.ilust.ilusts.trad.trads.ed. y trad.eds. y trads.dedirigido poreditado poreditado porilustrado porentrevistado poraportraducido poreditado y traducido pordir.ed.ed.ilust.trad.ed. y trad.enerofebreromarzoabrilmayojuniojulioagostoseptiembreoctubrenoviembrediciembreene.feb.mar.abr.mayjun.jul.ago.sep.oct.nov.\\ndic.primaveraveranootoñoinvierno"}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formats=t.ref=void 0;var i=r(117),a=r(51),s=r(52);t.ref="@bibtex";const n={"@biblatex/text":{parse:i.parse,parseType:{dataType:"String",predicate:/@\s{0,5}[A-Za-z]{1,13}\s{0,5}\{\s{0,5}[^@{}"=,\\\s]{0,100}\s{0,5},[\s\S]*\}/}},"@biblatex/entry+object":{parse:e=>(0,s.parse)([e]),parseType:{dataType:"SimpleObject",propertyConstraint:{props:["type","label","properties"]}}},"@biblatex/entries+list":{parse:s.parse,parseType:{elementConstraint:"@biblatex/entry+object"}},"@bibtex/text":{parse:i.parse,outputs:"@bibtex/entries+list"},"@bibtex/entry+object":{parse:e=>(0,s.parseBibtex)([e])},"@bibtex/entries+list":{parse:s.parseBibtex},"@bibtxt/text":{parse:a.parse,parseType:{dataType:"String",predicate:/^\s*(\[(?!\s*[{[]).*?\]\s*(\n\s*[^[]((?!:)\S)+\s*:\s*.+?\s*)*\s*)+$/}}};t.formats=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e){return d.parse(p.reset(e))},t.bibtexGrammar=void 0;var i,a=r(0),s=(i=r(9))&&i.__esModule?i:{default:i},n=r(12);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function l(e){for(var t=1;t","textbackslash":"\\\\","textasciicircum":"^","textunderscore":"_","textbraceleft":"{","textbar":"|","textbraceright":"}","textasciitilde":"~","textexclamdown":"¡","textcent":"¢","textsterling":"£","textcurrency":"¤","textyen":"¥","textbrokenbar":"¦","textsection":"§","textasciidieresis":"¨","textcopyright":"©","textordfeminine":"ª","guillemetleft":"«","guillemotleft":"«","textlnot":"¬","textregistered":"®","textasciimacron":"¯","textdegree":"°","textpm":"±","texttwosuperior":"²","textthreesuperior":"³","textasciiacute":"´","textmu":"µ","textparagraph":"¶","textperiodcentered":"·","textonesuperior":"¹","textordmasculine":"º","guillemetright":"»","guillemotright":"»","textonequarter":"¼","textonehalf":"½","textthreequarters":"¾","textquestiondown":"¿","AE":"Æ","DH":"Ð","texttimes":"×","O":"Ø","TH":"Þ","ss":"ß","ae":"æ","dh":"ð","textdiv":"÷","o":"ø","th":"þ","DJ":"Đ","dj":"đ","i":"ı","IJ":"IJ","ij":"ij","L":"Ł","l":"ł","NG":"Ŋ","ng":"ŋ","OE":"Œ","oe":"œ","textflorin":"ƒ","j":"ȷ","textasciicaron":"ˇ","textasciibreve":"˘","textacutedbl":"˝","textgravedbl":"˵","texttildelow":"˷","textbaht":"฿","SS":"ẞ","textcompwordmark":"‌","textendash":"–","textemdash":"—","textbardbl":"‖","textquoteleft":"‘","textquoteright":"’","quotesinglbase":"‚","textquotedblleft":"“","textquotedblright":"”","quotedblbase":"„","textdagger":"†","textdaggerdbl":"‡","textbullet":"•","textellipsis":"…","textperthousand":"‰","textpertenthousand":"‱","guilsinglleft":"‹","guilsinglright":"›","textreferencemark":"※","textinterrobang":"‽","textfractionsolidus":"⁄","textlquill":"⁅","textrquill":"⁆","textdiscount":"⁒","textcolonmonetary":"₡","textlira":"₤","textnaira":"₦","textwon":"₩","textdong":"₫","texteuro":"€","textpeso":"₱","textcelsius":"℃","textnumero":"№","textcircledP":"℗","textrecipe":"℞","textservicemark":"℠","texttrademark":"™","textohm":"Ω","textmho":"℧","textestimated":"℮","textleftarrow":"←","textuparrow":"↑","textrightarrow":"→","textdownarrow":"↓","textminus":"−","Hwithstroke":"Ħ","hwithstroke":"ħ","textasteriskcentered":"∗","textsurd":"√","textlangle":"〈","textrangle":"〉","textblank":"␢","textvisiblespace":"␣","textopenbullet":"◦","textbigcircle":"◯","textmusicalnote":"♪","textmarried":"⚭","textdivorced":"⚮","textinterrobangdown":"⸘","textcommabelow":null,"copyright":"©","Gamma":"Γ","Delta":"Δ","Theta":"Θ","Lambda":"Λ","Xi":"Ξ","Pi":"Π","Sigma":"Σ","Phi":"Φ","Psi":"Ψ","Omega":"Ω","alpha":"α","beta":"β","gamma":"γ","delta":"δ","varepsilon":"ε","zeta":"ζ","eta":"η","theta":"θ","iota":"ι","kappa":"κ","lambda":"λ","mu":"μ","nu":"ν","xi":"ξ","pi":"π","rho":"ρ","varsigma":"ς","sigma":"σ","tau":"τ","upsilon":"υ","varphi":"φ","chi":"χ","psi":"ψ","omega":"ω","vartheta":"ϑ","Upsilon":"ϒ","phi":"ϕ","varpi":"ϖ","varrho":"ϱ","epsilon":"ϵ"}}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,a=r(0),s=r(1),n=(i=r(53))&&i.__esModule?i:{default:i},o=r(21);const l=[{source:"note",target:"accessed",when:{source:!1,target:{note:!1}},convert:{toSource:e=>`[Online; accessed ${(0,s.format)(e)}]`}},{source:"numpages",target:"number-of-pages",when:{source:{pagetotal:!1},target:!1}},{source:"pmid",target:"PMID",when:{source:{eprinttype:e=>"pmid"!==e,archiveprefix:e=>"pmid"!==e},target:!1}},{source:"pmcid",target:"PMCID",when:{target:!1}}],u=[{source:"annote",target:"annote",when:{source:{annotation:!1},target:!1}},{source:"address",target:"publisher-place",convert:o.Converters.PICK,when:{source:{location:!1},target:!1}},{source:["eprint","archiveprefix"],target:"PMID",convert:o.Converters.EPRINT,when:{source:{eprinttype:!1},target:!1}},{source:"journal",target:"container-title",when:{source:{maintitle:!1,booktitle:!1,journaltitle:!1},target:!1}},{source:"school",target:"publisher",convert:o.Converters.PICK,when:{source:{institution:!1,organization:!1,publisher:!1},target:!1}}];var c=new a.util.Translator([...u,...l,{source:"abstract",target:"abstract"},{source:"urldate",target:"accessed",convert:o.Converters.DATE},{source:"annotation",target:"annote"},{source:"author",target:"author",convert:o.Converters.NAMES},{source:"library",target:"call-number"},{source:"chapter",target:"chapter-number"},{source:"bookauthor",target:"container-author",convert:o.Converters.NAMES},{source:["maintitle","mainsubtitle","maintitleaddon"],target:"container-title",when:{source:!0,target:{"number-of-volumes":!0}},convert:o.Converters.TITLE},{source:["booktitle","booksubtitle","booktitleaddon"],target:"container-title",when:{source:{maintitle:!1},target:{"number-of-volumes":!1,type:e=>!e.startsWith("article")}},convert:o.Converters.TITLE},{source:["journaltitle","journalsubtitle","journaltitleaddon"],target:"container-title",when:{source:{[o.TYPE]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}},convert:o.Converters.TITLE},{source:"shortjournal",target:"container-title-short",when:{source:{[o.TYPE]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}}},{source:"shortjournal",target:"journalAbbreviation",when:{source:!1,target:{"container-title-short":!1}}},{source:"number",target:"collection-number",when:{source:{[o.TYPE]:["book","mvbook","inbook","bookinbook","suppbook","collection","mvcollection","incollection","suppcollection","manual","suppperiodical","proceedings","mvproceedings","refererence"]},target:{type:["bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legislation","legal_case","manuscript","map","motion_picture","musical_score","pamphlet","post","post-weblog","personal_communication","review","review-book","song","speech","thesis","treaty","webpage"]}}},{source:"series",target:"collection-title"},{source:"shortseries",target:"collection-title-short"},{source:"doi",target:"DOI"},{source:"edition",target:"edition"},{source:"editor",target:"editor",convert:o.Converters.NAMES},{source:[o.TYPE,"entrysubtype","type"],target:["type","genre"],convert:{toTarget:(e,t,r)=>(r||("masterthesis"===e&&(r="mathesis"),"phdthesis"===e&&(r="phdthesis"),"techreport"===e&&(r="techreport")),[n.default.source[e]||"book",r||t]),toSource(e,t){const r=n.default.target[e]||"misc";return t in o.TYPE_KEYS?[r,void 0,t]:[r,t]}}},{source:o.TYPE,when:{target:{type:!1}},convert:{toSource:()=>"misc"}},{source:"eventdate",target:"event-date",convert:o.Converters.DATE},{source:"venue",target:"event-place"},{source:"eventtitle",target:"event"},{source:o.LABEL,target:["id","citation-label","author","issued","year-suffix","title"],convert:o.Converters.LABEL},{source:"isbn",target:"ISBN"},{source:"issn",target:"ISSN"},{source:"issue",target:"issue",when:{source:{number:!1,[o.TYPE]:["article","periodical"]},target:{issue:e=>"string"==typeof e&&!e.match(/\d+/),type:["article","article-journal","article-newspaper","article-magazine"]}}},{source:"number",target:"issue",when:{source:{[o.TYPE]:["article","periodical","inproceedings"]},target:{issue:e=>e&&("number"==typeof e||e.match(/\d+/)),type:["article","article-journal","article-newspaper","article-magazine","paper-conference"]}}},{source:"date",target:"issued",convert:o.Converters.DATE},{source:["year","month"],target:"issued",convert:o.Converters.YEAR_MONTH,when:{source:{date:!1},target:!1}},{source:"location",target:"jurisdiction",when:{source:{type:"patent"},target:{type:"patent"}}},{source:"keywords",target:"keyword",convert:o.Converters.KEYWORDS},{source:"language",target:"language",convert:o.Converters.PICK},{source:"note",target:"note"},{source:["isan","ismn","isrn","iswc"],target:"number",convert:o.Converters.STANDARD_NUMBERS,when:{source:{[o.TYPE]:e=>"patent"!==e},target:{type:e=>"patent"!==e}}},{source:"number",target:"number",when:{source:{[o.TYPE]:["patent","report","techreport","legislation"]},target:{type:["patent","report","legislation"]}}},{source:"origdate",target:"original-date",convert:o.Converters.DATE},{source:"origlocation",target:"original-publisher-place",convert:o.Converters.PICK},{source:"origpublisher",target:"original-publisher",convert:o.Converters.PICK},{source:"origtitle",target:"original-title"},{source:["pages","eid"],target:"page",convert:{toTarget:(e,t)=>t?t.replace(/^e?/i,"e"):e.replace(/[–—]/,"-"),toSource:e=>/^e/i.test(e)?[e,e]:[e.replace("-","--")]}},{source:"pagetotal",target:"number-of-pages"},{source:["eprint","eprinttype"],target:"PMID",convert:o.Converters.EPRINT},{source:"location",target:"publisher-place",convert:o.Converters.PICK},{source:"publisher",target:"publisher",convert:o.Converters.PICK,when:{source:!0,target:{type:["article","article-journal","article-magazine","article-newspaper","bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legal_case","legislation","manuscript","map","motion_picture","musical_score","pamphlet","paper-conference","patent","personal_communication","post","post-weblog","regulation","review","review-book","song","speech","treaty"]}}},{source:"organization",target:"publisher",convert:o.Converters.PICK,when:{source:{publisher:!1},target:{type:"webpage"}}},{source:"institution",target:"publisher",convert:o.Converters.PICK,when:{source:{publisher:!1,organization:!1},target:{type:["report","thesis"]}}},{source:"howpublished",target:"publisher",convert:o.Converters.PICK,when:{source:{publisher:!1,organization:!1,institution:!1},target:{type:"manuscript"}}},{source:["pages","bookpagination"],target:"section",when:{source:{bookpagination:"section"},target:{page:!1}},convert:{toTarget:e=>e,toSource:e=>[e,"section"]}},{source:"pubstate",target:"status",convert:o.Converters.STATUS},{source:"shorttitle",target:"title-short"},{source:["title","subtitle","titleaddon"],target:"title",convert:o.Converters.TITLE},{source:"translator",target:"translator",convert:o.Converters.NAMES},{source:"url",target:"URL"},{source:"howpublished",target:"URL",convert:o.Converters.HOW_PUBLISHED,when:{source:{url:!1},target:!1}},{source:"version",target:"version"},{source:"volume",target:"volume"},{source:"volumes",target:"number-of-volumes"}]);t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,a=r(0),s=r(1),n=(i=r(20))&&i.__esModule?i:{default:i},o=r(21);var l=new a.util.Translator([{source:"note",target:"accessed",when:{source:!1,target:{note:!1}},convert:{toSource:e=>`[Online; accessed ${(0,s.format)(e)}]`}},{source:"annote",target:"annote"},{source:"address",target:"publisher-place",convert:o.Converters.PICK},{source:"author",target:"author",convert:o.Converters.NAMES},{source:"chapter",target:"chapter-number"},{source:"number",target:"collection-number",when:{source:{[o.TYPE]:["book","mvbook","inbook","collection","mvcollection","incollection","suppcollection","manual","suppperiodical","proceedings","mvproceedings","refererence"]},target:{type:["bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legislation","legal_case","manuscript","map","motion_picture","musical_score","pamphlet","post","post-weblog","personal_communication","review","review-book","song","speech","thesis","treaty","webpage"]}}},{source:"series",target:"collection-title"},{source:"booktitle",target:"container-title",when:{target:{type:["chapter","paper-conference"]}}},{source:"journal",target:"container-title",when:{source:{[o.TYPE]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}}},{source:"edition",target:"edition"},{source:"editor",target:"editor",convert:o.Converters.NAMES},{source:o.LABEL,target:["id","citation-label","author","issued","year-suffix","title"],convert:o.Converters.LABEL},{source:"number",target:"issue",when:{source:{[o.TYPE]:["article","periodical","inproceedings"]},target:{issue:e=>"number"==typeof e||"string"==typeof e&&e.match(/\d+/),type:["article","article-journal","article-newspaper","article-magazine","paper-conference"]}}},{source:["year","month"],target:"issued",convert:o.Converters.YEAR_MONTH},{source:"note",target:"note"},{source:"number",target:"number",when:{source:{[o.TYPE]:["patent","report","techreport"]},target:{type:["patent","report"]}}},{source:"pages",target:"page",convert:{toTarget:e=>e.replace(/[–—]/,"-"),toSource:e=>e.replace("-","--")}},{source:"publisher",target:"publisher",convert:o.Converters.PICK,when:{target:{type:["article","article-journal","article-magazine","article-newspaper","bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legal_case","legislation","map","motion_picture","musical_score","pamphlet","patent","personal_communication","post","post-weblog","review","review-book","song","speech","treaty","webpage"]}}},{source:"organization",target:"publisher",convert:o.Converters.PICK,when:{source:{publisher:!1},target:{type:"paper-conference"}}},{source:"institution",target:"publisher",convert:o.Converters.PICK,when:{source:{publisher:!1,organization:!1},target:{type:"report"}}},{source:"school",target:"publisher",convert:o.Converters.PICK,when:{source:{institution:!1,organization:!1,publisher:!1},target:{type:"thesis"}}},{source:"howpublished",target:"publisher",convert:o.Converters.PICK,when:{source:{publisher:!1,organization:!1,institution:!1,school:!1},target:{type:"manuscript"}}},{source:"title",target:"title"},{source:[o.TYPE,"type"],target:["type","genre"],convert:{toTarget(e,t){const r=n.default.source[e]||"book";return t?[r,t]:"mastersthesis"===e?[r,"Master's thesis"]:"phdthesis"===e?[r,"PhD thesis"]:[r]},toSource(e,t){const r=n.default.target[e]||"misc";return/^(master'?s|diploma) thesis$/i.test(t)?["mastersthesis"]:/^(phd|doctoral) thesis$/i.test(t)?["phdthesis"]:[r,t]}}},{source:o.TYPE,when:{target:{type:!1}},convert:{toSource:()=>"misc"}},{source:"howpublished",target:"URL",convert:o.Converters.HOW_PUBLISHED,when:{target:{publisher:!1}}},{source:"volume",target:"volume"}]);t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e,t,r=[]){const i=n.fieldTypes[t]||[];return b.parse(d.reset(e,{state:y(i),line:0,col:0}),function(e,t){if("name"===e[1])return"list"===e[0]?"StringNames":"Name";if("title"===e[1]){const e=s.default.parse.sentenceCase;return"always"===e||"english"===e&&function(e){if(Array.isArray(e))return e.every(v);return v(e)}(t)?"StringTitleCase":"String"}switch("field"===e[0]?e[1]:e[0]){case"list":return"StringList";case"separated":return"StringSeparated";case"verbatim":return"StringVerbatim";case"uri":return"StringUri";case"title":case"literal":default:return"String"}}(i,r))},t.valueGrammar=void 0;var i=r(0),a=u(r(9)),s=u(r(33)),n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var n=a?Object.getOwnPropertyDescriptor(e,s):null;n&&(n.get||n.set)?Object.defineProperty(i,s,n):i[s]=e[s]}i.default=e,r&&r.set(e,i);return i}(r(12)),o=r(124);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function m(e){for(var t=1;te.slice(1).trim()},lbrace:{match:"{",push:"bracedLiteral"},mathShift:{match:"$",push:"mathLiteral"},whitespace:{match:/[\s]+|~/,lineBreaks:!0,value:e=>"~"===e?" ":" "}},d=a.default.states({stringLiteral:m(m({},h),{},{text:/[^{$}\s~\\]+/}),namesLiteral:m(m({and:/\s+and\s+/,comma:",",hyphen:"-",equals:"="},h),{},{text:/[^{$}\s~\\,=-]+/}),listLiteral:m(m({and:/\s+and\s+/},h),{},{text:/[^{$}\s~\\]+/}),separatedLiteral:m(m({comma:","},h),{},{text:/[^{$}\s~\\,]+/}),bracedLiteral:m(m({},h),{},{rbrace:{match:"}",pop:!0},text:/[^{$}\s~\\]+/}),mathLiteral:m(m({},h),{},{mathShift:{match:"$",pop:!0},script:/[\^_]/,text:/[^{$}\s~\\^_]+/})});function f(e){return e[0],e}function g(e,t){return t in n.formatting?e&&n.formatting[t].join(e):e}const b=new i.util.Grammar({String(){let e="";for(;!this.matchEndOfFile();)e+=this.consumeRule("Text");return f(e)},StringNames(){const e=[];for(;;){if(this.consumeToken("whitespace",!0),e.push(this.consumeRule("Name")),this.consumeToken("whitespace",!0),this.matchEndOfFile())return e;this.consumeToken("and")}},Name(){const e=[];for(;;){if(e.push(this.consumeRule("NamePiece")),this.matchEndOfFile()||this.matchToken("and"))return(0,o.orderNamePieces)(e);this.consumeToken("comma"),this.consumeToken("whitespace",!0)}},NamePiece(){const e=[];for(;;){const t=this.consumeRule("NameToken");if(t.label)return t.label=(0,o.formatNameParts)([...e,{value:t.label}]),[t];if(e.push(t),this.matchEndOfFile()||this.matchToken("and")||this.matchToken("comma"))return e;for(;this.matchToken("hyphen")||this.matchToken("whitespace");)this.consumeToken()}},NameToken(){let e=null,t="";for(;;)if(null===e&&this.matchToken("text")){const r=this.consumeToken().value;t+=r,e=(0,o.getStringCase)(r)}else{if(this.matchEndOfFile()||this.matchToken("and")||this.matchToken("comma")||this.matchToken("whitespace"))return{value:t,upperCase:e};if(this.matchToken("hyphen"))return{value:t,upperCase:e,hyphenated:!0};if(this.matchToken("equals")){this.consumeToken("equals");const e=this.consumeRule("NamePiece");return e[0].label&&(t+="="+e[0].label),{value:(0,o.formatNameParts)(e),label:t}}t+=this.consumeRule("Text")}},StringList(){const e=[];for(;!this.matchEndOfFile();){let t="";for(;!this.matchEndOfFile()&&!this.matchToken("and");)t+=this.consumeRule("Text");e.push(f(t)),this.consumeToken("and",!0)}return 1===e.length?e[0]:e},StringSeparated(){const e=[];for(;!this.matchEndOfFile();){let t="";for(;!this.matchEndOfFile()&&!this.matchToken("comma");)t+=this.consumeRule("Text");e.push(t.trim()),this.consumeToken("comma",!0),this.consumeToken("whitespace",!0)}return e},StringVerbatim(){let e="";for(;!this.matchEndOfFile();)e+=this.consumeToken().text;return f(e)},StringUri(){const e=this.consumeRule("StringVerbatim");try{return decodeURI(e)===e?encodeURI(e):e}catch(t){return encodeURI(e)}},StringTitleCase(){this.state.sentenceCase=!0;let e="";for(;!this.matchEndOfFile();)e+=this.consumeRule("Text");return f(e)},BracketString(){var e;let t="";this.consumeToken("lbrace");const r=this.state.sentenceCase;for(this.state.sentenceCase=r&&this.matchToken("command"),(e=this.state).partlyLowercase&&(e.partlyLowercase=this.state.sentenceCase);!this.matchToken("rbrace");)t+=this.consumeRule("Text");const i=r&&!this.state.sentenceCase&&this.state.partlyLowercase;return this.state.sentenceCase=r,this.consumeToken("rbrace"),i?g(t,"nocase"):t},MathString(){let e="";for(this.consumeToken("mathShift");!this.matchToken("mathShift");)if(this.matchToken("script")){const t=this.consumeToken("script").value,r=this.consumeRule("Text").split("");if(r.every(e=>e in n.mathScripts[t]))e+=r.map(e=>n.mathScripts[t][e]).join("");else{const i=n.mathScriptFormatting[t];e+=n.formatting[i].join(r.join(""))}}else{if(this.matchToken("command")){const t=this.token.value;if(t in n.mathScriptFormatting){this.consumeToken("command");e+=g(this.consumeRule("BracketString"),n.mathScriptFormatting[t]);continue}}e+=this.consumeRule("Text")}return this.consumeToken("mathShift"),e},Text(){if(this.matchToken("lbrace"))return this.consumeRule("BracketString");if(this.matchToken("mathShift"))return this.consumeRule("MathString");if(this.matchToken("whitespace"))return this.consumeToken("whitespace").value;if(this.matchToken("commandBegin"))return this.consumeRule("EnclosedEnv");if(this.matchToken("command"))return this.consumeRule("Command");const e=this.consumeToken("text").value.replace(n.ligaturePattern,e=>n.ligatures[e]),t=this.state.afterPunctuation;var r;if(this.state.afterPunctuation=/[?!.:]$/.test(e),!this.state.sentenceCase)return(r=this.state).partlyLowercase||(r.partlyLowercase=e===e.toLowerCase()&&e!==e.toUpperCase()),e;const[i,...a]=e,s=a.join(""),o=s.toLowerCase();return s!==o?e:t?i+o:e.toLowerCase()},Command(){const e=this.consumeToken("command"),t=e.value;if(t in n.formattingEnvs){return g(this.consumeRule("Env"),n.formattingEnvs[t])}if(t in n.formattingCommands){return g(this.consumeRule("BracketString"),n.formattingCommands[t])}if(t in n.commands)return n.commands[t];if(t in n.diacritics&&!this.matchEndOfFile()){const e=this.consumeRule("Text");return(e[0]+n.diacritics[t]).normalize("NFC")+e.slice(1)}if(t in n.argumentCommands){const e=n.argumentCommands[t],r=[];let i=e.length;for(;i-- >0;)this.consumeToken("whitespace",!0),r.push(this.consumeRule("BracketString"));return e(...r)}return/^[&%$#_{}]$/.test(t)?e.text.slice(1):e.text},Env(){let e="";for(;!this.matchEndOfFile()&&!this.matchToken("rbrace");)e+=this.consumeRule("Text");return e},EnclosedEnv(){this.consumeToken("commandBegin");const e=this.consumeRule("BracketString");let t="";for(;!this.matchToken("commandEnd");)t+=this.consumeRule("Text");const r=this.consumeToken("commandEnd"),i=this.consumeRule("BracketString");if(e!==i)throw new SyntaxError(this.lexer.formatError(r,`environment started with "${e}", ended with "${i}"`));return g(t,n.formattingEnvs[e])}},{sentenceCase:!1,partlyLowercase:!1,afterPunctuation:!0});function v(e){return n.sentenceCaseLanguages.includes(e.toLowerCase())}function y(e){if("name"===e[1])return"namesLiteral";switch(e[0]){case"list":return"listLiteral";case"separated":return"separatedLiteral";case"field":default:return"stringLiteral"}}t.valueGrammar=b},function(e,t,r){"use strict";function i(e){if(0===e.length)return;let t="";for(;e.length>1;){const{value:r,hyphenated:i}=e.shift();t+=r+(i?"-":" ")}const r=t+e[0].value;return r[0]&&r}function a(e,t=!0){const r=[],a=[];if(t)for(;e.length>1&&!1!==e[0].upperCase;){for(r.push(...a),a.length=0;e.length>1&&!1!==e[0].upperCase&&!e[0].hyphenated;)r.push(e.shift());for(;e.length>0&&!1!==e[0].upperCase&&e[0].hyphenated;)a.push(e.shift())}const s=[],n=[];for(;e.length>1;){for(s.push(...n),n.length=0;e.length>1&&!1===e[0].upperCase;)s.push(e.shift());for(;e.length>0&&!1!==e[0].upperCase;)n.push(e.shift())}return a.length&&n.unshift(...a),e.length&&n.push(e[0]),[i(r),i(s),i(n)]}Object.defineProperty(t,"__esModule",{value:!0}),t.getStringCase=function(e){const t=e.toUpperCase(),r=e.toLowerCase();for(let i=0;i""===e}},"@empty/whitespace+text":{parse:i.parse,parseType:{dataType:"String",predicate:/^\s+$/}},"@empty":{parse:i.parse,parseType:{dataType:"Primitive",predicate:e=>null==e}},"@else/json":{parse:s.parse,parseType:{dataType:"String",predicate:/^\s*(\{[\S\s]*\}|\[[\S\s]*\])\s*$/}},"@else/url":{parse:a.parse,parseAsync:a.parseAsync,parseType:{dataType:"String",predicate:/^https?:\/\/(([\w-]+\.)*[\w-]+)(:\d+)?(\/[^?/]*)*(\?[^#]*)?(#.*)?$/i}},"@else/jquery":{parse:n.parse,parseType:{dataType:"ComplexObject",predicate:e=>"undefined"!=typeof jQuery&&e instanceof jQuery}},"@else/html":{parse:o.parse,parseType:{dataType:"ComplexObject",predicate:e=>"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}}};t.formats=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;t.parse=()=>[]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.fetchFile}}),Object.defineProperty(t,"parseAsync",{enumerable:!0,get:function(){return i.fetchFileAsync}});var i=r(55)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchFile=p,t.fetchFileAsync=async function(e,t){const r=c(t);return a.default.http("[core]",r.method,e,r),fetch(e,r).then(e=>m(e,r)).then(e=>e.text())},t.setUserAgent=function(e){l=e},t.default=void 0;var i=n(r(23));r(43);var a=n(r(13)),s=r(14);function n(e){return e&&e.__esModule?e:{default:e}}const o="undefined"!=typeof location&&"undefined"!=typeof document;let l=`Citation.js/${s.version} Node.js/${process.version}`;function u(e){const t={},r=e instanceof Headers||e instanceof i.default.Headers?Array.from(e):Object.entries(e);for(const[e,i]of r)t[e.toLowerCase()]=i.toString();return t}function c(e={}){const t={headers:{accept:"*/*"},method:"GET",checkContentType:e.checkContentType};if(l&&!o&&(t.headers["user-agent"]=l),e.body){t.method="POST";const r="string"!=typeof e.body;t.body=r?JSON.stringify(e.body):e.body,t.headers["content-type"]=r?"application/json":"text/plain"}return e.headers&&Object.assign(t.headers,u(e.headers)),t}function m(e,t){const{status:r,headers:i}=e;let a;if(r>=400?a=new Error("Server responded with status code "+r):!0!==t.checkContentType||function(e,t){if(!e.accept||"*/*"===e.accept||!t["content-type"])return!0;const[r,i]=t["content-type"].split(";")[0].trim().split("/");return e.accept.split(",").map(e=>e.split(";")[0].trim().split("/")).some(([e,t])=>!(e!==r&&"*"!==e||t!==i&&"*"!==t))}(t.headers,u(i))||(a=new Error("Server responded with content-type "+i.get("content-type"))),a)throw a.status=r,a.headers=i,a.body=e.body,a;return e}function p(e,t){const r=c(t);a.default.http("[core]",r.method,e,r);return m((0,i.default)(e,r),r).text()}var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){let r;for(;void 0===r||e.includes(r);)r=`${t}${Math.random().toString().slice(2)}`;return r};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class i{constructor(e){this.stack=e,this.index=0,this.current=this.stack[this.index]}static getPatternText(e){return`"${e instanceof RegExp?e.source:e}"`}static getMatchCallback(e){if(Array.isArray(e)){const t=e.map(i.getMatchCallback);return e=>t.some(t=>t(e))}return e instanceof Function?e:e instanceof RegExp?t=>e.test(t):t=>e===t}tokensLeft(){return this.stack.length-this.index}matches(e){return i.getMatchCallback(e)(this.current,this.index,this.stack)}matchesSequence(e){const t=this.stack.slice(this.index,this.index+e.length).join("");return"string"==typeof e?t===e:e.every((e,r)=>i.getMatchCallback(e)(t[r]))}consumeToken(e=/^[\s\S]$/,{inverse:t=!1,spaced:r=!0}={}){r&&this.consumeWhitespace();const a=this.current;if(!i.getMatchCallback(e)(a,this.index,this.stack))throw new SyntaxError(`Unexpected token at index ${this.index}: Expected ${i.getPatternText(e)}, got "${a}"`);return this.current=this.stack[++this.index],r&&this.consumeWhitespace(),a}consumeWhitespace(e=/^\s$/,{optional:t=!0}={}){return this.consume(e,{min:+!t})}consumeN(e){if(this.tokensLeft()r)throw new SyntaxError("Too many "+i.getPatternText(e));return s&&(u=u.map(s)),n&&(u=u.filter(n)),u.join("")}}var a=i;t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grammar=void 0;var i=r(34);t.Grammar=class{constructor(e,t){this.rules=e,this.defaultState=t,this.mainRule=Object.keys(e)[0],this.log=[]}parse(e,t){return this.lexer=e,this.token=this.lexer.next(),this.state=(0,i.deepCopy)(this.defaultState),this.log=[],this.consumeRule(t||this.mainRule)}matchEndOfFile(){return!this.token}matchToken(e){return this.token&&e===this.token.type}consumeToken(e,t){const r=this.token;if(!e||r&&r.type===e)return this.token=this.lexer.next(),r;if(!t){const t=r?`"${r.type}"`:"EOF",i=new SyntaxError(this.lexer.formatError(r,`expected "${e}", got ${t}`));throw i.message+=` (${this.log.join("->")})`,i}}consumeRule(e){this.log.push(e);const t=this.rules[e].call(this);return this.log.pop(),t}}},function(e,t,r){"use strict";function i(e,t){let r,i,a,s;if("string"==typeof e)r=i=e;else{if(!e)return null;r=t?e.target:e.source,i=t?e.source:e.target,e.convert&&(a=t?e.convert.toSource:e.convert.toTarget),e.when&&(s=t?e.when.target:e.when.source,null!=s&&(s=function(e){return function(t){return"boolean"==typeof e?e:Object.keys(e).every(r=>{const i=e[r];return!0===i?r in t:!1===i?!(r in t):"function"==typeof i?i(t[r]):Array.isArray(i)?i.includes(t[r]):t[r]===i})}}(s)))}return r=[].concat(r).filter(Boolean),i=[].concat(i).filter(Boolean),{inputProp:r,outputProp:i,convert:a,condition:s}}function a(e,t){return t=t===s.CONVERT_TO_SOURCE,e=e.map(e=>i(e,t)).filter(Boolean),function(t){const r={};for(const{inputProp:i,outputProp:a,convert:s,condition:n}of e){if(0===a.length)continue;if(n&&!n(t))continue;if(0!==i.length&&i.every(e=>!(e in t)))continue;let e=i.map(e=>t[e]);if(s){const r=s.apply(t,e);e=1===a.length?[r]:r}a.forEach((t,i)=>{const a=e[i];void 0!==a&&(r[t]=a)})}return r}}Object.defineProperty(t,"__esModule",{value:!0}),t.Translator=void 0;class s{constructor(e){this.convertToSource=a(e,s.CONVERT_TO_SOURCE),this.convertToTarget=a(e,s.CONVERT_TO_TARGET)}}t.Translator=s,s.CONVERT_TO_SOURCE=Symbol("convert to source"),s.CONVERT_TO_TARGET=Symbol("convert to target")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.parse=void 0;var i,a=(i=r(13))&&i.__esModule?i:{default:i};const s=[[/((?:\[|:|,)\s*)'((?:\\'|[^'])*?[^\\])?'(?=\s*(?:\]|}|,))/g,'$1"$2"'],[/((?:(?:"|]|}|\/[gmiuys]|\.|(?:\d|\.|-)*\d)\s*,|{)\s*)(?:"([^":\n]+?)"|'([^":\n]+?)'|([^":\n]+?))(\s*):/g,'$1"$2$3$4"$5:']];t.default=t.parse=function(e){if("string"!=typeof e)return JSON.parse(e);try{return JSON.parse(e)}catch(t){return a.default.debug("[plugin-common]","Invalid JSON, switching to experimental parser"),s.forEach(([t,r])=>{e=e.replace(t,r)}),JSON.parse(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e){return e.val()||e.text()||e.html()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e){return e.value||e.textContent}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(0),a=r(56),s=r(138),n=r(57);const o=function(e,t){return function(r,a={}){const{type:s,format:n=s||"text"}=a;if(r=e(r),"object"===n)return r;if(i.plugins.dict.has(n))return t(r,i.plugins.dict.get(n),a);throw new RangeError(`Output dictionary "${n}" not available`)}};var l={bibtex:o(a.formatBibtex,s.format),biblatex:o(a.format,s.format),bibtxt:o(a.formatBibtex,n.format)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.format=function(e,t){if(!(e in i.fieldTypes))return m(t,"verbatim");const[r,a]=i.fieldTypes[e];return r in o?function(e,t,r){const i=o[r];return e.map(e=>{const r=m(e,t);return r.includes(i)?`{${r}}`:r}).join(i)}(t,a,r):m(t,a)};var i=r(12);const a={};for(const e in i.commands)a[i.commands[e]]=e;for(const e in i.diacritics)a[i.diacritics[e]]=e;for(const e in i.ligatures)a[i.ligatures[e]]=e;const s=/[^a-zA-Z0-9\s!"#%&'()*+,\-./:;=?@[\]{}\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]/g,n=/.[\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]+/g,o={separated:",",list:" and "},l={i:"\\textit{",b:"\\textbf{",sc:"\\textsc{",sup:"\\textsuperscript{",sub:"\\textsubscript{",'span style="font-variant:small-caps;"':"\\textsc{",'span class="nocase"':"{"};function u(e){return e.normalize("NFKD").replace(s,e=>e in a?a[e]in i.ligatures?a[e]:`\\${a[e]}{}`:"").replace(n,e=>Array.from(e).reduce((e,t)=>`{\\${a[t]} ${e}}`))}function c(e){const t=[];let r=e.split(/<(\/?(?:i|b|sc|sup|sub|span)|span .*?)>/g);return r=r.map((e,r)=>r%2==0?u(e):e in l?(t.push("/"+e.split(" ")[0]),l[e]):e===t[t.length-1]?(t.pop(),"}"):""),r.join("")}function m(e,t){switch(t){case"title":return c(e).split(/(:\s*)/).map((e,t)=>t%2?e:e.replace(/(?!^)\b[a-z]*[A-Z].*?\b/g,"{$&}")).join("");case"literal":return c(e.toString());case"name":return function(e){if(e.family&&!e.prefix&&!e.given&!e.suffix)return e.family.includes(o.list)?e.family:`{${e.family}}`;const t=[""];return e.prefix&&e.family&&(t[0]+=e.prefix+" "),e.family&&(t[0]+=e.family),e.suffix?(t.push(e.suffix),t.push(e.given||"")):t.push(e.given),u(t.join(", ").trim())}(e);case"verbatim":case"uri":return e.toString();default:return u(e.toString())}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.format=function(e,t){const r=e.map(e=>function({type:e,label:t,properties:r},i){const a=Object.entries(r).map(([e,t])=>i.listItem.join(`${e} = {${t}},`));return i.entry.join(`@${e}{${t},${i.list.join(a.join(""))}}`)}(e,t)).join("");return t.bibliographyContainer.join(r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJsonWrapper=function(e){return p(e,a.dict.get("html"))},t.default=void 0;var i,a=l(r(140)),s=l(r(55)),n=(i=r(13))&&i.__esModule?i:{default:i};function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var n=a?Object.getOwnPropertyDescriptor(e,s):null;n&&(n.get||n.set)?Object.defineProperty(i,s,n):i[s]=e[s]}return i.default=e,r&&r.set(e,i),i}const u=(e,t,r)=>e+(tm(e,t)):Object.keys(e).filter(t=>JSON.stringify(e[t])).map(r=>`"${r}": ${m(e[r],t)}`),i=i.map(u).map(e=>t.listItem.join(e)),i=t.list.join(i.join("")),r?`[${i}]`:`{${i}}`},m=function(e,t){return"object"==typeof e&&null!==e?0===e.length?"[]":0===Object.keys(e).length?"{}":c(e,t):JSON.stringify(e)},p=function(e,t){let r=e.map(e=>c(e,t));return r=r.map(u).map(e=>t.entry.join(e)),r=r.join(""),t.bibliographyContainer.join(`[${r}]`)};var h={data:(e,{type:t,format:r=t||"text"}={})=>"object"===r?s.deepCopy(e):"text"===r?JSON.stringify(e,null,2):(n.default.warn("[core]","This feature (JSON output with special formatting) is unstable. See https://github.com/larsgw/citation.js/issues/144"),p(e,a.dict.get(r))),ndjson:e=>e.map(e=>JSON.stringify(e)).join("\n")};t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.dict=t.output=t.input=t.list=t.has=t.remove=t.add=void 0;var i=l(r(141));t.input=i;var a=l(r(143));t.output=a;var s=l(r(144));t.dict=s;var n=l(r(145));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var n=a?Object.getOwnPropertyDescriptor(e,s):null;n&&(n.get||n.set)?Object.defineProperty(i,s,n):i[s]=e[s]}return i.default=e,r&&r.set(e,i),i}t.config=n;const u={input:i,output:a,dict:s,config:n},c={};t.add=(e,t={})=>{const r=c[e]={};for(const i in t){if("config"===i){r.config={[e]:t.config},u.config.add(e,t.config);continue}const a=r[i]={},s=t[i];for(const e in s){const t=s[e];a[e]=!0,u[i].add(e,t)}}};t.remove=e=>{const t=c[e];for(const e in t){const r=t[e];for(const t in r)u[e].remove(t)}delete c[e]};t.has=e=>e in c;t.list=()=>Object.keys(c)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={util:!0};t.util=void 0;var a=h(r(59)),s=h(r(60)),n=h(r(61)),o=h(r(142)),l=r(62);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=r(63);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=r(22);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var m=r(36);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var n=a?Object.getOwnPropertyDescriptor(e,s):null;n&&(n.get||n.set)?Object.defineProperty(i,s,n):i[s]=e[s]}return i.default=e,r&&r.set(e,i),i}Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}));const d=Object.assign({},a,s,n,o);t.util=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clean=void 0;var i=r(4);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function s(e){for(var t=1;t"number"==typeof e)?e:!t||e.some(e=>isNaN(parseInt(e)))?void 0:e.map(e=>parseInt(e))},m=function(e,t,r){const i=[].concat(l[e]);switch(l[e]){case 1:return u(t,r);case 2:return function(e,t){if(e instanceof Array){const r=e.map(e=>u(e,t)).filter(Boolean);return r.length?r:void 0}}(t,r);case 3:return function(e,t){const r="date-parts";if("object"==typeof e&&null!==e){if(e[r]instanceof Array&&e[r].every(e=>e instanceof Array)){const i=e[r].map(e=>c(e,t)).filter(Boolean);return i.length?s(s({},e),{},{"date-parts":i}):void 0}if(e instanceof Array&&e.every(e=>e[r]instanceof Array)){const i=e.map(e=>c(e[r],t)).filter(Boolean);return i.length?{"date-parts":i}:void 0}if(e[r]instanceof Array){const i=c(e[r],t);return i&&{"date-parts":[i]}}return"literal"in e||"raw"in e?e:void 0}}(t,r);case 4:return function(e,t){return e=m("language",e,t),!0===o[e]?e:t&&e in o?o[e]:void 0}(t,r)}if(/^_/.test(e))return t;if(r){if("string"==typeof t&&i.includes("number")&&!isNaN(+t))return parseFloat(t);if("number"==typeof t&&i.includes("string")&&!i.includes("number"))return t.toString();if(Array.isArray(t)&&t.length)return m(e,t[0],r)}return i.includes(typeof t)?t:void 0};t.clean=function(e,t=!0){return e.map((function(e){const r={};for(const i in e){const a=m(i,e[i],t);void 0!==a&&(r[i]=a)}return r}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.format=t.list=t.has=t.remove=t.add=t.register=void 0;var i,a=(i=r(35))&&i.__esModule?i:{default:i};const s=new a.default;t.register=s;t.add=(e,t)=>{((e,t)=>{if("string"!=typeof e)throw new TypeError("Invalid output format name, expected string, got "+typeof e);if("function"!=typeof t)throw new TypeError("Invalid formatter, expected function, got "+typeof t)})(e,t),s.set(e,t)};t.remove=e=>{s.remove(e)};t.has=e=>s.has(e);t.list=()=>s.list();t.format=(e,t,...r)=>{if(!s.has(e))throw new Error(`Output format "${e}" unavailable`);return s.get(e)(t,...r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textDict=t.htmlDict=t.get=t.list=t.has=t.remove=t.add=t.register=void 0;var i,a=(i=r(35))&&i.__esModule?i:{default:i};const s=new a.default({html:{bibliographyContainer:['
    ',"
    "],entry:['
    ',"
    "],list:['
      ',"
    "],listItem:["
  • ","
  • "]},text:{bibliographyContainer:["","\n"],entry:["","\n"],list:["\n",""],listItem:["\t","\n"]}});t.register=s;t.add=(e,t)=>{((e,t)=>{if("string"!=typeof e)throw new TypeError("Invalid dict name, expected string, got "+typeof e);if("object"!=typeof t)throw new TypeError("Invalid dict, expected object, got "+typeof t);for(const e in t){const r=t[e];if(!Array.isArray(r)||r.some(e=>"string"!=typeof e))throw new TypeError(`Invalid dict entry "${e}", expected array of strings`)}})(e,t),s.set(e,t)};t.remove=e=>{s.remove(e)};t.has=e=>s.has(e);t.list=()=>s.list();t.get=e=>{if(!s.has(e))throw new Error(`Dict "${e}" unavailable`);return s.get(e)};t.htmlDict={wr_start:'
    ',wr_end:"
    ",en_start:'
    ',en_end:"
    ",ul_start:'
      ',ul_end:"
    ",li_start:"
  • ",li_end:"
  • "};t.textDict={wr_start:"",wr_end:"\n",en_start:"",en_end:"\n",ul_start:"\n",ul_end:"",li_start:"\t",li_end:"\n"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.list=t.remove=t.has=t.get=t.add=void 0;const i={};t.add=(e,t)=>{i[e]=t};t.get=e=>i[e];t.has=e=>Object.prototype.hasOwnProperty.call(i,e);t.remove=e=>{delete i[e]};t.list=()=>Object.keys(i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.getLabel=void 0;const i=e=>{if("citation-label"in e)return e["citation-label"];let t="";return e.author&&(t+=e.author[0].family||e.author[0].literal),e.issued&&e.issued["date-parts"]&&e.issued["date-parts"][0]&&(t+=e.issued["date-parts"][0][0]),e["year-suffix"]?t+=e["year-suffix"]:e.title&&(t+=e.title.replace(/<\/?.*?>/g,"").match(/^(?:(?:the|a|an)\s+)?(\S+)/i)[1]),t};t.getLabel=i;var a={label:e=>e.reduce((e,t)=>(e[t.id]=i(t),e),{})};t.default=a},function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(a,s){function n(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,o)}l((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.registerBibliographyRenderer=void 0;const a=r(5),s=r(28),n=r(148),o=r(10);function l(e){return i(this,void 0,void 0,(function*(){try{e.setStyle(yield a.default.settings.value(o.SETTINGS_CSL_FILE_PATH_ID))}catch(e){console.log(e),yield a.default.views.dialogs.showMessageBox(e.message)}}))}t.registerBibliographyRenderer=function(){return i(this,void 0,void 0,(function*(){yield a.default.contentScripts.register(s.ContentScriptType.MarkdownItPlugin,o.REFERENCE_LIST_CONTENT_SCRIPT_ID,"./ui/bibliography-renderer/render-list-content-script.js");const e=n.CSLProcessor.getInstance();yield a.default.contentScripts.onMessage(o.REFERENCE_LIST_CONTENT_SCRIPT_ID,t=>(t=[...new Set(t)],e.formatRefs(t))),l(e),a.default.settings.onChange(t=>i(this,void 0,void 0,(function*(){t.keys.includes(o.SETTINGS_CSL_FILE_PATH_ID)&&(yield l(e))})))}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CSLProcessor=void 0;const i=r(5),a=r(29),s=r(149),n=r(150),o=r(6),l=i.default.require("fs-extra");class u{constructor(){this.init()}static getInstance(){return null===this.instance&&(this.instance=new u),this.instance}init(e=""){const t=""===e?s.APA_STYLE:l.readFileSync(e,"utf-8");this.citeproc=new o.Engine({retrieveLocale:e=>n.EN_US_LOCALE,retrieveItem:e=>a.DataStore.getReferenceById(e)},t)}setStyle(e){this.init(e)}formatRefs(e){return this.citeproc.updateItems(e),this.citeproc.makeBibliography()[1].join("
    ")}}t.CSLProcessor=u,u.instance=null},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APA_STYLE=void 0,t.APA_STYLE='\n\n\n'},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EN_US_LOCALE=void 0,t.EN_US_LOCALE='\n\n\n \n \n Andrew Dunning\n \n \n Sebastian Karcher\n \n \n Rintze M. Zelle\n \n This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License\n 2015-10-10T23:31:02+00:00\n \n \n \n \n \n \n \n \n \n \n \n \n \n accessed\n and\n and others\n anonymous\n anon.\n at\n available at\n by\n circa\n c.\n cited\n \n edition\n editions\n \n ed.\n et al.\n forthcoming\n from\n ibid.\n in\n in press\n internet\n interview\n letter\n no date\n n.d.\n online\n presented at the\n \n reference\n references\n \n \n ref.\n refs.\n \n retrieved\n scale\n version\n\n \x3c!-- ANNO DOMINI; BEFORE CHRIST --\x3e\n AD\n BC\n\n \x3c!-- PUNCTUATION --\x3e\n \n \n \n \n \n\n \x3c!-- ORDINALS --\x3e\n th\n st\n nd\n rd\n th\n th\n th\n\n \x3c!-- LONG ORDINALS --\x3e\n first\n second\n third\n fourth\n fifth\n sixth\n seventh\n eighth\n ninth\n tenth\n\n \x3c!-- LONG LOCATOR FORMS --\x3e\n \n book\n books\n \n \n chapter\n chapters\n \n \n column\n columns\n \n \n figure\n figures\n \n \n folio\n folios\n \n \n number\n numbers\n \n \n line\n lines\n \n \n note\n notes\n \n \n opus\n opera\n \n \n page\n pages\n \n \n page\n pages\n \n \n paragraph\n paragraphs\n \n \n part\n parts\n \n \n section\n sections\n \n \n sub verbo\n sub verbis\n \n \n verse\n verses\n \n \n volume\n volumes\n \n\n \x3c!-- SHORT LOCATOR FORMS --\x3e\n \n bk.\n bks.\n \n \n chap.\n chaps.\n \n \n col.\n cols.\n \n \n fig.\n figs.\n \n \n fol.\n fols.\n \n \n no.\n nos.\n \n \n l.\n ll.\n \n \n n.\n nn.\n \n \n op.\n opp.\n \n \n p.\n pp.\n \n \n p.\n pp.\n \n \n para.\n paras.\n \n \n pt.\n pts.\n \n \n sec.\n secs.\n \n \n s.v.\n s.vv.\n \n \n v.\n vv.\n \n \n vol.\n vols.\n \n\n \x3c!-- SYMBOL LOCATOR FORMS --\x3e\n \n \n ¶¶\n \n \n §\n §§\n \n\n \x3c!-- LONG ROLE FORMS --\x3e\n \n director\n directors\n \n \n editor\n editors\n \n \n editor\n editors\n \n \n illustrator\n illustrators\n \n \n translator\n translators\n \n \n editor & translator\n editors & translators\n \n\n \x3c!-- SHORT ROLE FORMS --\x3e\n \n dir.\n dirs.\n \n \n ed.\n eds.\n \n \n ed.\n eds.\n \n \n ill.\n ills.\n \n \n tran.\n trans.\n \n \n ed. & tran.\n eds. & trans.\n \n\n \x3c!-- VERB ROLE FORMS --\x3e\n by\n directed by\n edited by\n edited by\n illustrated by\n interview by\n to\n by\n translated by\n edited & translated by\n\n \x3c!-- SHORT VERB ROLE FORMS --\x3e\n dir. by\n ed. by\n ed. by\n illus. by\n trans. by\n ed. & trans. by\n\n \x3c!-- LONG MONTH FORMS --\x3e\n January\n February\n March\n April\n May\n June\n July\n August\n September\n October\n November\n December\n\n \x3c!-- SHORT MONTH FORMS --\x3e\n Jan.\n Feb.\n Mar.\n Apr.\n May\n Jun.\n Jul.\n Aug.\n Sep.\n Oct.\n Nov.\n Dec.\n\n \x3c!-- SEASONS --\x3e\n Spring\n Summer\n Autumn\n Winter\n \n\n'},function(e,t,r){"use strict";r.r(t);var i={};r.r(i),r.d(i,"required",(function(){return o})),r.d(i,"fieldTypes",(function(){return l})),r.d(i,"diacritics",(function(){return u.b})),r.d(i,"commands",(function(){return u.a})),r.d(i,"defaultStrings",(function(){return c})),r.d(i,"formattingEnvs",(function(){return m})),r.d(i,"formattingCommands",(function(){return p})),r.d(i,"formatting",(function(){return h})),r.d(i,"argumentCommands",(function(){return d})),r.d(i,"ligaturePattern",(function(){return f})),r.d(i,"ligatures",(function(){return g})),r.d(i,"mathScriptFormatting",(function(){return b})),r.d(i,"mathScripts",(function(){return v})),r.d(i,"sentenceCaseLanguages",(function(){return y}));var a=r(0),s=r(9),n=r.n(s),o=r(44),l=r(45),u=r(30);const c={jan:"01",feb:"02",mar:"03",apr:"04",may:"05",jun:"06",jul:"07",aug:"08",sep:"09",oct:"10",nov:"11",dec:"12",acmcs:"ACM Computing Surveys",acta:"Acta Informatica",cacm:"Communications of the ACM",ibmjrd:"IBM Journal of Research and Development",ibmsj:"IBM Systems Journal",ieeese:"IEEE Transactions on Software Engineering",ieeetc:"IEEE Transactions on Computers",ieeetcad:"IEEE Transactions on Computer-Aided Design of Integrated Circuits",ipl:"Information Processing Letters",jacm:"Journal of the ACM",jcss:"Journal of Computer and System Sciences",scp:"Science of Computer Programming",sicomp:"SIAM Journal on Computing",tocs:"ACM Transactions on Computer Systems",tods:"ACM Transactions on Database Systems",tog:"ACM Transactions on Graphics",toms:"ACM Transactions on Mathematical Software",toois:"ACM Transactions on Office Information Systems",toplas:"ACM Transactions on Programming Languages and Systems",tcs:"Theoretical Computer Science"},m={it:"italics",itshape:"italics",sl:"italics",slshape:"italics",em:"italics",bf:"bold",bfseries:"bold",sc:"smallcaps",scshape:"smallcaps",rm:void 0,sf:void 0,tt:void 0},p={textit:"italics",textsl:"italics",emph:"italics",mkbibitalic:"italics",mkbibemph:"italics",textbf:"bold",strong:"bold",mkbibbold:"bold",textsc:"smallcaps",textsuperscript:"superscript",textsubscript:"subscript",enquote:"quotes",mkbibquote:"quotes",textmd:void 0,textrm:void 0,textsf:void 0,texttt:void 0,textup:void 0},h={italics:["",""],bold:["",""],superscript:["",""],subscript:["",""],smallcaps:['',""],nocase:['',""],quotes:["“","”"]},d={ElsevierGlyph:e=>String.fromCharCode(parseInt(e,16)),href:(e,t)=>e,url:e=>e},f=/---?|''|``|~/g,g={"--":"–","---":"—","``":"“","''":"”","~":" "},b={"^":"superscript",sp:"superscript",_:"subscript",sb:"subscript",mathrm:void 0},v={"^":{0:"⁰",1:"¹",2:"²",3:"³",4:"⁴",5:"⁵",6:"⁶",7:"⁷",8:"⁸",9:"⁹","+":"⁺","-":"⁻","=":"⁼","(":"⁽",")":"⁾",i:"ⁱ",n:"ⁿ"},_:{0:"₀",1:"₁",2:"₂",3:"₃",4:"₄",5:"₅",6:"₆",7:"₇",8:"₈",9:"₉","+":"₊","-":"₋","=":"₌","(":"₍",")":"₎",a:"ₐ",e:"ₑ",o:"ₒ",x:"ₓ","ə":"ₔ",h:"ₕ",k:"ₖ",l:"ₗ",m:"ₘ",n:"ₙ",s:"ₚ",p:"ₛ",t:"ₜ"}},y=["american","british","canadian","english","australian","newzealand","usenglish","ukenglish","en","eng","en-au","en-bz","en-ca","en-cb","en-gb","en-ie","en-jm","en-nz","en-ph","en-tt","en-us","en-za","en-zw","anglais"];function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _(e){for(var t=1;t{const[,t,r]=e.match(C)||[];if(t&&r){const e={type:"book",label:t,properties:{}};return r.trim().split(N).filter(e=>e).forEach(t=>{let[r,i]=t.split(I);i&&(r=r.trim(),i=i.trim(),"type"===r?e.type=i:e.properties[r]=i)}),e}return{}};var D=r(17),R=r.t(D,2),j=r(18),L={constants:i,types:{biblatex:R,bibtex:r.t(j,2)},parse:{biblatex:!0,strict:!1,sentenceCase:"never"},format:{useIdAsLabel:!1}};const B=new Set(["the","a","an"]),M=/(?:<\/?.*?>|[\u0020-\u002F\u003A-\u0040\u005B-\u005E\u0060\u007B-\u007F])+/g,U=/[^\u0020-\u007F]+/g;function q(e){return e?e.normalize("NFKD").replace(U,"").split(M).find(e=>e.length&&!B.has(e.toLowerCase())):""}const F=new a.util.Translator([{source:"given",target:"given"},{source:"family",target:"family"},{source:"suffix",target:"suffix"},{source:"prefix",target:"non-dropping-particle"},{source:"family",target:"literal",when:{source:!1,target:{family:!1,given:!1}}}]),z=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],G="BibTeX type",$="BibTeX label",V={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12,january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},H={bathesis:"Bachelor's thesis",mathesis:"Master's thesis",phdthesis:"PhD thesis",candthesis:"Candidate thesis",techreport:"technical report",resreport:"research report",software:"computer software",datacd:"data cd",audiocd:"audio cd",patent:"patent",patentde:"German patent",patenteu:"European patent",patentfr:"French patent",patentuk:"British patent",patentus:"U.S. patent",patreq:"patent request",patreqde:"German patent request",patreqeu:"European patent request",patreqfr:"French patent request",patrequk:"British patent request",patrequs:"U.S. patent request"},J=/(^(?:ISAN )?(?:[0-9a-f]{4}-){4}[0-9a-z](?:-(?:[0-9a-f]{4}-){2}[0-9a-z])?$)|(^(?:979-?0-?|M-?)(?:\d{9}|(?=[\d-]{11}$)\d+-\d+-\d)$)|(^ISRN .{1,36}$)|(^(?:ISWC )?T-?\d{9}-?\d$)/i;function Y(e){if(null==e)return[];if(+e)return[parseInt(e,10)];if((e=e.trim().toLowerCase())in V)return[V[e]];const t=e.split(/\s+/);let r,i;return t[0]in V?(r=V[t[0]],i=parseInt(t[1])):t[1]in V&&(r=V[t[1]],i=parseInt(t[0])),i?[r,i]:r?[r]:[]}const K={PICK:{toTarget:(...e)=>e.find(Boolean),toSource:e=>[e]},DATE:{toTarget(e){const t=e.split("/").map(e=>e&&".."!==e?function(e){const t=e.split("T")[0].replace(/[?~%]$/,"").split("-"),r=+t[0].replace(/^Y(?=-?\d{4}\d+)/,"").replace(/X/g,"0"),i=+t[1],a=+t[2];return!i||i>20?[r]:a?[r,i,a]:[r,i]}(e):void 0);return isNaN(t[0][0])?{literal:e}:{"date-parts":t}},toSource(e){if("date-parts"in e)return e["date-parts"].map(e=>e.map(e=>e.toString().padStart(2,"0")).join("-")).join("/")}},YEAR_MONTH:{toTarget:(e,t)=>isNaN(+e)?{literal:e}:{"date-parts":[[+e,...Y(t)]]},toSource(e){if("date-parts"in e){const[t,r,i]=e["date-parts"][0];return[t.toString(),r?i?`${z[r-1]} ${i}`:r:void 0]}}},EPRINT:{toTarget(e,t){if("pubmed"===t)return e},toSource:e=>[e,"pubmed"]},HOW_PUBLISHED:{toTarget(e){if(e.startsWith("http"))return e}},KEYWORDS:{toTarget:e=>e.join(","),toSource:e=>e.split(",")},LABEL:{toTarget:e=>[e,e],toSource(e,t,r,i,a,s){const n=e&&e.replace(M,"")||"undefined";return L.format.useIdAsLabel?n:t&&!M.test(t)?t:function(e,t,r,i){let a="";return e&&e[0]&&(a+=q(e[0].family||e[0].literal)),t&&t["date-parts"]&&t["date-parts"][0]&&(a+=t["date-parts"][0][0]),r?a+=r:i&&(a+=q(i)),a}(r,i,a,s)||n}},NAMES:{toTarget:e=>e.map(F.convertToTarget),toSource:e=>e.map(F.convertToSource)},STANDARD_NUMBERS:{toTarget:(...e)=>e.find(Boolean),toSource(e){const t=e.toString().match(J);return t?t.slice(1,5):[]}},STATUS:{toSource(e){if(/^(inpreparation|submitted|forthcoming|inpress|prepublished)$/i.test(e))return e}},TITLE:{toTarget:(e,t,r)=>(t&&(e+=": "+t),e),toSource:e=>[e]}};var X=r(1);const W=[{source:"note",target:"accessed",when:{source:!1,target:{note:!1}},convert:{toSource:e=>`[Online; accessed ${Object(X.format)(e)}]`}},{source:"numpages",target:"number-of-pages",when:{source:{pagetotal:!1},target:!1}},{source:"pmid",target:"PMID",when:{source:{eprinttype:e=>"pmid"!==e,archiveprefix:e=>"pmid"!==e},target:!1}},{source:"pmcid",target:"PMCID",when:{target:!1}}],Z=[{source:"annote",target:"annote",when:{source:{annotation:!1},target:!1}},{source:"address",target:"publisher-place",convert:K.PICK,when:{source:{location:!1},target:!1}},{source:["eprint","archiveprefix"],target:"PMID",convert:K.EPRINT,when:{source:{eprinttype:!1},target:!1}},{source:"journal",target:"container-title",when:{source:{maintitle:!1,booktitle:!1,journaltitle:!1},target:!1}},{source:"school",target:"publisher",convert:K.PICK,when:{source:{institution:!1,organization:!1,publisher:!1},target:!1}}];var ee=new a.util.Translator([...Z,...W,{source:"abstract",target:"abstract"},{source:"urldate",target:"accessed",convert:K.DATE},{source:"annotation",target:"annote"},{source:"author",target:"author",convert:K.NAMES},{source:"library",target:"call-number"},{source:"chapter",target:"chapter-number"},{source:"bookauthor",target:"container-author",convert:K.NAMES},{source:["maintitle","mainsubtitle","maintitleaddon"],target:"container-title",when:{source:!0,target:{"number-of-volumes":!0}},convert:K.TITLE},{source:["booktitle","booksubtitle","booktitleaddon"],target:"container-title",when:{source:{maintitle:!1},target:{"number-of-volumes":!1,type:e=>!e.startsWith("article")}},convert:K.TITLE},{source:["journaltitle","journalsubtitle","journaltitleaddon"],target:"container-title",when:{source:{[G]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}},convert:K.TITLE},{source:"shortjournal",target:"container-title-short",when:{source:{[G]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}}},{source:"shortjournal",target:"journalAbbreviation",when:{source:!1,target:{"container-title-short":!1}}},{source:"number",target:"collection-number",when:{source:{[G]:["book","mvbook","inbook","bookinbook","suppbook","collection","mvcollection","incollection","suppcollection","manual","suppperiodical","proceedings","mvproceedings","refererence"]},target:{type:["bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legislation","legal_case","manuscript","map","motion_picture","musical_score","pamphlet","post","post-weblog","personal_communication","review","review-book","song","speech","thesis","treaty","webpage"]}}},{source:"series",target:"collection-title"},{source:"shortseries",target:"collection-title-short"},{source:"doi",target:"DOI"},{source:"edition",target:"edition"},{source:"editor",target:"editor",convert:K.NAMES},{source:[G,"entrysubtype","type"],target:["type","genre"],convert:{toTarget:(e,t,r)=>(r||("masterthesis"===e&&(r="mathesis"),"phdthesis"===e&&(r="phdthesis"),"techreport"===e&&(r="techreport")),[D.source[e]||"book",r||t]),toSource(e,t){const r=D.target[e]||"misc";return t in H?[r,void 0,t]:[r,t]}}},{source:G,when:{target:{type:!1}},convert:{toSource:()=>"misc"}},{source:"eventdate",target:"event-date",convert:K.DATE},{source:"venue",target:"event-place"},{source:"eventtitle",target:"event"},{source:$,target:["id","citation-label","author","issued","year-suffix","title"],convert:K.LABEL},{source:"isbn",target:"ISBN"},{source:"issn",target:"ISSN"},{source:"issue",target:"issue",when:{source:{number:!1,[G]:["article","periodical"]},target:{issue:e=>"string"==typeof e&&!e.match(/\d+/),type:["article","article-journal","article-newspaper","article-magazine"]}}},{source:"number",target:"issue",when:{source:{[G]:["article","periodical","inproceedings"]},target:{issue:e=>e&&("number"==typeof e||e.match(/\d+/)),type:["article","article-journal","article-newspaper","article-magazine","paper-conference"]}}},{source:"date",target:"issued",convert:K.DATE},{source:["year","month"],target:"issued",convert:K.YEAR_MONTH,when:{source:{date:!1},target:!1}},{source:"location",target:"jurisdiction",when:{source:{type:"patent"},target:{type:"patent"}}},{source:"keywords",target:"keyword",convert:K.KEYWORDS},{source:"language",target:"language",convert:K.PICK},{source:"note",target:"note"},{source:["isan","ismn","isrn","iswc"],target:"number",convert:K.STANDARD_NUMBERS,when:{source:{[G]:e=>"patent"!==e},target:{type:e=>"patent"!==e}}},{source:"number",target:"number",when:{source:{[G]:["patent","report","techreport","legislation"]},target:{type:["patent","report","legislation"]}}},{source:"origdate",target:"original-date",convert:K.DATE},{source:"origlocation",target:"original-publisher-place",convert:K.PICK},{source:"origpublisher",target:"original-publisher",convert:K.PICK},{source:"origtitle",target:"original-title"},{source:["pages","eid"],target:"page",convert:{toTarget:(e,t)=>t?t.replace(/^e?/i,"e"):e.replace(/[–—]/,"-"),toSource:e=>/^e/i.test(e)?[e,e]:[e.replace("-","--")]}},{source:"pagetotal",target:"number-of-pages"},{source:["eprint","eprinttype"],target:"PMID",convert:K.EPRINT},{source:"location",target:"publisher-place",convert:K.PICK},{source:"publisher",target:"publisher",convert:K.PICK,when:{source:!0,target:{type:["article","article-journal","article-magazine","article-newspaper","bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legal_case","legislation","manuscript","map","motion_picture","musical_score","pamphlet","paper-conference","patent","personal_communication","post","post-weblog","regulation","review","review-book","song","speech","treaty"]}}},{source:"organization",target:"publisher",convert:K.PICK,when:{source:{publisher:!1},target:{type:"webpage"}}},{source:"institution",target:"publisher",convert:K.PICK,when:{source:{publisher:!1,organization:!1},target:{type:["report","thesis"]}}},{source:"howpublished",target:"publisher",convert:K.PICK,when:{source:{publisher:!1,organization:!1,institution:!1},target:{type:"manuscript"}}},{source:["pages","bookpagination"],target:"section",when:{source:{bookpagination:"section"},target:{page:!1}},convert:{toTarget:e=>e,toSource:e=>[e,"section"]}},{source:"pubstate",target:"status",convert:K.STATUS},{source:"shorttitle",target:"title-short"},{source:["title","subtitle","titleaddon"],target:"title",convert:K.TITLE},{source:"translator",target:"translator",convert:K.NAMES},{source:"url",target:"URL"},{source:"howpublished",target:"URL",convert:K.HOW_PUBLISHED,when:{source:{url:!1},target:!1}},{source:"version",target:"version"},{source:"volume",target:"volume"},{source:"volumes",target:"number-of-volumes"}]),te=new a.util.Translator([{source:"note",target:"accessed",when:{source:!1,target:{note:!1}},convert:{toSource:e=>`[Online; accessed ${Object(X.format)(e)}]`}},{source:"annote",target:"annote"},{source:"address",target:"publisher-place",convert:K.PICK},{source:"author",target:"author",convert:K.NAMES},{source:"chapter",target:"chapter-number"},{source:"number",target:"collection-number",when:{source:{[G]:["book","mvbook","inbook","collection","mvcollection","incollection","suppcollection","manual","suppperiodical","proceedings","mvproceedings","refererence"]},target:{type:["bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legislation","legal_case","manuscript","map","motion_picture","musical_score","pamphlet","post","post-weblog","personal_communication","review","review-book","song","speech","thesis","treaty","webpage"]}}},{source:"series",target:"collection-title"},{source:"booktitle",target:"container-title",when:{target:{type:["chapter","paper-conference"]}}},{source:"journal",target:"container-title",when:{source:{[G]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}}},{source:"edition",target:"edition"},{source:"editor",target:"editor",convert:K.NAMES},{source:$,target:["id","citation-label","author","issued","year-suffix","title"],convert:K.LABEL},{source:"number",target:"issue",when:{source:{[G]:["article","periodical","inproceedings"]},target:{issue:e=>"number"==typeof e||"string"==typeof e&&e.match(/\d+/),type:["article","article-journal","article-newspaper","article-magazine","paper-conference"]}}},{source:["year","month"],target:"issued",convert:K.YEAR_MONTH},{source:"note",target:"note"},{source:"number",target:"number",when:{source:{[G]:["patent","report","techreport"]},target:{type:["patent","report"]}}},{source:"pages",target:"page",convert:{toTarget:e=>e.replace(/[–—]/,"-"),toSource:e=>e.replace("-","--")}},{source:"publisher",target:"publisher",convert:K.PICK,when:{target:{type:["article","article-journal","article-magazine","article-newspaper","bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legal_case","legislation","map","motion_picture","musical_score","pamphlet","patent","personal_communication","post","post-weblog","review","review-book","song","speech","treaty","webpage"]}}},{source:"organization",target:"publisher",convert:K.PICK,when:{source:{publisher:!1},target:{type:"paper-conference"}}},{source:"institution",target:"publisher",convert:K.PICK,when:{source:{publisher:!1,organization:!1},target:{type:"report"}}},{source:"school",target:"publisher",convert:K.PICK,when:{source:{institution:!1,organization:!1,publisher:!1},target:{type:"thesis"}}},{source:"howpublished",target:"publisher",convert:K.PICK,when:{source:{publisher:!1,organization:!1,institution:!1,school:!1},target:{type:"manuscript"}}},{source:"title",target:"title"},{source:[G,"type"],target:["type","genre"],convert:{toTarget(e,t){const r=j.source[e]||"book";return t?[r,t]:"mastersthesis"===e?[r,"Master's thesis"]:"phdthesis"===e?[r,"PhD thesis"]:[r]},toSource(e,t){const r=j.target[e]||"misc";return/^(master'?s|diploma) thesis$/i.test(t)?["mastersthesis"]:/^(phd|doctoral) thesis$/i.test(t)?["phdthesis"]:[r,t]}}},{source:G,when:{target:{type:!1}},convert:{toSource:()=>"misc"}},{source:"howpublished",target:"URL",convert:K.HOW_PUBLISHED,when:{target:{publisher:!1}}},{source:"volume",target:"volume"}]);function re(e,t){if(null==e)return{};var r,i,a=function(e,t){if(null==e)return{};var r,i,a={},s=Object.keys(e);for(i=0;i=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function ie(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ne(e,t){const r={};for(const t of e)r[t.label]=t;return e.map(({type:e,label:i,properties:a})=>t.convertToTarget(function(e){for(var t=1;t{const r=t.convertToSource(e),{[G]:i,[$]:a}=r;return{type:i,label:a,properties:re(r,[G,$].map(ie))}})}function le(e){const t=e.toUpperCase(),r=e.toLowerCase();for(let i=0;i1;){const{value:r,hyphenated:i}=e.shift();t+=r+(i?"-":" ")}const r=t+e[0].value;return r[0]&&r}function ce(e){if(e[0][0].label){const t={};for(const[{value:r,label:i}]of e)t[i]=r;return t}const t={},[r,i,a]=function(e,t=!0){const r=[],i=[];if(t)for(;e.length>1&&!1!==e[0].upperCase;){for(r.push(...i),i.length=0;e.length>1&&!1!==e[0].upperCase&&!e[0].hyphenated;)r.push(e.shift());for(;e.length>0&&!1!==e[0].upperCase&&e[0].hyphenated;)i.push(e.shift())}const a=[],s=[];for(;e.length>1;){for(a.push(...s),s.length=0;e.length>1&&!1===e[0].upperCase;)a.push(e.shift());for(;e.length>0&&!1!==e[0].upperCase;)s.push(e.shift())}return i.length&&s.unshift(...i),e.length&&s.push(e[0]),[ue(r),ue(a),ue(s)]}(e[0],1===e.length);return a&&(t.family=a),i&&(t.prefix=i),3===e.length?(t.given=ue(e[2]),t.suffix=ue(e[1])):2===e.length?t.given=ue(e[1]):r&&(t.given=r),t}function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function pe(e){for(var t=1;te.slice(1).trim()},lbrace:{match:"{",push:"bracedLiteral"},mathShift:{match:"$",push:"mathLiteral"},whitespace:{match:/[\s]+|~/,lineBreaks:!0,value:e=>"~"===e?" ":" "}},fe=n.a.states({stringLiteral:pe(pe({},de),{},{text:/[^{$}\s~\\]+/}),namesLiteral:pe(pe({and:/\s+and\s+/,comma:",",hyphen:"-",equals:"="},de),{},{text:/[^{$}\s~\\,=-]+/}),listLiteral:pe(pe({and:/\s+and\s+/},de),{},{text:/[^{$}\s~\\]+/}),separatedLiteral:pe(pe({comma:","},de),{},{text:/[^{$}\s~\\,]+/}),bracedLiteral:pe(pe({},de),{},{rbrace:{match:"}",pop:!0},text:/[^{$}\s~\\]+/}),mathLiteral:pe(pe({},de),{},{mathShift:{match:"$",pop:!0},script:/[\^_]/,text:/[^{$}\s~\\^_]+/})});function ge(e){return e[0],e}function be(e,t){return t in h?e&&h[t].join(e):e}const ve=new a.util.Grammar({String(){let e="";for(;!this.matchEndOfFile();)e+=this.consumeRule("Text");return ge(e)},StringNames(){const e=[];for(;;){if(this.consumeToken("whitespace",!0),e.push(this.consumeRule("Name")),this.consumeToken("whitespace",!0),this.matchEndOfFile())return e;this.consumeToken("and")}},Name(){const e=[];for(;;){if(e.push(this.consumeRule("NamePiece")),this.matchEndOfFile()||this.matchToken("and"))return ce(e);this.consumeToken("comma"),this.consumeToken("whitespace",!0)}},NamePiece(){const e=[];for(;;){const t=this.consumeRule("NameToken");if(t.label)return t.label=ue([...e,{value:t.label}]),[t];if(e.push(t),this.matchEndOfFile()||this.matchToken("and")||this.matchToken("comma"))return e;for(;this.matchToken("hyphen")||this.matchToken("whitespace");)this.consumeToken()}},NameToken(){let e=null,t="";for(;;)if(null===e&&this.matchToken("text")){const r=this.consumeToken().value;t+=r,e=le(r)}else{if(this.matchEndOfFile()||this.matchToken("and")||this.matchToken("comma")||this.matchToken("whitespace"))return{value:t,upperCase:e};if(this.matchToken("hyphen"))return{value:t,upperCase:e,hyphenated:!0};if(this.matchToken("equals")){this.consumeToken("equals");const e=this.consumeRule("NamePiece");return e[0].label&&(t+="="+e[0].label),{value:ue(e),label:t}}t+=this.consumeRule("Text")}},StringList(){const e=[];for(;!this.matchEndOfFile();){let t="";for(;!this.matchEndOfFile()&&!this.matchToken("and");)t+=this.consumeRule("Text");e.push(ge(t)),this.consumeToken("and",!0)}return 1===e.length?e[0]:e},StringSeparated(){const e=[];for(;!this.matchEndOfFile();){let t="";for(;!this.matchEndOfFile()&&!this.matchToken("comma");)t+=this.consumeRule("Text");e.push(t.trim()),this.consumeToken("comma",!0),this.consumeToken("whitespace",!0)}return e},StringVerbatim(){let e="";for(;!this.matchEndOfFile();)e+=this.consumeToken().text;return ge(e)},StringUri(){const e=this.consumeRule("StringVerbatim");try{return decodeURI(e)===e?encodeURI(e):e}catch(t){return encodeURI(e)}},StringTitleCase(){this.state.sentenceCase=!0;let e="";for(;!this.matchEndOfFile();)e+=this.consumeRule("Text");return ge(e)},BracketString(){var e;let t="";this.consumeToken("lbrace");const r=this.state.sentenceCase;for(this.state.sentenceCase=r&&this.matchToken("command"),(e=this.state).partlyLowercase&&(e.partlyLowercase=this.state.sentenceCase);!this.matchToken("rbrace");)t+=this.consumeRule("Text");const i=r&&!this.state.sentenceCase&&this.state.partlyLowercase;return this.state.sentenceCase=r,this.consumeToken("rbrace"),i?be(t,"nocase"):t},MathString(){let e="";for(this.consumeToken("mathShift");!this.matchToken("mathShift");)if(this.matchToken("script")){const t=this.consumeToken("script").value,r=this.consumeRule("Text").split("");if(r.every(e=>e in v[t]))e+=r.map(e=>v[t][e]).join("");else{const i=b[t];e+=h[i].join(r.join(""))}}else{if(this.matchToken("command")){const t=this.token.value;if(t in b){this.consumeToken("command");e+=be(this.consumeRule("BracketString"),b[t]);continue}}e+=this.consumeRule("Text")}return this.consumeToken("mathShift"),e},Text(){if(this.matchToken("lbrace"))return this.consumeRule("BracketString");if(this.matchToken("mathShift"))return this.consumeRule("MathString");if(this.matchToken("whitespace"))return this.consumeToken("whitespace").value;if(this.matchToken("commandBegin"))return this.consumeRule("EnclosedEnv");if(this.matchToken("command"))return this.consumeRule("Command");const e=this.consumeToken("text").value.replace(f,e=>g[e]),t=this.state.afterPunctuation;var r;if(this.state.afterPunctuation=/[?!.:]$/.test(e),!this.state.sentenceCase)return(r=this.state).partlyLowercase||(r.partlyLowercase=e===e.toLowerCase()&&e!==e.toUpperCase()),e;const[i,...a]=e,s=a.join(""),n=s.toLowerCase();return s!==n?e:t?i+n:e.toLowerCase()},Command(){const e=this.consumeToken("command"),t=e.value;if(t in m){return be(this.consumeRule("Env"),m[t])}if(t in p){return be(this.consumeRule("BracketString"),p[t])}if(t in u.a)return u.a[t];if(t in u.b&&!this.matchEndOfFile()){const e=this.consumeRule("Text");return(e[0]+u.b[t]).normalize("NFC")+e.slice(1)}if(t in d){const e=d[t],r=[];let i=e.length;for(;i-- >0;)this.consumeToken("whitespace",!0),r.push(this.consumeRule("BracketString"));return e(...r)}return/^[&%$#_{}]$/.test(t)?e.text.slice(1):e.text},Env(){let e="";for(;!this.matchEndOfFile()&&!this.matchToken("rbrace");)e+=this.consumeRule("Text");return e},EnclosedEnv(){this.consumeToken("commandBegin");const e=this.consumeRule("BracketString");let t="";for(;!this.matchToken("commandEnd");)t+=this.consumeRule("Text");const r=this.consumeToken("commandEnd"),i=this.consumeRule("BracketString");if(e!==i)throw new SyntaxError(this.lexer.formatError(r,`environment started with "${e}", ended with "${i}"`));return be(t,m[e])}},{sentenceCase:!1,partlyLowercase:!1,afterPunctuation:!0});function ye(e){return y.includes(e.toLowerCase())}function xe(e,t){if("name"===e[1])return"list"===e[0]?"StringNames":"Name";if("title"===e[1]){const e=L.parse.sentenceCase;return"always"===e||"english"===e&&function(e){return Array.isArray(e)?e.every(ye):ye(e)}(t)?"StringTitleCase":"String"}switch("field"===e[0]?e[1]:e[0]){case"list":return"StringList";case"separated":return"StringSeparated";case"verbatim":return"StringVerbatim";case"uri":return"StringUri";case"title":case"literal":default:return"String"}}function _e(e){if("name"===e[1])return"namesLiteral";switch(e[0]){case"list":return"listLiteral";case"separated":return"separatedLiteral";case"field":default:return"stringLiteral"}}function we(e,t,r=[]){const i=l[t]||[];return ve.parse(fe.reset(e,{state:_e(i),line:0,col:0}),xe(i,r))}function Ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function Te(e){for(var t=1;te in s)?e.push(r.join("/")):"string"!=typeof r||r in s||e.push(r);e.length&&r.push([a,"missing fields: "+e.join(", ")])}else r.push([a,`invalid type: "${i}"`]);if(r.length)throw new RangeError(["Invalid entries:"].concat(r.map(([e,t])=>` - ${e} has ${t}`)).join("\n"))}function ke(e){const t={};"language"in e.properties&&(t.language=we(e.properties.language,"language"));for(const r in e.properties){const i=e.properties[r];t[r]=we(i+"",r,t.language)}return Te(Te({},e),{},{properties:t})}function Se(e){return L.parse.strict&&Oe(e,o.biblatex),ne(e.map(ke),ee)}function Qe(e){return L.parse.strict&&Oe(e,o.bibtex),ne(e.map(ke),te)}const Ce={"@biblatex/text":{parse:S,parseType:{dataType:"String",predicate:/@\s{0,5}[A-Za-z]{1,13}\s{0,5}\{\s{0,5}[^@{}"=,\\\s]{0,100}\s{0,5},[\s\S]*\}/}},"@biblatex/entry+object":{parse:e=>Se([e]),parseType:{dataType:"SimpleObject",propertyConstraint:{props:["type","label","properties"]}}},"@biblatex/entries+list":{parse:Se,parseType:{elementConstraint:"@biblatex/entry+object"}},"@bibtex/text":{parse:S,outputs:"@bibtex/entries+list"},"@bibtex/entry+object":{parse:e=>Qe([e])},"@bibtex/entries+list":{parse:Qe},"@bibtxt/text":{parse:e=>e.trim().split(Q).map(P),parseType:{dataType:"String",predicate:/^\s*(\[(?!\s*[{[]).*?\]\s*(\n\s*[^[]((?!:)\S)+\s*:\s*.+?\s*)*\s*)+$/}}},Ne={};for(const e in u.a)Ne[u.a[e]]=e;for(const e in u.b)Ne[u.b[e]]=e;for(const e in g)Ne[g[e]]=e;const Ie=/[^a-zA-Z0-9\s!"#%&'()*+,\-./:;=?@[\]{}\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]/g,Pe=/.[\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]+/g,De={separated:",",list:" and "},Re={i:"\\textit{",b:"\\textbf{",sc:"\\textsc{",sup:"\\textsuperscript{",sub:"\\textsubscript{",'span style="font-variant:small-caps;"':"\\textsc{",'span class="nocase"':"{"};function je(e){return e.normalize("NFKD").replace(Ie,e=>e in Ne?Ne[e]in g?Ne[e]:`\\${Ne[e]}{}`:"").replace(Pe,e=>Array.from(e).reduce((e,t)=>`{\\${Ne[t]} ${e}}`))}function Le(e){const t=[];let r=e.split(/<(\/?(?:i|b|sc|sup|sub|span)|span .*?)>/g);return r=r.map((e,r)=>r%2==0?je(e):e in Re?(t.push("/"+e.split(" ")[0]),Re[e]):e===t[t.length-1]?(t.pop(),"}"):""),r.join("")}function Be(e,t){switch(t){case"title":return Le(e).split(/(:\s*)/).map((e,t)=>t%2?e:e.replace(/(?!^)\b[a-z]*[A-Z].*?\b/g,"{$&}")).join("");case"literal":return Le(e.toString());case"name":return function(e){if(e.family&&!e.prefix&&!e.given&!e.suffix)return e.family.includes(De.list)?e.family:`{${e.family}}`;const t=[""];return e.prefix&&e.family&&(t[0]+=e.prefix+" "),e.family&&(t[0]+=e.family),e.suffix?(t.push(e.suffix),t.push(e.given||"")):t.push(e.given),je(t.join(", ").trim())}(e);case"verbatim":case"uri":return e.toString();default:return je(e.toString())}}function Me(e,t){if(!(e in l))return Be(t,"verbatim");const[r,i]=l[e];return r in De?function(e,t,r){const i=De[r];return e.map(e=>{const r=Be(e,t);return r.includes(i)?`{${r}}`:r}).join(i)}(t,i,r):Be(t,i)}function Ue({type:e,label:t,properties:r}){const i={};for(const e in r){const t=r[e];i[e]=Me(e,t)}return{type:e,label:t,properties:i}}function qe(e){return(t=e,oe(t,te)).map(Ue);var t}function Fe(e,t){const r=e.map(e=>function({type:e,label:t,properties:r},i){const a=Object.entries(r).map(([e,t])=>i.listItem.join(`${e} = {${t}},`));return i.entry.join(`@${e}{${t},${i.list.join(a.join(""))}}`)}(e,t)).join("");return t.bibliographyContainer.join(r)}const ze=function(e,t){return function(r,i={}){const{type:s,format:n=s||"text"}=i;if(r=e(r),"object"===n)return r;if(a.plugins.dict.has(n))return t(r,a.plugins.dict.get(n),i);throw new RangeError(`Output dictionary "${n}" not available`)}};var Ge={bibtex:ze(qe,Fe),biblatex:ze((function(e){return(t=e,oe(t,ee)).map(Ue);var t}),Fe),bibtxt:ze(qe,(function(e,t){const r=e.map(e=>function({type:e,label:t,properties:r},i){const a=Object.entries(r).concat([["type",e]]).map(([e,t])=>i.listItem.join(`${e}: ${t}`));return i.entry.join(`[${t}]${i.list.join(a.join(""))}`)}(e,t)).join("\n");return t.bibliographyContainer.join(r)}))};a.plugins.add("@bibtex",{input:Ce,output:Ge,config:L})},function(e,t,r){"use strict";r.r(t);var i=r(0),a=r(68);const s=new i.util.Register(a);var n=r(69);const o=new i.util.Register(n);var l=r(6),u=r.n(l);const c=Symbol.for("proxied"),m=function(e){const t=function(t,r){if(t.sys.wrapBibliographyEntry){const[e,i]=t.sys.wrapBibliographyEntry(this.system_id);r=[e,r,i].join("")}return e.call(this,t,r)};return t[c]=!0,t};for(const e in u.a.Output.Formats){const t=u.a.Output.Formats[e]["@bibliography/entry"];t&&!t[c]&&(u.a.Output.Formats[e]["@bibliography/entry"]=m(t))}const p={};var h=function(e,t,r,i){const a=e.reduce((e,t)=>(e[t.id]=t,e),{}),n=o.get(o.has(t)?t:"apa"),l=function(e,t,r,i,a){const s=`${e}|${t}`;let n;return p[s]instanceof u.a.Engine?(n=p[s],n.sys.retrieveItem=i,n.updateItems([])):n=p[s]=new u.a.Engine({retrieveLocale:a,retrieveItem:i},r,t,!0),n}(t,r=s.has(r)?r:"en-US",n,e=>a[e],s.get.bind(s));return l.setOutputFormat(i),l};const d=(e,t)=>"function"==typeof t?t(e):t||"";i.plugins.add("@csl",{output:{bibliography:function(e,t={}){const{template:r="apa",lang:i="en-US",format:a="text",nosort:s=!1}=t,n=t.entry?[].concat(t.entry):e.map(({id:e})=>e),o=h(e,r,i,a),l=o.updateItems(n,s);if(t.append||t.prepend){const r=e.reduce((e,t)=>(e[t.id]=t,e),{});o.sys.wrapBibliographyEntry=function(e){const i=r[e];return[d(i,t.prepend),d(i,t.append)]}}else o.sys.wrapBibliographyEntry=()=>["",""];const u=o.makeBibliography(),[{bibstart:c,bibend:m},p]=u,f=p.map((e,t)=>{return r=e,i=l[t],((e,t,r)=>e.replace(/^\s*<[a-z]+/i,`$& data-${t}="${r}"`))(r,"csl-entry-id",i);var r,i});return t.asEntryArray?f.map((e,t)=>[l[t],e]):c+f.join("")+m},citation:function(e,t={}){const{template:r="apa",lang:i="en-US",format:a="text"}=t,s=e.map(({id:e})=>e),n=t.entry?[].concat(t.entry):s,o=h(e,r,i,a);return o.updateItems(s),o.previewCitationCluster({citationItems:n.map(e=>({id:e})),properties:{noteIndex:0}},[],[],a)}},config:{engine:h,locales:s,templates:o}})},function(e,t,r){"use strict";r.r(t);var i=r(0),a=r(24),s=r(15),n=r(25),o=r(1);const l=/^\d{4}-\d{4}$/,u=/10(?:\.[0-9]{4,})?\/[^\s]*[^\s.,]/;var c={ANY:{toTarget:(...e)=>e.find(Boolean),toSource:e=>[e]},PAGE:{keepAll:!0,toTarget:(e,t)=>[e,t].filter(Boolean).join("-"),toSource:e=>e.replace(/[-–—]/g,"-")},ISBN:{toTarget:e=>l.test(e)?[e]:[void 0,e],toSource:(...e)=>e.find(Boolean)},DATE:{toTarget:e=>e&&Object(o.parse)(e.split("/").slice(0,3).filter(Boolean).join("/")),toSource(e){const t=Array(4).fill("");return e["date-parts"][0].forEach((e,r)=>{t[r]=e}),e.season&&(t[3]=e.season),t.join("/")}},NAME:{toTarget:e=>e&&[].concat(e).map(e=>{const t=e.split(/, ?/),[r,i,a]=t;switch(t.length){case 3:return{family:r,given:i,suffix:a};case 2:return{family:r,given:i};case 1:if(r.indexOf(" ")>-1)return{family:r};default:return{literal:e}}}),toSource:e=>e.map(({family:e,given:t,suffix:r,literal:i})=>{const a=[e,t,r].filter(Boolean);return a.length?a.join(", "):i})},KEYWORD:{toTarget:e=>(e=[].concat(e)).join(","),toSource:e=>e.split(",")},ID:{toSource:e=>e.slice(0,20)},TYPE:{toTarget:e=>s.RIS[e],toSource:e=>s.CSL[e]},DOI:{toTarget:e=>e.match(u)[0],toSource:e=>e.match(u)[0]}},m=[{source:"TY",target:"type"},{source:"ID",target:"id"},{source:["T1","TI","CT"],target:"title"},{source:"BT",target:"title",when:{source:{type:["BOOK","UNPB"],T1:!1,TI:!1,CT:!1},target:!1}},{source:"T2",target:"container-title",when:{target:{type:["bill","book","broadcast","chapter","dataset","entry","entry-dictionary","entry-encyclopedia","figure","graphic","interview","legal_case","legislation","manuscript","map","motion_picture","musical_score","pamphlet","paper-conference","patent","personal_communication","post","post-weblog","report","review","review-book","song","speech","thesis","treaty","webpage"]}}},{source:"BT",target:"container-title",when:{source:{type:["ABST","ADVS","ART","BILL","CASE","CHAP","COMP","CONF","CTLG","DATA","ELEC","GEN","HEAR","ICOMM","INPR","JFULL","JOUR","MAP","MGZN","MPCT","MUSIC","NEWS","PAMP","PAT","PCOMM","RPRT","SER","SLIDE","SOUND","STAT","THES","UNBILL","VIDEO"],T2:!1},target:!1}},{source:"T3",target:"collection-title"},{source:["A1","AU"],target:"author"},{source:["A2","ED"],target:"editor"},{source:"A3",target:"collection-editor"},{source:["Y1","PY"],target:"issued"},{source:"Y2",target:"event-date",convert:c.DATE,when:{source:{type:["CONF","CPAPER"]},target:{type:["paper-conference"]}}},{source:"Y2",target:"submitted",convert:c.DATE,when:{source:{type:["PAT"]},target:{type:"patent"}}},{source:["AB","N1"],target:"note"},{source:"N2",target:"abstract"},{source:"KW",target:"keyword"},{source:["JF","JO"],target:"container-title",convert:c.ANY,when:{target:{type:["article","article-journal","article-magazine","article-newspaper"]}}},{source:["JA","J1","J2"],target:"container-title-short"},{source:"VL",target:"volume"},{source:["IS","CP"],target:"issue"},{source:"SP",target:"page-first"},{source:["SP","EP"],target:"page",convert:c.PAGE,when:{source:{SP:!0,EP:!0}}},{source:"PB",target:"publisher"},{source:"SN",target:["ISSN","ISBN"]},{source:"AV",target:"archive_location"},{source:"UR",target:"URL"}],p=r(70),h=n.concat(p);const d={new:n,old:m,mixed:h};var f=r(38);const g=/^[A-Z][A-Z0-9] {2}-( |$)/,b=/ {2}-(?: |$)/,v=new Map;function y(e){if(!v.has(e)){for(const t of e)if(t.target in f&&(t.convert=c[f[t.target]]),(!t.convert||!0!==t.convert.keepAll)&&Array.isArray(t.source))if(t.convert){const{toSource:e,toTarget:r}=t.convert;t.convert={toTarget:(...e)=>r(c.ANY.toTarget(...e)),toSource:(...t)=>c.ANY.toSource(e(...t))}}else t.convert=c.ANY;v.set(e,new i.util.Translator(e))}return v.get(e)}const x=["A1","AV","BT","CP","ED","EP","ID","J1","JA","JF","JO","L2","L3","N2","T1","U1","U2","U3","U4","U5","U6","Y1"],_=["A4","AD","AN","C1","C2","C3","C4","C5","C6","C7","C8","CA","CN","DA","DB","DO","DP","ET","LA","LB","NV","OP","PY","RI","RN","SE","ST","SV","TA","TT"];i.plugins.add("@ris",{input:{"@ris/file":{parse:function(e){const t=[];let r,i;for(let a of e.split(/\r?\n/)){if(a=a.trim(),!g.test(a)){r&&i&&(r[i]+=" "+a);continue}const[e,s]=a.split(b);switch(e){case"ER":r=void 0,i=void 0;break;case"TY":r={},t.push(r);default:Array.isArray(r[e])?r[e].push(s):r[e]=r[e]?[r[e],s]:s,i=e}}return t},parseType:{dataType:"String",predicate:/^TY {2}- /m}},"@ris/record":{parse:function(e){return y(d.mixed).convertToTarget(e)},parseType:{dataType:"SimpleObject",propertyConstraint:{props:["TY"]}}},"@ris/new+record":{parse:function(e){return y(d.new).convertToTarget(e)},parseType:{extends:"@ris/record",propertyConstraint:[{props:_,match:"some"},{props:x,match:"none"}]}},"@ris/old+record":{parse:function(e){return y(d.old).convertToTarget(e)},parseType:{extends:"@ris/record",propertyConstraint:[{props:x,match:"some"},{props:_,match:"none"}]}}},config:a,output:{ris:function(e,{type:t,format:r=t||"text",spec:i}={}){const s=i||a.outputSpec,n=e.map(y(d[s]).convertToSource);return"object"===r?n:n.map(e=>{const t=[];for(const r in e)"TY"!==r&&t.push(...[].concat(e[r]).map(e=>`${r} - ${e.toString().replace(/(.{70})/g,"$1\n")}`));return t.unshift("TY - "+e.TY),t.push("ER - "),t.join("\n")}).join("\n")}}})}]);manifest.json000644 0000000561 14101745475010417 0ustar00000000 000000 { "manifest_version": 1, "id": "com.xUser5000.bibtex", "app_min_version": "1.7", "version": "0.5.0", "name": "BibTeX", "description": "Use locally stored BibTeX files to integrate citation into Joplin", "author": "Abdallah Ahmed", "homepage_url": "", "repository_url": "https://github.com/joplin/plugin-bibtex", "keywords": [] } ui/bibliography-renderer/render-list-content-script.js000644 0000005163 14101745500020342 0ustar00000000 000000 exports.default=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function c(t){try{u(r.next(t))}catch(t){o(t)}}function l(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(c,l)}u((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{plugin:function(e,n){const i=t.contentScriptId;e.core.ruler.push("reference_list",t=>r(this,void 0,void 0,(function*(){const e=[];!function t(n){if(!n)return;for(let r=1;r1&&i.content.startsWith("@")){const t=i.content.substring(1);e.push(t)}else i.children&&t(i.children)}const r=n[n.length-1],i=n[0];r.children&&t(r.children);i.children&&t(i.children)}(t.tokens);let n=new t.Token("reference_list","",0);n.attrSet("refs",e),t.tokens.push(n)}))),e.renderer.rules.reference_list=function(t,e,n){let r=t[e].attrs[0][1];if(0===r.length)return"";return`\n\t\t\t\t\t

    References

    \n\t\t\t\t\t
    \n\t\t\t\t\t