(self.webpackChunk=self.webpackChunk||[]).push([["citation-js-bibtex"],{"./node_modules/@citation-js/date/lib/index.js":function(ce,L,S){"use strict";Object.defineProperty(L,"__esModule",{value:!0}),Object.defineProperty(L,"format",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(L,"parse",{enumerable:!0,get:function(){return $.default}});var $=R(S("./node_modules/@citation-js/date/lib/input.js")),P=R(S("./node_modules/@citation-js/date/lib/output.js"));function R(_){return _&&_.__esModule?_:{default:_}}},"./node_modules/@citation-js/date/lib/input.js":function(ce,L){"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.default=void 0;function S(s,h){return D(s)||_(s,h)||P(s,h)||$()}function $(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P(s,h){if(s){if(typeof s=="string")return R(s,h);var c=Object.prototype.toString.call(s).slice(8,-1);if(c==="Object"&&s.constructor&&(c=s.constructor.name),c==="Map"||c==="Set")return Array.from(s);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return R(s,h)}}function R(s,h){(h==null||h>s.length)&&(h=s.length);for(var c=0,v=new Array(h);c<h;c++)v[c]=s[c];return v}function _(s,h){var c=s==null?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(c!=null){var v=[],p=!0,O=!1,x,A;try{for(c=c.call(s);!(p=(x=c.next()).done)&&(v.push(x.value),!(h&&v.length===h));p=!0);}catch(i){O=!0,A=i}finally{try{!p&&c.return!=null&&c.return()}finally{if(O)throw A}}return v}}function D(s){if(Array.isArray(s))return s}const j={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},X=/ (?:to|[-/]) | ?(?:--|[–—]) ?/,le=/^(\d{4}-\d{2}-\d{2})\/(\d{4}-\d{2}-\d{2})$/;function B(s){return j[s.toLowerCase().slice(0,3)]}function ne(s){const h=new Date(s);return typeof s=="number"&&!isNaN(h.valueOf())?[h.getFullYear(),h.getMonth()+1,h.getDate()]:null}const W=function(h){const c=/^(\d{4}|[-+]\d{6,})-(\d{2})(?:-(\d{2}))?/;if(typeof h!="string"||!c.test(h))return null;const v=h.match(c),p=S(v,4),O=p[1],x=p[2],A=p[3];return+x?+A?[O,x,A]:[O,x]:[O]},H=function(h){const c=/^(?:[a-z]{3},\s*)?(\d{1,2}) ([a-z]{3}) (\d{4,})/i;if(typeof h!="string"||!c.test(h))return null;let v=h.match(c),p=S(v,4),O=p[1],x=p[2],A=p[3];return x=B(x),x?[A,x,O]:null};function U(s){const h=/^(\d{1,2})\/(\d{1,2})\/(\d{2}(?:\d{2})?)/;if(typeof s!="string"||!h.test(s))return null;const c=s.match(h),v=S(c,4),p=v[1],O=v[2],x=v[3];return new Date(x,p,O).getMonth()===parseInt(p)?[x,p,O]:null}function J(s){const h=/^(\d{1,2})[ .\-/](\d{1,2}|[a-z]{3,10})[ .\-/](-?\d+)/i,c=/^(-?\d+)[ .\-/](\d{1,2}|[a-z]{3,10})[ .\-/](\d{1,2})/i;let v,p,O;if(typeof s!="string")return null;if(h.test(s)){var x=s.match(h),A=S(x,4);O=A[1],p=A[2],v=A[3]}else if(c.test(s)){var i=s.match(c),o=S(i,4);v=o[1],p=o[2],O=o[3]}else return null;if(B(p))p=B(p);else if(isNaN(p))return null;return[v,p,O]}function ue(s){const h=/^([a-z]{3,10}|-?\d+)[^\w-]+([a-z]{3,10}|-?\d+)$/i;if(typeof s=="string"&&h.test(s)){const c=s.match(h).slice(1,3);let v;if(B(c[1]))v=B(c.pop());else if(B(c[0]))v=B(c.shift());else{if(c.some(isNaN)||c.every(O=>+O<0))return null;+c[0]<0||+c[0]>+c[1]&&+c[1]>0?v=c.pop():v=c.shift()}return[c.pop(),v]}else return null}function Q(s){if(typeof s!="string")return null;const h=s.match(/^(\d+) ?(a\.?d\.?|b\.?c\.?)$/i);if(h){const c=h.slice(1),v=S(c,2),p=v[0],O=v[1];return[p*(O.toLowerCase()[0]==="a"?1:-1)]}else return/^-?\d+$/.test(s)?[s]:null}function q(s){const h=ne(s)||W(s)||H(s)||U(s)||J(s)||ue(s)||Q(s);return h&&h.map(c=>parseInt(c))}function G(s){return le.test(s)?s.match(le).slice(1,3):s.split(X)}function ie(s,h){const c=[],v=typeof s=="string"&&G(s);h?c.push(s,h):v&&v.length===2?c.push(...v):c.push(s);const p=c.map(q);return p.filter(Boolean).length===c.length?{"date-parts":p}:{raw:h?c.join("/"):s}}var ae=ie;L.default=ae},"./node_modules/@citation-js/date/lib/output.js":function(ce,L){"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.default=void 0;function S(R,_,D){if(R.length>=_)return R;for(;R.length<_;)R=D+R;return R.slice(-_)}var P=function(_,D="-"){if(!_["date-parts"])return _.raw;const j=_["date-parts"][0].map(X=>X.toString());switch(j.length){case 3:j[2]=S(j[2],2,"0");case 2:j[1]=S(j[1],2,"0");case 1:j[0]=S(j[0],4,"0");break}return j.join(D)};L.default=P},"./node_modules/@citation-js/plugin-bibtex/lib-mjs/index.js":function(ce,L,S){"use strict";var $={};S.r($),S.d($,{argumentCommands:function(){return ie},commands:function(){return U},defaultStrings:function(){return ue},diacritics:function(){return H},fieldTypes:function(){return W},formatting:function(){return G},formattingCommands:function(){return q},formattingEnvs:function(){return Q},ligaturePattern:function(){return ae},ligatures:function(){return s},mathCommands:function(){return J},mathScriptFormatting:function(){return h},mathScripts:function(){return c},required:function(){return ne},sentenceCaseLanguages:function(){return v}});var P=S("./node_modules/@citation-js/core/lib-mjs/index.js"),R=S("./node_modules/moo/moo.js"),_=S.n(R),D=JSON.parse('{"source":{"article":"article-journal","book":"book","mvbook":"book","inbook":"chapter","bookinbook":"book","booklet":"book","collection":"book","mvcollection":"book","incollection":"chapter","dataset":"dataset","manual":"report","misc":"document","online":"webpage","patent":"patent","periodical":"periodical","proceedings":"book","mvproceedings":"book","inproceedings":"paper-conference","reference":"book","mvreference":"book","inreference":"entry","report":"report","software":"software","thesis":"thesis","unpublished":"manuscript","artwork":"graphic","audio":"song","image":"figure","jurisdiction":"legal_case","legislation":"legislation","legal":"treaty","letter":"personal_communication","movie":"motion_picture","music":"musical_score","performance":"performance","review":"review","standard":"standard","video":"motion_picture","conference":"paper-conference","electronic":"webpage","mastersthesis":"thesis","phdthesis":"thesis","techreport":"report","www":"webpage"},"target":{"article":"article","article-journal":"article","article-magazine":"article","article-newspaper":"article","bill":"legislation","book":"book","broadcast":"audio","chapter":"inbook","classic":"unpublished","collection":"misc","dataset":"dataset","document":"misc","entry":"inreference","entry-dictionary":"inreference","entry-encyclopedia":"inreference","event":"misc","figure":"artwork","graphic":"artwork","hearing":"legal","interview":"audio","legal_case":"jurisdiction","legislation":"legislation","manuscript":"unpublished","motion_picture":"movie","musical_score":"music","paper-conference":"inproceedings","patent":"patent","performance":"performance","periodical":"periodical","personal_communication":"letter","post":"online","post-weblog":"online","regulation":"legal","report":"report","review":"review","review-book":"review","software":"software","song":"music","speech":"audio","standard":"standard","thesis":"thesis","treaty":"legal","webpage":"online"}}'),j=JSON.parse('{"source":{"article":"article-journal","book":"book","booklet":"book","conference":"paper-conference","inbook":"chapter","incollection":"chapter","inproceedings":"paper-conference","manual":"report","mastersthesis":"thesis","misc":"document","phdthesis":"thesis","proceedings":"book","techreport":"report","unpublished":"manuscript"},"target":{"article":"article","article-journal":"article","article-magazine":"article","article-newspaper":"article","book":"book","chapter":"inbook","manuscript":"unpublished","paper-conference":"inproceedings","report":"techreport","review":"article","review-book":"article"}}'),X=JSON.parse('{"biblatex":{"article":["author","title","journaltitle",["year","date"]],"book":["author","title",["year","date"]],"mvbook":["author","title",["year","date"]],"inbook":["author","title","booktitle",["year","date"]],"booklet":[["author","editor"],"title",["year","date"]],"collection":["editor","title",["year","date"]],"mvcollection":["editor","title",["year","date"]],"incollection":["author","title","booktitle",["year","date"]],"dataset":[["author","editor"],"title",["year","date"]],"online":[["author","editor"],"title",["year","date"],["doi","eprint","url"]],"patent":["author","title","number",["year","date"]],"periodical":["editor","title",["year","date"]],"proceedings":["title",["year","date"]],"mvproceedings":["title",["year","date"]],"inproceedings":["author","title","booktitle",["year","date"]],"report":["author","title","type","institution",["year","date"]],"thesis":["author","title","type","institution",["year","date"]],"unpublished":["author","title",["year","date"]],"conference":["author","title","booktitle",["year","date"]],"electronic":[["author","editor"],"title",["year","date"],["doi","eprint","url"]],"mastersthesis":["author","title","institution",["year","date"]],"phdthesis":["author","title","institution",["year","date"]],"techreport":["author","title","institution",["year","date"]],"www":[["author","editor"],"title",["year","date"],["doi","eprint","url"]]},"bibtex":{"article":["author","title","journal","year"],"book":[["author","editor"],"title","publisher","year"],"booklet":["title"],"inbook":[["author","editor"],"title",["chapter","pages"],"publisher","year"],"incollection":["author","title","booktitle","publisher","year"],"inproceedings":["author","title","booktitle","year"],"mastersthesis":["author","title","school","year"],"phdthesis":["author","title","school","year"],"proceedings":["title","year"],"techreport":["author","title","institution","year"],"unpublished":["author","title","note"]}}'),le=JSON.parse('{"abstract":["field","literal"],"addendum":["field","literal"],"afterword":["list","name"],"annotation":["field","literal"],"annotator":["list","name"],"author":["list","name"],"authortype":["field","key"],"bookauthor":["list","name"],"bookpagination":["field","key"],"booksubtitle":["field","literal"],"booktitle":["field","title"],"booktitleaddon":["field","literal"],"chapter":["field","literal"],"commentator":["list","name"],"date":["field","date"],"doi":["field","verbatim"],"edition":["field","literal"],"editor":["list","name"],"editora":["list","name"],"editorb":["list","name"],"editorc":["list","name"],"editortype":["field","key"],"editoratype":["field","key"],"editorbtype":["field","key"],"editorctype":["field","key"],"eid":["field","literal"],"entrysubtype":["field","literal"],"eprint":["field","verbatim"],"eprintclass":["field","literal"],"eprinttype":["field","literal"],"eventdate":["field","date"],"eventtitle":["field","title"],"eventtitleaddon":["field","literal"],"file":["field","verbatim"],"foreword":["list","name"],"holder":["list","name"],"howpublished":["field","literal"],"indextitle":["field","literal"],"institution":["list","literal"],"introduction":["list","name"],"isan":["field","literal"],"isbn":["field","literal"],"ismn":["field","literal"],"isrn":["field","literal"],"issn":["field","literal"],"issue":["field","literal"],"issuesubtitle":["field","literal"],"issuetitle":["field","literal"],"iswc":["field","literal"],"journalsubtitle":["field","literal"],"journaltitle":["field","literal"],"label":["field","literal"],"language":["list","key"],"library":["field","literal"],"location":["list","literal"],"mainsubtitle":["field","literal"],"maintitle":["field","title"],"maintitleaddon":["field","literal"],"month":["field","literal"],"nameaddon":["field","literal"],"note":["field","literal"],"number":["field","literal"],"organization":["list","literal"],"origdate":["field","date"],"origlanguage":["list","key"],"origlocation":["list","literal"],"origpublisher":["list","literal"],"origtitle":["field","title"],"pages":["field","range"],"pagetotal":["field","literal"],"pagination":["field","key"],"part":["field","literal"],"publisher":["list","literal"],"pubstate":["field","key"],"reprinttitle":["field","literal"],"series":["field","title"],"shortauthor":["list","name"],"shorteditor":["list","name"],"shorthand":["field","literal"],"shorthandintro":["field","literal"],"shortjournal":["field","literal"],"shortseries":["field","literal"],"shorttitle":["field","title"],"subtitle":["field","literal"],"title":["field","title"],"titleaddon":["field","literal"],"translator":["list","name"],"type":["field","title"],"url":["field","uri"],"urldate":["field","date"],"venue":["field","literal"],"version":["field","literal"],"volume":["field","integer"],"volumes":["field","integer"],"year":["field","literal"],"crossref":["field","entry key"],"entryset":["separated","literal"],"execute":["field","code"],"gender":["field","gender"],"langid":["field","identifier"],"langidopts":["field","literal"],"ids":["separated","entry key"],"indexsorttitle":["field","literal"],"keywords":["separated","literal"],"options":["separated","options"],"presort":["field","string"],"related":["separated","literal"],"relatedoptions":["separated","literal"],"relatedtype":["field","identifier"],"relatedstring":["field","literal"],"sortkey":["field","literal"],"sortname":["list","name"],"sortshorthand":["field","literal"],"sorttitle":["field","literal"],"sortyear":["field","integer"],"xdata":["separated","entry key"],"xref":["field","entry key"],"namea":["list","name"],"nameb":["list","name"],"namec":["list","name"],"nameatype":["field","key"],"namebtype":["field","key"],"namectype":["field","key"],"lista":["list","literal"],"listb":["list","literal"],"listc":["list","literal"],"listd":["list","literal"],"liste":["list","literal"],"listf":["list","literal"],"usera":["field","literal"],"userb":["field","literal"],"userc":["field","literal"],"userd":["field","literal"],"usere":["field","literal"],"userf":["field","literal"],"verba":["field","literal"],"verbb":["field","literal"],"verbc":["field","literal"],"address":["list","literal"],"annote":["field","literal"],"archiveprefix":["field","literal"],"journal":["field","literal"],"key":["field","literal"],"pdf":["field","verbatim"],"primaryclass":["field","literal"],"school":["list","literal"],"numpages":["field","integer"],"pmid":["field","literal"],"pmcid":["field","literal"]}'),B=JSON.parse('{"SN":{"`":"\u0300","\'":"\u0301","^":"\u0302","~":"\u0303","=":"\u0304","u":"\u0306",".":"\u0307","\\"":"\u0308","r":"\u030A","H":"\u030B","v":"\u030C","b":"\u0332","d":"\u0323","c":"\u0327","k":"\u0328","t":"\u0361","textcommabelow":"\u0326"},"Pi":{"textquotesingle":"\'","textasciigrave":"`","textquotedbl":"\\"","textdollar":"$","textless":"<","textgreater":">","textbackslash":"\\\\","textasciicircum":"^","textunderscore":"_","textbraceleft":"{","textbar":"|","textbraceright":"}","textasciitilde":"~","textexclamdown":"\xA1","textcent":"\xA2","textsterling":"\xA3","textcurrency":"\xA4","textyen":"\xA5","textbrokenbar":"\xA6","textsection":"\xA7","textasciidieresis":"\xA8","textcopyright":"\xA9","textordfeminine":"\xAA","guillemetleft":"\xAB","guillemotleft":"\xAB","textlnot":"\xAC","textregistered":"\xAE","textasciimacron":"\xAF","textdegree":"\xB0","textpm":"\xB1","texttwosuperior":"\xB2","textthreesuperior":"\xB3","textasciiacute":"\xB4","textmu":"\xB5","textparagraph":"\xB6","textperiodcentered":"\xB7","textonesuperior":"\xB9","textordmasculine":"\xBA","guillemetright":"\xBB","guillemotright":"\xBB","textonequarter":"\xBC","textonehalf":"\xBD","textthreequarters":"\xBE","textquestiondown":"\xBF","AE":"\xC6","DH":"\xD0","texttimes":"\xD7","O":"\xD8","TH":"\xDE","ss":"\xDF","ae":"\xE6","dh":"\xF0","textdiv":"\xF7","o":"\xF8","th":"\xFE","DJ":"\u0110","dj":"\u0111","i":"\u0131","IJ":"\u0132","ij":"\u0133","L":"\u0141","l":"\u0142","NG":"\u014A","ng":"\u014B","OE":"\u0152","oe":"\u0153","textflorin":"\u0192","j":"\u0237","textasciicaron":"\u02C7","textasciibreve":"\u02D8","textacutedbl":"\u02DD","textgravedbl":"\u02F5","texttildelow":"\u02F7","textbaht":"\u0E3F","SS":"\u1E9E","textcompwordmark":"\u200C","textendash":"\u2013","textemdash":"\u2014","textbardbl":"\u2016","textquoteleft":"\u2018","textquoteright":"\u2019","quotesinglbase":"\u201A","textquotedblleft":"\u201C","textquotedblright":"\u201D","quotedblbase":"\u201E","textdagger":"\u2020","textdaggerdbl":"\u2021","textbullet":"\u2022","textellipsis":"\u2026","textperthousand":"\u2030","textpertenthousand":"\u2031","guilsinglleft":"\u2039","guilsinglright":"\u203A","textreferencemark":"\u203B","textinterrobang":"\u203D","textfractionsolidus":"\u2044","textlquill":"\u2045","textrquill":"\u2046","textdiscount":"\u2052","textcolonmonetary":"\u20A1","textlira":"\u20A4","textnaira":"\u20A6","textwon":"\u20A9","textdong":"\u20AB","texteuro":"\u20AC","textpeso":"\u20B1","textcelsius":"\u2103","textnumero":"\u2116","textcircledP":"\u2117","textrecipe":"\u211E","textservicemark":"\u2120","texttrademark":"\u2122","textohm":"\u2126","textmho":"\u2127","textestimated":"\u212E","textleftarrow":"\u2190","textuparrow":"\u2191","textrightarrow":"\u2192","textdownarrow":"\u2193","textminus":"\u2212","Hwithstroke":"\u0126","hwithstroke":"\u0127","textasteriskcentered":"\u2217","textsurd":"\u221A","textlangle":"\u2329","textrangle":"\u232A","textblank":"\u2422","textvisiblespace":"\u2423","textopenbullet":"\u25E6","textbigcircle":"\u25EF","textmusicalnote":"\u266A","textmarried":"\u26AD","textdivorced":"\u26AE","textinterrobangdown":"\u2E18","textcommabelow":null,"copyright":"\xA9"},"vl":{"Gamma":"\u0393","Delta":"\u0394","Theta":"\u0398","Lambda":"\u039B","Xi":"\u039E","Pi":"\u03A0","Sigma":"\u03A3","Phi":"\u03A6","Psi":"\u03A8","Omega":"\u03A9","alpha":"\u03B1","beta":"\u03B2","gamma":"\u03B3","delta":"\u03B4","varepsilon":"\u03B5","zeta":"\u03B6","eta":"\u03B7","theta":"\u03B8","iota":"\u03B9","kappa":"\u03BA","lambda":"\u03BB","mu":"\u03BC","nu":"\u03BD","xi":"\u03BE","pi":"\u03C0","rho":"\u03C1","varsigma":"\u03C2","sigma":"\u03C3","tau":"\u03C4","upsilon":"\u03C5","varphi":"\u03C6","chi":"\u03C7","psi":"\u03C8","omega":"\u03C9","vartheta":"\u03D1","Upsilon":"\u03D2","phi":"\u03D5","varpi":"\u03D6","varrho":"\u03F1","epsilon":"\u03F5"}}');const ne=X,W=le,H=B.SN,U=B.Pi,J=B.vl,ue={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"},Q={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},q={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},G={italics:["<i>","</i>"],bold:["<b>","</b>"],superscript:["<sup>","</sup>"],subscript:["<sub>","</sub>"],smallcaps:['<span style="font-variant:small-caps;">',"</span>"],nocase:['<span class="nocase">',"</span>"],quotes:["\u201C","\u201D"]},ie={ElsevierGlyph(e){return String.fromCharCode(parseInt(e,16))},href(e,t){return e},url(e){return e}},ae=/---?|''|``|~/g,s={"--":"\u2013","---":"\u2014","``":"\u201C","''":"\u201D","~":"\xA0"},h={"^":"superscript",sp:"superscript",_:"subscript",sb:"subscript",mathrm:void 0},c={"^":{0:"\u2070",1:"\xB9",2:"\xB2",3:"\xB3",4:"\u2074",5:"\u2075",6:"\u2076",7:"\u2077",8:"\u2078",9:"\u2079","+":"\u207A","-":"\u207B","=":"\u207C","(":"\u207D",")":"\u207E",i:"\u2071",n:"\u207F"},_:{0:"\u2080",1:"\u2081",2:"\u2082",3:"\u2083",4:"\u2084",5:"\u2085",6:"\u2086",7:"\u2087",8:"\u2088",9:"\u2089","+":"\u208A","-":"\u208B","=":"\u208C","(":"\u208D",")":"\u208E",a:"\u2090",e:"\u2091",o:"\u2092",x:"\u2093",\u0259:"\u2094",h:"\u2095",k:"\u2096",l:"\u2097",m:"\u2098",n:"\u2099",s:"\u209A",p:"\u209B",t:"\u209C"}},v=["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"];var p={constants:$,types:{biblatex:D,bibtex:j},parse:{biblatex:!0,strict:!1,sentenceCase:"never"},format:{useIdAsLabel:!1,asciiOnly:!0},biber:{annotationMarker:"+an",namedAnnotationMarker:":"}};function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(n){A(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function A(e,t,r){return t=i(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){var t=o(e,"string");return typeof t=="symbol"?t:t+""}function o(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const u=/[a-zA-Z_][a-zA-Z0-9_:+-]*/,f={comment:/%.*/,whitespace:{match:/\s+/,lineBreaks:!0}},b=_().states({main:{junk:{match:/@[cC][oO][mM][mM][eE][nN][tT].+|[^@]+/,lineBreaks:!0},at:{match:"@",push:"entry"}},entry:x(x({},f),{},{otherEntryType:{match:/[sS][tT][rR][iI][nN][gG]|[pP][rR][eE][aA][mM][bB][lL][eE]/,next:"otherEntryContents"},dataEntryType:{match:u,next:"dataEntryContents"}}),otherEntryContents:x(x({},f),{},{lbrace:{match:/[{(]/,next:"fields"}}),dataEntryContents:x(x({},f),{},{lbrace:{match:/[{(]/,next:"dataEntryContents"},label:/[^,\s]+/,comma:{match:",",next:"fields"}}),fields:x(x({},f),{},{identifier:u,number:/-?\d+/,hash:"#",equals:"=",comma:",",quote:{match:'"',push:"quotedLiteral"},lbrace:{match:"{",push:"bracedLiteral"},rbrace:{match:/[})]/,pop:!0}}),quotedLiteral:{lbrace:{match:"{",push:"bracedLiteral"},quote:{match:'"',pop:!0},text:{match:/(?:\\[\\{]|[^{"])+/,lineBreaks:!0}},bracedLiteral:{lbrace:{match:"{",push:"bracedLiteral"},rbrace:{match:"}",pop:!0},text:{match:/(?:\\[\\{}]|[^{}])+/,lineBreaks:!0}}}),m={"(":")","{":"}"},y=new P.util.Grammar({Main(){const e=[];for(;;){for(;this.matchToken("junk");)this.consumeToken("junk");if(this.matchEndOfFile())break;e.push(this.consumeRule("Entry"))}return e.filter(Boolean)},_(){let e;for(;e!==this.token;)e=this.token,this.consumeToken("whitespace",!0),this.consumeToken("comment",!0)},Entry(){this.consumeToken("at"),this.consumeRule("_");const e=(this.matchToken("otherEntryType")?this.consumeToken("otherEntryType"):this.consumeToken("dataEntryType")).value.toLowerCase();this.consumeRule("_");const t=this.consumeToken("lbrace").value;this.consumeRule("_");let r;if(e==="string"){const[a,l]=this.consumeRule("Field");this.state.strings[a]=l}else if(e==="preamble")this.consumeRule("Expression");else{const a=this.consumeToken("label").value;this.consumeRule("_"),this.consumeToken("comma"),this.consumeRule("_");const l=this.consumeRule("EntryBody");r=x({type:e,label:a},l)}this.consumeRule("_");const n=this.consumeToken("rbrace").value;return n!==m[t]&&P.logger.warn("[plugin-bibtex]",`entry started with "${t}", but ends with "${n}"`),r},EntryBody(){const e={properties:{}};for(;this.matchToken("identifier");){const[t,r]=this.consumeRule("Field");let n,a="default";if(t.endsWith(p.biber.annotationMarker)?n=t.slice(0,-p.biber.annotationMarker.length):t.includes(p.biber.annotationMarker+p.biber.namedAnnotationMarker)&&([n,a]=t.split(p.biber.annotationMarker+p.biber.namedAnnotationMarker)),n?(e.annotations||(e.annotations={}),e.annotations[n]||(e.annotations[n]={}),e.annotations[n][a]=r):e.properties[t]=r,this.consumeRule("_"),this.consumeToken("comma",!0))this.consumeRule("_");else break}return e},Field(){const e=this.consumeToken("identifier").value.toLowerCase();this.consumeRule("_"),this.consumeToken("equals"),this.consumeRule("_");const t=this.consumeRule("Expression");return[e,t]},Expression(){let e=this.consumeRule("ExpressionPart");for(this.consumeRule("_");this.matchToken("hash");)this.consumeToken("hash"),this.consumeRule("_"),e+=this.consumeRule("ExpressionPart").toString(),this.consumeRule("_");return e},ExpressionPart(){return this.matchToken("identifier")?this.state.strings[this.consumeToken("identifier").value.toLowerCase()]||"":this.matchToken("number")?parseInt(this.consumeToken("number")):this.matchToken("quote")?this.consumeRule("QuoteString"):this.consumeRule("BracketString")},QuoteString(){let e="";for(this.consumeToken("quote");!this.matchToken("quote");)e+=this.consumeRule("Text");return this.consumeToken("quote"),e},BracketString(){let e="";for(this.consumeToken("lbrace");!this.matchToken("rbrace");)e+=this.consumeRule("Text");return this.consumeToken("rbrace"),e},Text(){return this.matchToken("lbrace")?`{${this.consumeRule("BracketString")}}`:this.consumeToken("text").value}},{strings:ue});function T(e){return y.parse(b.reset(e))}const w={splitEntries:/\n\s*(?=\[)/g,parseEntry:/^\[(.+?)\]\s*(?:\n([\s\S]+))?$/,splitPairs:/((?=.)\s)*\n\s*/g,splitPair:/:(.*)/},g=e=>{const[,t,r]=e.match(w.parseEntry)||[];if(!t||!r)return{};{const n={type:"book",label:t,properties:{}};return r.trim().split(w.splitPairs).filter(a=>a).forEach(a=>{let[l,k]=a.split(w.splitPair);k&&(l=l.trim(),k=k.trim(),l==="type"?n.type=k:n.properties[l]=k)}),n}},C=e=>e.trim().split(w.splitEntries).map(g),V=new Set(["the","a","an"]),z=/(?:<\/?.*?>|[\u0020-\u002F\u003A-\u0040\u005B-\u005E\u0060\u007B-\u007F])+/g,Y=/[^\u0020-\u007F]+/g;function Z(e){return e?e.normalize("NFKD").replace(Y,"").split(z).find(t=>t.length&&!V.has(t.toLowerCase())):""}const I=new P.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}}}]),oe=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],E="BibTeX type",F="BibTeX label",K={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},he={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"},Ve=/(^(?: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 Ye(e){const t=e.split("T")[0].replace(/[?~%]$/,"").split("-"),r=+t[0].replace(/^Y(?=-?\d{4}\d+)/,"").replace(/X/g,"0"),n=+t[1],a=+t[2];return!n||n>20?[r]:a?[r,n,a]:[r,n]}function Ze(e){if(e==null)return[];if(+e)return[parseInt(e,10)];if(e=e.trim().toLowerCase(),e in K)return[K[e]];const t=e.split(/\s+/);let r,n;return t[0]in K?(r=K[t[0]],n=parseInt(t[1])):t[1]in K&&(r=K[t[1]],n=parseInt(t[0])),n?[r,n]:r?[r]:[]}function Xe(e,t,r,n){let a="";return e&&e[0]&&(a+=Z(e[0].family||e[0].literal)),t&&t["date-parts"]&&t["date-parts"][0]&&(a+=t["date-parts"][0][0]),r?a+=r:n&&(a+=Z(n)),a}const d={PICK:{toTarget(...e){return e.find(Boolean)},toSource(e){return[e]}},DATE:{toTarget(e){const t=e.split("/").map(r=>r&&r!==".."?Ye(r):void 0);return isNaN(t[0][0])?{literal:e}:{"date-parts":t}},toSource(e){if("date-parts"in e)return e["date-parts"].map(t=>t.map(r=>r.toString().padStart(2,"0")).join("-")).join("/")}},YEAR_MONTH:{toTarget(e,t,r){return isNaN(+e)?{literal:e}:!isNaN(+r)&&!isNaN(+t)?{"date-parts":[[+e,+t,+r]]}:{"date-parts":[[+e,...Ze(t)]]}},toSource(e){if("date-parts"in e){const[t,r,n]=e["date-parts"][0];return[t.toString(),r?n?`${oe[r-1]} ${n}`:r:void 0]}else return[]}},EPRINT:{toTarget(e,t){if(t==="pubmed")return e},toSource(e){return[e,"pubmed"]}},EVENT_TITLE:{toTarget(e,t){return t&&(e+=" ("+t+")"),e},toSource(e){return e.match(/^(.+)(?: \((.+)\))?$/).slice(1,3)}},HOW_PUBLISHED:{toTarget(e){if(e.startsWith("http"))return e}},KEYWORDS:{toTarget(e){return e.join(",")},toSource(e){return e.split(",")}},LABEL:{toTarget(e){return[e,e]},toSource(e,t,r,n,a,l){let k;return e===null?k="null":e===void 0?k="undefined":k=e.toString().replace(z,""),p.format.useIdAsLabel?k:t&&!z.test(t)?t:Xe(r,n,a,l)||k}},NAMES:{toTarget(e){return e.map(I.convertToTarget)},toSource(e){return e.map(I.convertToSource)}},NAMES_ORCID:{toTarget(e,t){return e.map((r,n)=>{var a;const l=I.convertToTarget(r);return typeof(t==null||(a=t.item)===null||a===void 0?void 0:a[n])=="string"&&(l._orcid=t.item[n]),l})},toSource(e){const t=[],r=[];for(let n=0;n<e.length;n++)t.push(I.convertToSource(e[n])),e[n]._orcid&&(r[n]=e[n]._orcid);return[t,r.length?{item:r}:void 0]}},PAGES:{toTarget(e){return e.replace(/[–—]/,"-")},toSource(e){return e.replace("-","--")}},STANDARD_NUMBERS:{toTarget(...e){return e.find(Boolean)},toSource(e){const t=e.toString().match(Ve);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){return t&&(e+=": "+t),e},toSource(e){return[e]}}};var ve=S("./node_modules/@citation-js/date/lib/index.js");const Qe=[{source:"note",target:"accessed",when:{source:!1,target:{note:!1,addendum:!1}},convert:{toSource(e){return`[Online; accessed ${(0,ve.format)(e)}]`}}},{source:"numpages",target:"number-of-pages",when:{source:{pagetotal:!1},target:!1}},{source:"pmid",target:"PMID",when:{source:{eprinttype(e){return e!=="pmid"},archiveprefix(e){return e!=="pmid"}},target:!1}},{source:"pmcid",target:"PMCID",when:{target:!1}},{source:"s2id",target:"custom",convert:{toTarget(e){return{S2ID:e}},toSource({S2ID:e}){return e}}}],et=[{source:"annote",target:"annote",when:{source:{annotation:!1},target:!1}},{source:"address",target:"publisher-place",convert:d.PICK,when:{source:{location:!1},target:!1}},{source:["eprint","archiveprefix"],target:"PMID",convert:d.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:d.PICK,when:{source:{institution:!1,organization:!1,publisher:!1},target:!1}}];var we=new P.util.Translator([...et,...Qe,{source:"abstract",target:"abstract"},{source:"urldate",target:"accessed",convert:d.DATE},{source:"annotation",target:"annote"},{source:["author","author+an:orcid"],target:"author",convert:d.NAMES_ORCID},{source:"library",target:"call-number"},{source:"chapter",target:"chapter-number"},{source:"bookauthor",target:"container-author",convert:d.NAMES},{source:["maintitle","mainsubtitle","maintitleaddon"],target:"container-title",when:{source:!0,target:{"number-of-volumes":!0}},convert:d.TITLE},{source:["booktitle","booksubtitle","booktitleaddon"],target:"container-title",when:{source:{maintitle:!1},target:{"number-of-volumes":!1,type(e){return!e||!e.startsWith("article")}}},convert:d.TITLE},{source:["journaltitle","journalsubtitle","journaltitleaddon"],target:"container-title",when:{source:{[E]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}},convert:d.TITLE},{source:"shortjournal",target:"container-title-short",when:{source:{[E]:"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:{[E]:["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:d.NAMES},{source:[E,"entrysubtype","type"],target:["type","genre"],convert:{toTarget(e,t,r){return r||(e==="mastersthesis"&&(r="mathesis"),e==="phdthesis"&&(r="phdthesis"),e==="techreport"&&(r="techreport")),[D.source[e]||"document",r||t]},toSource(e,t){const r=D.target[e]||"misc";return t in he?[r,void 0,t]:[r,t]}}},{source:E,when:{target:{type:!1}},convert:{toSource(){return"misc"}}},{source:"eventdate",target:"event-date",convert:d.DATE},{source:"venue",target:"event-place"},{source:["eventtitle","eventtitleaddon"],target:"event-title",convert:d.EVENT_TITLE},{source:["eventtitle","eventtitleaddon"],target:"event",convert:d.EVENT_TITLE,when:{source:!1,target:{"event-title":!1}}},{source:F,target:["id","citation-key","author","issued","year-suffix","title"],convert:d.LABEL},{source:"isbn",target:"ISBN"},{source:"issn",target:"ISSN"},{source:"issue",target:"issue",when:{source:{number:!1,[E]:["article","periodical"]},target:{issue(e){return typeof e=="string"&&!e.match(/\d+/)},type:["article","article-journal","article-newspaper","article-magazine","periodical"]}}},{source:"number",target:"issue",when:{source:{[E]:["article","periodical","inproceedings"]},target:{issue(e){return e&&(typeof e=="number"||e.match(/\d+/))},type:["article","article-journal","article-newspaper","article-magazine","paper-conference","periodical"]}}},{source:"date",target:"issued",convert:d.DATE},{source:["year","month","day"],target:"issued",convert:d.YEAR_MONTH,when:{source:{date:!1},target:!1}},{source:"location",target:"jurisdiction",when:{source:{type:"patent"},target:{type:"patent"}}},{source:"keywords",target:"keyword",convert:d.KEYWORDS},{source:"language",target:"language",convert:d.PICK},{source:"langid",target:"language",when:{source:{language:!1},target:!1}},{source:"note",target:"note"},{source:"addendum",target:"note",when:{source:{note:!1},target:!1}},{source:"eid",target:"number",when:{target:{type:["article-journal"]}}},{source:["isan","ismn","isrn","iswc"],target:"number",convert:d.STANDARD_NUMBERS,when:{source:{[E](e){return e!=="patent"}},target:{type(e){return e!=="patent"}}}},{source:"number",target:"number",when:{source:{[E]:["patent","report","techreport","legislation"]},target:{type:["patent","report","legislation"]}}},{source:"origdate",target:"original-date",convert:d.DATE},{source:"origlocation",target:"original-publisher-place",convert:d.PICK},{source:"origpublisher",target:"original-publisher",convert:d.PICK},{source:"origtitle",target:"original-title"},{source:"pages",target:"page",when:{source:{bookpagination:[void 0,"page"]}},convert:d.PAGES},{source:"pagetotal",target:"number-of-pages"},{source:"part",target:"part-number"},{source:["eprint","eprinttype"],target:"PMID",convert:d.EPRINT},{source:"location",target:"publisher-place",convert:d.PICK},{source:"publisher",target:"publisher",convert:d.PICK,when:{source:!0,target:{type:["article","article-journal","article-magazine","article-newspaper","bill","book","broadcast","chapter","classic","collection","dataset","document","entry","entry-dictionary","entry-encyclopedia","event","figure","graphic","hearing","interview","legal_case","legislation","manuscript","map","motion_picture","musical_score","pamphlet","paper-conference","patent","performance","periodical","personal_communication","post","post-weblog","regulation","review","review-book","software","song","speech","standard","treaty"]}}},{source:"organization",target:"publisher",convert:d.PICK,when:{source:{publisher:!1},target:{type:"webpage"}}},{source:"institution",target:"publisher",convert:d.PICK,when:{source:{publisher:!1,organization:!1},target:{type:["report","thesis"]}}},{source:"howpublished",target:"publisher",convert:d.PICK,when:{source:{howpublished(e){return e&&!e.startsWith("http")},publisher:!1,organization:!1,institution:!1},target:{type:"manuscript"}}},{source:["pages","bookpagination"],target:"section",when:{source:{bookpagination:"section"},target:{page:!1}},convert:{toTarget(e){return e},toSource(e){return[e,"section"]}}},{source:"pubstate",target:"status",convert:d.STATUS},{source:"shorttitle",target:"title-short"},{source:"shorttitle",target:"shortTitle",when:{source:!1,target:{"title-short":!1}}},{source:["title","subtitle","titleaddon"],target:"title",convert:d.TITLE},{source:"translator",target:"translator",convert:d.NAMES},{source:"url",target:"URL"},{source:"howpublished",target:"URL",convert:d.HOW_PUBLISHED,when:{source:{url:!1},target:!1}},{source:"version",target:"version"},{source:"volume",target:"volume"},{source:"volumes",target:"number-of-volumes"},{source:["issuetitle","issuesubtitle","issuetitleaddon"],target:"volume-title",convert:d.TITLE}]),ke=new P.util.Translator([{source:"note",target:"accessed",when:{source:!1,target:{note:!1}},convert:{toSource(e){return`[Online; accessed ${(0,ve.format)(e)}]`}}},{source:"annote",target:"annote"},{source:"address",target:"publisher-place",convert:d.PICK},{source:"author",target:"author",convert:d.NAMES},{source:"chapter",target:"chapter-number"},{source:"number",target:"collection-number",when:{source:{[E]:["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:{[E]:"article"},target:{type:["article","article-newspaper","article-journal","article-magazine"]}}},{source:"doi",target:"DOI"},{source:"edition",target:"edition"},{source:"editor",target:"editor",convert:d.NAMES},{source:F,target:["id","citation-key","author","issued","year-suffix","title"],convert:d.LABEL},{source:"isbn",target:"ISBN"},{source:"issn",target:"ISSN"},{source:"number",target:"issue",when:{source:{[E]:["article","periodical","inproceedings"]},target:{issue(e){return typeof e=="number"||typeof e=="string"&&e.match(/\d+/)},type:["article","article-journal","article-newspaper","article-magazine","paper-conference","periodical"]}}},{source:["year","month","day"],target:"issued",convert:d.YEAR_MONTH},{source:"note",target:"note"},{source:"number",target:"number",when:{source:{[E]:["patent","report","techreport"]},target:{type:["patent","report"]}}},{source:"eid",target:"number",when:{source:{number:!1},target:{type:["article-journal"]}}},{source:"pages",target:"page",convert:d.PAGES},{source:"publisher",target:"publisher",convert:d.PICK,when:{target:{type:["article","article-journal","article-magazine","article-newspaper","bill","book","broadcast","chapter","classic","collection","dataset","document","entry","entry-dictionary","entry-encyclopedia","event","figure","graphic","hearing","interview","legal_case","legislation","map","motion_picture","musical_score","pamphlet","patent","performance","periodical","personal_communication","post","post-weblog","regulation","review","review-book","software","song","speech","standard","treaty","webpage"]}}},{source:"organization",target:"publisher",convert:d.PICK,when:{source:{publisher:!1},target:{type:"paper-conference"}}},{source:"institution",target:"publisher",convert:d.PICK,when:{source:{publisher:!1,organization:!1},target:{type:"report"}}},{source:"school",target:"publisher",convert:d.PICK,when:{source:{institution:!1,organization:!1,publisher:!1},target:{type:"thesis"}}},{source:"howpublished",target:"publisher",convert:d.PICK,when:{source:{howpublished(e){return e&&!e.startsWith("http")},publisher:!1,organization:!1,institution:!1,school:!1},target:{type:"manuscript"}}},{source:"title",target:"title"},{source:[E,"type"],target:["type","genre"],convert:{toTarget(e,t){const r=j.source[e]||"document";return t?[r,t]:e==="mastersthesis"?[r,"Master's thesis"]:e==="phdthesis"?[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:E,when:{target:{type:!1}},convert:{toSource(){return"misc"}}},{source:"url",target:"URL"},{source:"howpublished",target:"URL",convert:d.HOW_PUBLISHED,when:{target:{publisher:!1}}},{source:"volume",target:"volume"}]);function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xe(Object(r),!0).forEach(function(n){rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rt(e,t,r){return t=nt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nt(e){var t=it(e,"string");return typeof t=="symbol"?t:t+""}function it(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const at=new Set(["book","inbook","bookinbook","suppbook"]),Te=new Set(["inbook","bookinbook","suppbook"]),Se=new Set(["collection","reference","incollection","inreference","suppcollection"]),Ee=new Set(["incollection","inreference","suppcollection"]),Oe={mvbook:["main",at],mvcollection:["main",Se],mvreference:["main",Se],mvproceedings:["main",new Set(["proceedings","inproceedings"])],book:["book",Te],collection:["book",Ee],reference:["book",Ee],proceedings:["book",new Set(["inproceedings"])],periodical:["journal",new Set(["article","suppperiodical"])]};function _e(e,t,r){if(t.crossref in r){const n=r[t.crossref];if(n.properties===t)return t;const a=tt({},_e(n.type,n.properties,r));if(delete a.ids,delete a.crossref,delete a.xref,delete a.entryset,delete a.entrysubtype,delete a.execute,delete a.label,delete a.options,delete a.presort,delete a.related,delete a.relatedoptions,delete a.relatedstring,delete a.relatedtype,delete a.shortand,delete a.shortandintro,delete a.sortkey,(n.type==="mvbook"||n.type==="book")&&Te.has(e)&&(a.bookauthor=a.author),n.type in Oe){const[l,k]=Oe[n.type];k.has(e)&&(a[l+"title"]=a.title,a[l+"subtitle"]=a.subtitle,l!=="journal"&&(a[l+"titleaddon"]=a.titleaddon),delete a.title,delete a.subtitle,delete a.titleaddon,delete a.shorttitle,delete a.sorttitle,delete a.indextitle,delete a.indexsorttitle)}return Object.assign(a,t)}return t}function ot(e,t){if(e==null)return{};var r=st(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function st(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,l;for(l=0;l<n.length;l++)a=n[l],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function lt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?je(Object(r),!0).forEach(function(n){ut(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ut(e,t,r){return t=Pe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pe(e){var t=ct(e,"string");return typeof t=="symbol"?t:t+""}function ct(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ce(e,t){const r={};for(const n of e)r[n.label]=n;return e.map(({type:n,label:a,properties:l})=>t.convertToTarget(lt({[E]:n,[F]:a},_e(n,l,r))))}function Re(e,t){return e.map(r=>{const n=t.convertToSource(r),{[E]:a,[F]:l}=n,k=ot(n,[E,F].map(Pe));return{type:a,label:l,properties:k}})}function pt(e){return Ce(e,ke)}function ft(e){return Re(e,ke)}function ht(e){return Ce(e,we)}function mt(e){return Re(e,we)}function dt(e){const t=e.toUpperCase(),r=e.toLowerCase();for(let n=0;n<e.length;n++)if(t[n]!==r[n])return t[n]===e[n];return null}function ee(e){if(e.length===0)return;let t="";for(;e.length>1;){const{value:n,hyphenated:a}=e.shift();t+=n+(a?"-":" ")}const r=t+e[0].value;return r[0]&&r}function gt(e,t=!0){const r=[],n=[];if(t)for(;e.length>1&&e[0].upperCase!==!1;){for(r.push(...n),n.length=0;e.length>1&&e[0].upperCase!==!1&&!e[0].hyphenated;)r.push(e.shift());for(;e.length>0&&e[0].upperCase!==!1&&e[0].hyphenated;)n.push(e.shift())}const a=[],l=[];for(;e.length>1;){for(a.push(...l),l.length=0;e.length>1&&e[0].upperCase===!1;)a.push(e.shift());for(;e.length>0&&e[0].upperCase!==!1;)l.push(e.shift())}return n.length&&l.unshift(...n),e.length&&l.push(e[0]),[ee(r),ee(a),ee(l)]}function bt(e){if(e[0][0].label){const l={};for(const[{value:k,label:M}]of e)l[M]=k;return l}const t={},[r,n,a]=gt(e[0],e.length===1);return a&&(t.family=a),n&&(t.prefix=n),e.length===3?(t.given=ee(e[2]),t.suffix=ee(e[1])):e.length===2?t.given=ee(e[1]):r&&(t.given=r),t}function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ae(Object(r),!0).forEach(function(n){yt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yt(e,t,r){return t=vt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vt(e){var t=wt(e,"string");return typeof t=="symbol"?t:t+""}function wt(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const te={commandBegin:{match:"\\begin",push:"environment"},command:{match:/\\(?:[a-zA-Z]+|.) */,value:e=>e.slice(1).trim()},lbrace:{match:"{",push:"bracedLiteral"},mathShift:{match:"$",push:"mathLiteral"},whitespace:{match:/[\s]+|~/,lineBreaks:!0,value(e){return e==="~"?"\xA0":" "}}},Ie=_().states({stringLiteral:N(N({},te),{},{text:/[^{$}\s~\\]+/}),namesLiteral:N(N({and:/\s+[aA][nN][dD]\s+/,comma:",",hyphen:"-",equals:"="},te),{},{text:/[^{$}\s~\\,=-]+/}),listLiteral:N(N({and:/\s+and\s+/},te),{},{text:/[^{$}\s~\\]+/}),separatedLiteral:N(N({comma:","},te),{},{text:/[^{$}\s~\\,]+/}),annotation:N(N({},te),{},{colon:":",equals:"=",comma:",",semicolon:";",quote:'"',itemCount:/\d+/,text:/[^{$}\s~\\":;,=]+/}),bracedLiteral:N(N({},te),{},{rbrace:{match:"}",pop:!0},text:/[^{$}\s~\\]+/}),mathLiteral:N(N({},te),{},{mathShift:{match:"$",pop:!0},script:/[\^_]/,text:/[^{$}\s~\\^_]+/}),environment:N(N({commandEnd:{match:"\\end",pop:!0}},te),{},{text:/[^{$}\s~\\]+/})});function se(e){return e[0],e}function pe(e,t){return t in G?e&&G[t].join(e):e}const Ne=new P.util.Grammar({String(){let e="";for(;!this.matchEndOfFile();)e+=this.consumeRule("Text");return se(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 bt(e);this.consumeToken("comma"),this.consumeToken("whitespace",!0)}},NamePiece(){const e=[];for(;;){const t=this.consumeRule("NameToken");if(t.label)return t.label=ee([...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(e===null&&this.matchToken("text")){const r=this.consumeToken().value;t+=r,e=dt(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 r=this.consumeRule("NamePiece");return r[0].label&&(t+="="+r[0].label),{value:ee(r),label:t}}else t+=this.consumeRule("Text")}},StringList(){const e=[];for(;!this.matchEndOfFile();){let t="";for(;!this.matchEndOfFile()&&!this.matchToken("and");)t+=this.consumeRule("Text");e.push(se(t)),this.consumeToken("and",!0)}return e.length===1?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 se(e)},StringUri(){const e=this.consumeRule("StringVerbatim");try{return decodeURI(e)===e?encodeURI(e):e}catch{return encodeURI(e)}},StringTitleCase(){this.state.sentenceCase=!0;let e="";for(;!this.matchEndOfFile();)e+=this.consumeRule("Text");return se(e)},Annotations(){const e={};for(;;){const{scope:t,item:r,part:n,value:a}=this.consumeRule("Annotation");if(t==="part"?(e.part||(e.part=[]),e.part[r]||(e.part[r]={}),e.part[r][n]=a):t==="item"?(e.item||(e.item=[]),e.item[r]=a):e.field=a,this.matchEndOfFile())break;this.consumeToken("semicolon"),this.consumeRule("_")}return e},Annotation(){const e={};if(this.matchToken("itemCount")?(e.item=parseInt(this.consumeToken("itemCount"))-1,this.matchToken("colon")?(this.consumeToken("colon"),e.part=this.consumeToken("text"),e.scope="part"):e.scope="item"):e.scope="field",this.consumeToken("equals"),this.consumeRule("_"),this.matchToken("quote")){this.consumeToken("quote");let t="";for(;!this.matchToken("quote");)this.matchToken("itemCount")||this.matchToken("colon")||this.matchToken("comma")||this.matchToken("semicolon")||this.matchToken("equals")?(t+=this.token.value,this.token=this.lexer.next()):t+=this.consumeRule("Text");this.consumeToken("quote"),e.value=se(t),this.consumeRule("_")}else{e.value=[];let t="";for(;;)if(t+=this.consumeRule("Text"),this.matchToken("comma"))this.consumeToken("comma"),this.consumeRule("_"),e.value.push(se(t)),t="";else if(this.matchEndOfFile()||this.matchToken("semicolon")){e.value.push(se(t));break}}return 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 a=r&&!this.state.sentenceCase&&this.state.partlyLowercase;return this.state.sentenceCase=r,this.consumeToken("rbrace"),a?pe(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(n=>n in c[t]))e+=r.map(n=>c[t][n]).join("");else{const n=h[t];e+=G[n].join(r.join(""))}continue}if(this.matchToken("command")){const t=this.token.value;if(t in h){this.consumeToken("command");const r=this.consumeRule("BracketString");e+=pe(r,h[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(ae,M=>s[M]),t=this.state.afterPunctuation;if(this.state.afterPunctuation=/[?!.:]$/.test(e),!this.state.sentenceCase){var r;return(r=this.state).partlyLowercase||(r.partlyLowercase=e===e.toLowerCase()&&e!==e.toUpperCase()),e}const[n,...a]=e,l=a.join(""),k=l.toLowerCase();return l!==k?e:t?n+k:e.toLowerCase()},Command(){const e=this.consumeToken("command"),t=e.value;if(t in Q){const r=this.consumeRule("Env"),n=Q[t];return pe(r,n)}else if(t in q){const r=this.consumeRule("BracketString"),n=q[t];return pe(r,n)}else{if(t in U)return U[t];if(t in J)return J[t];if(t in H&&!this.matchEndOfFile()){const r=this.consumeRule("Text");return(r[0]+H[t]).normalize("NFC")+r.slice(1)}else if(t in ie){const r=ie[t],n=[];let a=r.length;for(;a-- >0;)this.consumeToken("whitespace",!0),n.push(this.consumeRule("BracketString"));return r(...n)}else 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"),n=this.consumeRule("BracketString");if(e!==n)throw new SyntaxError(this.lexer.formatError(r,`environment started with "${e}", ended with "${n}"`));return pe(t,Q[e])},_(){for(;this.matchToken("whitespace");)this.consumeToken("whitespace")}},{sentenceCase:!1,partlyLowercase:!1,afterPunctuation:!0});function Le(e){return v.includes(e.toLowerCase())}function kt(e){return Array.isArray(e)?e.every(Le):Le(e)}function xt(e,t){if(e[1]==="name")return e[0]==="list"?"StringNames":"Name";if(e[1]==="title"){const r=p.parse.sentenceCase;return r==="always"||r==="english"&&kt(t)?"StringTitleCase":"String"}switch(e[0]==="field"?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 Tt(e){if(e[1]==="name")return"namesLiteral";switch(e[0]){case"list":return"listLiteral";case"separated":return"separatedLiteral";case"field":default:return"stringLiteral"}}function De(e,t,r=[]){const n=W[t]||[];return Ne.parse(Ie.reset(e,{state:Tt(n),line:0,col:0}),xt(n,r))}function St(e){return Ne.parse(Ie.reset(e,{state:"annotation",line:0,col:0}),"Annotations")}function Be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Me(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Be(Object(r),!0).forEach(function(n){Et(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Be(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Et(e,t,r){return t=Ot(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ot(e){var t=_t(e,"string");return typeof t=="symbol"?t:t+""}function _t(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $e(e,t){const r=[];for(const{type:n,label:a,properties:l}of e)if(n in t){const k=[];for(const M of t[n])Array.isArray(M)&&!M.some(Ut=>Ut in l)?k.push(M.join("/")):typeof M=="string"&&!(M in l)&&k.push(M);k.length&&r.push([a,`missing fields: ${k.join(", ")}`])}else r.push([a,`invalid type: "${n}"`]);if(r.length)throw new RangeError(["Invalid entries:"].concat(r.map(([n,a])=>` - ${n} has ${a}`)).join(`
`))}function qe(e){const t={};"language"in e.properties&&(t.language=De(e.properties.language,"language"));for(const r in e.properties){const n=e.properties[r];n!==""&&(t[r]=De(n+"",r,t.language))}for(const r in e.annotations)for(const n in e.annotations[r])t[r+"+an:"+n]=St(e.annotations[r][n]);return Me(Me({},e),{},{properties:t})}function ze(e){return p.parse.strict&&$e(e,ne.biblatex),ht(e.map(qe))}function Fe(e){return p.parse.strict&&$e(e,ne.bibtex),pt(e.map(qe))}const jt="@bibtex",Pt={"@biblatex/text":{parse:T,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){return ze([e])},parseType:{dataType:"SimpleObject",propertyConstraint:{props:["type","label","properties"]}}},"@biblatex/entries+list":{parse:ze,parseType:{elementConstraint:"@biblatex/entry+object"}},"@bibtex/text":{parse:T,outputs:"@bibtex/entries+list"},"@bibtex/entry+object":{parse(e){return Fe([e])}},"@bibtex/entries+list":{parse:Fe},"@bibtxt/text":{parse:C,parseType:{dataType:"String",predicate:/^\s*(\[(?!\s*[{[]).*?\]\s*(\n\s*[^[]((?!:)\S)+\s*:\s*.+?\s*)*\s*)+$/}}},re={};for(const e in U)re[U[e]]=e;for(const e in H)re[H[e]]=e;for(const e in s)re[s[e]]=e;const me={};for(const e in J)me[J[e]]=e;const Ct=/[^a-zA-Z0-9\s!"#%&'()*+,\-./:;=?@[\]{}\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]/g,Rt=/.[\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]+/g,At=/[\u0300-\u0308\u030a-\u030c\u0332\u0323\u0327\u0328\u0361\u0326]/g,de={separated:",",list:" and "},Ke={i:"\\textit{",b:"\\textbf{",sc:"\\textsc{",sup:"\\textsuperscript{",sub:"\\textsubscript{",'span style="font-variant:small-caps;"':"\\textsc{",'span class="nocase"':"{"};function It(e){return e in re?re[e]in s?re[e]:`\\${re[e]}{}`:e in me?`$\\${me[e]}$`:""}function fe(e){return p.format.asciiOnly?e.normalize("NFKD").replace(Ct,t=>It(t)).replace(Rt,t=>Array.from(t).reduce((r,n)=>`{\\${re[n]} ${r}}`)).replace(At,""):e}function Ue(e){const t=[];let r=e.split(/<(\/?(?:i|b|sc|sup|sub|span)|span .*?)>/g);return r=r.map((n,a)=>a%2===0?fe(n):n in Ke?(t.push("/"+n.split(" ")[0]),Ke[n]):n===t[t.length-1]?(t.pop(),"}"):""),r.join("")}function Nt(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),fe(t.join(", ").trim())}function Lt(e){return Ue(e).split(/(:\s*)/).map((t,r)=>r%2?t:t.replace(/([^\\])\b([a-z]*[A-Z].*?)\b/g,"$1{$2}")).join("")}function ge(e,t){switch(t){case"title":return Lt(e);case"literal":return Ue(e.toString());case"name":return Nt(e);case"verbatim":case"uri":return e.toString();default:return fe(e.toString())}}function Dt(e,t,r){const n=de[r];return e.map(a=>{const l=ge(a,t);return l.includes(n)?`{${l}}`:l}).join(n)}function be(e){return Array.isArray(e)?e.map(t=>fe(t).replace(/([;,"])/g,"{$1}")).join(", "):'"'+fe(e).replace(/(["])/g,"{$1}")+'"'}function Bt(e,t){if(!(e in W))return ge(t,"verbatim");const[r,n]=W[e];return r in de?Dt(t,n,r):ge(t,n)}function Mt(e){const t=[];if(e.field&&t.push("="+be(e.field)),e.item)for(const[r,n]of Object.entries(e.item)){if(!n)continue;const a=parseInt(r)+1;t.push(a+"="+be(n))}if(e.part)for(const[r,n]of Object.entries(e.part)){if(!n)continue;const a=parseInt(r)+1;for(const l in n)n[l]&&t.push(a+":"+l+"="+be(n[l]))}return t.join("; ")}function Ge({type:e,label:t,properties:r}){const n={type:e,label:t,properties:{}};for(const a in r){const l=r[a],[k,M]=a.split("+an:");M?(n.annotations||(n.annotations={}),n.annotations[k]||(n.annotations[k]={}),n.annotations[k][M]=Mt(l)):n.properties[a]=Bt(a,l)}return n}function $t(e){return mt(e).map(Ge)}function We(e){return ft(e).map(Ge)}function He(e,t,r){return r.listItem.join(`${e} = {${t}},`)}function qt(e,t){const r=[];for(const n in e.properties)if(r.push(He(n,e.properties[n],t)),e.annotations&&e.annotations[n])for(const a in e.annotations[n]){let l=n+p.biber.annotationMarker;a!=="default"&&(l+=p.biber.namedAnnotationMarker+a),r.push(He(l,e.annotations[n][a],t))}return t.entry.join(`@${e.type}{${e.label},${t.list.join(r.join(""))}}`)}function Je(e,t){const r=e.map(n=>qt(n,t)).join("");return t.bibliographyContainer.join(r)}function zt({type:e,label:t,properties:r},n){const a=Object.entries(r).concat([["type",e]]).map(([l,k])=>n.listItem.join(`${l}: ${k}`));return n.entry.join(`[${t}]${n.list.join(a.join(""))}`)}function Ft(e,t){const r=e.map(n=>zt(n,t)).join(`
`);return t.bibliographyContainer.join(r)}const ye=function(e,t){return function(r,n={}){const{type:a,format:l=a||"text"}=n;if(r=e(r),l==="object")return r;if(P.plugins.dict.has(l))return t(r,P.plugins.dict.get(l),n);throw new RangeError(`Output dictionary "${l}" not available`)}};var Kt={bibtex:ye(We,Je),biblatex:ye($t,Je),bibtxt:ye(We,Ft)};P.plugins.add(jt,{input:Pt,output:Kt,config:p})},"./node_modules/moo/moo.js":function(ce,L){var S,$,P;(function(R,_){$=[],S=_,P=typeof S=="function"?S.apply(L,$):S,P!==void 0&&(ce.exports=P)})(this,function(){"use strict";var R=Object.prototype.hasOwnProperty,_=Object.prototype.toString,D=typeof new RegExp().sticky=="boolean";function j(i){return i&&_.call(i)==="[object RegExp]"}function X(i){return i&&typeof i=="object"&&!j(i)&&!Array.isArray(i)}function le(i){return i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function B(i){var o=new RegExp("|"+i);return o.exec("").length-1}function ne(i){return"("+i+")"}function W(i){if(!i.length)return"(?!)";var o=i.map(function(u){return"(?:"+u+")"}).join("|");return"(?:"+o+")"}function H(i){if(typeof i=="string")return"(?:"+le(i)+")";if(j(i)){if(i.ignoreCase)throw new Error("RegExp /i flag not allowed");if(i.global)throw new Error("RegExp /g flag is implied");if(i.sticky)throw new Error("RegExp /y flag is implied");if(i.multiline)throw new Error("RegExp /m flag is implied");return i.source}else throw new Error("Not a pattern: "+i)}function U(i,o){return i.length>o?i:Array(o-i.length+1).join(" ")+i}function J(i,o){for(var u=i.length,f=0;;){var b=i.lastIndexOf(`
`,u-1);if(b===-1||(f++,u=b,f===o)||u===0)break}var m=f<o?0:u+1;return i.substring(m).split(`
`)}function ue(i){for(var o=Object.getOwnPropertyNames(i),u=[],f=0;f<o.length;f++){var b=o[f],m=i[b],y=[].concat(m);if(b==="include"){for(var T=0;T<y.length;T++)u.push({include:y[T]});continue}var w=[];y.forEach(function(g){X(g)?(w.length&&u.push(q(b,w)),u.push(q(b,g)),w=[]):w.push(g)}),w.length&&u.push(q(b,w))}return u}function Q(i){for(var o=[],u=0;u<i.length;u++){var f=i[u];if(f.include){for(var b=[].concat(f.include),m=0;m<b.length;m++)o.push({include:b[m]});continue}if(!f.type)throw new Error("Rule has no type: "+JSON.stringify(f));o.push(q(f.type,f))}return o}function q(i,o){if(X(o)||(o={match:o}),o.include)throw new Error("Matching rules cannot also include states");var u={defaultType:i,lineBreaks:!!o.error||!!o.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var f in o)R.call(o,f)&&(u[f]=o[f]);if(typeof u.type=="string"&&i!==u.type)throw new Error("Type transform cannot be a string (type '"+u.type+"' for token '"+i+"')");var b=u.match;return u.match=Array.isArray(b)?b:b?[b]:[],u.match.sort(function(m,y){return j(m)&&j(y)?0:j(y)?-1:j(m)?1:y.length-m.length}),u}function G(i){return Array.isArray(i)?Q(i):ue(i)}var ie=q("error",{lineBreaks:!0,shouldThrow:!0});function ae(i,o){for(var u=null,f=Object.create(null),b=!0,m=null,y=[],T=[],w=0;w<i.length;w++)i[w].fallback&&(b=!1);for(var w=0;w<i.length;w++){var g=i[w];if(g.include)throw new Error("Inheritance is not allowed in stateless lexers");if(g.error||g.fallback){if(u)throw!g.fallback==!u.fallback?new Error("Multiple "+(g.fallback?"fallback":"error")+" rules not allowed (for token '"+g.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+g.defaultType+"')");u=g}var C=g.match.slice();if(b)for(;C.length&&typeof C[0]=="string"&&C[0].length===1;){var V=C.shift();f[V.charCodeAt(0)]=g}if(g.pop||g.push||g.next){if(!o)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+g.defaultType+"')");if(g.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+g.defaultType+"')")}if(C.length!==0){b=!1,y.push(g);for(var z=0;z<C.length;z++){var Y=C[z];if(j(Y)){if(m===null)m=Y.unicode;else if(m!==Y.unicode&&g.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Z=W(C.map(H)),I=new RegExp(Z);if(I.test(""))throw new Error("RegExp matches empty string: "+I);var oe=B(Z);if(oe>0)throw new Error("RegExp has capture groups: "+I+`
Use (?: \u2026 ) instead`);if(!g.lineBreaks&&I.test(`
`))throw new Error("Rule should declare lineBreaks: "+I);T.push(ne(Z))}}var E=u&&u.fallback,F=D&&!E?"ym":"gm",K=D||E?"":"|";m===!0&&(F+="u");var he=new RegExp(W(T)+K,F);return{regexp:he,groups:y,fast:f,error:u||ie}}function s(i){var o=ae(G(i));return new p({start:o},"start")}function h(i,o,u){var f=i&&(i.push||i.next);if(f&&!u[f])throw new Error("Missing state '"+f+"' (in token '"+i.defaultType+"' of state '"+o+"')");if(i&&i.pop&&+i.pop!=1)throw new Error("pop must be 1 (in token '"+i.defaultType+"' of state '"+o+"')")}function c(i,o){var u=i.$all?G(i.$all):[];delete i.$all;var f=Object.getOwnPropertyNames(i);o||(o=f[0]);for(var b=Object.create(null),m=0;m<f.length;m++){var y=f[m];b[y]=G(i[y]).concat(u)}for(var m=0;m<f.length;m++)for(var y=f[m],T=b[y],w=Object.create(null),g=0;g<T.length;g++){var C=T[g];if(C.include){var V=[g,1];if(C.include!==y&&!w[C.include]){w[C.include]=!0;var z=b[C.include];if(!z)throw new Error("Cannot include nonexistent state '"+C.include+"' (in state '"+y+"')");for(var Y=0;Y<z.length;Y++){var Z=z[Y];T.indexOf(Z)===-1&&V.push(Z)}}T.splice.apply(T,V),g--}}for(var I=Object.create(null),m=0;m<f.length;m++){var y=f[m];I[y]=ae(b[y],!0)}for(var m=0;m<f.length;m++){for(var oe=f[m],E=I[oe],F=E.groups,g=0;g<F.length;g++)h(F[g],oe,I);for(var K=Object.getOwnPropertyNames(E.fast),g=0;g<K.length;g++)h(E.fast[K[g]],oe,I)}return new p(I,o)}function v(i){for(var o=typeof Map<"u",u=o?new Map:Object.create(null),f=Object.getOwnPropertyNames(i),b=0;b<f.length;b++){var m=f[b],y=i[m],T=Array.isArray(y)?y:[y];T.forEach(function(w){if(typeof w!="string")throw new Error("keyword must be string (in keyword '"+m+"')");o?u.set(w,m):u[w]=m})}return function(w){return o?u.get(w):u[w]}}var p=function(i,o){this.startState=o,this.states=i,this.buffer="",this.stack=[],this.reset()};p.prototype.reset=function(i,o){return this.buffer=i||"",this.index=0,this.line=o?o.line:1,this.col=o?o.col:1,this.queuedToken=o?o.queuedToken:null,this.queuedText=o?o.queuedText:"",this.queuedThrow=o?o.queuedThrow:null,this.setState(o?o.state:this.startState),this.stack=o&&o.stack?o.stack.slice():[],this},p.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},p.prototype.setState=function(i){if(!(!i||this.state===i)){this.state=i;var o=this.states[i];this.groups=o.groups,this.error=o.error,this.re=o.regexp,this.fast=o.fast}},p.prototype.popState=function(){this.setState(this.stack.pop())},p.prototype.pushState=function(i){this.stack.push(this.state),this.setState(i)};var O=D?function(i,o){return i.exec(o)}:function(i,o){var u=i.exec(o);return u[0].length===0?null:u};p.prototype._getGroup=function(i){for(var o=this.groups.length,u=0;u<o;u++)if(i[u+1]!==void 0)return this.groups[u];throw new Error("Cannot find token type for matched text")};function x(){return this.value}if(p.prototype.next=function(){var i=this.index;if(this.queuedGroup){var o=this._token(this.queuedGroup,this.queuedText,i);return this.queuedGroup=null,this.queuedText="",o}var u=this.buffer;if(i!==u.length){var y=this.fast[u.charCodeAt(i)];if(y)return this._token(y,u.charAt(i),i);var f=this.re;f.lastIndex=i;var b=O(f,u),m=this.error;if(b==null)return this._token(m,u.slice(i,u.length),i);var y=this._getGroup(b),T=b[0];return m.fallback&&b.index!==i?(this.queuedGroup=y,this.queuedText=T,this._token(m,u.slice(i,b.index),i)):this._token(y,T,i)}},p.prototype._token=function(i,o,u){var f=0;if(i.lineBreaks){var b=/\n/g,m=1;if(o===`
`)f=1;else for(;b.exec(o);)f++,m=b.lastIndex}var y={type:typeof i.type=="function"&&i.type(o)||i.defaultType,value:typeof i.value=="function"?i.value(o):o,text:o,toString:x,offset:u,lineBreaks:f,line:this.line,col:this.col},T=o.length;if(this.index+=T,this.line+=f,f!==0?this.col=T-m+1:this.col+=T,i.shouldThrow){var w=new Error(this.formatError(y,"invalid syntax"));throw w}return i.pop?this.popState():i.push?this.pushState(i.push):i.next&&this.setState(i.next),y},typeof Symbol<"u"&&Symbol.iterator){var A=function(i){this.lexer=i};A.prototype.next=function(){var i=this.lexer.next();return{value:i,done:!i}},A.prototype[Symbol.iterator]=function(){return this},p.prototype[Symbol.iterator]=function(){return new A(this)}}return p.prototype.formatError=function(i,o){if(i==null)var u=this.buffer.slice(this.index),i={text:u,offset:this.index,lineBreaks:u.indexOf(`
`)===-1?0:1,line:this.line,col:this.col};var f=2,b=Math.max(i.line-f,1),m=i.line+f,y=String(m).length,T=J(this.buffer,this.line-i.line+f+1).slice(0,5),w=[];w.push(o+" at line "+i.line+" col "+i.col+":"),w.push("");for(var g=0;g<T.length;g++){var C=T[g],V=b+g;w.push(U(String(V),y)+" "+C),V===i.line&&w.push(U("",y+i.col+1)+"^")}return w.join(`
`)},p.prototype.clone=function(){return new p(this.states,this.state)},p.prototype.has=function(i){return!0},{compile:s,states:c,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:v}})}}]);