1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5252],{2368:(e,t,n)=>{"use strict";let r;n.d(t,{Ge:()=>u7});var i,s,a,o,l,c,u,h,f,p,d,m,E,g,_,T,A,y,b,C,k,S,N,I,D,O,v,x={};n.r(x),n.d(x,{DocumentPosition:()=>p,append:()=>e9,appendChild:()=>e4,compareDocumentPosition:()=>tE,existsOne:()=>function e(t,n){return n.some(n=>eu(n)&&(t(n)||e(t,n.children)))},filter:()=>tt,find:()=>tn,findAll:()=>ts,findOne:()=>ti,findOneChild:()=>tr,getAttributeValue:()=>e0,getChildren:()=>eW,getElementById:()=>tf,getElements:()=>th,getElementsByTagName:()=>tp,getElementsByTagType:()=>td,getFeed:()=>t_,getInnerHTML:()=>eV,getName:()=>e2,getOuterHTML:()=>eK,getParent:()=>eZ,getSiblings:()=>eJ,getText:()=>function e(t){return Array.isArray(t)?t.map(e).join(""):eu(t)?"br"===t.name?"\n":e(t.children):eh(t)?e(t.children):ef(t)?t.data:""},hasAttrib:()=>e1,hasChildren:()=>eE,innerText:()=>eQ,isCDATA:()=>eh,isComment:()=>ep,isDocument:()=>em,isTag:()=>eu,isText:()=>ef,nextElementSibling:()=>e3,prepend:()=>te,prependChild:()=>e7,prevElementSibling:()=>e5,removeElement:()=>e8,removeSubsets:()=>tm,replaceElement:()=>e6,testElement:()=>tu,textContent:()=>eX,uniqueSort:()=>tg});var L={};n.r(L),n.d(L,{contains:()=>tL,html:()=>tI,merge:()=>tR,parseHTML:()=>tv,root:()=>tx,text:()=>tO,xml:()=>tD});var R={};n.r(R),n.d(R,{addClass:()=>t8,attr:()=>tK,data:()=>tJ,hasClass:()=>t5,prop:()=>tQ,removeAttr:()=>t3,removeClass:()=>t6,toggleClass:()=>t4,val:()=>t0});var w={};n.r(w),n.d(w,{add:()=>rM,addBack:()=>rP,children:()=>rg,closest:()=>rc,contents:()=>r_,each:()=>rT,end:()=>rw,eq:()=>rO,filter:()=>rb,filterArray:()=>rC,find:()=>re,first:()=>rI,get:()=>rv,has:()=>rN,index:()=>rL,is:()=>rk,last:()=>rD,map:()=>rA,next:()=>ru,nextAll:()=>rh,nextUntil:()=>rf,not:()=>rS,parent:()=>ra,parents:()=>ro,parentsUntil:()=>rl,prev:()=>rp,prevAll:()=>rd,prevUntil:()=>rm,siblings:()=>rE,slice:()=>rR,toArray:()=>rx});var M={};n.r(M),n.d(M,{_makeDomArray:()=>rU,after:()=>rW,append:()=>rY,appendTo:()=>r$,before:()=>rJ,clone:()=>r4,empty:()=>r3,html:()=>r5,insertAfter:()=>rZ,insertBefore:()=>r0,prepend:()=>rz,prependTo:()=>rq,remove:()=>r1,replaceWith:()=>r2,text:()=>r6,toString:()=>r8,unwrap:()=>rX,wrap:()=>rK,wrapAll:()=>rQ,wrapInner:()=>rV});var P={};n.r(P),n.d(P,{css:()=>r9});var F={};n.r(F),n.d(F,{serialize:()=>
1ii,serializeArray:()=>is});var B={};n.r(B),n.d(B,{decode:()=>ap,encode:()=>aE,format:()=>ag,parse:()=>aD});var U={};n.r(U),n.d(U,{Any:()=>ax,Cc:()=>aL,Cf:()=>aR,P:()=>aO,S:()=>av,Z:()=>aw});var H={};n.r(H),n.d(H,{arrayReplaceAt:()=>aU,assign:()=>aB,escapeHtml:()=>aW,escapeRE:()=>aJ,fromCodePoint:()=>aG,has:()=>aF,isMdAsciiPunct:()=>a3,isPunctChar:()=>a2,isSpace:()=>a0,isString:()=>aM,isValidEntityCode:()=>aH,isWhiteSpace:()=>a1,lib:()=>a8,normalizeReference:()=>a5,unescapeAll:()=>aj,unescapeMd:()=>az});var G={};n.r(G),n.d(G,{parseLinkDestination:()=>a4,parseLinkLabel:()=>a6,parseLinkTitle:()=>a9});var $=n(51040);let q={xml:!1,decodeEntities:!0},Y={_useHtmlParser2:!0,xmlMode:!0};function z(e){return(null==e?void 0:e.xml)?"boolean"==typeof e.xml?Y:{...Y,...e.xml}:null!=e?e:void 0}!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(s||(s={}));let j=s.Root,K=s.Text,V=s.Directive,X=s.Comment,Q=s.Script,W=s.Style,Z=s.Tag,J=s.CDATA,ee=s.Doctype;class et{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return eg(this,e)}}class en extends et{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class er extends en{constructor(){super(...arguments),this.type=s.Text}get nodeType(){return 3}}class ei extends en{constructor(){super(...arguments),this.type=s.Comment}get nodeType(){return 8}}class es extends en{constructor(e,t){super(t),this.name=e,this.type=s.Directive}get nodeType(){return 1}}class ea extends et{constructor(e){super(),this.children=e}get firstChild(){var e;return null!=(e=this.children[0])?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class eo extends ea{constructor(){super(...arguments),this.type=s.CDATA}get nodeType(){return 4}}class el extends ea{constructor(){super(...arguments),this.type=s.Root}get nodeType(){return 9}}class ec extends ea{constructor(e,t,n=[],r="script"===e?s.Script:"style"===e?s.Style:s.Tag){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,n;return{name:e,value:this.attribs[e],namespace:null==(t=this["x-attribsNamespace"])?void 0:t[e],prefix:null==(n=this["x-attribsPrefix"])?void 0:n[e]}})}}function eu(e){return e.type===s.Tag||e.type===s.Script||e.type===s.Style}function eh(e){return e.type===s.CDATA}function ef(e){return e.type===s.Text}function ep(e){return e.type===s.Comment}function ed(e){return e.type===s.Directive}function em(e){return e.type===s.Root}function eE(e){return Object.prototype.hasOwnProperty.call(e,"children")}function eg(e,t=!1){let n;if(ef(e))n=new er(e.data);else if(ep(e))n=new ei(e.data);else if(eu(e)){let r=t?e_(e.children):[],i=new ec(e.name,{...e.attribs},r);r.forEach(e=>e.parent=i),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=i}else if(eh(e)){let r=t?e_(e.children):[],i=new eo(r);r.forEach(e=>e.parent=i),n=i}else if(em(e)){let r=t?e_(e.children):[],i=new el(r);r.forEach(e=>e.parent=i),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else if(ed(e)){let t=new es(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function e_(e){let t=e.map(e=>eg(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}let eT={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class eA{constructor(e,t,n){this.dom=[],this.root=new el(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=eT),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:eT,this.elementCB=null!=n?n:null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new el(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let n=new ec(e,t,void 0,this.options.xmlMode?s.Tag:void 0);this.addNode(n),this.tagStack.push(n)}ontext(e){let{lastNode:t}=this;if(t&&t.type===s.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{let t=new er(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===s.Comment){this.lastNode.data+=e;return}let t=new ei(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new er(""),t=new eo([e]);this.addNode(t),e.parent=t,this.lastNode=e}
1oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new es(e,t);this.addNode(n)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}}let ey=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\ud835\udd04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\ud835\udd38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\ud835\udc9cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\ud835\udd05pf;ì\ud835\udd39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\ud835\udc9epÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\ud835\udd07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\ud835\udd3bÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\0\0Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\ud835\udc9frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\ud835\udd08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\ud835\udd3csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\ud835\udd09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\ud835\udd3dAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\ud835\udd0a;æpf;ì\ud835\udd3eeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\ud835\udca2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\ud835\udd40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\ud835\udd0dpf;ì\ud835\udd41Ç£ß\0ßr;ì\ud835\udca5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\ud835\udd0epf;ì\ud835\udd42cr;ì\ud835\udca6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\ud835\udd0fÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\ud835\udd43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\ud835\udd10nusPlus;æpf;ì\ud835\udd44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\ud835\udd11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\ud835\udca9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\ud835\udd12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\ud835\udd46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\ud835\udcaaashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
1æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\ud835\udd13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\ud835\udcab;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\ud835\udd14pf;æcr;ì\ud835\udcacØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\ud835\udd16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\ud835\udd4aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\ud835\udcaear;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\ud835\udd17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\ud835\udd4bipleDot;æÄctáár;ì\ud835\udcafrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\ud835\udd18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\ud835\udd4cÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\ud835\udcb0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\ud835\udd19pf;ì\ud835\udd4dcr;ì\ud835\udcb1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\ud835\udd1apf;ì\ud835\udd4ecr;ì\ud835\udcb2Èfiosáááár;ì\ud835\udd1b;äpf;ì\ud835\udd4fcr;ì\ud835\udcb3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\ud835\udd1cpf;ì\ud835\udd50cr;ì\ud835\udcb4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\ud835\udcb5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\ud835\udd1eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\ud835\udd52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\ud835\udcb6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\ud835\udd1fgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\ud835\udd53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\ud835\udcb7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;
1ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\ud835\udd20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\0á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\ud835\udd54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\ud835\udcb8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\ud835\udd21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\ud835\udd55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\ud835\udcb9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\ud835\udd22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\ud835\udd56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\0\0á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\ud835\udd23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\ud835\udd57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»\xbeä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\ud835\udcbbà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\ud835\udd24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\ud835\udd58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\ud835\udd25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\ud835\udd59bar;æÆcltâ¯â´â¸r;ì\ud835\udcbdas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»\xedäÆ;
1iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\ud835\udd26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\ud835\udd5aa;ä¹uestè»\xbfä¿Äciââr;ì\ud835\udcbenÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\ud835\udd27ath;ä·pf;ì\ud835\udd5bÇ£â¬\0â±r;ì\ud835\udcbfrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\ud835\udd28reen;ä¸cy;ä
cy;äpf;ì\ud835\udd5ccr;ì\ud835\udcc0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
1ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\ud835\udd29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\ud835\udd5dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\ud835\udcc1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\ud835\udd2ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\ud835\udd5eÄct⣸⣽r;ì\ud835\udcc2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\ud835\udd2bÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\ud835\udd5fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\ud835\udcc3ortÉâ¬
\0\0â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\ud835\udd2cͯ⵹\0\0âµ¼\0â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\ud835\udd60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
1astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\ud835\udd2dÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\ud835\udd61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\ud835\udcc5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\ud835\udd2epf;ì\ud835\udd62rime;æcr;ì\ud835\udcc6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\ud835\udd2fÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\ud835\udd63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\ud835\udcc7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\ud835\udd30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\ud835\udd64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\ud835\udcc8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\ud835\udd31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
1aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\ud835\udd65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\ud835\udcc9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\ud835\udd32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\ud835\udd66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\ud835\udccaÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\ud835\udd33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\ud835\udd67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\ud835\udccbÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\ud835\udd34pf;ì\ud835\udd68Ä;eá¹ã©¦at\xe8á¹cr;ì\ud835\udcccà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátr\xe9ár;ì\ud835\udd35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\ud835\udd69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\ud835\udccdÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\ud835\udd36cy;äpf;ì\ud835\udd6acr;ì\ud835\udcceÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\ud835\udd37cy;ä¶grarr;æpf;ì\ud835\udd6bcr;ì\ud835\udccfÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),eb=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0))),eC=new Map([[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]]),ek=null!=(a=String.fromCodePoint)?a:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function eS(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=eC.get(e))?t:e}function eN(e){return e>=o.ZERO&&e<=o.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(o||(o={})),!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(l||(l={})),!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(c||(c={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(u||(u={}));class eI{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=c.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=u.Strict}startEntity(e){this.decodeMode=e,this.state=c.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case c.EntityStart:if(e.charCodeAt(t)===o.NUM)return this.state=c.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=c.NamedEntity,this.stateNamedEntity(e,t);case c.NumericStart:return this.stateNumericStart(e,t);case c.NumericDecimal:return this.stateNumericDecimal(e,t);case c.NumericHex:return this.stateNumericHex(e,t);case c.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===o.LOWER_X?(this.state=c.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=c.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;
1this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let i=e.charCodeAt(t);if(!eN(i)&&(!((r=i)>=o.UPPER_A)||!(r<=o.UPPER_F))&&(!(r>=o.LOWER_A)||!(r<=o.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!eN(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===o.SEMI)this.consumed+=1;else if(this.decodeMode===u.Strict)return 0;return this.emitCodePoint(eS(this.result),this.consumed),this.errors&&(e!==o.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&l.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let s=e.charCodeAt(t);if(this.treeIndex=eO(n,r,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return 0===this.result||this.decodeMode===u.Attribute&&(0===i||function(e){var t;return e===o.EQUALS||(t=e)>=o.UPPER_A&&t<=o.UPPER_Z||t>=o.LOWER_A&&t<=o.LOWER_Z||eN(t)}(s))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&l.VALUE_LENGTH)>>14)){if(s===o.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==u.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&l.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~l.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case c.NamedEntity:return 0!==this.result&&(this.decodeMode!==u.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case c.NumericDecimal:return this.emitNumericEntity(0,2);case c.NumericHex:return this.emitNumericEntity(0,3);case c.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case c.EntityStart:return 0}}}function eD(e){let t="",n=new eI(e,e=>t+=ek(e));return function(e,r){let i=0,s=0;for(;(s=e.indexOf("&",s))>=0;){t+=e.slice(i,s),n.startEntity(r);let a=n.write(e,s+1);if(a<0){i=s+n.end();break}i=s+a,s=0===a?i+1:i}let a=t+e.slice(i);return t="",a}}function eO(e,t,n,r){let i=(t&l.BRANCH_LENGTH)>>7,s=t&l.JUMP_TABLE;if(0===i)return 0!==s&&r===s?n:-1;if(s){let t=r-s;return t<0||t>=i?-1:e[n+t]-1}let a=n,o=a+i-1;for(;a<=o;){let t=a+o>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];o=t-1}}return -1}let ev=eD(ey);function ex(e,t=u.Legacy){return ev(e,t)}eD(eb);let eL=/["&'<>$\x80-\uFFFF]/g,eR=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),ew=null!=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function eM(e){let t,n="",r=0;for(;null!==(t=eL.exec(e));){let i=t.index,s=e.charCodeAt(i),a=eR.get(s);void 0!==a?(n+=e.substring(r,i)+a,r=i+1):(n+=`${e.substring(r,i)}&#x${ew(e,i).toString(16)};`,r=eL.lastIndex+=Number((64512&s)==55296))}return n+e.substr(r)}function eP(e,t){return function(n){let r,i=0,s="";for(;r=e.exec(n);)i!==r.index&&(s+=n.substring(i,r.index)),s+=t.get(r[0].charCodeAt(0)),i=r.index+1;return s+n.substring(i)}}eP(/[&<>'"]/g,eR);let eF=eP(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),eB=eP(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(h||(h={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(f||(f={}));let eU=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eH=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eG=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function e$(e){return e.replace(/"/g,""")}let eq=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
1img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function eY(e,t={}){let n="length"in e?e:[e],r="";for(let e=0;e<n.length;e++)r+=function(e,t){var n,r,i;switch(e.type){case j:return eY(e.children,t);case ee:case V:return n=e,`<${n.data}>`;case X:return r=e,`<!--${r.data}-->`;case J:return i=e,`<![CDATA[${i.children[0].data}]]>`;case Q:case W:case Z:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!=(n=eU.get(e.name))?n:e.name,e.parent&&ez.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&ej.has(e.name)&&(t={...t,xmlMode:"foreign"});let r=`<${e.name}`,i=function(e,t){var n;if(!e)return;let r=(null!=(n=t.encodeEntities)?n:t.decodeEntities)===!1?e$:t.xmlMode||"utf8"!==t.encodeEntities?eM:eF;return Object.keys(e).map(n=>{var i,s;let a=null!=(i=e[n])?i:"";return("foreign"===t.xmlMode&&(n=null!=(s=eH.get(n))?s:n),t.emptyAttrs||t.xmlMode||""!==a)?`${n}="${r(a)}"`:n}).join(" ")}(e.attribs,t);return i&&(r+=` ${i}`),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&eq.has(e.name))?(t.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=eY(e.children,t)),(t.xmlMode||!eq.has(e.name))&&(r+=`</${e.name}>`)),r}(e,t);case K:return function(e,t){var n;let r=e.data||"";return(null!=(n=t.encodeEntities)?n:t.decodeEntities)===!1||!t.xmlMode&&e.parent&&eG.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?eM(r):eB(r)),r}(e,t)}}(n[e],t);return r}let ez=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),ej=new Set(["svg","math"]);function eK(e,t){return eY(e,t)}function eV(e,t){return eE(e)?e.children.map(e=>eY(e,t)).join(""):""}function eX(e){return Array.isArray(e)?e.map(eX).join(""):eE(e)&&!ep(e)?eX(e.children):ef(e)?e.data:""}function eQ(e){return Array.isArray(e)?e.map(eQ).join(""):eE(e)&&(e.type===s.Tag||eh(e))?eQ(e.children):ef(e)?e.data:""}function eW(e){return eE(e)?e.children:[]}function eZ(e){return e.parent||null}function eJ(e){let t=eZ(e);if(null!=t)return eW(t);let n=[e],{prev:r,next:i}=e;for(;null!=r;)n.unshift(r),{prev:r}=r;for(;null!=i;)n.push(i),{next:i}=i;return n}function e0(e,t){var n;return null==(n=e.attribs)?void 0:n[t]}function e1(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]}function e2(e){return e.name}function e3(e){let{next:t}=e;for(;null!==t&&!eu(t);)({next:t}=t);return t}function e5(e){let{prev:t}=e;for(;null!==t&&!eu(t);)({prev:t}=t);return t}function e8(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function e6(e,t){let n=t.prev=e.prev;n&&(n.next=t);let r=t.next=e.next;r&&(r.prev=t);let i=t.parent=e.parent;if(i){let n=i.children;n[n.lastIndexOf(e)]=t,e.parent=null}}function e4(e,t){if(e8(t),t.next=null,t.parent=e,e.children.push(t)>1){let n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function e9(e,t){e8(t);let{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){let e=n.children;e.splice(e.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function e7(e,t){if(e8(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){let n=e.children[1];n.prev=t,t.next=n}else t.next=null}function te(e,t){e8(t);let{parent:n}=e;if(n){let r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function tt(e,t,n=!0,r=1/0){return tn(e,Array.isArray(t)?t:[t],n,r)}function tn(e,t,n,r){let i=[],s=[t],a=[0];for(;;){if(a[0]>=s[0].length){if(1===a.length)return i;s.shift(),a.shift();continue}let t=s[0][a[0]++];if(e(t)&&(i.push(t),--r<=0))return i;n&&eE(t)&&t.children.length>0&&(a.unshift(0),s.unshift(t.children))}}function tr(e,t){return t.find(e)}function ti(e,t,n=!0){let r=null;for(let i=0;i<t.length&&!r;i++){let s=t[i];eu(s)&&(e(s)?r=s:n&&s.children.length>0&&(r=ti(e,s.children,!0)))}return r}function ts(e,t){let n=[],r=[t],i=[0];for(;;){if(i[0]>=r[0].length){if(1===r.length)return n;r.shift(),i.shift();continue}let t=r[0][i[0]++];eu(t)&&(e(t)&&n.push(t),t.children.length>0&&(i.unshift(0),r.unshift(t.children)))}}let ta={tag_name:e=>"function"==typeof e?t=>eu(t)&&e(t.name):"*"===e?eu:t=>eu(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>ef(t)&&e(t.data):t=>ef(t)&&t.data===e};function to(e,t){return"function"==typeof t?n=>eu(n)&&t(n.attribs[e]):n=>eu(n)&&n.attribs[e]===t}function tl(e,t){return n=>e(n)||t(n)}function tc(e){let t=Object.keys(e).map(t=>{let n=e[t];return Object.prototype.hasOwnProperty.call(ta,t)?ta[t](n):to(t,n)});return 0===t.length?null:t.reduce(tl)}function tu(e,t){let n=tc(e);return!n||n(t)}function th(e,t,n,r=1/0){let i=tc(e);return i?tt(i,t,n,r):[]}function tf(e,t,n=!0){return Array.isArray(t)||(t=[t]),ti(to("id",e),t,n)}function tp(e,t,n=!0,r=1/0){return tt(ta.tag_name(e),t,n,r)}function td(e,t,n=!0,r=1/0){return tt(ta.tag_type(e),t,n,r)}function tm(e){let t=e.length;for(;--t>=0;){let n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}function tE(e,t){let n=[],r=[];if(e===t)return 0;let i=eE(e)?e:e.parent;for(;i;)n.unshift(i),i=i.parent;for(i=eE(t)?t:t.parent;i;)r.unshift(i),i=i.parent;let s=Math.min(n.length,r.length),a=0;for(;a<s&&n[a]===r[a];)a++;if(0===a)return p.DISCONNECTED;let o=n[a-1],l=o.children,c=n[a],u=r[a];return l.indexOf(c)>l.indexOf(u)?o===t?p.FOLLOWING|p.CONTAINED_BY:p.FOLLOWING:o===e?p.PRECEDING|p.CONTAINS:p.PRECEDING}
1function tg(e){return(e=e.filter((e,t,n)=>!n.includes(e,t+1))).sort((e,t)=>{let n=tE(e,t);return n&p.PRECEDING?-1:n&p.FOLLOWING?1:0}),e}function t_(e){let t=tb(tS,e);return t?"feed"===t.name?function(e){var t;let n=e.children,r={type:"atom",items:tp("entry",n).map(e=>{var t;let{children:n}=e,r={media:ty(n)};tk(r,"id","id",n),tk(r,"title","title",n);let i=null==(t=tb("link",n))?void 0:t.attribs.href;i&&(r.link=i);let s=tC("summary",n)||tC("content",n);s&&(r.description=s);let a=tC("updated",n);return a&&(r.pubDate=new Date(a)),r})};tk(r,"id","id",n),tk(r,"title","title",n);let i=null==(t=tb("link",n))?void 0:t.attribs.href;i&&(r.link=i),tk(r,"description","subtitle",n);let s=tC("updated",n);return s&&(r.updated=new Date(s)),tk(r,"author","email",n,!0),r}(t):function(e){var t,n;let r=null!=(n=null==(t=tb("channel",e.children))?void 0:t.children)?n:[],i={type:e.name.substr(0,3),id:"",items:tp("item",e.children).map(e=>{let{children:t}=e,n={media:ty(t)};tk(n,"id","guid",t),tk(n,"title","title",t),tk(n,"link","link",t),tk(n,"description","description",t);let r=tC("pubDate",t)||tC("dc:date",t);return r&&(n.pubDate=new Date(r)),n})};tk(i,"title","title",r),tk(i,"link","link",r),tk(i,"description","description",r);let s=tC("lastBuildDate",r);return s&&(i.updated=new Date(s)),tk(i,"author","managingEditor",r,!0),i}(t):null}!function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(p||(p={}));let tT=["url","type","lang"],tA=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function ty(e){return tp("media:content",e).map(e=>{let{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(let e of tT)t[e]&&(n[e]=t[e]);for(let e of tA)t[e]&&(n[e]=parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}function tb(e,t){return tp(e,t,!0,1)[0]}function tC(e,t,n=!1){return eX(tp(e,t,n,1)).trim()}function tk(e,t,n,r,i=!1){let s=tC(n,r,i);s&&(e[t]=s)}function tS(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}function tN(e,t,n){return e?e(null!=t?t:e._root.children,null,void 0,n).toString():""}function tI(e,t){return tN(this,"object"!=typeof e||null==e||"length"in e||"type"in e?e:void(t=e),{...q,...this===null||void 0===this?void 0:this._options,...z(null!=t?t:{})})}function tD(e){return tN(this,e,{...this._options,xmlMode:!0})}function tO(e){let t=e||(this?this.root():[]),n="";for(let e=0;e<t.length;e++)n+=eX(t[e]);return n}function tv(e,t,n="boolean"==typeof t&&t){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t);let r=this.load(e,q,!1);return n||r("script").remove(),r.root()[0].children.slice()}function tx(){return this(this._root)}function tL(e,t){if(t===e)return!1;let n=t;for(;n&&n!==n.parent;)if((n=n.parent)===e)return!0;return!1}function tR(e,t){if(!tw(e)||!tw(t))return;let n=e.length,r=+t.length;for(let i=0;i<r;i++)e[n++]=t[i];return e.length=n,e}function tw(e){if(Array.isArray(e))return!0;if("object"!=typeof e||!Object.prototype.hasOwnProperty.call(e,"length")||"number"!=typeof e.length||e.length<0)return!1;for(let t=0;t<e.length;t++)if(!(t in e))return!1;return!0}function tM(e){return null!=e.cheerio}function tP(e,t){let n=e.length;for(let r=0;r<n;r++)t(e[r],r);return e}function tF(e){let t="length"in e?Array.prototype.map.call(e,e=>eg(e,!0)):[eg(e,!0)],n=new el(t);return t.forEach(e=>{e.parent=n}),t}function tB(e){let t=e.indexOf("<");if(t<0||t>e.length-3)return!1;let n=e.charCodeAt(t+1);return(n>=d.LowerA&&n<=d.LowerZ||n>=d.UpperA&&n<=d.UpperZ||n===d.Exclamation)&&e.includes(">",t+2)}!function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"}(d||(d={}));let tU=Object.prototype.hasOwnProperty,tH=/\s+/,tG="data-",t$={null:null,true:!0,false:!1},tq=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,tY=/^{[^]*}$|^\[[^]*]$/;function tz(e,t,n){if(e&&eu(e)){if(null!=e.attribs||(e.attribs={}),!t)return e.attribs;if(tU.call(e.attribs,t))return!n&&tq.test(t)?t:e.attribs[t];if("option"===e.name&&"value"===t)return tO(e.children);if("input"===e.name&&("radio"===e.attribs.type||"checkbox"===e.attribs.type)&&"value"===t)return"on"}}function tj(e,t,n){null===n?t1(e,t):e.attribs[t]=`${n}`}function tK(e,t){if("object"==typeof e||void 0!==t){if("function"==typeof t){if("string"!=typeof e)throw Error("Bad combination of arguments.");return tP(this,(n,r)=>{eu(n)&&tj(n,e,t.call(n,r,n.attribs[e]))})}return tP(this,n=>{eu(n)&&("object"==typeof e?Object.keys(e).forEach(t=>{let r=e[t];tj(n,t,r)}):tj(n,e,t))})}return arguments.length>1?this:tz(this[0],e,this.options.xmlMode)}
1function tV(e,t,n){return t in e?e[t]:!n&&tq.test(t)?void 0!==tz(e,t,!1):tz(e,t,n)}function tX(e,t,n,r){t in e?e[t]=n:tj(e,t,!r&&tq.test(t)?n?"":null:`${n}`)}function tQ(e,t){var n;if("string"==typeof e&&void 0===t){let t=this[0];if(!t||!eu(t))return;switch(e){case"style":{let e=this.css(),t=Object.keys(e);return t.forEach((t,n)=>{e[n]=t}),e.length=t.length,e}case"tagName":case"nodeName":return t.name.toUpperCase();case"href":case"src":{let r=null==(n=t.attribs)?void 0:n[e];if("undefined"!=typeof URL&&("href"===e&&("a"===t.tagName||"link"===t.name)||"src"===e&&("img"===t.tagName||"iframe"===t.tagName||"audio"===t.tagName||"video"===t.tagName||"source"===t.tagName))&&void 0!==r&&this.options.baseURI)return new URL(r,this.options.baseURI).href;return r}case"innerText":return eQ(t);case"textContent":return eX(t);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return tV(t,e,this.options.xmlMode)}}if("object"==typeof e||void 0!==t){if("function"==typeof t){if("object"==typeof e)throw Error("Bad combination of arguments.");return tP(this,(n,r)=>{eu(n)&&tX(n,e,t.call(n,r,tV(n,e,this.options.xmlMode)),this.options.xmlMode)})}return tP(this,n=>{eu(n)&&("object"==typeof e?Object.keys(e).forEach(t=>{let r=e[t];tX(n,t,r,this.options.xmlMode)}):tX(n,e,t,this.options.xmlMode))})}}function tW(e,t,n){null!=e.data||(e.data={}),"object"==typeof t?Object.assign(e.data,t):"string"==typeof t&&void 0!==n&&(e.data[t]=n)}function tZ(e,t){let n,r,i;null==t?r=(n=Object.keys(e.attribs).filter(e=>e.startsWith(tG))).map(e=>e.slice(tG.length).replace(/[_.-](\w|$)/g,(e,t)=>t.toUpperCase())):(n=[tG+t.replace(/[A-Z]/g,"-$&").toLowerCase()],r=[t]);for(let t=0;t<n.length;++t){let s=n[t],a=r[t];
1if(tU.call(e.attribs,s)&&!tU.call(e.data,a)){if(i=e.attribs[s],tU.call(t$,i))i=t$[i];else if(i===String(Number(i)))i=Number(i);else if(tY.test(i))try{i=JSON.parse(i)}catch(e){}e.data[a]=i}}return null==t?e.data:i}function tJ(e,t){let n=this[0];return n&&eu(n)?(null!=n.data||(n.data={}),e)?"object"==typeof e||void 0!==t?(tP(this,n=>{eu(n)&&("object"==typeof e?tW(n,e):tW(n,e,t))}),this):tU.call(n.data,e)?n.data[e]:tZ(n,e):tZ(n):void 0}function t0(e){let t=0==arguments.length,n=this[0];if(!n||!eu(n))return t?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":{let n=this.find("option:selected");if(!t){if(null==this.attr("multiple")&&"object"==typeof e)return this;this.find("option").removeAttr("selected");let t="object"!=typeof e?[e]:e;for(let e=0;e<t.length;e++)this.find(`option[value="${t[e]}"]`).attr("selected","");return this}return this.attr("multiple")?n.toArray().map(e=>tO(e.children)):n.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function t1(e,t){e.attribs&&tU.call(e.attribs,t)&&delete e.attribs[t]}function t2(e){return e?e.trim().split(tH):[]}function t3(e){let t=t2(e);for(let e=0;e<t.length;e++)tP(this,n=>{eu(n)&&t1(n,t[e])});return this}function t5(e){return this.toArray().some(t=>{let n=eu(t)&&t.attribs.class,r=-1;if(n&&e.length)for(;(r=n.indexOf(e,r+1))>-1;){let t=r+e.length;if((0===r||tH.test(n[r-1]))&&(t===n.length||tH.test(n[t])))return!0}return!1})}function t8(e){if("function"==typeof e)return tP(this,(t,n)=>{if(eu(t)){let r=t.attribs.class||"";t8.call([t],e.call(t,n,r))}});if(!e||"string"!=typeof e)return this;let t=e.split(tH),n=this.length;for(let e=0;e<n;e++){let n=this[e];if(!eu(n))continue;let r=tz(n,"class",!1);if(r){let e=` ${r} `;for(let n=0;n<t.length;n++){let r=`${t[n]} `;e.includes(` ${r}`)||(e+=r)}tj(n,"class",e.trim())}else tj(n,"class",t.join(" ").trim())}return this}function t6(e){if("function"==typeof e)return tP(this,(t,n)=>{eu(t)&&t6.call([t],e.call(t,n,t.attribs.class||""))});let t=t2(e),n=t.length,r=0==arguments.length;return tP(this,e=>{if(eu(e))if(r)e.attribs.class="";else{let r=t2(e.attribs.class),i=!1;for(let e=0;e<n;e++){let n=r.indexOf(t[e]);n>=0&&(r.splice(n,1),i=!0,e--)}i&&(e.attribs.class=r.join(" "))}})}function t4(e,t){if("function"==typeof e)return tP(this,(n,r)=>{eu(n)&&t4.call([n],e.call(n,r,n.attribs.class||"",t),t)});if(!e||"string"!=typeof e)return this;let n=e.split(tH),r=n.length,i="boolean"==typeof t?t?1:-1:0,s=this.length;for(let e=0;e<s;e++){let t=this[e];if(!eu(t))continue;let s=t2(t.attribs.class);for(let e=0;e<r;e++){let t=s.indexOf(n[e]);i>=0&&t<0?s.push(n[e]):i<=0&&t>=0&&s.splice(t,1)}t.attribs.class=s.join(" ")}return this}!function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(m||(m={})),function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(E||(E={}));let t9=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,t7=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,ne=new Map([[126,E.Element],[94,E.Start],[36,E.End],[42,E.Any],[33,E.Not],[124,E.Hyphen]]),nt=new Set(["has","not","matches","is","where","host","host-context"]);function nn(e){switch(e.type){case m.Adjacent:case m.Child:case m.Descendant:case m.Parent:case m.Sibling:case m.ColumnCombinator:return!0;default:return!1}}let nr=new Set(["contains","icontains"]);function ni(e,t,n){let r=parseInt(t,16)-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function ns(e){return e.replace(t7,ni)}function na(e){return 39===e||34===e}function no(e){return 32===e||9===e||10===e||12===e||13===e}function nl(e){let t=[],n=function e(t,n,r){let i=[];function s(e){let t=n.slice(r+e).match(t9);if(!t)throw Error(`Expected name, found ${n.slice(r)}`);let[i]=t;return r+=e+i.length,ns(i)}function a(e){for(r+=e;r<n.length&&no(n.charCodeAt(r));)r++}function o(){let e=r+=1,t=1;for(;t>0&&r<n.length;r++)40!==n.charCodeAt(r)||l(r)?41===n.charCodeAt(r)&&!l(r)&&t--:t++;if(t)throw Error("Parenthesis not matched");return ns(n.slice(e,r-1))}function l(e){let t=0;for(;92===n.charCodeAt(--e);)t++;return(1&t)==1}function c(){if(i.length>
10&&nn(i[i.length-1]))throw Error("Did not expect successive traversals.")}function u(e){if(i.length>0&&i[i.length-1].type===m.Descendant){i[i.length-1].type=e;return}c(),i.push({type:e})}function h(e,t){i.push({type:m.Attribute,name:e,action:t,value:s(1),namespace:null,ignoreCase:"quirks"})}function f(){if(i.length&&i[i.length-1].type===m.Descendant&&i.pop(),0===i.length)throw Error("Empty sub-selector");t.push(i)}if(a(0),n.length===r)return r;e:for(;r<n.length;){let t=n.charCodeAt(r);switch(t){case 32:case 9:case 10:case 12:case 13:(0===i.length||i[0].type!==m.Descendant)&&(c(),i.push({type:m.Descendant})),a(1);break;case 62:u(m.Child),a(1);break;case 60:u(m.Parent),a(1);break;case 126:u(m.Sibling),a(1);break;case 43:u(m.Adjacent),a(1);break;case 46:h("class",E.Element);break;case 35:h("id",E.Equals);break;case 91:{let e;a(1);let t=null;124===n.charCodeAt(r)?e=s(1):n.startsWith("*|",r)?(t="*",e=s(2)):(e=s(0),124===n.charCodeAt(r)&&61!==n.charCodeAt(r+1)&&(t=e,e=s(1))),a(0);let o=E.Exists,c=ne.get(n.charCodeAt(r));if(c){if(o=c,61!==n.charCodeAt(r+1))throw Error("Expected `=`");a(2)}else 61===n.charCodeAt(r)&&(o=E.Equals,a(1));let u="",h=null;if("exists"!==o){if(na(n.charCodeAt(r))){let e=n.charCodeAt(r),t=r+1;for(;t<n.length&&(n.charCodeAt(t)!==e||l(t));)t+=1;if(n.charCodeAt(t)!==e)throw Error("Attribute value didn't end");u=ns(n.slice(r+1,t)),r=t+1}else{let e=r;for(;r<n.length&&(!no(n.charCodeAt(r))&&93!==n.charCodeAt(r)||l(r));)r+=1;u=ns(n.slice(e,r))}a(0);let e=32|n.charCodeAt(r);115===e?(h=!1,a(1)):105===e&&(h=!0,a(1))}if(93!==n.charCodeAt(r))throw Error("Attribute selector didn't terminate");r+=1;let f={type:m.Attribute,name:e,action:o,value:u,namespace:t,ignoreCase:h};i.push(f);break}case 58:{if(58===n.charCodeAt(r+1)){i.push({type:m.PseudoElement,name:s(2).toLowerCase(),data:40===n.charCodeAt(r)?o():null});continue}let t=s(1).toLowerCase(),a=null;if(40===n.charCodeAt(r))if(nt.has(t)){if(na(n.charCodeAt(r+1)))throw Error(`Pseudo-selector ${t} cannot be quoted`);if(r=e(a=[],n,r+1),41!==n.charCodeAt(r))throw Error(`Missing closing parenthesis in :${t} (${n})`);r+=1}else{if(a=o(),nr.has(t)){let e=a.charCodeAt(0);e===a.charCodeAt(a.length-1)&&na(e)&&(a=a.slice(1,-1))}a=ns(a)}i.push({type:m.Pseudo,name:t,data:a});break}case 44:f(),i=[],a(1);break;default:{let e;if(n.startsWith("/*",r)){let e=n.indexOf("*/",r+2);if(e<0)throw Error("Comment was not terminated");r=e+2,0===i.length&&a(0);break}let o=null;if(42===t)r+=1,e="*";else if(124===t){if(e="",124===n.charCodeAt(r+1)){u(m.ColumnCombinator),a(2);break}}else if(t9.test(n.slice(r)))e=s(0);else break e;124===n.charCodeAt(r)&&124!==n.charCodeAt(r+1)&&(o=e,42===n.charCodeAt(r+1)?(e="*",r+=2):e=s(1)),i.push("*"===e?{type:m.Universal,namespace:o}:{type:m.Tag,name:e,namespace:o})}}}return f(),r}(t,`${e}`,0);if(n<e.length)throw Error(`Unmatched selector: ${e.slice(n)}`);return t}var nc=n(21900);let nu=new Map([[m.Universal,50],[m.Tag,30],[m.Attribute,1],[m.Pseudo,0]]);function nh(e){return!nu.has(e.type)}let nf=new Map([[E.Exists,10],[E.Equals,8],[E.Not,7],[E.Start,6],[E.End,6],[E.Any,5]]);function np(e){let t=e.map(nd);for(let n=1;n<e.length;n++){let r=t[n];if(!(r<0))for(let i=n-1;i>=0&&r<t[i];i--){let n=e[i+1];e[i+1]=e[i],e[i]=n,t[i+1]=t[i],t[i]=r}}}function nd(e){var t,n;let r=null!=(t=nu.get(e.type))?t:-1;return e.type===m.Attribute?(r=null!=(n=nf.get(e.action))?n:4,e.action===E.Equals&&"id"===e.name&&(r=9),e.ignoreCase&&(r>>=1)):e.type===m.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?r=0:Array.isArray(e.data)?(r=Math.min(...e.data.map(e=>Math.min(...e.map(nd)))))<0&&(r=0):r=2:r=3),r}let nm=/[-[\]{}()*+?.,\\^$|#\s]/g;function nE(e){return e.replace(nm,"\\$&")}let ng=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function n_(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&ng.has(e.name)}let nT={equals(e,t,n){let{adapter:r}=n,{name:i}=t,{value:s}=t;return n_(t,n)?(s=s.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return null!=n&&n.length===s.length&&n.toLowerCase()===s&&e(t)}):t=>r.getAttributeValue(t,i)===s&&e(t)},hyphen(e,t,n){let{adapter:r}=n,{name:i}=t,{value:s}=t,a=s.length;return n_(t,n)?(s=s.toLowerCase(),function(t){let n=r.getAttributeValue(t,i);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a).toLowerCase()===s&&e(t)}):function(t){let n=r.getAttributeValue(t,i);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a)===s&&e(t)}}
1,element(e,t,n){let{adapter:r}=n,{name:i,value:s}=t;if(/\s/.test(s))return nc.falseFunc;let a=RegExp(`(?:^|\\s)${nE(s)}(?:$|\\s)`,n_(t,n)?"i":"");return function(t){let n=r.getAttributeValue(t,i);return null!=n&&n.length>=s.length&&a.test(n)&&e(t)}},exists:(e,{name:t},{adapter:n})=>r=>n.hasAttrib(r,t)&&e(r),start(e,t,n){let{adapter:r}=n,{name:i}=t,{value:s}=t,a=s.length;return 0===a?nc.falseFunc:n_(t,n)?(s=s.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return null!=n&&n.length>=a&&n.substr(0,a).toLowerCase()===s&&e(t)}):t=>{var n;return!!(null==(n=r.getAttributeValue(t,i))?void 0:n.startsWith(s))&&e(t)}},end(e,t,n){let{adapter:r}=n,{name:i}=t,{value:s}=t,a=-s.length;return 0===a?nc.falseFunc:n_(t,n)?(s=s.toLowerCase(),t=>{var n;return(null==(n=r.getAttributeValue(t,i))?void 0:n.substr(a).toLowerCase())===s&&e(t)}):t=>{var n;return!!(null==(n=r.getAttributeValue(t,i))?void 0:n.endsWith(s))&&e(t)}},any(e,t,n){let{adapter:r}=n,{name:i,value:s}=t;if(""===s)return nc.falseFunc;if(n_(t,n)){let t=RegExp(nE(s),"i");return function(n){let a=r.getAttributeValue(n,i);return null!=a&&a.length>=s.length&&t.test(a)&&e(n)}}return t=>{var n;return!!(null==(n=r.getAttributeValue(t,i))?void 0:n.includes(s))&&e(t)}},not(e,t,n){let{adapter:r}=n,{name:i}=t,{value:s}=t;return""===s?t=>!!r.getAttributeValue(t,i)&&e(t):n_(t,n)?(s=s.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return(null==n||n.length!==s.length||n.toLowerCase()!==s)&&e(t)}):t=>r.getAttributeValue(t,i)!==s&&e(t)}},nA=new Set([9,10,12,13,32]);function ny(e){return function(e){let t=e[0],n=e[1]-1;if(n<0&&t<=0)return nc.falseFunc;if(-1===t)return e=>e<=n;if(0===t)return e=>e===n;if(1===t)return n<0?nc.trueFunc:e=>e>=n;let r=Math.abs(t),i=(n%r+r)%r;return t>1?e=>e>=n&&e%r===i:e=>e<=n&&e%r===i}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,n=0,r=s(),i=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=r*(null!=i?i:1),o(),t<e.length?(r=s(),o(),i=a()):r=i=0),null===i||t<e.length)throw Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*i];function s(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){let n=t,r=0;for(;t<e.length&&e.charCodeAt(t)>=48&&57>=e.charCodeAt(t);)r=10*r+(e.charCodeAt(t)-48),t++;return t===n?null:r}function o(){for(;t<e.length&&nA.has(e.charCodeAt(t));)t++}}(e))}function nb(e,t){return n=>{let r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}let nC={contains:(e,t,{adapter:n})=>function(r){return e(r)&&n.getText(r).includes(t)},icontains(e,t,{adapter:n}){let r=t.toLowerCase();return function(t){return e(t)&&n.getText(t).toLowerCase().includes(r)}},"nth-child"(e,t,{adapter:n,equals:r}){let i=ny(t);return i===nc.falseFunc?nc.falseFunc:i===nc.trueFunc?nb(e,n):function(t){let s=n.getSiblings(t),a=0;for(let e=0;e<s.length&&!r(t,s[e]);e++)n.isTag(s[e])&&a++;return i(a)&&e(t)}},"nth-last-child"(e,t,{adapter:n,equals:r}){let i=ny(t);return i===nc.falseFunc?nc.falseFunc:i===nc.trueFunc?nb(e,n):function(t){let s=n.getSiblings(t),a=0;for(let e=s.length-1;e>=0&&!r(t,s[e]);e--)n.isTag(s[e])&&a++;return i(a)&&e(t)}},"nth-of-type"(e,t,{adapter:n,equals:r}){let i=ny(t);return i===nc.falseFunc?nc.falseFunc:i===nc.trueFunc?nb(e,n):function(t){let s=n.getSiblings(t),a=0;for(let e=0;e<s.length;e++){let i=s[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&a++}return i(a)&&e(t)}},"nth-last-of-type"(e,t,{adapter:n,equals:r}){let i=ny(t);return i===nc.falseFunc?nc.falseFunc:i===nc.trueFunc?nb(e,n):function(t){let s=n.getSiblings(t),a=0;for(let e=s.length-1;e>=0;e--){let i=s[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&a++}return i(a)&&e(t)}},root:(e,t,{adapter:n})=>t=>{let r=n.getParent(t);return(null==r||!n.isTag(r))&&e(t)},scope(e,t,n,r){let{equals:i}=n;return r&&0!==r.length?1===r.length?t=>i(r[0],t)&&e(t):t=>r.includes(t)&&e(t):nC.root(e,t,n)},hover:nk("isHovered"),visited:nk("isVisited"),active:nk("isActive")};function nk(e){return function(t,n,{adapter:r}){let i=r[e];return"function"!=typeof i?nc.falseFunc:function(e){return i(e)&&t(e)}}}let nS={empty:(e,{adapter:t})=>!t.getChildren(e).some(e=>t.isTag(e)||""!==t.getText(e)),"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return null==t.prevElementSibling(e);let r=t.getSiblings(e).find(e=>t.isTag(e));return null!=r&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){let r=t.getSiblings(e);for(let i=r.length-1;i>=0;i--){if(n(e,r[i]))return!0;
1if(t.isTag(r[i]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let s=0;s<r.length;s++){let a=r[s];if(n(e,a))return!0;if(t.isTag(a)&&t.getName(a)===i)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let s=r.length-1;s>=0;s--){let a=r[s];if(n(e,a))return!0;if(t.isTag(a)&&t.getName(a)===i)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){let r=t.getName(e);return t.getSiblings(e).every(i=>n(e,i)||!t.isTag(i)||t.getName(i)!==r)},"only-child":(e,{adapter:t,equals:n})=>t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))};function nN(e,t,n,r){if(null===n){if(e.length>r)throw Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw Error(`Pseudo-class :${t} doesn't have any arguments`)}let nI={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( 2 :is(button, input, select, textarea, optgroup, option)[disabled], 3 optgroup[disabled] > option, 4 fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) 5 )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},nD={};function nO(e,t){return e===nc.falseFunc?nc.falseFunc:n=>t.isTag(n)&&e(n)}function nv(e,t){let n=t.getSiblings(e);if(n.length<=1)return[];let r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function nx(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}let nL=(e,t,n,r,i)=>{let s=i(t,nx(n),r);return s===nc.trueFunc?e:s===nc.falseFunc?nc.falseFunc:t=>s(t)&&e(t)},nR={is:nL,matches:nL,where:nL,not(e,t,n,r,i){let s=i(t,nx(n),r);return s===nc.falseFunc?e:s===nc.trueFunc?nc.falseFunc:t=>!s(t)&&e(t)},has(e,t,n,r,i){let{adapter:s}=n,a=nx(n);a.relativeSelector=!0;let o=t.some(e=>e.some(nh))?[nD]:void 0,l=i(t,a,o);if(l===nc.falseFunc)return nc.falseFunc;let c=nO(l,s);if(o&&l!==nc.trueFunc){let{shouldTestNextSiblings:t=!1}=l;return n=>{if(!e(n))return!1;o[0]=n;let r=s.getChildren(n),i=t?[...r,...nv(n,s)]:r;return s.existsOne(c,i)}}return t=>e(t)&&s.existsOne(c,s.getChildren(t))}};function nw(e,t){let n=t.getParent(e);return n&&t.isTag(n)?n:null}function nM(e,t,n){return nH("string"==typeof e?nl(e):e,t,n)}function nP(e){return e.type===m.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(e=>e.some(nP)))}let nF={type:m.Descendant},nB={type:"_flexibleDescendant"},nU={type:m.Pseudo,name:"scope",data:null};function nH(e,t,n){var r;e.forEach(np);let i=Array.isArray(n=null!=(r=t.context)?r:n),s=n&&(Array.isArray(n)?n:[n]);if(!1!==t.relativeSelector)!function(e,{adapter:t},n){let r=!!(null==n?void 0:n.every(e=>{let n=t.isTag(e)&&t.getParent(e);return e===nD||n&&t.isTag(n)}));for(let t of e){if(t.length>0&&nh(t[0])&&t[0].type!==m.Descendant);else{if(!r||t.some(nP))continue;t.unshift(nF)}t.unshift(nU)}}(e,t,s);else if(e.some(e=>e.length>0&&nh(e[0])))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let a=!1,o=e.map(e=>{var n,r,o,l;if(e.length>=2){let[t,n]=e;t.type!==m.Pseudo||"scope"!==t.name||(i&&n.type===m.Descendant?e[1]=nB:(n.type===m.Adjacent||n.type===m.Sibling)&&(a=!0))}return n=e,r=t,o=s,n.reduce((e,t)=>e===nc.falseFunc?nc.falseFunc:function(e,t,n,r,i){let{adapter:s,equals:a}=n;switch(t.type){case m.PseudoElement:throw Error("Pseudo-elements are not supported by css-select");case m.ColumnCombinator:throw Error("Column combinators are not yet supported by css-select");case m.Attribute:if(null!=t.namespace)throw Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),nT[t.action](e,t,n);case m.Pseudo:return function(e,t,n,r,i){var s;let{name:a,data:o}=t;if(Array.isArray(o)){if(!(a in nR))throw Error(`Unknown pseudo-class :${a}(${o})`);return nR[a](e,o,n,r,i)}let l=null==(s=n.pseudos)?void 0:s[a],c="string"==typeof l?l:nI[a];if("string"==typeof c){if(null!=o)throw Error(`Pseudo ${a} doesn't have any arguments`);let t=nl(c);return nR.is(e,t,n,r,i)}if("function"==typeof l)return nN(l,a,o,1),t=>l(t,o)&&e(t);if(a in nC)return nC[a](e,o,n,r);if(a in nS){let t=nS[a];return nN(t,a,o,2),r=>t(r,n,o)&&e(r)}throw Error(`Unknown pseudo-class :${a}`)}(e,t,n,r,i);case m.Tag:{if(null!=t.namespace)throw Error("Namespaced tag names are not yet supported by css-select");let{name:r}=t;return(!n.xmlMode||n.lowerCaseTags)&&(r=r.toLowerCase()),function(t){return s.getName(t)===r&&e(t)}
5}case m.Descendant:{if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(t){let n=t;for(;n=nw(n,s);)if(e(n))return!0;return!1};let t=new WeakSet;return function(n){let r=n;for(;r=nw(r,s);)if(!t.has(r)){if(s.isTag(r)&&e(r))return!0;t.add(r)}return!1}}case"_flexibleDescendant":return function(t){let n=t;do if(e(n))return!0;while(n=nw(n,s));return!1};case m.Parent:return function(t){return s.getChildren(t).some(t=>s.isTag(t)&&e(t))};case m.Child:return function(t){let n=s.getParent(t);return null!=n&&s.isTag(n)&&e(n)};case m.Sibling:return function(t){let n=s.getSiblings(t);for(let r=0;r<n.length;r++){let i=n[r];if(a(t,i))break;if(s.isTag(i)&&e(i))return!0}return!1};case m.Adjacent:if(s.prevElementSibling)return function(t){let n=s.prevElementSibling(t);return null!=n&&e(n)};return function(t){let n,r=s.getSiblings(t);for(let e=0;e<r.length;e++){let i=r[e];if(a(t,i))break;s.isTag(i)&&(n=i)}return!!n&&e(n)};case m.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw Error("Namespaced universal selectors are not yet supported by css-select");return e}}(e,t,r,o,nH),null!=(l=r.rootFunc)?l:nc.trueFunc)}).reduce(nG,nc.falseFunc);return o.shouldTestNextSiblings=a,o}function nG(e,t){return t===nc.falseFunc||e===nc.trueFunc?e:e===nc.falseFunc||t===nc.trueFunc?t:function(n){return e(n)||t(n)}}let n$=(e,t)=>e===t,nq={adapter:x,equals:n$};function nY(e){var t,n;let r=null!=e?e:nq;return null!=r.adapter||(r.adapter=x),null!=r.equals||(r.equals=null!=(n=null==(t=r.adapter)?void 0:t.equals)?n:n$),r}function nz(e){return function(t,n,r){return e(t,nY(n),r)}}nz(function(e,t,n){return nO(nM(e,t,n),t.adapter)}),nz(nM);let nj=nz(nH);function nK(e){return function(t,n,r){let i=nY(r);"function"!=typeof t&&(t=nM(t,i,n));let s=nV(n,i.adapter,t.shouldTestNextSiblings);return e(t,s,i)}}function nV(e,t,n=!1){return n&&(e=function(e,t){let n=Array.isArray(e)?e.slice(0):[e],r=n.length;for(let e=0;e<r;e++){let r=nv(n[e],t);n.push(...r)}return n}(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}nK((e,t,n)=>e!==nc.falseFunc&&t&&0!==t.length?n.adapter.findAll(e,t):[]),nK((e,t,n)=>e!==nc.falseFunc&&t&&0!==t.length?n.adapter.findOne(e,t):null);let nX=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function nQ(e){return"pseudo"===e.type&&(!!nX.has(e.name)||!!("not"===e.name&&Array.isArray(e.data))&&e.data.some(e=>e.some(nQ)))}function nW(e){let t=[],n=[];for(let r of e)r.some(nQ)?t.push(r):n.push(r);return[n,t]}let nZ={type:m.Universal,namespace:null},nJ={type:m.Pseudo,name:"scope",data:null};function n0(e,t,n={}){return n1([e],t,n)}function n1(e,t,n={}){if("function"==typeof t)return e.some(t);let[r,i]=nW(nl(t));return r.length>0&&e.some(nj(r,n))||i.some(t=>n5(t,e,n).length>0)}function n2(e,t,n={}){return n3(nl(e),t,n)}function n3(e,t,n){let r;if(0===t.length)return[];let[i,s]=nW(e);if(i.length){let e=n9(t,i,n);if(0===s.length)return e;e.length&&(r=new Set(e))}for(let e=0;e<s.length&&(null==r?void 0:r.size)!==t.length;e++){let i=s[e];if(0===(r?t.filter(e=>eu(e)&&!r.has(e)):t).length)break;let a=n5(i,t,n);if(a.length)if(r)a.forEach(e=>r.add(e));else{if(e===s.length-1)return a;r=new Set(a)}}return void 0!==r?r.size===t.length?t:t.filter(e=>r.has(e)):[]}function n5(e,t,n){var r;if(e.some(nn)){let i=null!=(r=n.root)?r:function(e){for(;e.parent;)e=e.parent;return e}(t[0]),s={...n,context:t,relativeSelector:!1};return e.push(nJ),n8(i,e,s,!0,t.length)}return n8(t,e,n,!1,t.length)}function n8(e,t,n,r,i){let s=t.findIndex(nQ),a=t.slice(0,s),o=t[s],l=t.length-1===s?i:1/0,c=function(e,t,n){let r=null!=t?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}(o.name,o.data,l);if(0===c)return[];let u=(0!==a.length||Array.isArray(e)?0===a.length?(Array.isArray(e)?e:[e]).filter(eu):r||a.some(nn)?n6(e,[a],n,c):n9(e,[a],n):eW(e).filter(eu)).slice(0,c),h=function(e,t,n,r){let i="string"==typeof n?parseInt(n,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(i)&&Math.abs(i)<t.length?[i<0?t[t.length+i]:t[i]]:[];case"gt":return isFinite(i)?t.slice(i+1):[];case"even":return t.filter((e,t)=>
5t%2==0);case"odd":return t.filter((e,t)=>t%2==1);case"not":{let e=new Set(n3(n,t,r));return t.filter(t=>!e.has(t))}}}(o.name,u,o.data,n);if(0===h.length||t.length===s+1)return h;let f=t.slice(s+1),p=f.some(nn);if(p){if(nn(f[0])){let{type:e}=f[0];(e===m.Sibling||e===m.Adjacent)&&(h=nV(h,x,!0)),f.unshift(nZ)}n={...n,relativeSelector:!1,rootFunc:e=>h.includes(e)}}else n.rootFunc&&n.rootFunc!==nc.trueFunc&&(n={...n,rootFunc:nc.trueFunc});return f.some(nQ)?n8(h,f,n,!1,i):p?n6(h,[f],n,i):n9(h,[f],n)}function n6(e,t,n,r){let i=nj(t,n,e);return n4(e,i,r)}function n4(e,t,n=1/0){return tn(e=>eu(e)&&t(e),nV(e,x,t.shouldTestNextSiblings),!0,n)}function n9(e,t,n){let r=(Array.isArray(e)?e:[e]).filter(eu);if(0===r.length)return r;let i=nj(t,n);return i===nc.trueFunc?r:r.filter(i)}let n7=/^\s*[~+]/;function re(e){var t;if(!e)return this._make([]);let n=this.toArray();if("string"!=typeof e){let t=tM(e)?e.toArray():[e];return this._make(t.filter(e=>n.some(t=>tL(t,e))))}let r=n7.test(e)?n:this.children().toArray(),i={context:n,root:null==(t=this._root)?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(function(e,t,n={},r=1/0){if("function"==typeof e)return n4(t,e);let[i,s]=nW(nl(e)),a=s.map(e=>n8(t,e,n,!0,r));return(i.length&&a.push(n6(t,i,n,r)),0===a.length)?[]:1===a.length?a[0]:tg(a.reduce((e,t)=>[...e,...t]))}(e,r,i))}function rt(e){return function(t,...n){return function(r){var i;let s=e(t,this);return r&&(s=rC(s,r,this.options.xmlMode,null==(i=this._root)?void 0:i[0])),this._make(this.length>1&&s.length>1?n.reduce((e,t)=>t(e),s):s)}}}let rn=rt((e,t)=>{let n=[];for(let r=0;r<t.length;r++){let i=e(t[r]);n.push(i)}return[].concat(...n)}),rr=rt((e,t)=>{let n=[];for(let r=0;r<t.length;r++){let i=e(t[r]);null!==i&&n.push(i)}return n});function ri(e,...t){let n=null,r=rt((e,t)=>{let r=[];return tP(t,t=>{for(let i;(i=e(t))&&(null==n||!n(i,r.length));t=i)r.push(i)}),r})(e,...t);return function(e,t){n="string"==typeof e?t=>n0(t,e,this.options):e?ry(e):null;let i=r.call(this,t);return n=null,i}}function rs(e){return Array.from(new Set(e))}let ra=rr(({parent:e})=>e&&!em(e)?e:null,rs),ro=rn(e=>{let t=[];for(;e.parent&&!em(e.parent);)t.push(e.parent),e=e.parent;return t},tg,e=>e.reverse()),rl=ri(({parent:e})=>e&&!em(e)?e:null,tg,e=>e.reverse());function rc(e){var t;let n=[];if(!e)return this._make(n);let r={xmlMode:this.options.xmlMode,root:null==(t=this._root)?void 0:t[0]},i="string"==typeof e?t=>n0(t,e,r):ry(e);return tP(this,e=>{for(;e&&eu(e);){if(i(e,0)){n.includes(e)||n.push(e);break}e=e.parent}}),this._make(n)}let ru=rr(e=>e3(e)),rh=rn(e=>{let t=[];for(;e.next;)eu(e=e.next)&&t.push(e);return t},rs),rf=ri(e=>e3(e),rs),rp=rr(e=>e5(e)),rd=rn(e=>{let t=[];for(;e.prev;)eu(e=e.prev)&&t.push(e);return t},rs),rm=ri(e=>e5(e),rs),rE=rn(e=>eJ(e).filter(t=>eu(t)&&t!==e),tg),rg=rn(e=>eW(e).filter(eu),rs);function r_(){let e=this.toArray().reduce((e,t)=>eE(t)?e.concat(t.children):e,[]);return this._make(e)}function rT(e){let t=0,n=this.length;for(;t<n&&!1!==e.call(this[t],t,this[t]);)++t;return this}function rA(e){let t=[];for(let n=0;n<this.length;n++){let r=this[n],i=e.call(r,n,r);null!=i&&(t=t.concat(i))}return this._make(t)}function ry(e){return"function"==typeof e?(t,n)=>e.call(t,n,t):tM(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function rb(e){var t;return this._make(rC(this.toArray(),e,this.options.xmlMode,null==(t=this._root)?void 0:t[0]))}function rC(e,t,n,r){return"string"==typeof t?n2(t,e,{xmlMode:n,root:r}):e.filter(ry(t))}function rk(e){let t=this.toArray();return"string"==typeof e?n1(t.filter(eu),e,this.options):!!e&&t.some(ry(e))}function rS(e){let t=this.toArray();if("string"==typeof e){let n=new Set(n2(e,t,this.options));t=t.filter(e=>!n.has(e))}else{let n=ry(e);t=t.filter((e,t)=>!n(e,t))}return this._make(t)}function rN(e){return this.filter("string"==typeof e?`:has(${e})`:(t,n)=>this._make(n).find(e).length>0)}function rI(){return this.length>1?this._make(this[0]):this}function rD(){return this.length>0?this._make(this[this.length-1]):this}function rO(e){var t;return 0==(e*=1)&&this.length<=1?this:(e<0&&(e=this.length+e),this._make(null!=(t=this[e])?t:[]))}function rv(e){return null==e?this.toArray():this[e<0?this.length+e:e]}function rx(){return Array.prototype.slice.call(this)}function rL(e){let t,n;return null==e?(t=this.parent().children(),n=this[0]):"string"==typeof e?(t=this._make(e),n=this[0]):(t=this,n=tM(e)?e[0]:e),Array.prototype.indexOf.call(t,n)}function rR(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function rw(){var e;return null!=(e=this.prevObject)?e:this._make([])}function rM(e,t){let n=this._make(e,t),r=tg([...this.get(),...n.get()]);return this._make(r)}function rP(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}var rF=n(99518).hp;function rB(e,t){let n=Array.isArray(e)?e:[e];t?t.children=n:t=null;for(let e=0;e<n.length;e++){let r=n[e];r.parent&&r.parent.children!==n&&e8(r),t?(r.prev=n[e-1]||null,r.next=n[e+1]||null):r.prev=r.next=null,r.parent=t}return t}function rU(e,t){return null==e?[]:tM(e)?t?tF(e.get()):e.get():Array.isArray(e)?e.reduce((e,n)=>e.concat(this._makeDomArray(n,t)),[]):"string"==typeof e?this._parse(e,this.options,!1,null).children:t?tF([e]):[e]}function rH(e){return function(...t){let n=this.length-1;return tP(this,(r,i)=>{if(!eE(r))return;let s="function"==typeof t[0]?t[0].call(r,i,this._render(r.children)):t;e(this._makeDomArray(s,i<n),r.children,r)})}}function rG(e,t,n,r,i){var s,a;let o=[t,n,...r],l=0===t?null:e[t-1],c=t+n>=e.length?null:e[t+n];for(let e=0;e<r.length;++e){let n=r[e],u=n.parent;if(u){let e=u.children.indexOf(n);e>-1&&(u.children.splice(e,1),i===u&&t>e&&o[0]--)}n.parent=i,n.prev&&(n.prev.next=null!=(s=n.next)?s:null),n.next&&(n.next.prev=null!=(a=n.prev)?a:null),n.prev=0===e?l:r[e-1],n.next=e===r.length-1?c:r[e+1]}return l&&(l.next=r[0]),c&&(c.prev=r[r.length-1]),e.splice(...o)}function r$(e){return(tM(e)?e:this._make(e)).append(this),this}function rq(e){return(tM(e)?e:this._make(e)).prepend(this),this}let rY=rH((e,t,n)=>{rG(t,t.length,0,e,n)}),rz=rH((e,t,n)=>{rG(t,0,0,e,n)});function rj(e){return function(t){let n=this.length-1,r=this.parents().last(
5);for(let i=0;i<this.length;i++){let s=this[i],a="function"==typeof t?t.call(s,i,s):"string"!=typeof t||tB(t)?t:r.find(t).clone(),[o]=this._makeDomArray(a,i<n);if(!o||!eE(o))continue;let l=o,c=0;for(;c<l.children.length;){let e=l.children[c];eu(e)?(l=e,c=0):c++}e(s,l,[o])}return this}}let rK=rj((e,t,n)=>{let{parent:r}=e;if(!r)return;let i=r.children,s=i.indexOf(e);rB([e],t),rG(i,s,0,n,r)}),rV=rj((e,t,n)=>{eE(e)&&(rB(e.children,t),rB(n,e))});function rX(e){return this.parent(e).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function rQ(e){let t=this[0];if(t){let n,r=this._make("function"==typeof e?e.call(t,0,t):e).insertBefore(t);for(let e=0;e<r.length;e++)"tag"===r[e].type&&(n=r[e]);let i=0;for(;n&&i<n.children.length;){let e=n.children[i];"tag"===e.type?(n=e,i=0):i++}n&&this._make(n).append(this)}return this}function rW(...e){let t=this.length-1;return tP(this,(n,r)=>{let{parent:i}=n;if(!eE(n)||!i)return;let s=i.children,a=s.indexOf(n);if(a<0)return;let o="function"==typeof e[0]?e[0].call(n,r,this._render(n.children)):e;rG(s,a+1,0,this._makeDomArray(o,r<t),i)})}function rZ(e){"string"==typeof e&&(e=this._make(e)),this.remove();let t=[];return this._makeDomArray(e).forEach(e=>{let n=this.clone().toArray(),{parent:r}=e;if(!r)return;let i=r.children,s=i.indexOf(e);s<0||(rG(i,s+1,0,n,r),t.push(...n))}),this._make(t)}function rJ(...e){let t=this.length-1;return tP(this,(n,r)=>{let{parent:i}=n;if(!eE(n)||!i)return;let s=i.children,a=s.indexOf(n);if(a<0)return;let o="function"==typeof e[0]?e[0].call(n,r,this._render(n.children)):e;rG(s,a,0,this._makeDomArray(o,r<t),i)})}function r0(e){let t=this._make(e);this.remove();let n=[];return tP(t,e=>{let t=this.clone().toArray(),{parent:r}=e;if(!r)return;let i=r.children,s=i.indexOf(e);s<0||(rG(i,s,0,t,r),n.push(...t))}),this._make(n)}function r1(e){return tP(e?this.filter(e):this,e=>{e8(e),e.prev=e.next=e.parent=null}),this}function r2(e){return tP(this,(t,n)=>{let{parent:r}=t;if(!r)return;let i=r.children,s="function"==typeof e?e.call(t,n,t):e,a=this._makeDomArray(s);rB(a,null);let o=i.indexOf(t);rG(i,o,1,a,r),a.includes(t)||(t.parent=t.prev=t.next=null)})}function r3(){return tP(this,e=>{eE(e)&&(e.children.forEach(e=>{e.next=e.prev=e.parent=null}),e.children.length=0)})}function r5(e){if(void 0===e){let e=this[0];return e&&eE(e)?this._render(e.children):null}return tP(this,t=>{eE(t)&&(t.children.forEach(e=>{e.next=e.prev=e.parent=null}),rB(tM(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children,t))})}function r8(){return this._render(this)}function r6(e){return void 0===e?tO(this):"function"==typeof e?tP(this,(t,n)=>this._make(t).text(e.call(t,n,tO([t])))):tP(this,t=>{eE(t)&&(t.children.forEach(e=>{e.next=e.prev=e.parent=null}),rB(new er(`${e}`),t))})}function r4(){return this._make(tF(this.get()))}function r9(e,t){return(null==e||null==t)&&("object"!=typeof e||Array.isArray(e))?0!==this.length?r7(this[0],e):void 0:tP(this,(n,r)=>{eu(n)&&function e(t,n,r,i){if("string"==typeof n){var s;let e=r7(t),a="function"==typeof r?r.call(t,i,e[n]):r;""===a?delete e[n]:null!=a&&(e[n]=a),t.attribs.style=Object.keys(s=e).reduce((e,t)=>`${e}${e?" ":""}${t}: ${s[t]};`,"")}else"object"==typeof n&&Object.keys(n).forEach((r,i)=>{e(t,r,n[r],i)})}(n,e,t,r)})}function r7(e,t){if(!e||!eu(e))return;let n=function(e){let t;if(!(e=(e||"").trim()))return{};let n={};for(let r of e.split(";")){let e=r.indexOf(":");if(e<1||e===r.length-1){let e=r.trimEnd();e.length>0&&void 0!==t&&(n[t]+=`;${e}`)}else n[t=r.slice(0,e).trim()]=r.slice(e+1).trim()}return n}(e.attribs.style);if("string"==typeof t)return n[t];if(Array.isArray(t)){let e={};return t.forEach(t=>{null!=n[t]&&(e[t]=n[t])}),e}return n}let ie="input,select,textarea,keygen",it=/%20/g,ir=/\r?\n/g;function ii(){return this.serializeArray().map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("&").replace(it,"+")}function is(){return this.map((e,t)=>{let n=this._make(t);return eu(t)&&"form"===t.name?n.find(ie).toArray():n.filter(ie).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var n;let r=this._make(t),i=r.attr("name"),s=null!=(n=r.val())?n:"";return Array.isArray(s)?s.map(e=>({name:i,value:e.replace(ir,"\r\n")})):{name:i,value:s.replace(ir,"\r\n")}}).toArray()}class ia{constructor(e,t,n){if(this.length=0,this.options=n,this._root=t,e){for(let t=0;t<e.length;t++)this[t]=e[t];this.length=e.length}}}ia.prototype.cheerio="[cheerio object]",ia.prototype.splice=Array.prototype.splice,ia.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(ia.prototype,R,w,M,P,F);let io=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUM
5BER_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",e[e.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_F=102]="LATIN_SMALL_F",e[e.LATIN_SMALL_X=120]="LATIN_SMALL_X",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",e[e.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"}(g=g||(g={}));let il={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ic(e){return e>=55296&&e<=57343}function iu(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function ih(e){return e>=64976&&e<=65007||io.has(e)}!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invali
vendor: 6,134 bytes, line 5
5dCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(_=_||(_={}));class ip{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(_.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let n=this.html.charCodeAt(t);return n===g.CARRIAGE_RETURN?g.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let e=this.html.charCodeAt(this.pos);return e===g.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED):e===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ic(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===g.LINE_FEED||e===g.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){iu(e)?this._err(_.controlCharacterInInputStream):ih(e)&&this._err(_.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function id(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(T=T||(T={})),function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(A=A||(A={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(y=y||(y={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(b=b||(b={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="str
5ike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(C=C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(k=k||(k={}));let im=new Map([[C.A,k.A],[C.ADDRESS,k.ADDRESS],[C.ANNOTATION_XML,k.ANNOTATION_XML],[C.APPLET,k.APPLET],[C.AREA,k.AREA],[C.ARTICLE,k.ARTICLE],[C.ASIDE,k.ASIDE],[C.B,k.B],[C.BASE,k.BASE],[C.BASEFONT,k.BASEFONT],[C.BGSOUND,k.BGSOUND],[C.BIG,k.BIG],[C.BLOCKQUOTE,k.BLOCKQUOTE],[C.BODY,k.BODY],[C.BR,k.BR],[C.BUTTON,k.BUTTON],[C.CAPTION,k.CAPTION],[C.CENTER,k.CENTER],[C.CODE,k.CODE],[C.COL,k.COL],[C.COLGROUP,k.COLGROUP],[C.DD,k.DD],[C.DESC,k.DESC],[C.DETAILS,k.DETAILS],[C.DIALOG,k.DIALOG],[C.DIR,k.DIR],[C.DIV,k.DIV],[C.DL,k.DL],[C.DT,k.DT],[C.EM,k.EM],[C.EMBED,k.EMBED],[C.FIELDSET,k.FIELDSET],[C.FIGCAPTION,k.FIGCAPTION],[C.FIGURE,k.FIGURE],[C.FONT,k.FONT],[C.FOOTER,k.FOOTER],[C.FOREIGN_OBJECT,k.FOREIGN_OBJECT],[C.FORM,k.FORM],[C.FRAME,k.FRAME],[C.FRAMESET,k.FRAMESET],[C.H1,k.H1],[C.H2,k.H2],[C.H3,k.H3],[C.H4,k.H4],[C.H5,k.H5],[C.H6,k.H6],[C.HEAD,k.HEAD],[C.HEADER,k.HEADER],[C.HGROUP,k.HGROUP],[C.HR,k.HR],[C.HTML,k.HTML],[C.I,k.I],[C.IMG,k.IMG],[C.IMAGE,k.IMAGE],[C.INPUT,k.INPUT],[C.IFRAME,k.IFRAME],[C.KEYGEN,k.KEYGEN],[C.LABEL,k.LABEL],[C.LI,k.LI],[C.LINK,k.LINK],[C.LISTING,k.LISTING],[C.MAIN,k.MAIN],[C.MALIGNMARK,k.MALIGNMARK],[C.MARQUEE,k.MARQUEE],[C.MATH,k.MATH],[C.MENU,k.MENU],[C.META,k.META],[C.MGLYPH,k.MGLYPH],[C.MI,k.MI],[C.MO,k.MO],[C.MN,k.MN],[C.MS,k.MS],[C.MTEXT,k.MTEXT],[C.NAV,k.NAV],[C.NOBR,k.NOBR],[C.NOFRAMES,k.NOFRAMES],[C.NOEMBED,k.NOEMBED],[C.NOSCRIPT,k.NOSCRIPT],[C.OBJECT,k.OBJECT],[C.OL,k.OL],[C.OPTGROUP,k.OPTGROUP],[C.OPTION,k.OPTION],[C.P,k.P],[C.PARAM,k.PARAM],[C.PLAINTEXT,k.PLAINTEXT],[C.PRE,k.PRE],[C.RB,k.RB],[C.RP,k.RP],[C.RT,k.RT],[C.RTC,k.RTC],[C.RUBY,k.RUBY],[C.S,k.S],[C.SCRIPT,k.SCRIPT],[C.SECTION,k.SECTION],[C.SELECT,k.SELECT],[C.SOURCE,k.SOURCE],[C.SMALL,k.SMALL],[C.SPAN,k.SPAN],[C.STRIKE,k.STRIKE],[C.STRONG,k.STRONG],[C.STYLE,k.STYLE],[C.SUB,k.SUB],[C.SUMMARY,k.SUMMARY],[C.SUP,k.SUP],[C.TABLE,k.TABLE],[C.TBODY,k.TBODY],[C.TEMPLATE,k.TEMPLATE],[C.TEXTAREA,k.TEXTAREA],[C.TFOOT,k.TFOOT],[C.TD,k.TD],[C.TH,k.TH],[C.THEAD,k.THEAD],[C.TITLE,k.TITLE],[C.TR,k.TR],[C.TRACK,k.TRACK],[C.TT,k.TT],[C.U,k.U],[C.UL,k.UL],[C.SVG,k.SVG],[C.VAR,k.VAR],[C.WBR,k.WBR],[C.XMP,k.XMP]]);function iE(e){var t;return null!=(t=im.get(e))?t:k.UNKNOWN}let ig=k,i_={[A.HTML]:new Set([ig.ADDRESS,ig.APPLET,ig.AREA,ig.ARTICLE,ig.ASIDE,ig.BASE,ig.BASEFONT,ig.BGSOUND,ig.BLOCKQUOTE,ig.BODY,ig.BR,ig.BUTTON,ig.CAPTION,ig.CENTER,ig.COL,ig.COLGROUP,ig.DD,ig.DETAILS,ig.DIR,ig.DIV,ig.DL,ig.DT,ig.EMBED,ig.FIELDSET,ig.FIGCAPTION,ig.FIGURE,ig.FOOTER,ig.FORM,ig.FRAME,ig.FRAMESET,ig.H1,ig.H2,ig.H3,ig.H4,ig.H5,ig.H6,ig.HEAD,ig.HEADER,ig.HGROUP,ig.HR,ig.HTML,ig.IFRAME,ig.IMG,ig.INPUT,ig.LI,ig.LINK,ig.LISTING,ig.MAIN,ig.MARQUEE,ig.MENU,ig.META,ig.NAV,ig.NOEMBED,ig.NOFRAMES,ig.NOSCRIPT,ig.OBJECT,ig.OL,ig.P,ig.PARAM,ig.PLAINTEXT,ig.PRE,ig.SCRIPT,ig.SECTION,ig.SELECT,ig.SOURCE,ig.STYLE,ig.SUMMARY,ig.TABLE,ig.TBODY,ig.TD,ig.TEMPLATE,ig.TEXTAREA,ig.TFOOT,ig.TH,ig.THEAD,ig.TITLE,ig.TR,ig.TRACK,ig.UL,ig.WBR,ig.XMP]),[A.MATHML]:new Set([ig.MI,ig.MO,ig.MN,ig.MS,ig.MTEXT,ig.ANNOTATION_XML]),[A.SVG]:new Set([ig.TITLE,ig.FOREIGN_OBJECT,ig.DESC]),[A.XLINK]:new Set,[A.XML]:new Set,[A.XMLNS]:new Set};function iT(e){return e===ig.H1||e===ig.H2||e===ig.H3||e===ig.H4||e===ig.H5||e===ig.H6}
5let iA=new Set([C.STYLE,C.SCRIPT,C.XMP,C.IFRAME,C.NOEMBED,C.NOFRAMES,C.PLAINTEXT]),iy=new Map([[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){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECI
vendor: 5,051 bytes, line 5
5MAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(S||(S={}));let ib={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function iC(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function ik(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function iS(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z||ik(e)}function iN(e){return iS(e)||iC(e)}function iI(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_F}function iD(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_F}function iO(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function iv(e){return iO(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class ix{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ip(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null==(n=(t=this.handler).onParseError)||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:T.START_TAG,tagName:"",tagID:k.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:T.END_TAG,tagName:"",tagID:k.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:T.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:T.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;null===id(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!=(e=(t=n.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(_.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=iE(e.tagName),e.type===T.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(_.endTagWithAttributes),e.selfClosing&&this._err(_.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case T.CHARACTER:this.handler.onCh
5aracter(this.currentCharacterToken);break;case T.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case T.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:T.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=iO(e)?T.WHITESPACE_CHARACTER:e===g.NULL?T.NULL_CHARACTER:T.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(T.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let s=0,a=ey[0];s>=0&&!((s=eO(ey,a,s+1,e))<0);e=this._consume()){n+=1;let o=(a=ey[s])&l.VALUE_LENGTH;if(o){var i;let a=(o>>14)-1;if(e!==g.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((i=this.preprocessor.peek(1))===g.EQUALS_SIGN||iN(i))?(t=[g.AMPERSAND],s+=a):(t=0===a?[ey[s]&~l.VALUE_LENGTH]:1===a?[ey[++s]]:[ey[++s],ey[++s]],n=0,r=e!==g.SEMICOLON),0===a){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(_.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctype
vendor: 11,965 bytes, line 5
5SystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case g.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case g.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case g.NULL:this._err(_.unexpectedNullCharacter),this._emitCodePoint(e);break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case g.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case g.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case g.NULL:this._err(_.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case g.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case g.NULL:this._err(_.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case g.NULL:this._err(_.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case g.NULL:this._err(_.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(iS(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case g.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case g.SOLIDUS:this.state=S.END_TAG_OPEN;break;case g.QUESTION_MARK:this._err(_.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case g.EOF:this._err(_.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(_.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(iS(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case g.GREATER_THAN_SIGN:this._err(_.missingEndTagName),this.state=S.DATA;break;case g.EOF:this._err(_.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(_.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=S.BEFORE_ATTRIBUTE_NAME;break;case g.SOLIDUS:this.state=S.SELF_CLOSING_START_TAG;break;case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentTagToken();break;case g.NULL:this._err(_.unexpectedNullCharacter),t.tagName+="�";break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(ik(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===g.SOLIDUS?this.state=S.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=S.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){iS(e)?(this.state=S.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=S.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=S.BEFORE_ATTRIBUTE_NAME,!1;case g.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=S.SELF_CLOSING_START_TAG,!1;case g.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=S.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=S.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===g.SOLIDUS?this.state=S.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=S.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){iS(e)?(this.state=S.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=S.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=S.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case g.SOLIDUS:this.state=S.SCRIPT_DATA_END_TAG_OPEN;break;case g.EXCLAMATION_MARK:this.state=S.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=S.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){iS(e)?(this.state=S.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=S.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=S.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===g.HYPHEN_MINUS?(this.state=S.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=S.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===g.HYPHEN_MINUS?(this.state=S.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=S.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case g.HYPHEN_MINUS:this.state=S.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case g.NULL:this._err(_.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._err(_.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case g.HYPHEN_MINUS:this.state=S.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case g.NULL:this._err(_.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(_.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case g.HYPHEN_MINUS:this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case g.GREATER_THAN_SIGN:this.state=S.SCRIPT_DATA,this._emitChars(">");break;case g.NULL:this._err(_.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(_.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===g.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:iS(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){iS(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(il.SCRIPT,!1)&&iv(this.preprocessor.peek(il.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<il.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case g.HYPHEN_MINUS:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case g.NULL:this._err(_.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._err(_.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case g.HYPHEN_MINUS:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case g.NULL:this._err(_.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(_.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case g.HYPHEN_MINUS:this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case g.GREATER_THAN_SIGN:this.state=S.SCRIPT_DATA,this._emitChars(">");break;case g.NULL:this._err(_.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(_.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===g.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(il.SCRIPT,!1)&&iv(this.preprocessor.peek(il.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<il.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=S.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:this.state=S.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case g.EQUALS_SIGN:this._err(_.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=S.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=S.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:this._leaveAttrName(),this.state=S.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case g.EQUALS_SIGN:this._leaveAttrName(),this.state=S.BEFORE_ATTRIBUTE_VALUE;break;case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:this._err(_.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case g.NULL:this._err(_.unexpectedNullCharacter),this.currentAttr.name+="
5�";break;default:this.currentAttr.name+=String.fromCodePoint(ik(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:this.state=S.SELF_CLOSING_START_TAG;break;case g.EQUALS_SIGN:this.state=S.BEFORE_ATTRIBUTE_VALUE;break;case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentTagToken();break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=S.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:this.state=S.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case g.APOSTROPHE:this.state=S.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(_.missingAttributeValue),this.state=S.DATA,this.emitCurrentTagToken();break;default:this.state=S.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case g.QUOTATION_MARK:this.state=S.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case g.AMPERSAND:this.returnState=S.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=S.CHARACTER_REFERENCE;break;case g.NULL:this._err(_.unexpectedNullCharacter),this.currentAttr.value+="�";break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case g.APOSTROPHE:this.state=S.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case g.AMPERSAND:this.returnState=S.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=S.CHARACTER_REFERENCE;break;case g.NULL:this._err(_.unexpectedNullCharacter),this.currentAttr.value+="�";break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this._leaveAttrValue(),this.state=S.BEFORE_ATTRIBUTE_NAME;break;case g.AMPERSAND:this.returnState=S.ATTRIBUTE_VALUE_UNQUOTED,this.state=S.CHARACTER_REFERENCE;break;case g.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=S.DATA,this.emitCurrentTagToken();break;case g.NULL:this._err(_.unexpectedNullCharacter),this.currentAttr.value+="�";break;case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:case g.EQUALS_SIGN:case g.GRAVE_ACCENT:this._err(_.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this._leaveAttrValue(),this.state=S.BEFORE_ATTRIBUTE_NAME;break;case g.SOLIDUS:this._leaveAttrValue(),this.state=S.SELF_CLOSING_START_TAG;break;case g.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=S.DATA,this.emitCurrentTagToken();break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:this._err(_.missingWhitespaceBetweenAttributes),this.state=S.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case g.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=S.DATA,this.emitCurrentTagToken();break;case g.EOF:this._err(_.eofInTag),this._emitEOFToken();break;default:this._err(_.unexpectedSolidusInTag),this.state=S.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentComment(t);break;case g.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case g.NULL:this._err(_.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(il.DASH_DASH,!0)?(this._createCommentToken(il.DASH_DASH.length+1),this.state=S.COMMENT_START):this._consumeSequenceIfMatch(il.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(il.DOCTYPE.length+1),this.state=S.DOCTYPE):this._consumeSequenceIfMatch(il.CDATA_START,!0)?this.inForeignNode?this.state=S.CDATA_SECTION:(this._err(_.cdataInHtmlContent),this._createCommentToken(il.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=S.BOGUS_COMMENT):this._ensureHibernation()||(this._err(_.incorrectlyOpenedComment),this._createCommentToken(2),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case g.HYPHEN_MINUS:this.state=S.COMMENT_START_DASH;break;case g.GREATER_THAN_SIGN:{this._err(_.abruptClosingOfEmptyComment),this.state=S.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=S.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:this.state=S.COMMENT_END;break;case g.GREATER_THAN_SIGN:this._err(_.abruptClosingOfEmptyComment),this.state=S.DATA,this.emitCurrentComment(t);break;case g.EOF:this._err(_.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=S.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:this.state=S.COMMENT_END_DASH;break;case g.LESS_THAN_SIGN:t.data+="<",this.state=S.COMMENT_LESS_THAN_SIGN;break;case g.NULL:this._err(_.unexpectedNullCharacter),t.data+="�";break;case g.EOF:this._err(_.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case g.EXCLAMATION_MARK:t.data+="!",this.state=S.COMMENT_LESS_THAN_SIGN_BANG;break;case g.LESS_THAN_SIGN:t.data+="<";break;default:this.state=S.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===g.HYPHEN_MINUS?this.state=S.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=S.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===g.HYPHEN_MINUS?this.state=S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=S.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==g.GREATER_THAN_SIGN&&e!==g.EOF&&this._err(_.nestedComment),this.state=S.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:this.state=S.COMMENT_END;break;case g.EOF:this._err(_.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=S.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentComment(t);break;case g.EXCLAMATION_MARK:this.state=S.COMMENT_END_BANG;break;case g.HYPHEN_MINUS:t.data+="-";break;case g.EOF:this._err(_.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=S.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:t.data+="--!",this.state=S.COMMENT_END_DASH;break;case g.GREATER_THAN_SIGN:this._err(_.incorrectlyClosedComment),this.state=S.DATA,this.emitCurrentComment(t);break;case g.EOF:this._err(_.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=S.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=S.BEFORE_DOCTYPE_NAME;break;case g.GREATER_THAN_SIGN:this.state=S.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case g.EOF:{this._err(_.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(_.missingWhitespaceBeforeDoctypeName),this.state=S.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(ik(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=S.DOCTYPE_NAME;else switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.NULL:this._err(_.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=S.DOCTYPE_NAME;break;case g.GREATER_THAN_SIGN:{this._err(_.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=S.DATA;break}case g.EOF:{this._err(_.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=S.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=S.AFTER_DOCTYPE_NAME;break;case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentDoctype(t);break;
vendor: 4,189 bytes, line 5
5case g.NULL:this._err(_.unexpectedNullCharacter),t.name+="�";break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(ik(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(il.PUBLIC,!1)?this.state=S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(il.SYSTEM,!1)?this.state=S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(_.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case g.QUOTATION_MARK:this._err(_.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:this._err(_.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(_.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(_.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:t.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:t.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(_.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(_.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case g.QUOTATION_MARK:this.state=S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case g.NULL:this._err(_.unexpectedNullCharacter),t.publicId+="�";break;case g.GREATER_THAN_SIGN:this._err(_.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case g.APOSTROPHE:this.state=S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case g.NULL:this._err(_.unexpectedNullCharacter),t.publicId+="�";break;case g.GREATER_THAN_SIGN:this._err(_.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case g.GREATER_THAN_SIGN:this.state=S.DATA,this.emitCurrentDoctype(t);break;case g.QUOTATION_MARK:this._err(_.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:this._err(_.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 9,768 bytes, line 5
5default:this._err(_.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.QUOTATION_MARK:t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(_.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case g.QUOTATION_MARK:this._err(_.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:this._err(_.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(_.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(_.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:t.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(_.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(_.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case g.QUOTATION_MARK:this.state=S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case g.NULL:this._err(_.unexpectedNullCharacter),t.systemId+="�";break;case g.GREATER_THAN_SIGN:this._err(_.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case g.APOSTROPHE:this.state=S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case g.NULL:this._err(_.unexpectedNullCharacter),t.systemId+="�";break;case g.GREATER_THAN_SIGN:this._err(_.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.EOF:this._err(_.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(_.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case g.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=S.DATA;break;case g.NULL:this._err(_.unexpectedNullCharacter);break;case g.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case g.RIGHT_SQUARE_BRACKET:this.state=S.CDATA_SECTION_BRACKET;break;case g.EOF:this._err(_.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===g.RIGHT_SQUARE_BRACKET?this.state=S.CDATA_SECTION_END:(this._emitChars("]"),this.state=S.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case g.GREATER_THAN_SIGN:this.state=S.DATA;break;case g.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=S.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===g.NUMBER_SIGN?this.state=S.NUMERIC_CHARACTER_REFERENCE:iN(e)?(this.state=S.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this.state=S.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){iN(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===g.SEMICOLON&&this._err(_.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===g.LATIN_SMALL_X||e===g.LATIN_CAPITAL_X?this.state=S.HEXADEMICAL_CHARACTER_REFERENCE_START:iC(e)?(this.state=S.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(_.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(g.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){iC(e)||iI(e)||iD(e)?(this.state=S.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(_.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(g.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){iI(e)?this.charRefCode=16*this.charRefCode+e-55:iD(e)?this.charRefCode=16*this.charRefCode+e-87:iC(e)?this.charRefCode=16*this.charRefCode+e-48:e===g.SEMICOLON?this.state=S.NUMERIC_CHARACTER_REFERENCE_END:(this._err(_.missingSemicolonAfterCharacterReference),this.state=S.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){iC(e)?this.charRefCode=10*this.charRefCode+e-48:e===g.SEMICOLON?this.state=S.NUMERIC_CHARACTER_REFERENCE_END:(this._err(_.missingSemicolonAfterCharacterReference),this.state=S.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===g.NULL)this._err(_.nullCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(_.characterReferenceOutsideUnicodeRange),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(ic(this.charRefCode))this._err(_.surrogateCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(ih(this.charRefCode))this._err(_.noncharacterCharacterReference);else if(iu(this.charRefCode)||this.charRefCode===g.CARRIAGE_RETURN){this._err(_.controlCharacterReference);let e=iy.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let iL=new Set([k.DD,k.DT,k.LI,k.OPTGROUP,k.OPTION,k.P,k.RB,k.RP,k.RT,k.RTC]),iR=new Set([...iL,k.CAPTION,k.COLGROUP,k.TBODY,k.TD,k.TFOOT,k.TH,k.THEAD,k.TR]),iw=new Map([[k.APPLET,A.HTML],[k.CAPTION,A.HTML],[k.HTML,A.HTML],[k.MARQUEE,A.HTML],[k.OBJECT,A.HTML],[k.TABLE,A.HTML],[k.TD,A.HTML],[k.TEMPLATE,A.HTML],[k.TH,A.HTML],[k.ANNOTATION_XML,A.MATHML],[k.MI,A.MATHML],[k.MN,A.MATHML],[k.MO,A.MATHML],[k.MS,A.MATHML],[k.MTEXT,A.MATHML],[k.DESC,A.SVG],[k.FOREIGN_OBJECT,A.SVG],[k.TITLE,A.SVG]]),iM=[k.H1,k.H2,k.H3,k.H4,k.H5,k.H6],iP=[k.TR,k.TEMPLATE,k.HTML],iF=[k.TBODY,k.TFOOT,k.THEAD,k.TEMPLATE,k.HTML],iB=[k.TABLE,k.TEMPLATE,k.HTML],iU=[k.TD,k.TH];class iH{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=k.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===k.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===A.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==A.HTML);
vendor: 5,036 bytes, line 5
5this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(iM,A.HTML)}popUntilTableCellPopped(){this.popUntilPopped(iU,A.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(iB,A.HTML)}clearBackToTableBodyContext(){this.clearBackTo(iF,A.HTML)}clearBackToTableRowContext(){this.clearBackTo(iP,A.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===k.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===k.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===A.HTML)break;if(iw.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(iT(t)&&n===A.HTML)break;if(iw.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===A.HTML)break;if((n===k.UL||n===k.OL)&&r===A.HTML||iw.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===A.HTML)break;if(n===k.BUTTON&&r===A.HTML||iw.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===A.HTML){if(n===e)return!0;if(n===k.TABLE||n===k.TEMPLATE||n===k.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===A.HTML){if(t===k.TBODY||t===k.THEAD||t===k.TFOOT)return!0;if(t===k.TABLE||t===k.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===A.HTML){if(n===e)return!0;if(n!==k.OPTION&&n!==k.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;iL.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;iR.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&iR.has(this.currentTagId);)this.pop()}}!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(N=N||(N={}));let iG={type:N.Marker};class i${constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===N.Marker)break;let{element:a}=t;if(this.treeAdapter.getTagName(a)===i&&this.treeAdapter.getNamespaceURI(a)===s){let t=this.treeAdapter.getAttrList(a);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(iG)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:N.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:N.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(iG);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===N.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===N.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===N.Element&&t.element===e)}}function iq(e){return{nodeName:"#text",value:e,parentNode:null}}let iY={createDocument:()=>({nodeName:"#document",mode:b.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}
5),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):iY.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(iY.isTextNode(n)){n.value+=t;return}}iY.appendChild(e,iq(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&iY.isTextNode(r)?r.value+=t:iY.insertBefore(e,iq(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},iz="html",ij=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],iK=[...ij,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],iV=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),iX=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],iQ=[...iX,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function iW(e,t){return t.some(t=>e.startsWith(t))}let iZ={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},iJ=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),i0=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:A.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:A.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:A.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:A.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:A.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:A.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:A.XLINK}
5],["xml:base",{prefix:"xml",name:"base",namespace:A.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:A.XML}],["xml:space",{prefix:"xml",name:"space",namespace:A.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:A.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:A.XMLNS}]]),i1=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),i2=new Set([k.B,k.BIG,k.BLOCKQUOTE,k.BODY,k.BR,k.CENTER,k.CODE,k.DD,k.DIV,k.DL,k.DT,k.EM,k.EMBED,k.H1,k.H2,k.H3,k.H4,k.H5,k.H6,k.HEAD,k.HR,k.I,k.IMG,k.LI,k.LISTING,k.MENU,k.META,k.NOBR,k.O
5L,k.P,k.PRE,k.RUBY,k.S,k.SMALL,k.SPAN,k.STRONG,k.STRIKE,k.SUB,k.SUP,k.TABLE,k.TT,k.U,k.UL,k.VAR]);function i3(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function i5(e){for(let t=0;t<e.attrs.length;t++){let n=iJ.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function i8(e){for(let t=0;t<e.attrs.length;t++){let n=i0.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(I||(I={}));let i6={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},i4=new Set([k.TABLE,k.TBODY,k.TFOOT,k.THEAD,k.TR]),i9={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:iY,onParseError:null};class i7{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=I.INITIAL,this.originalInsertionMode=I.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...i9,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new ix(this.options,this),this.activeFormattingElements=new i$(this.treeAdapter),this.fragmentContextID=n?iE(this.treeAdapter.getTagName(n)):k.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new iH(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...i9,...t};null!=e||(e=n.treeAdapter.createElement(C.TEMPLATE,A.HTML,[]));let r=n.treeAdapter.createElement("documentmock",A.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===k.TEMPLATE&&i.tmplInsertionModeStack.unshift(I.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;let i=null!=(r=e.location)?r:i6,s={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(e,t,n){var r,i;null==(i=(r=this.treeAdapter).onItemPush)||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(n=this.treeAdapter).onItemPop)||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===A.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,A.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=I.TEXT}switchToPlaintextParsing(){this.insertionMode=I.TEXT,this.originalInsertionMode=I.IN_BODY,this.tokenizer.state=ib.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;
5for(;e;){if(this.treeAdapter.getTagName(e)===C.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===A.HTML)switch(this.fragmentContextID){case k.TITLE:case k.TEXTAREA:this.tokenizer.state=ib.RCDATA;break;case k.STYLE:case k.XMP:case k.IFRAME:case k.NOEMBED:case k.NOFRAMES:case k.NOSCRIPT:this.tokenizer.state=ib.RAWTEXT;break;case k.SCRIPT:this.tokenizer.state=ib.SCRIPT_DATA;break;case k.PLAINTEXT:this.tokenizer.state=ib.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,A.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,A.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(C.HTML,A.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,k.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,s=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===T.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==k.SVG||this.treeAdapter.getTagName(t)!==C.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==A.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===k.MGLYPH||e.tagID===k.MALIGNMARK)&&!this._isIntegrationPoint(n,t,A.HTML)))}_processToken(e){switch(e.type){case T.CHARACTER:this.onCharacter(e);break;case T.NULL_CHARACTER:this.onNullCharacter(e);break;case T.COMMENT:this.onComment(e);break;case T.DOCTYPE:this.onDoctype(e);break;case T.START_TAG:this._processStartTag(e);break;case T.END_TAG:this.onEndTag(e);break;case T.EOF:this.onEof(e);break;case T.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===A.HTML)&&function(e,t,n){if(t===A.MATHML&&e===k.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===y.ENCODING){let t=n[e].value.toLowerCase();
5return t===iZ.TEXT_HTML||t===iZ.APPLICATION_XML}}return t===A.SVG&&(e===k.FOREIGN_OBJECT||e===k.DESC||e===k.TITLE)}(e,r,i)||(!n||n===A.MATHML)&&r===A.MATHML&&(e===k.MI||e===k.MO||e===k.MN||e===k.MS||e===k.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===N.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=I.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(k.P),this.openElements.popUntilTagNamePopped(k.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case k.TR:this.insertionMode=I.IN_ROW;return;case k.TBODY:case k.THEAD:case k.TFOOT:this.insertionMode=I.IN_TABLE_BODY;return;case k.CAPTION:this.insertionMode=I.IN_CAPTION;return;case k.COLGROUP:this.insertionMode=I.IN_COLUMN_GROUP;return;case k.TABLE:this.insertionMode=I.IN_TABLE;return;case k.BODY:this.insertionMode=I.IN_BODY;return;case k.FRAMESET:this.insertionMode=I.IN_FRAMESET;return;case k.SELECT:return void this._resetInsertionModeForSelect(e);case k.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case k.HTML:this.insertionMode=this.headElement?I.AFTER_HEAD:I.BEFORE_HEAD;return;case k.TD:case k.TH:if(e>0){this.insertionMode=I.IN_CELL;return}break;case k.HEAD:if(e>0){this.insertionMode=I.IN_HEAD;return}}this.insertionMode=I.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===k.TEMPLATE)break;if(e===k.TABLE){this.insertionMode=I.IN_SELECT_IN_TABLE;return}}this.insertionMode=I.IN_SELECT}_isElementCausesFosterParenting(e){return i4.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case k.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===A.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case k.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return i_[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case I.INITIAL:sr(this,e);break;case I.BEFORE_HTML:si(this,e);break;case I.BEFORE_HEAD:ss(this,e);break;case I.IN_HEAD:sl(this,e);break;case I.IN_HEAD_NO_SCRIPT:sc(this,e);break;case I.AFTER_HEAD:su(this,e);break;case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:sp(this,e);break;case I.TEXT:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:sb(this,e);break;case I.IN_TABLE_TEXT:sI(this,e);break;case I.IN_COLUMN_GROUP:sx(this,e);break;case I.AFTER_BODY:sH(this,e);break;case I.AFTER_AFTER_BODY:sG(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case I.INITIAL:sr(this,e);break;case I.BEFORE_HTML:si(this,e);break;case I.BEFORE_HEAD:ss(this,e);break;case I.IN_HEAD:sl(this,e);break;case I.IN_HEAD_NO_SCRIPT:sc(this,e);break;case I.AFTER_HEAD:su(this,e);break;case I.TEXT:this._insertCharacters(e);break;case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:sb(this,e);break;case I.IN_COLUMN_GROUP:sx(this,e);break;case I.AFTER_BODY:sH(this,e);break;case I.AFTER_AFTER_BODY:sG(this,e)}}onComment(e){var t,n,r,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void st(this,e);switch(this.insertionMode){case I.INITIAL:case I.BEFORE_HTML:case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_TEMPLATE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:st(this,e);break;case I.IN_TABLE_TEXT:sD(this,e);break;case I.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case I.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?b.QUIRKS:function(e){if(e.name!==iz)return b.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return b.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),iV.has(n))return b.QUIRKS;let e=null===t?iK:ij;if(iW(n,e))return b.QUIRKS;if(iW(n,e=null===t?iX:iQ))return b.LIMITED_QUIRKS}return b.NO_QUIRKS}(t);(t.name!==iz||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,_.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=I.BEFORE_HTML}(this,e);break;case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:this._err(e,_.misplacedDoctype);break;case I.IN_TABLE_TEXT:sD(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,_.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID;return t===k.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE)||i2.has(t)}(t))s$(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===A.MATHML)i3(t);else if(r===A.SVG){let e=i1.get(t.tagName);null!=e&&(t.tagName=e,t.tagID=iE(t.tagName)),i5(t)}i8(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case I.INITIAL:sr
5(this,e);break;case I.BEFORE_HTML:t=this,(n=e).tagID===k.HTML?(t._insertElement(n,A.HTML),t.insertionMode=I.BEFORE_HEAD):si(t,n);break;case I.BEFORE_HEAD:var t,n,r,i,s,a,o=this,l=e;switch(l.tagID){case k.HTML:s_(o,l);break;case k.HEAD:o._insertElement(l,A.HTML),o.headElement=o.openElements.current,o.insertionMode=I.IN_HEAD;break;default:ss(o,l)}break;case I.IN_HEAD:sa(this,e);break;case I.IN_HEAD_NO_SCRIPT:var c=this,u=e;switch(u.tagID){case k.HTML:s_(c,u);break;case k.BASEFONT:case k.BGSOUND:case k.HEAD:case k.LINK:case k.META:case k.NOFRAMES:case k.STYLE:sa(c,u);break;case k.NOSCRIPT:c._err(u,_.nestedNoscriptInHead);break;default:sc(c,u)}break;case I.AFTER_HEAD:var h=this,f=e;switch(f.tagID){case k.HTML:s_(h,f);break;case k.BODY:h._insertElement(f,A.HTML),h.framesetOk=!1,h.insertionMode=I.IN_BODY;break;case k.FRAMESET:h._insertElement(f,A.HTML),h.insertionMode=I.IN_FRAMESET;break;case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:case k.NOFRAMES:case k.SCRIPT:case k.STYLE:case k.TEMPLATE:case k.TITLE:h._err(f,_.abandonedHeadElementChild),h.openElements.push(h.headElement,k.HEAD),sa(h,f),h.openElements.remove(h.headElement);break;case k.HEAD:h._err(f,_.misplacedStartTagForHeadElement);break;default:su(h,f)}break;case I.IN_BODY:s_(this,e);break;case I.IN_TABLE:sC(this,e);break;case I.IN_TABLE_TEXT:sD(this,e);break;case I.IN_CAPTION:var p=this,d=e;let m=d.tagID;sO.has(m)?p.openElements.hasInTableScope(k.CAPTION)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(k.CAPTION),p.activeFormattingElements.clearToLastMarker(),p.insertionMode=I.IN_TABLE,sC(p,d)):s_(p,d);break;case I.IN_COLUMN_GROUP:sv(this,e);break;case I.IN_TABLE_BODY:sL(this,e);break;case I.IN_ROW:sw(this,e);break;case I.IN_CELL:var E=this,g=e;let T=g.tagID;sO.has(T)?(E.openElements.hasInTableScope(k.TD)||E.openElements.hasInTableScope(k.TH))&&(E._closeTableCell(),sw(E,g)):s_(E,g);break;case I.IN_SELECT:sP(this,e);break;case I.IN_SELECT_IN_TABLE:var y=this,b=e;let C=b.tagID;C===k.CAPTION||C===k.TABLE||C===k.TBODY||C===k.TFOOT||C===k.THEAD||C===k.TR||C===k.TD||C===k.TH?(y.openElements.popUntilTagNamePopped(k.SELECT),y._resetInsertionMode(),y._processStartTag(b)):sP(y,b);break;case I.IN_TEMPLATE:var S=this,N=e;switch(N.tagID){case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:case k.NOFRAMES:case k.SCRIPT:case k.STYLE:case k.TEMPLATE:case k.TITLE:sa(S,N);break;case k.CAPTION:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:S.tmplInsertionModeStack[0]=I.IN_TABLE,S.insertionMode=I.IN_TABLE,sC(S,N);break;case k.COL:S.tmplInsertionModeStack[0]=I.IN_COLUMN_GROUP,S.insertionMode=I.IN_COLUMN_GROUP,sv(S,N);break;case k.TR:S.tmplInsertionModeStack[0]=I.IN_TABLE_BODY,S.insertionMode=I.IN_TABLE_BODY,sL(S,N);break;case k.TD:case k.TH:S.tmplInsertionModeStack[0]=I.IN_ROW,S.insertionMode=I.IN_ROW,sw(S,N);break;default:S.tmplInsertionModeStack[0]=I.IN_BODY,S.insertionMode=I.IN_BODY,s_(S,N)}break;case I.AFTER_BODY:r=this,(i=e).tagID===k.HTML?s_(r,i):sH(r,i);break;case I.IN_FRAMESET:var D=this,O=e;switch(O.tagID){case k.HTML:s_(D,O);break;case k.FRAMESET:D._insertElement(O,A.HTML);break;case k.FRAME:D._appendElement(O,A.HTML),O.ackSelfClosing=!0;break;case k.NOFRAMES:sa(D,O)}break;case I.AFTER_FRAMESET:var v=this,x=e;switch(x.tagID){case k.HTML:s_(v,x);break;case k.NOFRAMES:sa(v,x)}break;case I.AFTER_AFTER_BODY:s=this,(a=e).tagID===k.HTML?s_(s,a):sG(s,a);break;case I.AFTER_AFTER_FRAMESET:var L=this,R=e;switch(R.tagID){case k.HTML:s_(L,R);break;case k.NOFRAMES:sa(L,R)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===k.P||t.tagID===k.BR){s$(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===A.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case I.INITIAL:sr
5(this,e);break;case I.BEFORE_HTML:var t,n,r,i,s,a,o=this,l=e;let c=l.tagID;(c===k.HTML||c===k.HEAD||c===k.BODY||c===k.BR)&&si(o,l);break;case I.BEFORE_HEAD:var u=this,h=e;let f=h.tagID;f===k.HEAD||f===k.BODY||f===k.HTML||f===k.BR?ss(u,h):u._err(h,_.endTagWithoutMatchingOpenElement);break;case I.IN_HEAD:var p=this,d=e;switch(d.tagID){case k.HEAD:p.openElements.pop(),p.insertionMode=I.AFTER_HEAD;break;case k.BODY:case k.BR:case k.HTML:sl(p,d);break;case k.TEMPLATE:so(p,d);break;default:p._err(d,_.endTagWithoutMatchingOpenElement)}break;case I.IN_HEAD_NO_SCRIPT:var m=this,E=e;switch(E.tagID){case k.NOSCRIPT:m.openElements.pop(),m.insertionMode=I.IN_HEAD;break;case k.BR:sc(m,E);break;default:m._err(E,_.endTagWithoutMatchingOpenElement)}break;case I.AFTER_HEAD:var g=this,T=e;switch(T.tagID){case k.BODY:case k.HTML:case k.BR:su(g,T);break;case k.TEMPLATE:so(g,T);break;default:g._err(T,_.endTagWithoutMatchingOpenElement)}break;case I.IN_BODY:sA(this,e);break;case I.TEXT:t=this,e.tagID===k.SCRIPT&&(null==(n=t.scriptHandler)||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode;break;case I.IN_TABLE:sk(this,e);break;case I.IN_TABLE_TEXT:sD(this,e);break;case I.IN_CAPTION:var A=this,y=e;let b=y.tagID;switch(b){case k.CAPTION:case k.TABLE:A.openElements.hasInTableScope(k.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(k.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=I.IN_TABLE,b===k.TABLE&&sk(A,y));break;case k.BODY:case k.COL:case k.COLGROUP:case k.HTML:case k.TBODY:case k.TD:case k.TFOOT:case k.TH:case k.THEAD:case k.TR:break;default:sA(A,y)}break;case I.IN_COLUMN_GROUP:var C=this,S=e;switch(S.tagID){case k.COLGROUP:C.openElements.currentTagId===k.COLGROUP&&(C.openElements.pop(),C.insertionMode=I.IN_TABLE);break;case k.TEMPLATE:so(C,S);break;case k.COL:break;default:sx(C,S)}break;case I.IN_TABLE_BODY:sR(this,e);break;case I.IN_ROW:sM(this,e);break;case I.IN_CELL:var N=this,D=e;let O=D.tagID;switch(O){case k.TD:case k.TH:N.openElements.hasInTableScope(O)&&(N.openElements.generateImpliedEndTags(),N.openElements.popUntilTagNamePopped(O),N.activeFormattingElements.clearToLastMarker(),N.insertionMode=I.IN_ROW);break;case k.TABLE:case k.TBODY:case k.TFOOT:case k.THEAD:case k.TR:N.openElements.hasInTableScope(O)&&(N._closeTableCell(),sM(N,D));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:break;default:sA(N,D)}break;case I.IN_SELECT:sF(this,e);break;case I.IN_SELECT_IN_TABLE:var v=this,x=e;let L=x.tagID;L===k.CAPTION||L===k.TABLE||L===k.TBODY||L===k.TFOOT||L===k.THEAD||L===k.TR||L===k.TD||L===k.TH?v.openElements.hasInTableScope(L)&&(v.openElements.popUntilTagNamePopped(k.SELECT),v._resetInsertionMode(),v.onEndTag(x)):sF(v,x);break;case I.IN_TEMPLATE:r=this,(i=e).tagID===k.TEMPLATE&&so(r,i);break;case I.AFTER_BODY:sU(this,e);break;case I.IN_FRAMESET:s=this,e.tagID===k.FRAMESET&&!s.openElements.isRootHtmlElementCurrent()&&(s.openElements.pop(),s.fragmentContext||s.openElements.currentTagId===k.FRAMESET||(s.insertionMode=I.AFTER_FRAMESET));break;case I.AFTER_FRAMESET:a=this,e.tagID===k.HTML&&(a.insertionMode=I.AFTER_AFTER_FRAMESET);break;case I.AFTER_AFTER_BODY:sG(this,e)}}onEof(e){switch(this.insertionMode){case I.INITIAL:sr(this,e);break;case I.BEFORE_HTML:si(this,e);break;case I.BEFORE_HEAD:ss(this,e);break;case I.IN_HEAD:sl(this,e);break;case I.IN_HEAD_NO_SCRIPT:sc(this,e);break;case I.AFTER_HEAD:su(this,e);break;case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:sy(this,e);break;case I.TEXT:var t,n;t=this,n=e,t._err(n,_.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case I.IN_TABLE_TEXT:sD(this,e);break;case I.IN_TEMPLATE:sB(this,e);break;case I.AFTER_BODY:case I.IN_FRAMESET:case I.AFTER_FRAMESET:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:sn(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
5deAt(0)===g.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.TEXT:case I.IN_COLUMN_GROUP:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:this._insertCharacters(e);break;case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:case I.AFTER_BODY:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:sf(this,e);break;case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:sb(this,e);break;case I.IN_TABLE_TEXT:sN(this,e)}}}function se(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):sT(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let s=0,a=i;a!==n;s++,a=i){i=e.openElements.getCommonAncestor(a);let n=e.activeFormattingElements.getElementEntry(a),o=n&&s>=3;!n||o?(o&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}(e,r,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&function(e,t,n){let r=iE(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===k.TEMPLATE&&i===A.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,s,i);let a=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,l=e.treeAdapter.createElement(o.tagName,a,o.attrs);e._adoptNodes(r,l),e.treeAdapter.appendChild(r,l),e.activeFormattingElements.insertElementAfterBookmark(l,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(r,l,o.tagID)}}function st(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function sn(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function sr(e,t){e._err(t,_.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,b.QUIRKS),e.insertionMode=I.BEFORE_HTML,e._processToken(t)}function si(e,t){e._insertFakeRootElement(),e.insertionMode=I.BEFORE_HEAD,e._processToken(t)}function ss(e,t){e._insertFakeElement(C.HEAD,k.HEAD),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD,e._processToken(t)}function sa(e,t){switch(t.tagID){case k.HTML:s_(e,t);break;case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:e._appendElement(t,A.HTML),t.ackSelfClosing=!0;break;case k.TITLE:e._switchToTextParsing(t,ib.RCDATA);break;case k.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,ib.RAWTEXT):(e._insertElement(t,A.HTML),e.insertionMode=I.IN_HEAD_NO_SCRIPT);break;case k.NOFRAMES:case k.STYLE:e._switchToTextParsing(t,ib.RAWTEXT);break;case k.SCRIPT:e._switchToTextParsing(t,ib.SCRIPT_DATA);break;case k.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=I.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(I.IN_TEMPLATE);break;case k.HEAD:e._err(t,_.misplacedStartTagForHeadElement);break;default:sl(e,t)}}function so(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==k.TEMPLATE&&e._err(t,_.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(k.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,_.endTagWithoutMatchingOpenElement)}function sl(e,t){e.openElements.pop(),e.insertionMode=I.AFTER_HEAD,e._processToken(t)}function sc(e,t){let n=t.type===T.EOF?_.openElementsLeftAfterEof:_.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=I.IN_HEAD,e._processToken(t)}function su(e,t){e._insertFakeElement(C.BODY,k.BODY),e.insertionMode=I.IN_BODY,sh(e,t)}function sh(e,t){switch(t.type){case T.CHARACTER:sp(e,t);break;case T.WHITESPACE_CHARACTER:sf(e,t);break;case T.COMMENT:st(e,t);break;case T.START_TAG:s_(e,t);break;case T.END_TAG:sA(e,t);break;case T.EOF:sy(e,t)}}function sf(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function sp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function sd(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,A.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function sm(e){let t=id(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function sE(e,t){e._switchToTextParsing(t,ib.RAWTEXT)}function sg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML)}function s_(e,t){switch(t.tagID){case k.I:case k.S:case k.B:case k.U:case k.E
5M:case k.TT:case k.BIG:case k.CODE:case k.FONT:case k.SMALL:case k.STRIKE:case k.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case k.A:let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(C.A);n&&(se(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case k.H1:case k.H2:case k.H3:case k.H4:case k.H5:case k.H6:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),iT(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,A.HTML);break;case k.P:case k.DL:case k.OL:case k.UL:case k.DIV:case k.DIR:case k.NAV:case k.MAIN:case k.MENU:case k.ASIDE:case k.CENTER:case k.FIGURE:case k.FOOTER:case k.HEADER:case k.HGROUP:case k.DIALOG:case k.DETAILS:case k.ADDRESS:case k.ARTICLE:case k.SECTION:case k.SUMMARY:case k.FIELDSET:case k.BLOCKQUOTE:case k.FIGCAPTION:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,A.HTML);break;case k.LI:case k.DD:case k.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===k.LI&&n===k.LI||(r===k.DD||r===k.DT)&&(n===k.DD||n===k.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==k.ADDRESS&&n!==k.DIV&&n!==k.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,A.HTML);break;case k.BR:case k.IMG:case k.WBR:case k.AREA:case k.EMBED:case k.KEYGEN:sd(e,t);break;case k.HR:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._appendElement(t,A.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case k.RB:case k.RTC:e.openElements.hasInScope(k.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,A.HTML);break;case k.RT:case k.RP:e.openElements.hasInScope(k.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(k.RTC),e._insertElement(t,A.HTML);break;case k.PRE:case k.LISTING:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,A.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case k.XMP:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ib.RAWTEXT);break;case k.SVG:e._reconstructActiveFormattingElements(),i5(t),i8(t),t.selfClosing?e._appendElement(t,A.SVG):e._insertElement(t,A.SVG),t.ackSelfClosing=!0;break;case k.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case k.BASE:case k.LINK:case k.META:case k.STYLE:case k.TITLE:case k.SCRIPT:case k.BGSOUND:case k.BASEFONT:case k.TEMPLATE:sa(e,t);break;case k.BODY:let i=e.openElements.tryPeekProperlyNestedBodyElement();i&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case k.FORM:let s=e.openElements.tmplCount>0;(!e.formElement||s)&&(e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,A.HTML),s||(e.formElement=e.openElements.current));break;case k.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(k.NOBR)&&(se(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,A.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case k.MATH:e._reconstructActiveFormattingElements(),i3(t),i8(t),t.selfClosing?e._appendElement(t,A.MATHML):e._insertElement(t,A.MATHML),t.ackSelfClosing=!0;break;case k.TABLE:e.treeAdapter.getDocumentMode(e.document)!==b.QUIRKS&&e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,A.HTML),e.framesetOk=!1,e.insertionMode=I.IN_TABLE;break;case k.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,A.HTML),sm(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case k.PARAM:case k.TRACK:case k.SOURCE:e._appendElement(t,A.HTML),t.ackSelfClosing=!0;break;case k.IMAGE:t.tagName=C.IMG,t.tagID=k.IMG,sd(e,t);break;case k.BUTTON:e.openElements.hasInScope(k.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(k.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML),e.framesetOk=!1;break;case k.APPLET:case k.OBJECT:case k.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case k.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,ib.RAWTEXT);break;case k.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===I.IN_TABLE||e.insertionMode===I.IN_CAPTION||e.insertionMode===I.IN_TABLE_BODY||e.insertionMode===I.IN_ROW||e.insertionMode===I.IN_CELL?I.IN_SELECT_IN_TABLE:I.IN_SELECT;break;case k.OPTION:case k.OPTGROUP:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,A.HTML);break;case k.NOEMBED:sE(e,t);break;case k.FRAMESET:let a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,A.HTML),e.insertionMode=I.IN_FRAMESET);break;case k.TEXTAREA:e._insertElement(t,A.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ib.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=I.TEXT;break;case k.NOSCRIPT:e.options.scriptingEnabled?sE(e,t):sg(e,t);break;case k.PLAINTEXT:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,A.HTML),e.tokenizer.state=ib.PLAINTEXT;break;case k.COL:case k.TH:case k.TD:case k.TR:case k.HEAD:case k.FRAME:case k.TBODY:case k.TFOOT:case k.THEAD:case k.CAPTION:case k.COLGROUP:break;default:sg(e,t)}}function sT(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],s=e.openElements.tagIDs[t];if(r===s&&(r!==k.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>
5=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,s))break}}function sA(e,t){switch(t.tagID){case k.A:case k.B:case k.I:case k.S:case k.U:case k.EM:case k.TT:case k.BIG:case k.CODE:case k.FONT:case k.NOBR:case k.SMALL:case k.STRIKE:case k.STRONG:se(e,t);break;case k.P:e.openElements.hasInButtonScope(k.P)||e._insertFakeElement(C.P,k.P),e._closePElement();break;case k.DL:case k.UL:case k.OL:case k.DIR:case k.DIV:case k.NAV:case k.PRE:case k.MAIN:case k.MENU:case k.ASIDE:case k.BUTTON:case k.CENTER:case k.FIGURE:case k.FOOTER:case k.HEADER:case k.HGROUP:case k.DIALOG:case k.ADDRESS:case k.ARTICLE:case k.DETAILS:case k.SECTION:case k.SUMMARY:case k.LISTING:case k.FIELDSET:case k.BLOCKQUOTE:case k.FIGCAPTION:let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case k.LI:e.openElements.hasInListItemScope(k.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(k.LI),e.openElements.popUntilTagNamePopped(k.LI));break;case k.DD:case k.DT:let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case k.H1:case k.H2:case k.H3:case k.H4:case k.H5:case k.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case k.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(C.BR,k.BR),e.openElements.pop(),e.framesetOk=!1;break;case k.BODY:if(e.openElements.hasInScope(k.BODY)&&(e.insertionMode=I.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case k.HTML:e.openElements.hasInScope(k.BODY)&&(e.insertionMode=I.AFTER_BODY,sU(e,t));break;case k.FORM:let i=e.openElements.tmplCount>0,{formElement:s}=e;i||(e.formElement=null),(s||i)&&e.openElements.hasInScope(k.FORM)&&(e.openElements.generateImpliedEndTags(),i?e.openElements.popUntilTagNamePopped(k.FORM):s&&e.openElements.remove(s));break;case k.APPLET:case k.OBJECT:case k.MARQUEE:let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker());break;case k.TEMPLATE:so(e,t);break;default:sT(e,t)}}function sy(e,t){e.tmplInsertionModeStack.length>0?sB(e,t):sn(e,t)}function sb(e,t){if(i4.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=I.IN_TABLE_TEXT,t.type){case T.CHARACTER:sI(e,t);break;case T.WHITESPACE_CHARACTER:sN(e,t)}else sS(e,t)}function sC(e,t){switch(t.tagID){case k.TD:case k.TH:case k.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(C.TBODY,k.TBODY),e.insertionMode=I.IN_TABLE_BODY,sL(e,t);break;case k.STYLE:case k.SCRIPT:case k.TEMPLATE:sa(e,t);break;case k.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(C.COLGROUP,k.COLGROUP),e.insertionMode=I.IN_COLUMN_GROUP,sv(e,t);break;case k.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,A.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case k.TABLE:e.openElements.hasInTableScope(k.TABLE)&&(e.openElements.popUntilTagNamePopped(k.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,A.HTML),e.insertionMode=I.IN_TABLE_BODY;break;case k.INPUT:sm(t)?e._appendElement(t,A.HTML):sS(e,t),t.ackSelfClosing=!0;break;case k.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,A.HTML),e.insertionMode=I.IN_CAPTION;break;case k.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,A.HTML),e.insertionMode=I.IN_COLUMN_GROUP;break;default:sS(e,t)}}function sk(e,t){switch(t.tagID){case k.TABLE:e.openElements.hasInTableScope(k.TABLE)&&(e.openElements.popUntilTagNamePopped(k.TABLE),e._resetInsertionMode());break;case k.TEMPLATE:so(e,t);break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TBODY:case k.TD:case k.TFOOT:case k.TH:case k.THEAD:case k.TR:break;default:sS(e,t)}}function sS(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,sh(e,t),e.fosterParentingEnabled=n}
vendor: 4,956 bytes, line 5
5function sN(e,t){e.pendingCharacterTokens.push(t)}function sI(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function sD(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)sS(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let sO=new Set([k.CAPTION,k.COL,k.COLGROUP,k.TBODY,k.TD,k.TFOOT,k.TH,k.THEAD,k.TR]);function sv(e,t){switch(t.tagID){case k.HTML:s_(e,t);break;case k.COL:e._appendElement(t,A.HTML),t.ackSelfClosing=!0;break;case k.TEMPLATE:sa(e,t);break;default:sx(e,t)}}function sx(e,t){e.openElements.currentTagId===k.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE,e._processToken(t))}function sL(e,t){switch(t.tagID){case k.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,A.HTML),e.insertionMode=I.IN_ROW;break;case k.TH:case k.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(C.TR,k.TR),e.insertionMode=I.IN_ROW,sw(e,t);break;case k.CAPTION:case k.COL:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,sC(e,t));break;default:sC(e,t)}}function sR(e,t){let n=t.tagID;switch(t.tagID){case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE);break;case k.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,sk(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TD:case k.TH:case k.TR:break;default:sk(e,t)}}function sw(e,t){switch(t.tagID){case k.TH:case k.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,A.HTML),e.insertionMode=I.IN_CELL,e.activeFormattingElements.insertMarker();break;case k.CAPTION:case k.COL:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:case k.TR:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,sL(e,t));break;default:sC(e,t)}}function sM(e,t){switch(t.tagID){case k.TR:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY);break;case k.TABLE:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,sR(e,t));break;case k.TBODY:case k.TFOOT:case k.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(k.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,sR(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TD:case k.TH:break;default:sk(e,t)}}function sP(e,t){switch(t.tagID){case k.HTML:s_(e,t);break;case k.OPTION:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e._insertElement(t,A.HTML);break;case k.OPTGROUP:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop(),e._insertElement(t,A.HTML);break;case k.INPUT:case k.KEYGEN:case k.TEXTAREA:case k.SELECT:e.openElements.hasInSelectScope(k.SELECT)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode(),t.tagID!==k.SELECT&&e._processStartTag(t));break;case k.SCRIPT:case k.TEMPLATE:sa(e,t)}}function sF(e,t){switch(t.tagID){case k.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===k.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===k.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop();break;case k.OPTION:e.openElements.currentTagId===k.OPTION&&e.openElements.pop();break;case k.SELECT:e.openElements.hasInSelectScope(k.SELECT)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode());break;case k.TEMPLATE:so(e,t)}}function sB(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(k.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):sn(e,t)}function sU(e,t){var n;if(t.tagID===k.HTML){if(e.fragmentContext||(e.insertionMode=I.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===k.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else sH(e,t)}function sH(e,t){e.insertionMode=I.IN_BODY,sh(e,t)}function sG(e,t){e.insertionMode=I.IN_BODY,sh(e,t)}function s$(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==A.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
5penElements.current);)e.openElements.pop()}let sq=new Set([C.AREA,C.BASE,C.BASEFONT,C.BGSOUND,C.BR,C.COL,C.EMBED,C.FRAME,C.HR,C.IMG,C.INPUT,C.KEYGEN,C.LINK,C.META,C.PARAM,C.SOURCE,C.TRACK,C.WBR]),sY={treeAdapter:iY,scriptingEnabled:!0};function sz(e){let t=e.includes('"')?"'":'"';return t+e+t}let sj={isCommentNode:ep,isElementNode:eu,isTextNode:ef,createDocument(){let e=new el([]);return e["x-mode"]=b.NO_QUIRKS,e},createDocumentFragment:()=>new el([]),createElement(e,t,n){let r=Object.create(null),i=Object.create(null),s=Object.create(null);for(let e=0;e<n.length;e++){let t=n[e].name;r[t]=n[e].value,i[t]=n[e].namespace,s[t]=n[e].prefix}let a=new ec(e,r,[]);return a.namespace=t,a["x-attribsNamespace"]=i,a["x-attribsPrefix"]=s,a},createCommentNode:e=>new ei(e),appendChild(e,t){let n=e.children[e.children.length-1];n&&(n.next=t,t.prev=n),e.children.push(t),t.parent=e},insertBefore(e,t,n){let r=e.children.indexOf(n),{prev:i}=n;i&&(i.next=t,t.prev=i),n.prev=t,t.next=n,e.children.splice(r,0,t),t.parent=e},setTemplateContent(e,t){sj.appendChild(e,t)},getTemplateContent:e=>e.children[0],setDocumentType(e,t,n,r){let i,s=(i="!DOCTYPE ",t&&(i+=t),n?i+=` PUBLIC ${sz(n)}`:r&&(i+=" SYSTEM"),r&&(i+=` ${sz(r)}`),i),a=e.children.find(e=>ed(e)&&"!doctype"===e.name);a?a.data=null!=s?s:null:(a=new es("!doctype",s),sj.appendChild(e,a)),a["x-name"]=null!=t?t:void 0,a["x-publicId"]=null!=n?n:void 0,a["x-systemId"]=null!=r?r:void 0},setDocumentMode(e,t){e["x-mode"]=t},getDocumentMode:e=>e["x-mode"],detachNode(e){if(e.parent){let t=e.parent.children.indexOf(e),{prev:n,next:r}=e;e.prev=null,e.next=null,n&&(n.next=r),r&&(r.prev=n),e.parent.children.splice(t,1),e.parent=null}},insertText(e,t){let n=e.children[e.children.length-1];n&&ef(n)?n.data+=t:sj.appendChild(e,new er(t))},insertTextBefore(e,t,n){let r=e.children[e.children.indexOf(n)-1];r&&ef(r)?r.data+=t:sj.insertBefore(e,new er(t),n)},adoptAttributes(e,t){for(let n=0;n<t.length;n++){let r=t[n].name;void 0===e.attribs[r]&&(e.attribs[r]=t[n].value,e["x-attribsNamespace"][r]=t[n].namespace,e["x-attribsPrefix"][r]=t[n].prefix)}},getFirstChild:e=>e.children[0],getChildNodes:e=>e.children,getParentNode:e=>e.parent,getAttrList:e=>e.attributes,getTagName:e=>e.name,getNamespaceURI:e=>e.namespace,getTextNodeContent:e=>e.data,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName(e){var t;return null!=(t=e["x-name"])?t:""},getDocumentTypeNodePublicId(e){var t;return null!=(t=e["x-publicId"])?t:""},getDocumentTypeNodeSystemId(e){var t;return null!=(t=e["x-systemId"])?t:""},isDocumentTypeNode:e=>ed(e)&&"!doctype"===e.name,setNodeSourceCodeLocation(e,t){t&&(e.startIndex=t.startOffset,e.endIndex=t.endOffset),e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){null!=t.endOffset&&(e.endIndex=t.endOffset),e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},sK={treeAdapter:sj};function sV(e){return e===D.Space||e===D.NewLine||e===D.Tab||e===D.FormFeed||e===D.CarriageReturn}function sX(e){return e===D.Slash||e===D.Gt||sV(e)}function sQ(e){return e>=D.Zero&&e<=D.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(D||(D={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(O||(O={})),!function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(v||(v={}));
5let sW={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class sZ{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=O.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=O.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=e,this.decodeEntities=t,this.entityTrie=e?eb:ey}reset(){this.state=O.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=O.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(e){e===D.Lt||!this.decodeEntities&&this.fastForwardTo(D.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=O.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===D.Amp&&(this.state=O.BeforeEntity)}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(t?sX(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=O.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===D.Gt||sV(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===sW.TitleEnd?this.decodeEntities&&e===D.Amp&&(this.state=O.BeforeEntity):this.fastForwardTo(D.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===D.Lt)}stateCDATASequence(e){e===sW.Cdata[this.sequenceIndex]?++this.sequenceIndex===sW.Cdata.length&&(this.state=O.InCommentLike,this.currentSequence=sW.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=O.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===sW.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=O.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!sX(e):e>=D.LowerA&&e<=D.LowerZ||e>=D.UpperA&&e<=D.UpperZ}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=O.SpecialStartSequence}stateBeforeTagName(e){if(e===D.ExclamationMark)this.state=O.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===D.Questionmark)this.state=O.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=32|e;this.sectionStart=this.index,this.xmlMode||t!==sW.TitleEnd[2]?this.state=this.xmlMode||t!==sW.ScriptEnd[2]?O.InTagName:O.BeforeSpecialS:this.startSpecial(sW.TitleEnd,3)}else e===D.Slash?this.state=O.BeforeClosingTagName:(this.state=O.Text,this.stateText(e))}stateInTagName(e){sX(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=O.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){sV(e)||(e===D.Gt?this.state=O.Text:(this.state=this.isTagStartChar(e)?O.InClosingTagName:O.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===D.Gt||sV(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=O.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===D.Gt||this.fastForwardTo(D.Gt))&&(this.state=O.Text,this.baseState=O.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===D.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=O.InSpecialTag,this.sequenceIndex=0):this.state=O.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===D.Slash?this.state=O.InSelfClosingTag:sV(e)||(this.state=O.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===D.Gt?(this.cbs.onselfclosingtag(this.index),this.state=O.Text,this.baseState=O.Text,this.sectionStart=this.index+1,this.isSpecial=!1):sV(e)||(this.state=O.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===D.Eq||sX(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=O.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===D.Eq?this.state=O.BeforeAttributeValue:e===D.Slash||e===D.Gt?(this.cbs.onattribend(v.NoValue,this.index),this.state=O.BeforeAttributeName,this.stateBeforeAttributeName(e)):sV(e)||(this.cbs.onattribend(v.NoValue,this.index),this.state=O.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===D.DoubleQuote?(this.state=O.InAttributeValueDq,this.sectionStart=this.index+1):e===D.SingleQuote?(this.state=O.InAttributeValueSq,this.sectionStart=this.index+1):sV(e)||(this.sectionStart=this.index,this.state=O.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===D.DoubleQuote?v.Double:v.Single,this.index),this.state=O.BeforeAttributeName):this.decodeEntities&&e===D.Amp&&(this.baseState=this.state,this.state=O.BeforeEntity)}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,D.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,D.SingleQuote)}stateInAttributeValueNoQuotes(e){sV(e)||e===D.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(v.Unquoted,this.index),this.state=O.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===D.Amp&&(this.baseState=this.state,this.state=O.BeforeEntity)}stateBeforeDeclaration(e){e===D.OpeningSquareBracket?(this.state=O.CDATASequence,this.sequenceIndex=0):this.state=e===D.Dash?O.BeforeComment:O.InDeclaration}stateInDeclaration(e){(e===D.Gt||this.fastForwardTo(D.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=O.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===D.Gt||this.fastForwardTo(D.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=O.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===D.Dash?(this.state=O.InCommentLike,this.currentSequence=sW.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=O.InDeclaration}stateInSpecialComment(e){(e===D.Gt||this.fastForwardTo(D.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=O.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=32|e;t===sW.ScriptEnd[3]?this.startSpecial(sW.ScriptEnd,4):t===sW.StyleEnd[3]?this.startSpecial(sW.StyleEnd,4):(this.state=O.InTagName,this.stateInTagName(e))}stateBeforeEntity(e){this.entityExcess=1,this.entityResult=0,e===D.Number?this.state=O.BeforeNumericEntity:e===D.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=O.InNamedEntity,this.stateInNamedEntity(e))}stateInNamedEntity(e){if(this.entityExcess+=1,this.trieIndex=eO(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let t=this.trieCurrent&l.VALUE_LENGTH;if(t){let n=(t>>
514)-1;if(this.allowLegacyEntity()||e===D.Semi){let e=this.index-this.entityExcess+1;e>this.sectionStart&&this.emitPartial(this.sectionStart,e),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}}emitNamedEntity(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&l.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~l.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(e){(32|e)===D.LowerX?(this.entityExcess++,this.state=O.InHexEntity):(this.state=O.InNumericEntity,this.stateInNumericEntity(e))}emitNumericEntity(e){let t=this.index-this.entityExcess-1;t+2+Number(this.state===O.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint(eS(this.entityResult))),this.state=this.baseState}stateInNumericEntity(e){e===D.Semi?this.emitNumericEntity(!0):sQ(e)?(this.entityResult=10*this.entityResult+(e-D.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(e){if(e===D.Semi)this.emitNumericEntity(!0);else if(sQ(e))this.entityResult=16*this.entityResult+(e-D.Zero),this.entityExcess++;else e>=D.UpperA&&e<=D.UpperF||e>=D.LowerA&&e<=D.LowerF?(this.entityResult=16*this.entityResult+((32|e)-D.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===O.Text||this.baseState===O.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===O.Text||this.state===O.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===O.InAttributeValueDq||this.state===O.InAttributeValueSq||this.state===O.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case O.Text:this.stateText(e);break;case O.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case O.InSpecialTag:this.stateInSpecialTag(e);break;case O.CDATASequence:this.stateCDATASequence(e);break;case O.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case O.InAttributeName:this.stateInAttributeName(e);break;case O.InCommentLike:this.stateInCommentLike(e);break;case O.InSpecialComment:this.stateInSpecialComment(e);break;case O.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case O.InTagName:this.stateInTagName(e);break;case O.InClosingTagName:this.stateInClosingTagName(e);break;case O.BeforeTagName:this.stateBeforeTagName(e);break;case O.AfterAttributeName:this.stateAfterAttributeName(e);break;case O.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case O.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case O.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case O.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case O.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case O.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case O.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case O.InDeclaration:this.stateInDeclaration(e);break;case O.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case O.BeforeComment:this.stateBeforeComment(e);break;case O.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case O.InNamedEntity:this.stateInNamedEntity(e);break;case O.BeforeEntity:this.stateBeforeEntity(e);break;case O.InHexEntity:this.stateInHexEntity(e);break;case O.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()}finish(){this.state===O.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.state===O.InCommentLike?this.currentSequence===sW.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===O.InNumericEntity&&this.allowLegacyEntity()||this.state===O.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===O.InTagName||this.state===O.BeforeAttributeName||this.state===O.BeforeAttributeValue||this.state===O.AfterAttributeName||this.state===O.InAttributeName||this.state===O.InAttributeValueSq||this.state===O.InAttributeValueDq||this.state===O.InAttributeValueNq||this.state===O.InClosingTagName||this.cbs.ontext(this.sectionStart,e)}emitPartial(e,t){this.baseState!==O.Text&&this.baseState!==O.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)}
5emitCodePoint(e){this.baseState!==O.Text&&this.baseState!==O.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)}}let sJ=new Set(["input","option","optgroup","select","button","datalist","textarea"]),s0=new Set(["p"]),s1=new Set(["thead","tbody"]),s2=new Set(["dd","dt"]),s3=new Set(["rt","rp"]),s5=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",s0],["h1",s0],["h2",s0],["h3",s0],["h4",s0],["h5",s0],["h6",s0],["select",sJ],["input",sJ],["output",sJ],["button",sJ],["datalist",sJ],["textarea",sJ],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",s2],["dt",s2],["address",s0],["article",s0],["aside",s0],["blockquote",s0],["details",s0],["div",s0],["dl",s0],["fieldset",s0],["figcaption",s0],["figure",s0],["footer",s0],["form",s0],["header",s0],["hr",s0],["main",s0],["nav",s0],["ol",s0],["pre",s0],["section",s0],["table",s0],["ul",s0],["rt",s3],["rp",s3],["tbody",s1],["tfoot",s1]]),s8=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),s6=new Set(["math","svg"]),s4=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),s9=/\s|\//;class s7{constructor(e,t={}){var n,r,i,s,a;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!=(n=t.lowerCaseTags)?n:!t.xmlMode,this.lowerCaseAttributeNames=null!=(r=t.lowerCaseAttributeNames)?r:!t.xmlMode,this.tokenizer=new(null!=(i=t.Tokenizer)?i:sZ)(this.options,this),null==(a=(s=this.cbs).onparserinit)||a.call(s,this)}ontext(e,t){var n,r;let i=this.getSlice(e,t);this.endIndex=t-1,null==(r=(n=this.cbs).ontext)||r.call(n,i),this.startIndex=t}ontextentity(e){var t,n;let r=this.tokenizer.getSectionStart();this.endIndex=r-1,null==(n=(t=this.cbs).ontext)||n.call(t,ek(e)),this.startIndex=r}isVoidElement(e){return!this.options.xmlMode&&s8.has(e)}onopentagname(e,t){this.endIndex=t;let n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;let s=!this.options.xmlMode&&s5.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){let e=this.stack.pop();null==(n=(t=this.cbs).onclosetag)||n.call(t,e,!0)}!this.isVoidElement(e)&&(this.stack.push(e),s6.has(e)?this.foreignContext.push(!0):s4.has(e)&&this.foreignContext.push(!1)),null==(i=(r=this.cbs).onopentagname)||i.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null==(n=(t=this.cbs).onopentag)||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var n,r,i,s,a,o;this.endIndex=t;let l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(s6.has(l)||s4.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null==(r=(n=this.cbs).onopentagname)||r.call(n,"br"),null==(s=(i=this.cbs).onopentag)||s.call(i,"br",{},!0),null==(o=(a=this.cbs).onclosetag)||o.call(a,"br",!1));else{let e=this.stack.lastIndexOf(l);if(-1!==e)if(this.cbs.onclosetag){let t=this.stack.length-e;for(;t--;)this.cbs.onclosetag(this.stack.pop(),0!==t)}else this.stack.length=e;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,n;let r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null==(n=(t=this.cbs).onclosetag)||n.call(t,r,!e),this.stack.pop())}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=ek(e)}onattribend(e,t){var n,r;this.endIndex=t,null==(r=(n=this.cbs).onattribute)||r.call(n,this.attribname,this.attribvalue,e===v.Double?'"':e===v.Single?"'":e===v.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(s9),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var r,i,s,a;this.endIndex=t,null==(i=(r=this.cbs).oncomment)||i.call(r,this.get
5Slice(e,t-n)),null==(a=(s=this.cbs).oncommentend)||a.call(s),this.startIndex=t+1}oncdata(e,t,n){var r,i,s,a,o,l,c,u,h,f;this.endIndex=t;let p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null==(i=(r=this.cbs).oncdatastart)||i.call(r),null==(a=(s=this.cbs).ontext)||a.call(s,p),null==(l=(o=this.cbs).oncdataend)||l.call(o)):(null==(u=(c=this.cbs).oncomment)||u.call(c,`[CDATA[${p}]]`),null==(f=(h=this.cbs).oncommentend)||f.call(h)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=this.stack.length;e>0;this.cbs.onclosetag(this.stack[--e],!0));}null==(t=(e=this.cbs).onend)||t.call(e)}reset(){var e,t,n,r;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(r=(n=this.cbs).onparserinit)||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;if(this.ended){null==(n=(t=this.cbs).onerror)||n.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,n;if(this.ended){null==(n=(t=this.cbs).onerror)||n.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}}let ae=function(e,t){return function n(r,i,s=!0){if(null==r)throw Error("cheerio.load() expects a string");let a={...q,...z(i)},o=e(r,a,s,null);class l extends ia{_make(e,t){let n=c(e,t);return n.prevObject=this,n}_parse(t,n,r,i){return e(t,n,r,i)}_render(e){return t(e,this.options)}}function c(t,n,r=o,i){var s;if(t&&tM(t))return t;let u={...a,...z(i)},h="string"==typeof r?[e(r,u,!1,null)]:"length"in r?r:[r],f=tM(h)?h:new l(h,null,u);if(f._root=f,!t)return new l(void 0,f,u);let p="string"==typeof t&&tB(t)?e(t,u,!1,null).children:(s=t).name||"root"===s.type||"text"===s.type||"comment"===s.type?[t]:Array.isArray(t)?t:void 0,d=new l(p,f,u);if(p)return d;if("string"!=typeof t)throw Error("Unexpected type of selector");let m=t,E=n?"string"==typeof n?tB(n)?new l([e(n,u,!1,null)],f,u):(m=`${n} ${m}`,f):tM(n)?n:new l(Array.isArray(n)?n:[n],f,u):f;return E?E.find(m):d}return Object.assign(c,L,{load:n,_root:o,_options:a,fn:l.prototype,prototype:l.prototype}),c}}((i=(e,t,n,r)=>t.xmlMode||t._useHtmlParser2?function(e,t){let n=new eA(void 0,t);return new s7(n,t).end(e),n.root}(e,t):function(e,t,n,r){let i={scriptingEnabled:"boolean"!=typeof t.scriptingEnabled||t.scriptingEnabled,treeAdapter:sj,sourceCodeLocationInfo:t.sourceCodeLocationInfo};return n?i7.parse(e,i):function(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);let r=i7.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}(r,e,i)}(e,t,n,r),function(e,t,n,r){if(void 0!==rF&&rF.isBuffer(e)&&(e=e.toString()),"string"==typeof e)return i(e,t,n,r);let s=e;if(!Array.isArray(s)&&em(s))return s;let a=new el([]);return rB(s,a),a}),(e,t)=>t.xmlMode||t._useHtmlParser2?eY(e,t):function(e){let t="length"in e?e:[e];for(let e=0;e<t.length;e+=1){let n=t[e];em(n)&&Array.prototype.splice.call(t,e,1,...n.children)}let n="";for(let e=0;e<t.length;e+=1){var r;n+=(r=t[e],function e(t,n){return n.treeAdapter.isElementNode(t)?function(t,n){let r=n.treeAdapter.getTagName(t);return`<${r}${function(e,{treeAdapter:t}){let n="";for(let r of t.getAttrList(e)){if(n+=" ",r.namespace)switch(r.namespace){case A.XML:n+=`xml:${r.name}`;break;case A.XMLNS:"xmlns"!==r.name&&(n+="xmlns:"),n+=r.name;break;case A.XLINK:n+=`xlink:${r.name}`;break;default:n+=`${r.prefix}:${r.name}`}else n+=r.name;n+=`="${eF(r.value)}"`}return n}(t,n)}>${n.treeAdapter.isElementNode(t)&&n.treeAdapter.getNamespaceURI(t)===A.HTML&&sq.has(n.treeAdapter.getTagName(t))?"":`${function(t,n){let r="",i=n.treeAdapter.isElementNode(t)&&n.treeAdapter.getTagName(t)===C.TEMPLATE&&n.treeAdapter.getNamespaceURI(t)===A.HTML?n.treeAdapter.getTemplateContent(t):t,s=n.treeAdapter.getChildNodes(i);if(s)for(let t of s)r+=e(t,n);return r}(t,n)}</${r}>`}`}(t,n):n.treeAdapter.isTextNode(t)?function(e,t){var n;let{treeAdapter:r}=t,i=r.getTextNodeContent(e),s=r.getParentNode(e),a=s&&r.isElementNode(s)&&r.getTagName(s);return a&&r.getNamespaceURI(s)===A.HTML&&(n=t.scriptingEnabled,iA.has(a)||n&&a===C.NOSCRIPT)?i:eB(i)}(t,n):n.treeAdapter.isCommentNode(t)?function(e,{treeAdapter:t}){return`<!--${t.getCommentNodeContent(e)}-->`}(t,n):n.treeAdapter.isDocumentTypeNode(t)?function(e,{treeAdapter:t}){return`<!DOCTYPE ${t.getDocumentTypeNodeName(e)}>`}(t,n):""}(r,{...sY,...sK}))}return n}(e));ae([]);
5let{contains:at}=L,{merge:an}=L,{parseHTML:ar}=L,{root:ai}=L;var as=(e=>(e[e.None=0]="None",e[e.H1=1]="H1",e[e.H2=2]="H2",e[e.H3=3]="H3",e[e.H4=4]="H4",e[e.H5=5]="H5",e[e.H6=6]="H6",e[e.Block=7]="Block",e[e.List=8]="List",e[e.ListItem=9]="ListItem",e))(as||{});let aa={selector:"h1,h2,h3,h4,h5,h6,ul,ol,li,table,pre,p>img:only-child",selectorRules:{"div,p":({$node:e})=>({queue:e.children()}),"h1,h2,h3,h4,h5,h6":({$node:e,getContent:t})=>({...t(e.contents())}),"ul,ol":({$node:e})=>({queue:e.children(),nesting:!0}),li:({$node:e,getContent:t})=>{let n,r=e.children().filter("ul,ol");if(e.contents().first().is("div,p"))n=t(e.children().first());else{let i=e.contents(),s=i.index(r);s>=0&&(i=i.slice(0,s)),n=t(i)}return{queue:r,nesting:!0,...n}},"table,pre,p>img:only-child":({$node:e,getContent:t})=>({...t(e)})}},ao="markmap: ",al=/^h[1-6]$/,ac=/^[uo]l$/,au=/^li$/,ah={};function af(e,t){"string"!=typeof t&&(t=af.defaultChars);let n=function(e){let t=ah[e];if(t)return t;t=ah[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){let s=parseInt(e.slice(r+1,r+3),16);if(s<128){t+=n[s];continue}if((224&s)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((192&n)==128){let e=s<<6&1984|63&n;e<128?t+="��":t+=String.fromCharCode(e),r+=3;continue}}if((240&s)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((192&n)==128&&(192&i)==128){let e=s<<12&61440|n<<6&4032|63&i;e<2048||e>=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),r+=6;continue}}if((248&s)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if((192&n)==128&&(192&i)==128&&(192&a)==128){let e=s<<18&1835008|n<<12&258048|i<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}return t})}af.defaultChars=";/?:@&=+$,#",af.componentChars="";let ap=af,ad={};function am(e,t,n){"string"!=typeof t&&(n=t,t=am.defaultChars),void 0===n&&(n=!0);let r=function(e){let t=ad[e];if(t)return t;t=ad[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t),i="";for(let t=0,s=e.length;t<s;t++){let a=e.charCodeAt(t);if(n&&37===a&&t+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(a<128){i+=r[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1<s){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}am.defaultChars=";/?:@&=+$,-_.!~*'()#",am.componentChars="-_.!~*'()";let aE=am;function ag(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}function a_(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let aT=/^([a-z0-9.+-]+:)/i,aA=/:[0-9]*$/,ay=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ab=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]))),aC=["/","?","#"],ak=/^[+a-z0-9A-Z_-]{0,63}$/,aS=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,aN={javascript:!0,"javascript:":!0},aI={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a_.prototype.parse=function(e,t){let n,r,i,s=e;if(s=s.trim(),!t&&1===e.split("#").length){let e=ay.exec(s);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=aT.exec(s);if(a&&(n=(a=a[0]).toLowerCase(),this.protocol=a,s=s.substr(a.length)),(t||a||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===s.substr(0,2))&&!(a&&aN[a])&&(s=s.substr(2),this.slashes=!0),!aN[a]&&(i||a&&!aI[a])){let e,t,n=-1;for(let e=0;e<aC.length;e++)-1!==(r=s.indexOf(aC[e]))&&(-1===n||r<n)&&(n=r);
5-1!==(t=-1===n?s.lastIndexOf("@"):s.lastIndexOf("@",n))&&(e=s.slice(0,t),s=s.slice(t+1),this.auth=e),n=-1;for(let e=0;e<ab.length;e++)-1!==(r=s.indexOf(ab[e]))&&(-1===n||r<n)&&(n=r);-1===n&&(n=s.length),":"===s[n-1]&&n--;let i=s.slice(0,n);s=s.slice(n),this.parseHost(i),this.hostname=this.hostname||"";let a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(ak)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(ak)){let r=e.slice(0,t),i=e.slice(t+1),a=n.match(aS);a&&(r.push(a[1]),i.unshift(a[2])),i.length&&(s=i.join(".")+s),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let o=s.indexOf("#");-1!==o&&(this.hash=s.substr(o),s=s.slice(0,o));let l=s.indexOf("?");return -1!==l&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),aI[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a_.prototype.parseHost=function(e){let t=aA.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};let aD=function(e,t){if(e&&e instanceof a_)return e;let n=new a_;return n.parse(e,t),n},aO=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,av=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uD
5F3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,ax=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,aL=/[\0-\x1F\x7F-\x9F]/,aR=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,aw=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;function aM(e){return"[object String]"===Object.prototype.toString.call(e)}let aP=Object.prototype.hasOwnProperty;function aF(e,t){return aP.call(e,t)}function aB(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function aU(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function aH(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)&&!0}function aG(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}let a$=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,aq=RegExp(a$.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),aY=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function az(e){return 0>e.indexOf("\\")?e:e.replace(a$,"$1")}function aj(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(aq,function(e,t,n){if(t)return t;if(35===n.charCodeAt(0)&&aY.test(n)){let t="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return aH(t)?aG(t):e}let r=ex(e);return r!==e?r:e})}let aK=/[&<>"]/,aV=/[&<>"]/g,aX={"&":"&","<":"<",">":">",'"':"""};function aQ(e){return aX[e]}function aW(e){return aK.test(e)?e.replace(aV,aQ):e}let aZ=/[.?*+^$[\]\\(){}|-]/g;function aJ(e){return e.replace(aZ,"\\$&")}function a0(e){switch(e){case 9:case 32:return!0}return!1}function a1(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function a2(e){return aO.test(e)||av.test(e)}function a3(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function a5(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let a8={mdurl:B,ucmicro:U};function a6(e,t,n){let r,i,s,a,o=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<o;){if(93===(s=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===s){if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}}let c=-1;return i&&(c=e.pos),e.pos=l,c}function a4(e,t,n){let r,i=t,s={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n&&10!==(r=e.charCodeAt(i))&&60!==r;){if(62===r){s.pos=i+1,s.str=aj(e.slice(t+1,i)),s.ok=!0;break}if(92===r&&i+1<n){i+=2;continue}i++}return s}let a=0;for(;i<n&&32!==(r=e.charCodeAt(i))&&!(r<32)&&127!==r;){if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2;continue}if(40===r&&++a>32)return s;if(41===r){if(0===a)break;a--}i++}return t===i||0!==a||(s.str=aj(e.slice(t,i)),s.pos=i,s.ok=!0),s}function a9(e,t,n,r){let i,s=t,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(s>=n)return a;let r=e.charCodeAt(s);if(34!==r&&39!==r&&40!==r)return a;t++,s++,40===r&&(r=41),a.marker=r}for(;s<n;){if((i=e.charCodeAt(s))===a.marker)return a.pos=s+1,a.str+=aj(e.slice(t,s)),a.ok=!0,a;if(40===i&&41===a.marker)return a;92===i&&s+1<n&&s++,s++}
5return a.can_continue=!0,a.str+=aj(e.slice(t,s)),a}let a7={};function oe(){this.rules=aB({},a7)}function ot(){this.__rules__=[],this.__cache__=null}function on(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function or(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a7.code_inline=function(e,t,n,r,i){let s=e[t];return"<code"+i.renderAttrs(s)+">"+aW(s.content)+"</code>"},a7.code_block=function(e,t,n,r,i){let s=e[t];return"<pre"+i.renderAttrs(s)+"><code>"+aW(e[t].content)+"</code></pre>\n"},a7.fence=function(e,t,n,r,i){let s,a=e[t],o=a.info?aj(a.info).trim():"",l="",c="";if(o){let e=o.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(0===(s=n.highlight&&n.highlight(a.content,l,c)||aW(a.content)).indexOf("<pre"))return s+"\n";if(o){let e=a.attrIndex("class"),t=a.attrs?a.attrs.slice():[];return e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l),`<pre><code${i.renderAttrs({attrs:t})}>${s}</code></pre> 6`}return`<pre><code${i.renderAttrs(a)}>${s}</code></pre> 7`},a7.image=function(e,t,n,r,i){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,n,r),i.renderToken(e,t,n)},a7.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a7.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a7.text=function(e,t){return aW(e[t].content)},a7.html_block=function(e,t){return e[t].content},a7.html_inline=function(e,t){return e[t].content},oe.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(t=0,r="",n=e.attrs.length;t<n;t++)r+=" "+aW(e.attrs[t][0])+'="'+aW(e.attrs[t][1])+'"';return r},oe.prototype.renderToken=function(e,t,n){let r=e[t],i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let s=!1;if(r.block&&(s=!0,1===r.nesting&&t+1<e.length)){let n=e[t+1];"inline"===n.type||n.hidden?s=!1:-1===n.nesting&&n.tag===r.tag&&(s=!1)}return i+(s?">\n":">")},oe.prototype.renderInline=function(e,t,n){let r="",i=this.rules;for(let s=0,a=e.length;s<a;s++){let a=e[s].type;void 0!==i[a]?r+=i[a](e,s,t,n,this):r+=this.renderToken(e,s,t)}return r},oe.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,s=e.length;i<s;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},oe.prototype.render=function(e,t,n){let r="",i=this.rules;for(let s=0,a=e.length;s<a;s++){let a=e[s].type;"inline"===a?r+=this.renderInline(e[s].children,t,n):void 0!==i[a]?r+=i[a](e,s,t,n,this):r+=this.renderToken(e,s,t,n)}return r},ot.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},ot.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&0>n.alt.indexOf(t)||e.__cache__[t].push(n.fn))})})},ot.prototype.at=function(e,t,n){let r=this.__find__(e);if(-1===r)throw Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=(n||{}).alt||[],this.__cache__=null},ot.prototype.before=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},ot.prototype.after=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},ot.prototype.push=function(e,t,n){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(n||{}).alt||[]}),this.__cache__=null},ot.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);
7if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},ot.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},ot.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},ot.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},on.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return -1},on.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},on.prototype.attrSet=function(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},on.prototype.attrGet=function(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},on.prototype.attrJoin=function(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},or.prototype.Token=on;let oi=/\r\n?|\n/g,os=/\0/g,oa=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,oo=/\((c|tm|r)\)/i,ol=/\((c|tm|r)\)/ig,oc={c:"\xa9",r:"\xae",tm:"â¢"};function ou(e,t){return oc[t.toLowerCase()]}let oh=/['"]/,of=/['"]/g;function op(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}let od=[["normalize",function(e){let t;t=(t=e.src.replace(oi,"\n")).replace(os,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){let t=e.tokens;if(e.md.options.linkify)for(let i=0,s=t.length;i<s;i++){if("inline"!==t[i].type||!e.md.linkify.pretest(t[i].content))continue;let s=t[i].children,a=0;for(let o=s.length-1;o>=0;o--){let l=s[o];if("link_close"===l.type){for(o--;s[o].level!==l.level&&"link_open"!==s[o].type;)o--;continue}if("html_inline"===l.type){var n,r;n=l.content,/^<a[>\s]/i.test(n)&&a>0&&a--,r=l.content,/^<\/a\s*>/i.test(r)&&a++}if(!(a>0)&&"text"===l.type&&e.md.linkify.test(l.content)){let n=l.content,r=e.md.linkify.match(n),a=[],c=l.level,u=0;r.length>0&&0===r[0].index&&o>0&&"text_special"===s[o-1].type&&(r=r.slice(1));for(let t=0;t<r.length;t++){let i=r[t].url,s=e.md.normalizeLink(i);if(!e.md.validateLink(s))continue;let o=r[t].text;o=r[t].schema?"mailto:"!==r[t].schema||/^mailto:/i.test(o)?e.md.normalizeLinkText(o):e.md.normalizeLinkText("mailto:"+o).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+o).replace(/^http:\/\//,"");let l=r[t].index;if(l>u){let t=new e.Token("text","",0);t.content=n.slice(u,l),t.level=c,a.push(t)}let h=new e.Token("link_open","a",1);h.attrs=[["href",s]],h.level=c++,h.markup="linkify",h.info="auto",a.push(h);let f=new e.Token("text","",0);f.content=o,f.level=c,a.push(f);let p=new e.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",a.push(p),u=r[t].lastIndex}if(u<n.length){let t=new e.Token("text","",0);t.content=n.slice(u),t.level=c,a.push(t)}t[i].children=s=aU(s,o,a)}}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(oo.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"!==r.type||t||(r.content=r.content.replace(ol,ou)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children),oa.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"===r.type&&!t&&oa.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"â¦").replace(/([?!])â¦/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1â").replace(/(^|\s)--(?=\s|$)/mg,"$1â").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1â")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&oh.test(e.tokens[t].content)&&function(e,t){let n,r=[];for(let i=0;i<e.length;i++){let s=e[i],a=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=a);n--);if(r.length=n+1,"text"!==s.type)continue;let o=s.content,l=0,c=o.length;t:for(;l<c;){of.lastIndex=l;let u=of.exec(o);if(!u)break;let h=!0,f=!0;l=u.index+1;let p="'"===u[0],d=32;if(u.index-1>
7=0)d=o.charCodeAt(u.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){d=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l<c)m=o.charCodeAt(l);else for(n=i+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}let E=a3(d)||a2(String.fromCharCode(d)),g=a3(m)||a2(String.fromCharCode(m)),_=a1(d),T=a1(m);if(T?h=!1:g&&!(_||E)&&(h=!1),_?f=!1:E&&!(T||g)&&(f=!1),34===m&&'"'===u[0]&&d>=48&&d<=57&&(f=h=!1),h&&f&&(h=E,f=g),!h&&!f){p&&(s.content=op(s.content,u.index,"â"));continue}if(f)for(n=r.length-1;n>=0;n--){let h=r[n];if(r[n].level<a)break;if(h.single===p&&r[n].level===a){let a,f;h=r[n],p?(a=t.md.options.quotes[2],f=t.md.options.quotes[3]):(a=t.md.options.quotes[0],f=t.md.options.quotes[1]),s.content=op(s.content,u.index,f),e[h.token].content=op(e[h.token].content,h.pos,a),l+=f.length-1,h.token===i&&(l+=a.length-1),c=(o=s.content).length,r.length=n;continue t}}h?r.push({token:i,pos:u.index,single:p,level:a}):f&&p&&(s.content=op(s.content,u.index,"â"))}}}(e.tokens[t].children,e)}],["text_join",function(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;let i=r[e].children,s=i.length;for(t=0;t<s;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<s;t++)"text"===i[t].type&&t+1<s&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function om(){this.ruler=new ot;for(let e=0;e<od.length;e++)this.ruler.push(od[e][0],od[e][1])}function oE(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let i=this.src;for(let e=0,t=0,n=0,r=0,s=i.length,a=!1;t<s;t++){let o=i.charCodeAt(t);if(!a)if(a0(o)){n++,9===o?r+=4-r%4:r++;continue}else a=!0;(10===o||t===s-1)&&(10!==o&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),a=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}function og(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function o_(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),s=!1,a=0,o="";for(;r<n;)124===i&&(s?(o+=e.substring(a,r-1),a=r):(t.push(o+e.substring(a,r)),o="",a=r+1)),s=92===i,r++,i=e.charCodeAt(r);return t.push(o+e.substring(a)),t}function oT(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!a0(e.src.charCodeAt(r))?-1:r}function oA(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return -1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return -1;for(;;){if(i>=r)return -1;if((s=e.src.charCodeAt(i++))>=48&&s<=57){if(i-n>=10)return -1;continue}if(41===s||46===s)break;return -1}return i<r&&!a0(s=e.src.charCodeAt(i))?-1:i}om.prototype.process=function(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},om.prototype.State=or,oE.prototype.push=function(e,t,n){let r=new on(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},oE.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},oE.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},oE.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&a0(this.src.charCodeAt(e));e++);return e},oE.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a0(this.src.charCodeAt(--e)))return e+1;return e},oE.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},oE.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},oE.prototype.getLines=function(e,t,n,r){if(e>=t)return"";let i=Array(t-e);for(let s=0,a=e;a<t;a++,s++){let e,o=0,l=this.bMarks[a],c=l;for(e=a+1<t||r?this.eMarks[a]+1:this.eMarks[a];c<e&&o<n;
7){let e=this.src.charCodeAt(c);if(a0(e))9===e?o+=4-(o+this.bsCount[a])%4:o++;else if(c-l<this.tShift[a])o++;else break;c++}o>n?i[s]=Array(o-n+1).join(" ")+this.src.slice(c,e):i[s]=this.src.slice(c,e)}return i.join("")},oE.prototype.Token=on;let oy="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",ob="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",oC=RegExp("^(?:"+oy+"|"+ob+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),ok=RegExp("^(?:"+oy+"|"+ob+")"),oS=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp("^</?(address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(ok.source+"\\s*$"),/^$/,!1]],oN=[["table",function(e,t,n,r){let i;if(t+2>n)return!1;let s=t+1;if(e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)return!1;let a=e.bMarks[s]+e.tShift[s];if(a>=e.eMarks[s])return!1;let o=e.src.charCodeAt(a++);if(124!==o&&45!==o&&58!==o||a>=e.eMarks[s])return!1;let l=e.src.charCodeAt(a++);if(124!==l&&45!==l&&58!==l&&!a0(l)||45===o&&a0(l))return!1;for(;a<e.eMarks[s];){let t=e.src.charCodeAt(a);if(124!==t&&45!==t&&58!==t&&!a0(t))return!1;a++}let c=og(e,t+1),u=c.split("|"),h=[];for(let e=0;e<u.length;e++){let t=u[e].trim();if(!t)if(0===e||e===u.length-1)continue;else return!1;if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?h.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?h.push("left"):h.push("")}if(-1===(c=og(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;(u=o_(c)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop();let f=u.length;if(0===f||f!==h.length)return!1;if(r)return!0;let p=e.parentType;e.parentType="table";let d=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),E=[t,0];m.map=E,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<u.length;t++){let n=e.push("th_open","th",1);h[t]&&(n.attrs=[["style","text-align:"+h[t]]]);let r=e.push("inline","",0);r.content=u[t].trim(),r.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let g=0;for(s=t+2;s<n&&!(e.sCount[s]<e.blkIndent);s++){let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,s,n,!0)){r=!0;break}if(r||!(c=og(e,s).trim())||e.sCount[s]-e.blkIndent>=4||((u=o_(c)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),(g+=f-u.length)>65536))break;s===t+2&&(e.push("tbody_open","tbody",1).map=i=[t+2,0]),e.push("tr_open","tr",1).map=[s,s+1];for(let t=0;t<f;t++){let n=e.push("td_open","td",1);h[t]&&(n.attrs=[["style","text-align:"+h[t]]]);let r=e.push("inline","",0);r.content=u[t]?u[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return i&&(e.push("tbody_close","tbody",-1),i[1]=s),e.push("table_close","table",-1),E[1]=s,e.parentType=p,e.line=s,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){i=++r;continue}break}e.line=i;let s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",s.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;let a=e.src.charCodeAt(i);if(126!==a&&96!==a)return!1;let o=i,l=(i=e.skipChars(i,a))-o;if(l<3)return!1;let c=e.src.slice(o,i),u=e.src.slice(i,s);if(96===a&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let h=t,f=!1;for(;!(++h>=n)&&(!((i=o=e.bMarks[h]+e.tShift[h])<(s=e.eMarks[h]))||!(e.sCount[h]<e.blkIndent));){;
7if(!(e.src.charCodeAt(i)!==a||e.sCount[h]-e.blkIndent>=4||(i=e.skipChars(i,a))-o<l)&&!((i=e.skipSpaces(i))<s)){f=!0;break}}l=e.sCount[t],e.line=h+ +!!f;let p=e.push("fence","code",0);return p.info=u,p.content=e.getLines(t+1,h,l,!0),p.markup=c,p.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i,s=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(s))return!1;if(r)return!0;let l=[],c=[],u=[],h=[],f=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let d=!1;for(i=t;i<n;i++){let t=e.sCount[i]<e.blkIndent;if((s=e.bMarks[i]+e.tShift[i])>=(a=e.eMarks[i]))break;if(62===e.src.charCodeAt(s++)&&!t){let t,n,r=e.sCount[i]+1;32===e.src.charCodeAt(s)?(s++,r++,n=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[i]+r)%4==3?(s++,r++,n=!1):n=!0):t=!1;let o=r;for(l.push(e.bMarks[i]),e.bMarks[i]=s;s<a;){let t=e.src.charCodeAt(s);if(a0(t))9===t?o+=4-(o+e.bsCount[i]+ +!!n)%4:o++;else break;s++}d=s>=a,c.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+ +!!t,u.push(e.sCount[i]),e.sCount[i]=o-r,h.push(e.tShift[i]),e.tShift[i]=s-e.bMarks[i];continue}if(d)break;let r=!1;for(let t=0,s=f.length;t<s;t++)if(f[t](e,i,n,!0)){r=!0;break}if(r){e.lineMax=i,0!==e.blkIndent&&(l.push(e.bMarks[i]),c.push(e.bsCount[i]),h.push(e.tShift[i]),u.push(e.sCount[i]),e.sCount[i]-=e.blkIndent);break}l.push(e.bMarks[i]),c.push(e.bsCount[i]),h.push(e.tShift[i]),u.push(e.sCount[i]),e.sCount[i]=-1}let m=e.blkIndent;e.blkIndent=0;let E=e.push("blockquote_open","blockquote",1);E.markup=">";let g=[t,0];E.map=g,e.md.block.tokenize(e,t,i),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=o,e.parentType=p,g[1]=e.line;for(let n=0;n<h.length;n++)e.bMarks[n+t]=l[n],e.tShift[n+t]=h[n],e.sCount[n+t]=u[n],e.bsCount[n+t]=c[n];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(s++);if(42!==a&&45!==a&&95!==a)return!1;let o=1;for(;s<i;){let t=e.src.charCodeAt(s++);if(t!==a&&!a0(t))return!1;t===a&&o++}if(o<3)return!1;if(r)return!0;e.line=t+1;let l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(o+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,s,a,o,l,c,u,h=t,f=!0;if(e.sCount[h]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[h]-e.listIndent>=4&&e.sCount[h]<e.blkIndent)return!1;let p=!1;if(r&&"paragraph"===e.parentType&&e.sCount[h]>
7=e.blkIndent&&(p=!0),(u=oA(e,h))>=0){if(l=!0,a=e.bMarks[h]+e.tShift[h],c=Number(e.src.slice(a,u-1)),p&&1!==c)return!1}else{if(!((u=oT(e,h))>=0))return!1;l=!1}if(p&&e.skipSpaces(u)>=e.eMarks[h])return!1;if(r)return!0;let d=e.src.charCodeAt(u-1),m=e.tokens.length;l?(o=e.push("ordered_list_open","ol",1),1!==c&&(o.attrs=[["start",c]])):o=e.push("bullet_list_open","ul",1);let E=[h,0];o.map=E,o.markup=String.fromCharCode(d);let g=!1,_=e.md.block.ruler.getRules("list"),T=e.parentType;for(e.parentType="list";h<n;){let t;s=u,i=e.eMarks[h];let r=e.sCount[h]+u-(e.bMarks[h]+e.tShift[h]),c=r;for(;s<i;){let t=e.src.charCodeAt(s);if(9===t)c+=4-(c+e.bsCount[h])%4;else if(32===t)c++;else break;s++}let p=s;(t=p>=i?1:c-r)>4&&(t=1);let m=r+t;(o=e.push("list_item_open","li",1)).markup=String.fromCharCode(d);let E=[h,0];o.map=E,l&&(o.info=e.src.slice(a,u-1));let T=e.tight,A=e.tShift[h],y=e.sCount[h],b=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[h]=p-e.bMarks[h],e.sCount[h]=c,p>=i&&e.isEmpty(h+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,h,n,!0),(!e.tight||g)&&(f=!1),g=e.line-h>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=b,e.tShift[h]=A,e.sCount[h]=y,e.tight=T,(o=e.push("list_item_close","li",-1)).markup=String.fromCharCode(d),h=e.line,E[1]=h,h>=n||e.sCount[h]<e.blkIndent||e.sCount[h]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=_.length;t<r;t++)if(_[t](e,h,n,!0)){C=!0;break}if(C)break;if(l){if((u=oA(e,h))<0)break;a=e.bMarks[h]+e.tShift[h]}else if((u=oT(e,h))<0)break;if(d!==e.src.charCodeAt(u-1))break}return(o=l?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(d),E[1]=h,e.line=h,e.parentType=T,f&&function(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i,s=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(s))return!1;function l(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let s=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,t,n,!0)){s=!0;break}if(e.parentType=i,s)return null}let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];return e.src.slice(i,s+1)}let c=e.src.slice(s,a+1);a=c.length;let u=-1;for(s=1;s<a;s++){let e=c.charCodeAt(s);if(91===e)return!1;if(93===e){u=s;break}if(10===e){let e=l(o);null!==e&&(c+=e,a=c.length,o++)}else if(92===e&&++s<a&&10===c.charCodeAt(s)){let e=l(o);null!==e&&(c+=e,a=c.length,o++)}}if(u<0||58!==c.charCodeAt(u+1))return!1;for(s=u+2;s<a;s++){let e=c.charCodeAt(s);if(10===e){let e=l(o);null!==e&&(c+=e,a=c.length,o++)}else if(a0(e));else break}let h=e.md.helpers.parseLinkDestination(c,s,a);if(!h.ok)return!1;let f=e.md.normalizeLink(h.str);if(!e.md.validateLink(f))return!1;let p=s=h.pos,d=o,m=s;for(;s<a;s++){let e=c.charCodeAt(s);if(10===e){let e=l(o);null!==e&&(c+=e,a=c.length,o++)}else if(a0(e));else break}let E=e.md.helpers.parseLinkTitle(c,s,a);for(;E.can_continue;){let t=l(o);if(null===t)break;c+=t,s=a,a=c.length,o++,E=e.md.helpers.parseLinkTitle(c,s,a,E)}for(s<a&&m!==s&&E.ok?(i=E.str,s=E.pos):(i="",s=p,o=d);s<a&&a0(c.charCodeAt(s));)s++;if(s<a&&10!==c.charCodeAt(s)&&i)for(i="",s=p,o=d;s<a&&a0(c.charCodeAt(s));)s++;if(s<a&&10!==c.charCodeAt(s))return!1;let g=a5(c.slice(1,u));return!!g&&(!!r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[g]&&(e.env.references[g]={title:i,href:f}),e.line=o,!0))}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let a=e.src.slice(i,s),o=0;for(;o<oS.length&&!oS[o][0].test(a);o++);if(o===oS.length)return!1;if(r)return oS[o][2];let l=t+1;if(!oS[o][1].test(a)){for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],s=e.eMarks[l],a=e.src.slice(i,s),oS[o][1].test(a)){0!==a.length&&l++;break}}e.line=l;let c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;
7let a=e.src.charCodeAt(i);if(35!==a||i>=s)return!1;let o=1;for(a=e.src.charCodeAt(++i);35===a&&i<s&&o<=6;)o++,a=e.src.charCodeAt(++i);if(o>6||i<s&&!a0(a))return!1;if(r)return!0;s=e.skipSpacesBack(s,i);let l=e.skipCharsBack(s,35,i);l>i&&a0(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;let c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[t,e.line];let u=e.push("inline","",0);return u.content=e.src.slice(i,s).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(o),-1).markup="########".slice(0,o),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){let r,i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.parentType;e.parentType="paragraph";let a=0,o=t+1;for(;o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let t=e.bMarks[o]+e.tShift[o],n=e.eMarks[o];if(t<n&&(45===(r=e.src.charCodeAt(t))||61===r)&&(t=e.skipChars(t,r),(t=e.skipSpaces(t))>=n)){a=61===r?1:2;break}}if(e.sCount[o]<0)continue;let t=!1;for(let r=0,s=i.length;r<s;r++)if(i[r](e,o,n,!0)){t=!0;break}if(t)break}if(!a)return!1;let l=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o+1;let c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(r),c.map=[t,e.line];let u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(r),e.parentType=s,!0}],["paragraph",function(e,t,n){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,s=t+1;for(e.parentType="paragraph";s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}let a=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s,e.push("paragraph_open","p",1).map=[t,e.line];let o=e.push("inline","",0);return o.content=a,o.map=[t,e.line],o.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function oI(){this.ruler=new ot;for(let e=0;e<oN.length;e++)this.ruler.push(oN[e][0],oN[e][1],{alt:(oN[e][2]||[]).slice()})}function oD(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}oI.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(""),i=r.length,s=e.md.options.maxNesting,a=t,o=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n)&&!(e.sCount[a]<e.blkIndent));){if(e.level>=s){e.line=n;break}let t=e.line,l=!1;for(let s=0;s<i;s++)if(l=r[s](e,a,n,!1)){if(t>=e.line)throw Error("block rule didn't increment state.line");break}if(!l)throw Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),(a=e.line)<n&&e.isEmpty(a)&&(o=!0,e.line=++a)}},oI.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},oI.prototype.State=oE,oD.prototype.pushPending=function(){let e=new on("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},oD.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new on(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},oD.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s<n&&this.src.charCodeAt(s)===r;)s++;let a=s-e,o=s<n?this.src.charCodeAt(s):32,l=a3(i)||a2(String.fromCharCode(i)),c=a3(o)||a2(String.fromCharCode(o)),u=a1(i),h=a1(o),f=!h&&(!c||u||l),p=!u&&(!l||h||c);return{can_open:f&&(t||!p||l),can_close:p&&(t||!f||c),length:a}},oD.prototype.Token=on;let oO=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,ov=[];for(let e=0;e<256;e++)ov.push(0);function ox(e,t){let n,r=[],i=t.length;for(let s=0;s<i;s++){let i=t[s];if(126!==i.marker||-1===i.end)continue;let a=t[i.end];(n=e.tokens[i.token]).type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",(n=e.tokens[a.token]).type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&r.push(a.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;t!==--i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ov[e.charCodeAt(0)]=1});
7let oL={tokenize:function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||126!==r)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,a=String.fromCharCode(r);if(s<2)return!1;s%2&&(e.push("text","",0).content=a,s--);for(let t=0;t<s;t+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){let t=e.tokens_meta,n=e.tokens_meta.length;ox(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&ox(e,t[r].delimiters)}};function oR(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(95!==n.marker&&42!==n.marker||-1===n.end)continue;let i=t[n.end],s=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,a=String.fromCharCode(n.marker),o=e.tokens[n.token];o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="";let l=e.tokens[i.token];l.type=s?"strong_close":"em_close",l.tag=s?"strong":"em",l.nesting=-1,l.markup=s?a+a:a,l.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--)}}let ow={tokenize:function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||95!==r&&42!==r)return!1;let i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){let t=e.tokens_meta,n=e.tokens_meta.length;oR(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&oR(e,t[r].delimiters)}},oM=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,oP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,oF=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,oB=/^&([a-z][a-z0-9]{1,31});/i;function oU(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,s=[];for(let a=0;a<n;a++){let n=e[a];if(s.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=a),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let o=t[n.marker][3*!!n.open+n.length%3],l=r-s[r]-1,c=l;for(;l>o;l-=s[l]+1){let t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=l>0&&!e[l-1].open?s[l-1]+1:0;s[a]=a-l+r,s[l]=r,n.open=!1,t.end=a,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][3*!!n.open+(n.length||0)%3]=c)}}let oH=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;let r=e.pending.match(oO);if(!r)return!1;let i=r[1],s=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!s)return!1;let a=s.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");let o=e.md.normalizeLink(a);if(!e.md.validateLink(o))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let t=e.push("link_open","a",1);t.attrs=[["href",o]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;
7n<i&&a0(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos,r=e.posMax;if(92!==e.src.charCodeAt(n)||++n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&a0(i=e.src.charCodeAt(n));)n++;return e.pos=n,!0}let s=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(s+=e.src[n+1],n++)}let a="\\"+s;if(!t){let t=e.push("text_special","",0);i<256&&0!==ov[i]?t.content=s:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n,r=e.pos;if(96!==e.src.charCodeAt(r))return!1;let i=r;r++;let s=e.posMax;for(;r<s&&96===e.src.charCodeAt(r);)r++;let a=e.src.slice(i,r),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=i)return t||(e.pending+=a),e.pos+=o,!0;let l=r;for(;-1!==(n=e.src.indexOf("`",l));){for(l=n+1;l<s&&96===e.src.charCodeAt(l);)l++;let i=l-n;if(i===o){if(!t){let t=e.push("code_inline","code",0);t.markup=a,t.content=e.src.slice(r,n).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[i]=n}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}],["strikethrough",oL.tokenize],["emphasis",ow.tokenize],["link",function(e,t){let n,r,i,s,a="",o="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;let u=e.pos,h=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let d=p+1;if(d<h&&40===e.src.charCodeAt(d)){for(c=!1,d++;d<h&&(a0(n=e.src.charCodeAt(d))||10===n);d++);if(d>=h)return!1;if(l=d,(i=e.md.helpers.parseLinkDestination(e.src,d,e.posMax)).ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?d=i.pos:a="",l=d;d<h&&(a0(n=e.src.charCodeAt(d))||10===n);d++);if(i=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<h&&l!==d&&i.ok)for(o=i.str,d=i.pos;d<h&&(a0(n=e.src.charCodeAt(d))||10===n);d++);}(d>=h||41!==e.src.charCodeAt(d))&&(c=!0),d++}if(c){if(void 0===e.env.references)return!1;if(d<h&&91===e.src.charCodeAt(d)?(l=d+1,(d=e.md.helpers.parseLinkLabel(e,d))>=0?r=e.src.slice(l,d++):d=p+1):d=p+1,r||(r=e.src.slice(f,p)),!(s=e.env.references[a5(r)]))return e.pos=u,!1;a=s.href,o=s.title}if(!t){e.pos=f,e.posMax=p;let t=e.push("link_open","a",1),n=[["href",a]];t.attrs=n,o&&n.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=h,!0}],["image",function(e,t){let n,r,i,s,a,o,l,c,u="",h=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let p=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if((s=d+1)<f&&40===e.src.charCodeAt(s)){for(s++;s<f&&(a0(n=e.src.charCodeAt(s))||10===n);s++);if(s>=f)return!1;for(c=s,(o=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok&&(u=e.md.normalizeLink(o.str),e.md.validateLink(u)?s=o.pos:u=""),c=s;s<f&&(a0(n=e.src.charCodeAt(s))||10===n);s++);if(o=e.md.helpers.parseLinkTitle(e.src,s,e.posMax),s<f&&c!==s&&o.ok)for(l=o.str,s=o.pos;s<f&&(a0(n=e.src.charCodeAt(s))||10===n);s++);else l="";if(s>=f||41!==e.src.charCodeAt(s))return e.pos=h,!1;s++}else{if(void 0===e.env.references)return!1;if(s<f&&91===e.src.charCodeAt(s)?(c=s+1,(s=e.md.helpers.parseLinkLabel(e,s))>=0?i=e.src.slice(c,s++):s=d+1):s=d+1,i||(i=e.src.slice(p,d)),!(a=e.env.references[a5(i)]))return e.pos=h,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(p,d);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=s,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}let s=e.src.slice(r+1,n);if(oP.test(s)){let n=e.md.normalizeLink(s);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=s.length+2,!0}if(oM.test(s)){let n=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=s.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;
7let n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let s=e.src.slice(r).match(oC);if(!s)return!1;if(!t){var a,o;let t=e.push("html_inline","",0);t.content=s[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,o=t.content,/^<\/a\s*>/i.test(o)&&e.linkLevel--}return e.pos+=s[0].length,!0}],["entity",function(e,t){let n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n)||n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){let r=e.src.slice(n).match(oF);if(r){if(!t){let t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=aH(t)?aG(t):aG(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(oB);if(r){let n=ex(r[0]);if(n!==r[0]){if(!t){let t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],oG=[["balance_pairs",function(e){let t=e.tokens_meta,n=e.tokens_meta.length;oU(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&oU(t[e].delimiters)}],["strikethrough",oL.postProcess],["emphasis",ow.postProcess],["fragments_join",function(e){let t,n,r=0,i=e.tokens,s=e.tokens.length;for(t=n=0;t<s;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<s&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function o$(){this.ruler=new ot;for(let e=0;e<oH.length;e++)this.ruler.push(oH[e][0],oH[e][1]);this.ruler2=new ot;for(let e=0;e<oG.length;e++)this.ruler2.push(oG[e][0],oG[e][1])}function oq(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function oY(e){return Object.prototype.toString.call(e)}function oz(e){return"[object Function]"===oY(e)}function oj(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}o$.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,s=e.cache;if(void 0!==s[t]){e.pos=s[t];return}let a=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,a=n[i](e,!0),e.level--,a){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!a&&e.pos++,s[t]=e.pos},o$.prototype.tokenize=function(e){let t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let s=e.pos,a=!1;if(e.level<i){for(let r=0;r<n;r++)if(a=t[r](e,!1)){if(s>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o$.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let s=this.ruler2.getRules(""),a=s.length;for(let e=0;e<a;e++)s[e](i)},o$.prototype.State=oD;let oK={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},oV={"http:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.http||(n.re.http=RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r))?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){let r=e.slice(t);return(n.re.no_http||(n.re.no_http=RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.mailto||(n.re.mailto=RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r))?r.match(n.re.mailto)[0].length:0}}},oX="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function oQ(){return function(e,t){t.normalize(e)}}function oW(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=ax.source,t.src_Cc=aL.source,t.src_Z=aw.source,t.src_P=aO.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let n="[><ï½]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}
7"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+t.src_ZPCc+"))((?![$+<=>^`|ï½])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+t.src_ZPCc+"))((?![$+<=>^`|ï½])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");let i=[];function s(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(null===n)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===oY(n)){if("[object RegExp]"===oY(n.validate)){var a;a=n.validate,r.validate=function(e,t){let n=e.slice(t);return a.test(n)?n.match(a)[0].length:0}}else oz(n.validate)?r.validate=n.validate:s(t,n);oz(n.normalize)?r.normalize=n.normalize:n.normalize?s(t,n):r.normalize=oQ();return}if("[object String]"===oY(n))return void i.push(t);s(t,n)}
7),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:oQ()};let a=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(oj).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><ï½]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function oZ(e,t){let n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function oJ(e,t){let n=new oZ(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function o0(e,t){if(!(this instanceof o0))return new o0(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||oK.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=oq({},oK,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=oq({},oV,e),this.__compiled__={},this.__tlds__=oX,this.__tlds_replaced__=!1,this.re={},oW(this)}o0.prototype.add=function(e,t){return this.__schemas__[e]=t,oW(this),this},o0.prototype.set=function(e){return this.__opts__=oq(this.__opts__,e),this},o0.prototype.test=function(e){let t,n,r,i,s,a,o,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((o=this.re.schema_search).lastIndex=0;null!==(t=o.exec(e));)if(i=this.testSchemaAt(e,t[2],o.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(s=n.index+n[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(s=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=a)),this.__index__>=0},o0.prototype.pretest=function(e){return this.re.pretest.test(e)},o0.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},o0.prototype.match=function(e){let t=[],n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(oJ(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(oJ(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},o0.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,oJ(this,0)):null},o0.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),oW(this),this},o0.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},o0.prototype.onCompile=function(){};let o1=/^xn--/,o2=/[^\0-\x7F]/,o3=/[\x2E\u3002\uFF0E\uFF61]/g,o5={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},o8=Math.floor,o6=String.fromCharCode;function o4(e){throw RangeError(o5[e])}function o9(e,t){let n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(o3,".")).split("."),t).join(".")}let o7=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},le=function(e,t,n){let r=0;for(e=n?o8(e/700):e>>1,e+=o8(e/t);e>455;r+=36)e=o8(e/35);return o8(r+36*e/(e+38))},lt=function(e){let t=[],n=e.length,r=0,i=128,s=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&o4("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l<n;){let a=r;for(let t=1,i=36;;i+=36){var o;l>=n&&o4("invalid-input");let a=(o=e.charCodeAt(l++))>=48&&o<58?26+(o-48):o>=65&&o<91?o-65:o>=97&&o<123?o-97:36;a>=36&&o4("invalid-input"),a>o8((0x7fffffff-r)/t)&&o4("overflow"),r+=a*t;let c=i<=s?1:i>=s+26?26:i-s;if(a<c)break;let u=36-c;t>o8(0x7fffffff/u)&&o4("overflow"),t*=u}let c=t.length+1;s=le(r-a,c,0==a),o8(r/c)>0x7fffffff-i&&o4("overflow"),i+=o8(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},ln=function(e){let t=[],n=(e=function(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(64512&r)==56320?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,r=128,i=0,s=72;for(let n of e)n<128&&t.push(o6(n));let a=t.length,o=a;
7for(a&&t.push("-");o<n;){let n=0x7fffffff;for(let t of e)t>=r&&t<n&&(n=t);let l=o+1;for(let c of(n-r>o8((0x7fffffff-i)/l)&&o4("overflow"),i+=(n-r)*l,r=n,e))if(c<r&&++i>0x7fffffff&&o4("overflow"),c===r){let e=i;for(let n=36;;n+=36){let r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;let i=e-r,a=36-r;t.push(o6(o7(r+i%a,0))),e=o8(i/a)}t.push(o6(o7(e,0))),s=le(i,l,o===a),i=0,++o}++i,++r}return t.join("")},lr={toASCII:function(e){return o9(e,function(e){return o2.test(e)?"xn--"+ln(e):e})},toUnicode:function(e){return o9(e,function(e){return o1.test(e)?lt(e.slice(4).toLowerCase()):e})}},li={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},ls=/^(vbscript|javascript|file|data):/,la=/^data:image\/(gif|png|jpeg|webp);/;function lo(e){let t=e.trim().toLowerCase();return!ls.test(t)||la.test(t)}let ll=["http:","https:","mailto:"];function lc(e){let t=aD(e,!0);if(t.hostname&&(!t.protocol||ll.indexOf(t.protocol)>=0))try{t.hostname=lr.toASCII(t.hostname)}catch(e){}return aE(ag(t))}function lu(e){let t=aD(e,!0);if(t.hostname&&(!t.protocol||ll.indexOf(t.protocol)>=0))try{t.hostname=lr.toUnicode(t.hostname)}catch(e){}return ap(ag(t),ap.defaultChars+"%")}function lh(e,t){if(!(this instanceof lh))return new lh(e,t);t||aM(e)||(t=e||{},e="default"),this.inline=new o$,this.block=new oI,this.core=new om,this.renderer=new oe,this.linkify=new o0,this.validateLink=lo,this.normalizeLink=lc,this.normalizeLinkText=lu,this.utils=H,this.helpers=aB({},G),this.options={},this.configure(e),t&&this.set(t)}function lf(e){function t(e,t){let n,r=[],i=t.length;for(let s=0;s<i;s++){let i=t[s];if(43!==i.marker||-1===i.end)continue;let a=t[i.end];(n=e.tokens[i.token]).type="ins_open",n.tag="ins",n.nesting=1,n.markup="++",n.content="",(n=e.tokens[a.token]).type="ins_close",n.tag="ins",n.nesting=-1,n.markup="++",n.content="","text"===e.tokens[a.token-1].type&&"+"===e.tokens[a.token-1].content&&r.push(a.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&"ins_close"===e.tokens[i].type;)i++;t!==--i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}e.inline.ruler.before("emphasis","ins",function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||43!==r)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,a=String.fromCharCode(r);if(s<2)return!1;s%2&&(e.push("text","",0).content=a,s--);for(let t=0;t<s;t+=2)e.push("text","",0).content=a+a,(i.can_open||i.can_close)&&e.delimiters.push({marker:r,length:0,jump:t/2,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}),e.inline.ruler2.before("emphasis","ins",function(e){let n=e.tokens_meta,r=(e.tokens_meta||[]).length;t(e,e.delimiters);for(let i=0;i<r;i++)n[i]&&n[i].delimiters&&t(e,n[i].delimiters)})}function lp(e){function t(e,t){let n=[],r=t.length;for(let i=0;i<r;i++){let r=t[i];if(61!==r.marker||-1===r.end)continue;let s=t[r.end],a=e.tokens[r.token];a.type="mark_open",a.tag="mark",a.nesting=1,a.markup="==",a.content="";let o=e.tokens[s.token];o.type="mark_close",o.tag="mark",o.nesting=-1,o.markup="==",o.content="","text"===e.tokens[s.token-1].type&&"="===e.tokens[s.token-1].content&&n.push(s.token-1)}for(;n.length;){let t=n.pop(),r=t+1;for(;r<e.tokens.length&&"mark_close"===e.tokens[r].type;)r++;
7if(t!==--r){let n=e.tokens[r];e.tokens[r]=e.tokens[t],e.tokens[t]=n}}}e.inline.ruler.before("emphasis","mark",function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||61!==r)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,a=String.fromCharCode(r);if(s<2)return!1;s%2&&(e.push("text","",0).content=a,s--);for(let t=0;t<s;t+=2)e.push("text","",0).content=a+a,(i.can_open||i.can_close)&&e.delimiters.push({marker:r,length:0,jump:t/2,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}),e.inline.ruler2.before("emphasis","mark",function(e){let n,r=e.tokens_meta,i=(e.tokens_meta||[]).length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)})}lh.prototype.set=function(e){return aB(this.options,e),this},lh.prototype.configure=function(e){let t=this;if(aM(e)){let t=e;if(!(e=li[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[
7n].ruler2.enableOnly(e.components[n].rules2)}),this},lh.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},lh.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},lh.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},lh.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},lh.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},lh.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},lh.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};let ld=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function lm(e,t){let n=e.posMax,r=e.pos;if(126!==e.src.charCodeAt(r)||t||r+2>=n)return!1;e.pos=r+1;let i=!1;for(;e.pos<n;){if(126===e.src.charCodeAt(e.pos)){i=!0;break}e.md.inline.skipToken(e)}if(!i||r+1===e.pos)return e.pos=r,!1;let s=e.src.slice(r+1,e.pos);return s.match(/(^|[^\\])(\\\\)*\s/)?(e.pos=r,!1):(e.posMax=e.pos,e.pos=r+1,e.push("sub_open","sub",1).markup="~",e.push("text","",0).content=s.replace(ld,"$1"),e.push("sub_close","sub",-1).markup="~",e.pos=e.posMax+1,e.posMax=n,!0)}function lE(e){e.inline.ruler.after("emphasis","sub",lm)}let lg=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function l_(e,t){let n=e.posMax,r=e.pos;if(94!==e.src.charCodeAt(r)||t||r+2>=n)return!1;e.pos=r+1;let i=!1;for(;e.pos<n;){if(94===e.src.charCodeAt(e.pos)){i=!0;break}e.md.inline.skipToken(e)}if(!i||r+1===e.pos)return e.pos=r,!1;let s=e.src.slice(r+1,e.pos);return s.match(/(^|[^\\])(\\\\)*\s/)?(e.pos=r,!1):(e.posMax=e.pos,e.pos=r+1,e.push("sup_open","sup",1).markup="^",e.push("text","",0).content=s.replace(lg,"$1"),e.push("sup_close","sup",-1).markup="^",e.pos=e.posMax+1,e.posMax=n,!0)}function lT(e){e.inline.ruler.after("emphasis","sup",l_)}let lA=Symbol.for("yaml.alias"),ly=Symbol.for("yaml.document"),lb=Symbol.for("yaml.map"),lC=Symbol.for("yaml.pair"),lk=Symbol.for("yaml.scalar"),lS=Symbol.for("yaml.seq"),lN=Symbol.for("yaml.node.type"),lI=e=>!!e&&"object"==typeof e&&e[lN]===lA,lD=e=>!!e&&"object"==typeof e&&e[lN]===ly,lO=e=>!!e&&"object"==typeof e&&e[lN]===lb,lv=e=>!!e&&"object"==typeof e&&e[lN]===lC,lx=e=>!!e&&"object"==typeof e&&e[lN]===lk,lL=e=>!!e&&"object"==typeof e&&e[lN]===lS;function lR(e){if(e&&"object"==typeof e)switch(e[lN]){case lb:case lS:return!0}return!1}function lw(e){if(e&&"object"==typeof e)switch(e[lN]){case lA:case lb:case lk:case lS:return!0}return!1}let lM=Symbol("break visit"),lP=Symbol("skip children"),lF=Symbol("remove node");function lB(e,t){let n=l$(t);lD(e)?lU(null,e.contents,n,Object.freeze([e]))===lF&&(e.contents=null):lU(null,e,n,Object.freeze([]))}function lU(e,t,n,r){let i=lq(e,t,n,r);if(lw(i)||lv(i))return lY(e,r,i),lU(e,i,n,r);if("symbol"!=typeof i){if(lR(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=lU(e,t.items[e],n,r);if("number"==typeof i)e=i-1;else{if(i===lM)return lM;i===lF&&(t.items.splice(e,1),e-=1)}}}else if(lv(t)){r=Object.freeze(r.concat(t));let e=lU("key",t.key,n,r);if(e===lM)return lM;e===lF&&(t.key=null);let i=lU("value",t.value,n,r);if(i===lM)return lM;i===lF&&(t.value=null)}}return i}async function lH(e,t){let n=l$(t);lD(e)?await lG(null,e.contents,n,Object.freeze([e]))===lF&&(e.contents=null):await lG(null,e,n,Object.freeze([]))}async function lG(e,t,n,r){let i=await lq(e,t,n,r);if(lw(i)||lv(i))return lY(e,r,i),lG(e,i,n,r);if("symbol"!=typeof i){if(lR(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=await lG(e,t.items[e],n,r);if("number"==typeof i)e=i-1;else{if(i===lM)return lM;i===lF&&(t.items.splice(e,1),e-=1)}}}else if(lv(t)){r=Object.freeze(r.concat(t));let e=await lG("key",t.key,n,r);if(e===lM)return lM;e===lF&&(t.key=null);let i=await lG("value",t.value,n,r);if(i===lM)return lM;i===lF&&(t.value=null)}}return i}function l$(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function lq(e,t,n,r){return"function"==typeof n?n(e,t,r):lO(t)?n.Map?.(e,t,r):lL(t)?n.Seq?.(e,t,r):lv(t)?n.Pair?.(e,t,r):lx(t)?n.Scalar?.(e,t,r):lI(t)?n.Alias?.(e,t,r):void 0}function lY(e,t,n){let r=t[t.length-1];if(lR(r))r.items[e]=n;else if(lv(r))"key"===e?r.key=n:r.value=n;else if(lD(r))r.contents=n;else{let e=lI(r)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}lB.BREAK=lM,lB.SKIP=lP,lB.REMOVE=lF,lH.BREAK=lM,lH.SKIP=lP,lH.REMOVE=lF;
7let lz={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},lj=e=>e.replace(/[!,[\]{}]/g,e=>lz[e]);class lK{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},lK.defaultYaml,e),this.tags=Object.assign({},lK.defaultTags,t)}clone(){let e=new lK(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new lK(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:lK.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},lK.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:lK.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},lK.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+lj(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&lw(e.contents)){let n={};lB(e.contents,(e,t)=>{lw(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[i,s]of r)("!!"!==i||"tag:yaml.org,2002:"!==s)&&(!e||t.some(e=>e.startsWith(s)))&&n.push(`%TAG ${i} ${s}`);return n.join("\n")}}function lV(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function lX(e){let t=new Set;return lB(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function lQ(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function lW(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=lW(e,r,String(t),n);void 0===i?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=lW(e,r,t,n);void 0===i?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=lW(e,r,t,t);void 0===n?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=lW(e,r,t,n);void 0===i?delete r[t]:i!==n&&(r[t]=i)}return e.call(t,n,r)}function lZ(e,t,n){if(Array.isArray(e))return e.map((e,t)=>lZ(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!((lx(e)||lR(e))&&e.anchor))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return"bigint"!=typeof e||n?.keep?e:Number(e)}lK.defaultYaml={explicit:!1,version:"1.2"},lK.defaultTags={"!!":"tag:yaml.org,2002:"};class lJ{constructor(e){Object.defineProperty(this,lN,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!lD(e))throw TypeError("A document argument is required");let s={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},a=lZ(this,"",s);if("function"==typeof r)for(let{count:e,res:t}of s.anchors.values())r(t,e);return"function"==typeof i?lW(i,{"":a},"",a):a}}class l0 extends lJ{constructor(e){super(lA),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e){let t;return lB(e,{Node:(e,n)=>{if(n===this)return lB.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,s=this.resolve(r);if(!s)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let a=n.get(s);if(a||(lZ(s,null,t),a=n.get(s)),!a||void 0===a.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=function e(t,n,r){if(lI(n)){let e=n.resolve(t),i=r&&e&&r.get(e);return i?i.count*i.aliasCount:0}if(lR(n)){let i=0;for(let s of n.items){let n=e(t,s,r);n>i&&(i=n)}return i}return lv(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,s,n)),a.count*a.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exh
7austion attack");return a.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(lV(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${r} `}return r}}let l1=e=>!e||"function"!=typeof e&&"object"!=typeof e;class l2 extends lJ{constructor(e){super(lk),this.value=e}toJSON(e,t){return t?.keep?this.value:lZ(this.value,e,t)}toString(){return String(this.value)}}function l3(e,t,n){let r;if(lD(e)&&(e=e.contents),lw(e))return e;if(lv(e)){let t=n.schema[lb].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:s,onTagObj:a,schema:o,sourceObjects:l}=n;if(i&&e&&"object"==typeof e){if(r=l.get(e))return r.anchor||(r.anchor=s(e)),new l0(r.anchor);r={anchor:null,node:null},l.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let c=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,o.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new l2(e);return r&&(r.node=t),t}c=e instanceof Map?o[lb]:Symbol.iterator in Object(e)?o[lS]:o[lb]}a&&(a(c),delete n.onTagObj);let u=c?.createNode?c.createNode(n.schema,e,n):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(n.schema,e,n):new l2(e);return t?u.tag=t:c.default||(u.tag=c.tag),r&&(r.node=u),u}function l5(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return l3(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}l2.BLOCK_FOLDED="BLOCK_FOLDED",l2.BLOCK_LITERAL="BLOCK_LITERAL",l2.PLAIN="PLAIN",l2.QUOTE_DOUBLE="QUOTE_DOUBLE",l2.QUOTE_SINGLE="QUOTE_SINGLE";let l8=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class l6 extends lJ{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>lw(t)||lv(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(l8(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(lR(i))i.addIn(r,t);else if(void 0===i&&this.schema)this.set(n,l5(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(lR(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return 0===r.length?!t&&lx(i)?i.value:i:lR(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!lv(t))return!1;let n=t.value;return null==n||e&&lx(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!lR(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(lR(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,l5(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}let l4=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function l9(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let l7=(e,t,n)=>e.endsWith("\n")?l9(n,t):n.includes("\n")?"\n"+l9(n,t):(e.endsWith(" ")?"":" ")+n,ce="flow",ct="block",cn="quoted";function cr(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:a,onOverflow:o}={}){let l,c,u;if(!i||i<0)return e;i<s&&(s=0);let h=Math.max(1+s,1+i-t.length);if(e.length<=h)return e;let f=[],p={},d=i-t.length;"number"==typeof r&&(r>i-Math.max(2,s)?f.push(0):d=i-r);let m=!1,E=-1,g=-1,_=-1;for(n===ct&&-1!==(E=ci(e,E,t.length))&&(d=E+h);u=e[E+=1];){if(n===cn&&"\\"===u){switch(g=E,e[E+1]){case"x":E+=3;break;case"u":E+=5;break;case"U":E+=9;break;default:E+=1}_=E}if("\n"===u)n===ct&&(E=ci(e,E,t.length)),d=E+t.length+h,l=void 0;else{if(" "===u&&c&&" "!==c&&"\n"!==c&&" "!==c){let t=e[E+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(l=E)}if(E>=d)if(l)f.push(l),d=l+h,l=void 0;else if(n===cn){for(;" "===c||" "===c;)c=u,u=e[E+=1],m=!0;let t=E>_+1?E-2:g-1;if(p[t])return e;
7f.push(t),p[t]=!0,d=t+h,l=void 0}else m=!0}c=u}if(m&&o&&o(),0===f.length)return e;a&&a();let T=e.slice(0,f[0]);for(let r=0;r<f.length;++r){let i=f[r],s=f[r+1]||e.length;0===i?T=` 8${t}${e.slice(0,s)}`:(n===cn&&p[i]&&(T+=`${e[i]}\\`),T+=` 9${t}${e.slice(i+1,s)}`)}return T}function ci(e,t,n){let r=t,i=t+1,s=e[i];for(;" "===s||" "===s;)if(t<i+n)s=e[++t];else{do s=e[++t];while(s&&"\n"!==s);r=t,s=e[i=t+1]}return r}let cs=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),ca=e=>/^(%|---|\.\.\.)/m.test(e);function co(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(ca(e)?" ":""),a="",o=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(a+=n.slice(o,e)+"\\ ",e+=1,o=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{a+=n.slice(o,e);let t=n.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:"00"===t.substr(0,2)?a+="\\x"+t.substr(2):a+=n.substr(e,6)}e+=5,o=e+1}break;case"n":if(r||'"'===n[e+2]||n.length<i)e+=1;else{for(a+=n.slice(o,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)a+="\n",e+=2;a+=s," "===n[e+2]&&(a+="\\"),e+=1,o=e+1}break;default:e+=1}return a=o?a+n.slice(o):n,r?a:cr(a,s,cn,cs(t,!1))}function cl(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return co(e,t);let n=t.indent||(ca(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 10${n}`)+"'";return t.implicitKey?r:cr(r,n,ce,cs(t,!1))}function cc(e,t){let n,{singleQuote:r}=t.options;if(!1===r)n=co;else{let t=e.includes('"'),i=e.includes("'");n=t&&!i?cl:i&&!t?co:r?cl:co}return n(e,t)}try{r=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{r=/\n+(?!\n|$)/g}function cu({comment:e,type:t,value:n},i,s,a){let o,l,c,{blockQuote:u,commentString:h,lineWidth:f}=i.options;if(!u||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return cc(n,i);let p=i.indent||(i.forceBlockIndent||ca(n)?" ":""),d="literal"===u||"folded"!==u&&t!==l2.BLOCK_FOLDED&&(t===l2.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if("\n"===e[t]){if(t-n>r)return!0;if(i-(n=t+1)<=r)return!1}return!0}(n,f,p.length));if(!n)return d?"|\n":">\n";for(l=n.length;l>0;--l){let e=n[l-1];if("\n"!==e&&" "!==e&&" "!==e)break}let m=n.substring(l),E=m.indexOf("\n");-1===E?o="-":n===m||E!==m.length-1?(o="+",a&&a()):o="",m&&(n=n.slice(0,-m.length),"\n"===m[m.length-1]&&(m=m.slice(0,-1)),m=m.replace(r,`$&${p}`));let g=!1,_=-1;for(c=0;c<n.length;++c){let e=n[c];if(" "===e)g=!0;else if("\n"===e)_=c;else break}let T=n.substring(0,_<c?_+1:c);T&&(n=n.substring(T.length),T=T.replace(/\n+/g,`$&${p}`));let A=p?"2":"1",y=(d?"|":">")+(g?A:"")+o;if(e&&(y+=" "+h(e.replace(/ ?[\r\n]+/g," ")),s&&s()),d)return n=n.replace(/\n+/g,`$&${p}`),`${y} 11${p}${T}${n}${m}`;n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${p}`);let b=cr(`${T}${n}${m}`,p,ct,cs(i,!0));return`${y} 12${p}${b}`}function ch(e,t,n,r){let{implicitKey:i,inFlow:s}=t,a="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:o}=e;o!==l2.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=l2.QUOTE_DOUBLE);let l=e=>{switch(e){case l2.BLOCK_FOLDED:case l2.BLOCK_LITERAL:return i||s?cc(a.value,t):cu(a,t,n,r);case l2.QUOTE_DOUBLE:return co(a.value,t);case l2.QUOTE_SINGLE:return cl(a.value,t);case l2.PLAIN:return function(e,t,n,r){let{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:l,indentStep:c,inFlow:u}=t;if(o&&s.includes("\n")||u&&/[[\]{},]/.test(s))return cc(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||u||!s.includes("\n")?cc(s,t):cu(e,t,n,r);if(!o&&!u&&i!==l2.PLAIN&&s.includes("\n"))return cu(e,t,n,r);if(ca(s)){if(""===l)return t.forceBlockIndent=!0,cu(e,t,n,r);else if(o&&l===c)return cc(s,t)}let h=s.replace(/\n+/g,`$& 13${l}`);if(a){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(h),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return cc(s,t)}return o?h:cr(h,l,ce,cs(t,!1))}(a,t,n,r);default:return null}},c=l(o);if(null===c){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(null===(c=l(r)))throw Error(`Unsupported default string type ${r}`)}return c}function cf(e,t){let n,r=Object.assign({blockQuote:!0,commentString:l4,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function cp(e,t,n,r){let i;if(lv(e))return e.toString(t,n,r);if(lI(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s=lw(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i||(i=function(e,t){let n,r;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(lx(t)){n=t.value;let i=e.filter(e=>e.identify?.(n));r=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){let e=n?.constructor?.name??typeof n;throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,s));let a=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let i=[],s=(lx(e)||lR(e))&&e.anchor;s&&lV(s)&&(n.add(s),i.push(`&${s}`));let a=e.tag?e.tag:t.default?null:t.tag;return a&&i.push(r.directives.tagString(a)),i.join(" ")}(s,i,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);let o="function"==typeof i.stringify?i.stringify(s,t,n,r):lx(s)?ch(s,t,n,r):s.toString(t,n,r);
13return a?lx(s)||"{"===o[0]||"["===o[0]?`${a} ${o}`:`${a} 14${t.indent}${o}`:o}var cd=n(35281);function cm(e,t){("debug"===e||"warn"===e)&&(void 0!==cd&&cd.emitWarning?cd.emitWarning(t):console.warn(t))}function cE(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&cg(n))if(lL(r=lI(r)?r.resolve(e.doc):r))for(let n of r.items)c_(e,t,n);else if(Array.isArray(r))for(let n of r)c_(e,t,n);else c_(e,t,r);else{let i=lZ(n,"",e);if(t instanceof Map)t.set(i,lZ(r,i,e));else if(t instanceof Set)t.add(i);else{let s=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(lw(e)&&n?.doc){let t=cf(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),cm(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,i,e),a=lZ(r,s,e);s in t?Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[s]=a}}return t}let cg=e=>"<<"===e||lx(e)&&"<<"===e.value&&(!e.type||e.type===l2.PLAIN);function c_(e,t,n){let r=e&&lI(n)?n.resolve(e.doc):n;if(!lO(r))throw Error("Merge sources must be maps or map aliases");for(let[n,i]of r.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,i):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function cT(e,t,n){return new cA(l3(e,void 0,n),l3(t,void 0,n))}class cA{constructor(e,t=null){Object.defineProperty(this,lN,{value:lC}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return lw(t)&&(t=t.clone(e)),lw(n)&&(n=n.clone(e)),new cA(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return cE(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,i){let s,a,o,{allNullValues:l,doc:c,indent:u,indentStep:h,options:{commentString:f,indentSeq:p,simpleKeys:d}}=n,m=lw(e)&&e.comment||null;if(d){if(m)throw Error("With simple keys, key nodes cannot have comments");if(lR(e)||!lw(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let E=!d&&(!e||m&&null==t&&!n.inFlow||lR(e)||(lx(e)?e.type===l2.BLOCK_FOLDED||e.type===l2.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!E&&(d||!l),indent:u+h});let g=!1,_=!1,T=cp(e,n,()=>g=!0,()=>_=!0);if(!E&&!n.inFlow&&T.length>1024){if(d)throw Error("With simple keys, single line scalar must not span more than 1024 characters");E=!0}if(n.inFlow){if(l||null==t)return g&&r&&r(),""===T?"?":E?`? ${T}`:T}else if(l&&!d||null==t&&E)return T=`? ${T}`,m&&!g?T+=l7(T,n.indent,f(m)):_&&i&&i(),T;g&&(m=null),E?(m&&(T+=l7(T,n.indent,f(m))),T=`? ${T} 15${u}:`):(T=`${T}:`,m&&(T+=l7(T,n.indent,f(m)))),lw(t)?(s=!!t.spaceBefore,a=t.commentBefore,o=t.comment):(s=!1,a=null,o=null,t&&"object"==typeof t&&(t=c.createNode(t))),n.implicitKey=!1,!E&&!m&&lx(t)&&(n.indentAtStart=T.length+1),_=!1,!(!p&&h.length>=2&&!n.inFlow&&!E&&lL(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let A=!1,y=cp(t,n,()=>A=!0,()=>_=!0),b=" ";if(m||s||a){if(b=s?"\n":"",a){let e=f(a);b+=` 16${l9(e,n.indent)}`}""!==y||n.inFlow?b+=` 17${n.indent}`:"\n"===b&&(b="\n\n")}else if(!E&&lR(t)){let e=y[0],r=y.indexOf("\n"),i=-1!==r,s=n.inFlow??t.flow??0===t.items.length;if(i||!s){let t=!1;if(i&&("&"===e||"!"===e)){let n=y.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===y[n+1]&&(n=y.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(b=` 18${n.indent}`)}}else(""===y||"\n"===y[0])&&(b="");return T+=b+y,n.inFlow?A&&r&&r():o&&!A?T+=l7(T,n.indent,f(o)):_&&i&&i(),T}(this,e,t,n):JSON.stringify(this)}}function cy(e,t,n){return(t.inFlow??e.flow?function({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:s,flowCollectionPadding:a,options:{commentString:o}}=t,l=Object.assign({},t,{indent:r+=s,inFlow:!0,type:null}),c=!1,u=0,h=[];for(let n=0;n<e.length;++n){let i=e[n],s=null;if(lw(i))i.spaceBefore&&h.push(""),cb(t,h,i.commentBefore,!1),i.comment&&(s=i.comment);else if(lv(i)){let e=lw(i.key)?i.key:null;e&&(e.spaceBefore&&h.push(""),cb(t,h,e.commentBefore,!1),e.comment&&(c=!0));let n=lw(i.value)?i.value:null;n?(n.comment&&(s=n.comment),n.commentBefore&&(c=!0)):null==i.value&&e?.comment&&(s=e.comment)}s&&(c=!0);let a=cp(i,l,()=>s=null);
18n<e.length-1&&(a+=","),s&&(a+=l7(a,r,o(s))),!c&&(h.length>u||a.includes("\n"))&&(c=!0),h.push(a),u=h.length}let{start:f,end:p}=n;if(0===h.length)return f+p;if(!c){let e=h.reduce((e,t)=>e+t.length+2,2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(!c)return`${f}${a}${h.join(" ")}${a}${p}`;{let e=f;for(let t of h)e+=t?` 19${s}${i}${t}`:"\n";return`${e} 20${i}${p}`}}:function({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){let l,{indent:c,options:{commentString:u}}=n,h=Object.assign({},n,{indent:s,type:null}),f=!1,p=[];for(let e=0;e<t.length;++e){let i=t[e],a=null;if(lw(i))!f&&i.spaceBefore&&p.push(""),cb(n,p,i.commentBefore,f),i.comment&&(a=i.comment);else if(lv(i)){let e=lw(i.key)?i.key:null;e&&(!f&&e.spaceBefore&&p.push(""),cb(n,p,e.commentBefore,f))}f=!1;let o=cp(i,h,()=>a=null,()=>f=!0);a&&(o+=l7(o,s,u(a))),f&&a&&(f=!1),p.push(r+o)}if(0===p.length)l=i.start+i.end;else{l=p[0];for(let e=1;e<p.length;++e){let t=p[e];l+=t?` 21${c}${t}`:"\n"}}return e?(l+="\n"+l9(u(e),c),o&&o()):f&&a&&a(),l})(e,t,n)}function cb({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){let i=l9(t(r),e);n.push(i.trimStart())}}function cC(e,t){let n=lx(t)?t.value:t;for(let r of e)if(lv(r)&&(r.key===t||r.key===n||lx(r.key)&&r.key.value===n))return r}class ck extends l6{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(lb,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,s=new this(e),a=(e,a)=>{if("function"==typeof i)a=i.call(t,e,a);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==a||r)&&s.items.push(cT(e,a,n))};if(t instanceof Map)for(let[e,n]of t)a(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))a(e,t[e]);return"function"==typeof e.sortMapEntries&&s.items.sort(e.sortMapEntries),s}add(e,t){let n;n=lv(e)?e:e&&"object"==typeof e&&"key"in e?new cA(e.key,e.value):new cA(e,e?.value);let r=cC(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);lx(r.value)&&l1(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>0>i(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=cC(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=cC(this.items,e),r=n?.value;return(!t&&lx(r)?r.value:r)??void 0}has(e){return!!cC(this.items,e)}set(e,t){this.add(new cA(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))cE(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!lv(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),cy(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}let cS={collection:"map",default:!0,nodeClass:ck,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(lO(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ck.from(e,t,n)};class cN extends l6{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(lS,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=cI(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=cI(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&lx(r)?r.value:r}has(e){let t=cI(e);return"number"==typeof t&&t<this.items.length}set(e,t){let n=cI(e);if("number"!=typeof n)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];lx(r)&&l1(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(lZ(e,String(r++),t));return n}toString(e,t,n){return e?cy(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let s of t){if("function"==typeof r){let n=t instanceof Set?s:String(e++);s=r.call(t,n,s)}i.items.push(l3(s,void 0,n))}}return i}}function cI(e){let t=lx(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}let cD={collection:"seq",default:!0,nodeClass:cN,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>
21(lL(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>cN.from(e,t,n)},cO={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ch(e,t=Object.assign({actualString:!0},t),n,r)},cv={identify:e=>null==e,createNode:()=>new l2(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new l2(null),stringify:({source:e},t)=>"string"==typeof e&&cv.test.test(e)?e:t.options.nullStr},cx={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new l2("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&cx.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function cL({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let i="number"==typeof r?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(s)){let e=s.indexOf(".");e<0&&(e=s.length,s+=".");let n=t-(s.length-e-1);for(;n-- >0;)s+="0"}return s}let cR={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:cL},cw={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():cL(e)}},cM={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new l2(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:cL},cP=e=>"bigint"==typeof e||Number.isInteger(e),cF=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function cB(e,t,n){let{value:r}=e;return cP(r)&&r>=0?n+r.toString(t):cL(e)}let cU={identify:e=>cP(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>cF(e,2,8,n),stringify:e=>cB(e,8,"0o")},cH={identify:cP,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>cF(e,0,10,n),stringify:cL},cG={identify:e=>cP(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>cF(e,2,16,n),stringify:e=>cB(e,16,"0x")},c$=[cS,cD,cO,cv,cx,cU,cH,cG,cR,cw,cM];function cq(e){return"bigint"==typeof e||Number.isInteger(e)}let cY=({value:e})=>JSON.stringify(e),cz=[cS,cD].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:cY},{identify:e=>null==e,createNode:()=>new l2(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:cY},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:cY},{identify:cq,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>cq(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:cY}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)});var cj=n(99518).hp;let cK={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof cj)return cj.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}},stringify({comment:e,type:t,value:n},r,i,s){let a;if("function"==typeof cj)a=n instanceof cj?n.toString("base64"):cj.from(n.buffer).toString("base64");else if("function"==typeof btoa){let e="";for(let t=0;t<n.length;++t)e+=String.fromCharCode(n[t]);a=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=l2.BLOCK_LITERAL),t!==l2.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(a.length/e),i=Array(n);for(let t=0,r=0;t<n;++t,r+=e)i[t]=a.substr(r,e);a=i.join(t===l2.BLOCK_LITERAL?"\n":" ")}return ch({comment:e,type:t,value:a},r,i,s)}};function cV(e,t){if(lL(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!lv(r)){if(lO(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new cA(new l2(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore} 22${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment} 23${t.comment}`:r.comment}r=e}e.items[n]=lv(r)?r:new cA(r)}}else t("Expected a sequence for this tag");return e}function cX(e,t,n){let{replacer:r}=n,i=new cN(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let a,o;if("function"==typeof r&&(e=r.call(t,String(s++),e)),Array.isArray(e))if(2===e.length)a=e[0],o=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)o=e[a=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else a=e;i.items.push(cT(a,o,n))}return i}let cQ={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:cV,createNode:cX};class cW extends cN{constructor(){super(),this.add=ck.prototype.add.bind(this),this.delete=ck.prototype.delete.bind(this),this.get=ck.prototype.get.bind(this),this.has=ck.prototype.has.bind(this),this.set=ck.prototype.set.bind(this),this.tag=cW.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let r,i;if(lv(e)?(r=lZ(e.key,"",t),i=lZ(e.value,r,t)):r=lZ(e,"",t),n.has(r))throw Error("Ordered maps must not include duplicate keys");n.set(r,i)}return n}static from(e,t,n){let r=cX(e,t,n),i=new this;return i.items=r.items,i}}cW.tag="tag:yaml.org,2002:omap";let cZ={collection:"seq",identify:e=>e instanceof Map,nodeClass:cW,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=cV(e,t),r=[];for(let{key:e}of n.items)lx(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new cW,n)},createNode:(e,t,n)=>cW.from(e,t,n)};function cJ({value:e,source:t},n){return t&&(e?c0:c1).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let c0={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new l2(!0),stringify:cJ},c1={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new l2(!1),stringify:cJ},c2=e=>"bigint"==typeof e||Number.isInteger(e);function c3(e,t,n,{intAsBigInt:r}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;
23case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===i?-1*s:s}function c5(e,t,n){let{value:r}=e;if(c2(r)){let e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return cL(e)}class c8 extends ck{constructor(e){super(e),this.tag=c8.tag}add(e){let t;t=lv(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new cA(e.key,null):new cA(e,null),cC(this.items,t.key)||this.items.push(t)}get(e,t){let n=cC(this.items,e);return!t&&lv(n)?lx(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=cC(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new cA(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),i.items.push(cT(e,null,n));return i}}c8.tag="tag:yaml.org,2002:set";let c6={collection:"map",identify:e=>e instanceof Set,nodeClass:c8,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>c8.from(e,t,n),resolve(e,t){if(lO(e))if(e.hasAllNullValues(!0))return Object.assign(new c8,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}};function c4(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=e=>t?BigInt(e):Number(e),s=r.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===n?i(-1)*s:s}function c9(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return cL(e);let r="";t<0&&(r="-",t*=n(-1));let i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let c7={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>c4(e,n),stringify:c9},ue={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>c4(e,!1),stringify:c9},ut={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(ut.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,i,s,a,o]=t.map(Number),l=Date.UTC(n,r-1,i,s||0,a||0,o||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=c4(c,!1);30>Math.abs(e)&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},un=[cS,cD,cO,cv,c0,c1,{identify:c2,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>c3(e,2,2,n),stringify:e=>c5(e,2,"0b")},{identify:c2,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>c3(e,1,8,n),stringify:e=>c5(e,8,"0")},{identify:c2,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>c3(e,0,10,n),stringify:cL},{identify:c2,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>c3(e,2,16,n),stringify:e=>c5(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:cL},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():cL(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new l2(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:cL},cK,cZ,cQ,c6,c7,ue,ut],ur=new Map([["core",c$],["failsafe",[cS,cD,cO]],["json",cz],["yaml11",un],["yaml-1.1",un]]),ui={binary:cK,bool:cx,float:cM,floatExp:cw,floatNaN:cR,floatTime:ue,int:cH,intHex:cG,intOct:cU,intTime:c7,map:cS,null:cv,omap:cZ,pairs:cQ,seq:cD,set:c6,timestamp:ut},us={"tag:yaml.org,2002:binary":cK,"tag:yaml.org,2002:omap":cZ,"tag:yaml.org,2002:pairs":cQ,"tag:yaml.org,2002:set":c6,"tag:yaml.org,2002:timestamp":ut};function ua(e,t){let n=ur.get(t);if(!n)if(Array.isArray(e))n=[];else{let e=Array.from(ur.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map(e=>{if("string"!=typeof e)return e;let t=ui[e];if(t)return t;let n=Object.keys(ui).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag "${e}"; use one of ${n}`)})}let uo=(e,t)=>e.key<t.key?-1:+(e.key>t.key);class ul{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:s,toStringDefaults:a}){this.compat=Array.isArray(e)?ua(e,"compat"):e?ua(null,e):null,this.merge=!!n,this.name="string"==typeof i&&i||"core",this.knownTags=r?us:{},this.tags=ua(t,this.name),this.toStringOptions=a??null,Object.defineProperty(this,lb,{value:cS}),Object.defineProperty(this,lk,{value:cO}
23),Object.defineProperty(this,lS,{value:cD}),this.sortMapEntries="function"==typeof s?s:!0===s?uo:null}clone(){let e=Object.create(ul.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class uc{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,lN,{value:ly});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=i;let{version:s}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new lK({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let e=Object.create(uc.prototype,{[lN]:{value:ly}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=lw(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){uu(this.contents)&&this.contents.add(e)}addIn(e,t){uu(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=lX(this);e.anchor=!t||n.has(t)?lQ(t||"a",n):t}return new l0(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:s,flow:a,keepUndefined:o,onTagObj:l,tag:c}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:f}=function(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i||(i=lX(e));let s=lQ(t,i);return i.add(s),s},setAnchors:()=>{for(let e of n){let t=r.get(e);if("object"==typeof t&&t.anchor&&(lx(t.node)||lR(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:r}}(this,s||"a"),p={aliasDuplicateObjects:i??!0,keepUndefined:o??!1,onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:f},d=l3(e,c,p);return a&&lR(d)&&(d.flow=!0),h(),d}createPair(e,t,n={}){return new cA(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!uu(this.contents)&&this.contents.delete(e)}deleteIn(e){return l8(e)?null!=this.contents&&(this.contents=null,!0):!!uu(this.contents)&&this.contents.deleteIn(e)}get(e,t){return lR(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return l8(e)?!t&&lx(this.contents)?this.contents.value:this.contents:lR(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!lR(this.contents)&&this.contents.has(e)}hasIn(e){return l8(e)?void 0!==this.contents:!!lR(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=l5(this.schema,[e],t):uu(this.contents)&&this.contents.set(e,t)}setIn(e,t){l8(e)?this.contents=t:null==this.contents?this.contents=l5(this.schema,Array.from(e),t):uu(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new lK({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new lK({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new ul(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},o=lZ(this.contents,t??"",a);if("function"==typeof i)for(let{count:e,res:t}
23of a.anchors.values())i(t,e);return"function"==typeof s?lW(s,{"":o},"",o):o}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let n=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");let i=cf(e,t),{commentString:s}=i.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=s(e.commentBefore);n.unshift(l9(t,""))}let a=!1,o=null;if(e.contents){if(lw(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){let t=s(e.contents.commentBefore);n.push(l9(t,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}let t=o?void 0:()=>a=!0,l=cp(e.contents,i,()=>o=null,t);o&&(l+=l7(l,"",s(o))),("|"===l[0]||">"===l[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(cp(e.contents,i));if(e.directives?.docEnd)if(e.comment){let t=s(e.comment);t.includes("\n")?(n.push("..."),n.push(l9(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&a&&(t=t.replace(/^\n+/,"")),t&&((!a||o)&&""!==n[n.length-1]&&n.push(""),n.push(l9(s(t),"")))}return n.join("\n")+"\n"}(this,e)}}function uu(e){if(lR(e))return!0;throw Error("Expected a YAML collection as document contents")}class uh extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class uf extends uh{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class up extends uh{constructor(e,t,n){super("YAMLWarning",e,t,n)}}let ud=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&a.length>80){let e=Math.min(s-39,a.length-79);a="â¦"+a.substring(e),s-=e-1}if(a.length>80&&(a=a.substring(0,79)+"â¦"),r>1&&/^ *$/.test(a.substring(0,s))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"â¦\n"),a=n+a}if(/[^ ]/.test(a)){let e=1,t=n.linePos[1];t&&t.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-s)));let o=" ".repeat(s)+"^".repeat(e);n.message+=`: 24 25${a} 26${o} 27`}};function um(e,{flow:t,indicator:n,next:r,offset:i,onError:s,parentIndent:a,startOnNewline:o}){let l=!1,c=o,u=o,h="",f="",p=!1,d=!1,m=null,E=null,g=null,_=null,T=null,A=null,y=null;for(let i of e)switch(d&&("space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&s(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),m&&(c&&"comment"!==i.type&&"newline"!==i.type&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),i.type){case"space":!t&&("doc-start"!==n||r?.type!=="flow-collection")&&i.source.includes(" ")&&(m=i),u=!0;break;case"comment":{u||s(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=i.source.substring(1)||" ";h?h+=f+e:h=e,f="",c=!1;break}case"newline":c?h?h+=i.source:l=!0:f+=i.source,c=!0,p=!0,(E||g)&&(_=i),u=!0;break;case"anchor":E&&s(i,"MULTIPLE_ANCHORS","A node can have at most one anchor"),i.source.endsWith(":")&&s(i.offset+i.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),E=i,null===y&&(y=i.offset),c=!1,u=!1,d=!0;break;case"tag":g&&s(i,"MULTIPLE_TAGS","A node can have at most one tag"),g=i,null===y&&(y=i.offset),c=!1,u=!1,d=!0;break;case n:(E||g)&&s(i,"BAD_PROP_ORDER",`Anchors and tags must be after the ${i.source} indicator`),A&&s(i,"UNEXPECTED_TOKEN",`Unexpected ${i.source} in ${t??"collection"}`),A=i,c="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(t){T&&s(i,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),T=i,c=!1,u=!1;break}default:s(i,"UNEXPECTED_TOKEN",`Unexpected ${i.type} token`),c=!1,u=!1}let b=e[e.length-1],C=b?b.offset+b.source.length:i;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.
27indent<=a||r?.type==="block-map"||r?.type==="block-seq")&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:T,found:A,spaceBefore:l,comment:h,hasNewline:p,anchor:E,tag:g,newlineAfterProp:_,end:C,start:y??C}}function uE(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(uE(t.key)||uE(t.value))return!0}return!1;default:return!0}}function ug(e,t,n){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&uE(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function u_(e,t,n){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let i="function"==typeof r?r:(t,n)=>t===n||lx(t)&&lx(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some(e=>i(e.key,n))}let uT="All mapping items must start at the same column";function uA(e,t,n,r){let i="";if(e){let s=!1,a="";for(let o of e){let{source:e,type:l}=o;switch(l){case"space":s=!0;break;case"comment":{n&&!s&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";i?i+=a+t:i=t,a="";break}case"newline":i&&(a+=e),s=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:i,offset:t}}let uy="Block collections are not allowed within flow collections",ub=e=>e&&("block-map"===e.type||"block-seq"===e.type);function uC(e,t,n,r,i,s){let a="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,i,s){let a=new(s?.nodeClass??ck)(n.schema);n.atRoot&&(n.atRoot=!1);let o=r.offset,l=null;for(let s of r.items){let{start:c,key:u,sep:h,value:f}=s,p=um(c,{indicator:"explicit-key-ind",next:u??h?.[0],offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0}),d=!p.found;if(d){if(u&&("block-seq"===u.type?i(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&i(o,"BAD_INDENT",uT)),!p.anchor&&!p.tag&&!h){l=p.end,p.comment&&(a.comment?a.comment+="\n"+p.comment:a.comment=p.comment);continue}(p.newlineAfterProp||uE(u))&&i(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else p.found?.indent!==r.indent&&i(o,"BAD_INDENT",uT);let m=p.end,E=u?e(n,u,p,i):t(n,m,c,null,p,i);n.schema.compat&&ug(r.indent,u,i),u_(n,a.items,E)&&i(m,"DUPLICATE_KEY","Map keys must be unique");let g=um(h??[],{indicator:"map-value-ind",next:f,offset:E.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||"block-scalar"===u.type});if(o=g.end,g.found){d&&(f?.type!=="block-map"||g.hasNewline||i(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start<g.found.offset-1024&&i(E.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let l=f?e(n,f,g,i):t(n,o,h,null,g,i);n.schema.compat&&ug(r.indent,f,i),o=l.range[2];let c=new cA(E,l);n.options.keepSourceTokens&&(c.srcToken=s),a.items.push(c)}else{d&&i(E.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),g.comment&&(E.comment?E.comment+="\n"+g.comment:E.comment=g.comment);let e=new cA(E);n.options.keepSourceTokens&&(e.srcToken=s),a.items.push(e)}}return l&&l<o&&i(l,"IMPOSSIBLE","Map comment with trailing content"),a.range=[r.offset,o,l??o],a}(e,t,n,r,s):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,i,s){let a=new(s?.nodeClass??cN)(n.schema);n.atRoot&&(n.atRoot=!1);let o=r.offset,l=null;for(let{start:s,value:c}of r.items){let u=um(s,{indicator:"seq-item-ind",next:c,offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||c)c&&"block-seq"===c.type?i(u.end,"BAD_INDENT","All sequence items must start at the same column"):i(o,"MISSING_CHAR","Sequence item without - indicator");else{l=u.end,u.comment&&(a.comment=u.comment);continue}let h=c?e(n,c,u,i):t(n,u.end,s,null,u,i);n.schema.compat&&ug(r.indent,c,i),o=h.range[2],a.items.push(h)}return a.range=[r.offset,o,l??o],a}
27(e,t,n,r,s):function({composeNode:e,composeEmptyNode:t},n,r,i,s){let a="{"===r.start.source,o=a?"flow map":"flow sequence",l=new(s?.nodeClass??(a?ck:cN))(n.schema);l.flow=!0;let c=n.atRoot;c&&(n.atRoot=!1);let u=r.offset+r.start.source.length;for(let s=0;s<r.items.length;++s){let c=r.items[s],{start:h,key:f,sep:p,value:d}=c,m=um(h,{flow:o,indicator:"explicit-key-ind",next:f??p?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!m.found){if(!m.anchor&&!m.tag&&!p&&!d){0===s&&m.comma?i(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):s<r.items.length-1&&i(m.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),m.comment&&(l.comment?l.comment+="\n"+m.comment:l.comment=m.comment),u=m.end;continue}!a&&n.options.strict&&uE(f)&&i(f,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===s)m.comma&&i(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(m.comma||i(m.start,"MISSING_CHAR",`Missing , between ${o} items`),m.comment){let e="";e:for(let t of h)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=l.items[l.items.length-1];lv(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,m.comment=m.comment.substring(e.length+1)}}if(a||p||m.found){let s=m.end,E=f?e(n,f,m,i):t(n,s,h,null,m,i);ub(f)&&i(E.range,"BLOCK_IN_FLOW",uy);let g=um(p??[],{flow:o,indicator:"map-value-ind",next:d,offset:E.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(g.found){if(!a&&!m.found&&n.options.strict){if(p)for(let e of p){if(e===g.found)break;if("newline"===e.type){i(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}m.start<g.found.offset-1024&&i(g.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else d&&("source"in d&&d.source&&":"===d.source[0]?i(d,"MISSING_CHAR",`Missing space after : in ${o}`):i(g.start,"MISSING_CHAR",`Missing , or : between ${o} items`));let _=d?e(n,d,g,i):g.found?t(n,g.end,p,null,g,i):null;_?ub(d)&&i(_.range,"BLOCK_IN_FLOW",uy):g.comment&&(E.comment?E.comment+="\n"+g.comment:E.comment=g.comment);let T=new cA(E,_);if(n.options.keepSourceTokens&&(T.srcToken=c),a)u_(n,l.items,E)&&i(s,"DUPLICATE_KEY","Map keys must be unique"),l.items.push(T);else{let e=new ck(n.schema);e.flow=!0,e.items.push(T);let t=(_??E).range;e.range=[E.range[0],t[1],t[2]],l.items.push(e)}u=_?_.range[2]:g.end}else{let r=d?e(n,d,m,i):t(n,m.end,p,null,m,i);l.items.push(r),u=r.range[2],ub(d)&&i(r.range,"BLOCK_IN_FLOW",uy)}}let h=a?"}":"]",[f,...p]=r.end,d=u;if(f&&f.source===h)d=f.offset+f.source.length;else{let e=o[0].toUpperCase()+o.substring(1),t=c?`${e} must end with a ${h}`:`${e} in block collection must be sufficiently indented and end with a ${h}`;i(u,c?"MISSING_CHAR":"BAD_INDENT",t),f&&1!==f.source.length&&p.unshift(f)}if(p.length>0){let e=uA(p,d,n.options.strict,i);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[r.offset,d,e.offset]}else l.range=[r.offset,d,d];return l}(e,t,n,r,s),o=a.constructor;return"!"===i||i===o.tagName?a.tag=o.tagName:i&&(a.tag=i),a}function uk(e){let t,n;try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),n=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",a=t.lastIndex;for(n.lastIndex=a;r=n.exec(e);)""===r[1]?"\n"===s?i+=s:s="\n":(i+=s+r[1],s=" "),a=n.lastIndex;let o=/[ \t]*(.*)/sy;return o.lastIndex=a,r=o.exec(e),i+s+(r?.[1]??"")}let uS={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function uN(e,t,n,r){let i,{value:s,type:a,comment:o,range:l}="block-scalar"===t.type?function(e,t,n){let r=t.offset,i=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=t[0],s=i[0],a=0,o="",l=-1;for(let t=1;t<i.length;++t){let n=i[t];if(o||"-"!==n&&"+"!==n){let r=Number(n);!a&&r?a=r:-1===l&&(l=e+t)}else o=n}-1!==l&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,u="",h=i.length;for(let e=1;e<t.length;++e){let i=t[e];switch(i.type){case"space":c=!0;case"newline":h+=i.source.length;break;case"comment":n&&!c&&r(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=i.source.length,u=i.source.substring(1);break;case"error":r(i,"UNEXPECTED_TOKEN",i.message),h+=i.source.length;break;default:{let e=`Unexpected token in block scalar header: ${i.type}`;r(i,"UNEXPECTED_TOKEN",e);let t=i.source;t&&"string"==typeof t&&(h+=t.length)}}}return{mode:s,indent:a,chomp:o,comment:u,length:h}}(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};let s=">"===i.mode?l2.BLOCK_FOLDED:l2.BLOCK_LITERAL,a=t.source?function(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e<t.length;e+=2)i.push([t[e],t[e+1]]);return i}(t.source):[],o=a.length;for(let e=a.length-1;e>=0;--e){let t=a[e][1];if(""===t||"\r"===t)o=e;else break}if(0===o){let e="+"===i.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):"",n=r+i.length;return t.source&&(n+=t.source.length),{value:e,type:s,comment:i.comment,range:[r,n,n]}}let l=t.indent+i.indent,c=t.offset+i.length,u=0;for(let t=0;t<o;++t){let[r,s]=a[t];if(""===s||"\r"===s)0===i.indent&&r.length>l&&(l=r.length);else{r.length<l&&n(c+r.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===i.indent&&(l=r.length),u=t,0!==l||e.atRoot||n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=r.length+s.length+1}for(let e=a.length-1;e>=o;--e)a[e][0].length>l&&(o=e+1);let h="",f="",p=!1;for(let e=0;e<u;++e)h+=a[e][0].slice(l)+"\n";for(let e=u;e<o;++e){let[t,r]=a[e];c+=t.length+r.length+1;let o="\r"===r[r.length-1];if(o&&(r=r.slice(0,-1)),r&&t.length<l){let e=i.indent?"explicit indentation indicator":"first line",s=`Block scalar lines must not be less indented than their ${e}`;n(c-r.length-(o?2:1),"BAD_INDENT",s),t=""}s===l2.BLOCK_LITERAL?(h+=f+t.slice(l)+r,f="\n"):t.length>l||" "===r[0]?(" "===f?f="\n":p||"\n"!==f||(f="\n\n"),h+=f+t.slice(l)+r,f="\n",p=!0):""===r?"\n"===f?h+="\n":f="\n":(h+=f+r,f=" ",p=!1)}switch(i.chomp){case"-":break;case"+":for(let e=o;e<a.length;++e)h+="\n"+a[e][0].slice(l);"\n"!==h[h.length-1]&&(h+="\n");break;default:h+="\n"}let d=r+i.length+t.source.length;return{value:h,type:s,comment:i.comment,range:[r,d,d]}}(e,t,r):function(e,t,n){let r,i,{offset:s,type:a,source:o,end:l}=e,c=(e,t,r)=>n(s+e,t,r);switch(a){case"scalar":r=l2.PLAIN,i=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),uk(e)}(o,c);break;case"single-quoted-scalar":var u,h;r=l2.QUOTE_SINGLE,u=o,h=c,("'"!==u[u.length-1]||1===u.length)&&h(u.length,"MISSING_CHAR","Missing closing 'quote"),i=uk(u.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=l2.QUOTE_DOUBLE,i=function(e,t){let n="";for(let r=1;r<e.length-1;++r){let i=e[r];if("\r"!==i||"\n"!==e[r+1])if("\n"===i){let{fold:t,offset:i}=function(e,t){let n="",r=e[t+1];for(;(" "===r||" "===r||"\n"===r||"\r"===r)&&("\r"!==r||"\n"===e[t+2]);)"\n"===r&&(n+="\n"),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}(e,r);n+=t,r=i}else if("\\"===i){let i=e[++r],s=uS[i];if(s)n+=s;else if("\n"===i)for(i=e[r+1];" "===i||" "===i;)i=e[++r+1];else if("\r"===i&&"\n"===e[r+1])for(i=e[++r+1];" "===i||" "===i;)i=e[++r+1];else if("x"===i||"u"===i||"U"===i){let s={x:2,u:4,U:8}[i];n+=function(e,t,n,r){let i=e.substr(t,n),s=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(s)){let i=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),i}return String.fromCodePoint(s)}(e,r+1,s,t),r+=s}else{let i=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),n+=i}}else if(" "===i||" "===i){let t=r,s=e[r+1];for(;" "===s||" "===s;)s=e[++r+1];"\n"!==s&&("\r"!==s||"\n"!==e[r+2])&&(n+=r>t?e.slice(t,r+1):i)}else n+=i}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(o,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[s,s+o.length,s+o.length]}}let f=s+o.length,p=uA(l,f,t,n);return{value:i,type:r,comment:p.comment,range:[s,f,p.offset]}}(t,e.options.strict,r),c=n?e.directives.tagName(n.source,e=>r(n,"TAG_RESOLVE_FAILED",e)):null,u=n&&c?function(e,t,n,r,i){if("!"===n)return e[lk];let s=[];for(let t of e.tags)if(!t.collection&&t.tag===n)if(!t.default||!t.test)return t;else s.push(t);for(let e of s)if(e.test?.test(t))return e;let a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[lk])}(e.schema,s,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,i){let s=t.tags.find(e=>e.default&&e.test?.test(n))||t[lk];if(t.compat){let a=t.compat.find(e=>e.default&&e.test?.test(n))??t[lk];if(s.tag!==a.tag){let t=e.tagString(s.tag),n=e.tagString(a.tag);i(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t} or ${n}`,!0)}}return s}(e,s,t,r):e.schema[lk];try{let a=u.resolve(s,e=>r(n??t,"TAG_RESOLVE_FAILED",e),e.options);i=lx(a)?a:new l2(a)}catch(e){r(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),i=new l2(s)}return i.range=l,i.source=s,a&&(i.type=a),c&&(i.tag=c),u.format&&(i.format=u.format),o&&(i.comment=o),i}let uI={composeNode:uD,composeEmptyNode:uO};
27function uD(e,t,n,r){let i,{spaceBefore:s,comment:a,anchor:o,tag:l}=n,c=!0;switch(t.type){case"alias":i=function({options:e},{offset:t,source:n,end:r},i){let s=new l0(n.substring(1));""===s.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let a=t+n.length,o=uA(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}(e,t,r),(o||l)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":i=uN(e,t,l,r),o&&(i.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":i=function(e,t,n,r,i){let s=r.tag,a=s?t.directives.tagName(s.source,e=>i(s,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===n.type){let{anchor:e,newlineAfterProp:t}=r,n=e&&s?e.offset>s.offset?e:s:e??s;n&&(!t||t.offset<n.offset)&&i(n,"MISSING_CHAR","Missing newline after block sequence props")}let o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!s||!a||"!"===a||a===ck.tagName&&"map"===o||a===cN.tagName&&"seq"===o)return uC(e,t,n,i,a);let l=t.schema.tags.find(e=>e.tag===a&&e.collection===o);if(!l){let r=t.schema.knownTags[a];if(!r||r.collection!==o)return r?.collection?i(s,"BAD_COLLECTION_TYPE",`${r.tag} used for ${o} collection, but expects ${r.collection}`,!0):i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),uC(e,t,n,i,a);t.schema.tags.push(Object.assign({},r,{default:!1})),l=r}let c=uC(e,t,n,i,a,l),u=l.resolve?.(c,e=>i(s,"TAG_RESOLVE_FAILED",e),t.options)??c,h=lw(u)?u:new l2(u);return h.range=c.range,h.tag=a,l?.format&&(h.format=l.format),h}(uI,e,t,n,r),o&&(i.anchor=o.source.substring(1));break;default:{let s="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",s),i=uO(e,t.offset,void 0,null,n,r),c=!1}}return o&&""===i.anchor&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),s&&(i.spaceBefore=!0),a&&("scalar"===t.type&&""===t.source?i.comment=a:i.commentBefore=a),e.options.keepSourceTokens&&c&&(i.srcToken=t),i}function uO(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:l},c){let u=uN(e,{type:"scalar",offset:function(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];n?.type==="space";)e+=n.source.length,n=t[++r];break}}return e}(t,n,r),indent:-1,source:""},o,c);return a&&(u.anchor=a.source.substring(1),""===u.anchor&&c(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),s&&(u.comment=s,u.range[2]=l),u}function uv(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function ux(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){let s=e[i];switch(s[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(s.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class uL{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let i=uv(e);r?this.warnings.push(new up(i,t,n)):this.errors.push(new uf(i,t,n))},this.directives=new lK({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=ux(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment} 28${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(lR(i)&&!i.flow&&i.items.length>0){let e=i.items[0];lv(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n} 29${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n} 30${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:ux(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,r)=>{let i=uv(e);i[0]+=t,this.onError(i,"BAD_DIRECTIVE",n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:r,value:i,end:s},a){let o=new uc(void 0,Object.assign({_directives:t},e)),l={atRoot:!0,directives:o.directives,options:o.options,schema:o.schema},c=um(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:a,parentIndent:0,startOnNewline:!0});c.found&&(o.directives.docStart=!0,i&&("block-map"===i.type||"block-seq"===i.type)&&!c.hasNewline&&a(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),o.contents=i?uD(l,i,c,a):uO(l,c.end,r,null,c,a);let u=o.contents.range[2],h=uA(s,u,!1,a);return h.comment&&(o.comment=h.comment),o.range=[n,u,h.offset],o}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new uf(uv(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new uf(uv(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=uA(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} 31${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new uf(uv(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new uc(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}let uR=Symbol("break visit"),uw=Symbol("skip children"),uM=Symbol("remove item");function uP(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){let i=r(n,t);if("symbol"==typeof i)return i;for(let s of["key","value"]){let a=n[s];if(a&&"items"in a){for(let n=0;n<a.items.length;++n){let i=e(Object.freeze(t.concat([[s,n]])),a.items[n],r);if("number"==typeof i)n=i-1;else{if(i===uR)return uR;i===uM&&(a.items.splice(n,1),n-=1)}}"function"==typeof i&&"key"===s&&(i=i(n,t))}}return"function"==typeof i?i(n,t):i}(Object.freeze([]),e,t)}function uF(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}uP.BREAK=uR,uP.SKIP=uw,uP.REMOVE=uM,uP.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},uP.parentCollection=(e,t)=>{let n=uP.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw Error("Parent collection not found")};let uB=new Set("0123456789ABCDEFabcdef"),uU=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),uH=new Set(",[]{}"),uG=new Set(" ,[]{}\n\r "),u$=e=>!e||uG.has(e);class uq{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];
31if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&uF(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if("\uFEFF"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,n=e.indexOf("#");for(;-1!==n;){let r=e[n-1];if(" "===r||" "===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){let n=e[t-1];if(" "===n||" "===n)t-=1;else break}let r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield"\x02",yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&uF(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!uF(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&uF(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(u$),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&uF(r[3]))&&(n!==this.indentNext-1||1!==this.flowLevel||"]"!==r[0]&&"}"!==r[0]))return this.flowLevel=0,yield"\x18",yield*this.parseLineStart();let i=0;for(;","===r[i];)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(r[i+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-i),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(u$),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||uF(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let n=this.buffer.substring(0,t),r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){let e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}
31return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>uF(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let i=e;for(;" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+n>i)t=e;else break}return yield"\x1f",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(uF(e)||t&&uH.has(e))break;n=r}else if(uF(e)){let i=this.buffer[r+1];if("\r"===e&&("\n"===i?(r+=1,e="\n",i=this.buffer[r+1]):n=r),"#"===i||t&&uH.has(i))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&uH.has(e))break;n=r}return e||this.atEnd?(yield"\x1f",yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(u$))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(uF(t)||e&&uH.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!uF(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(uU.has(t))t=this.buffer[++e];else if("%"===t&&uB.has(this.buffer[e+1])&&uB.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t);let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}function uY(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function uz(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function uj(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function uK(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function uV(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function uX(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||uY(t.start,"explicit-key-ind")||uY(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,uj(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class uQ{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new uq,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";
31case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&(!e||"doc-end"!==e.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&uX(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===uz(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==uz(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){let t,n=uV(uK(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let i=t.sep[r];switch(i.type){case"newline":n.push(r);break;case"space":break;case"comment":i.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,
31sep:[this.sourceToken]});else if(uY(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(uj(t.key)&&!uY(t.sep,"newline")){let e=uV(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken);else if(uY(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=uV(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):uY(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let t=this.startBlockValue(e);if(t){n&&"block-seq"!==t.type&&e.items.push({start:i}),this.stack.push(t);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||uY(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let n=uV(uK(t));uX(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.t
31ype);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=uV(uK(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=uV(uK(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}class uW{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}}var uZ=n(35712);let uJ={" ":'<svg width="16" height="16" viewBox="0 -3 24 24">
31<path fill-rule="evenodd" d="M6 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-5z" clip-rule="evenodd"/></svg>\n'.trim(),x:'<svg width="16" height="16" viewBox="0 -3 24 24"><path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"/></svg>\n'.trim()};function u0(e,t){return"script"===t.type&&t.data.src?{...t,data:{...t.data,src:e.getFullUrl(t.data.src)}}:t}let u1="hljs",u2=["@highlightjs/[email protected]/highlight.min.js"].map(e=>(0,$.hD)(e)),u3={name:u1,config:{versions:{hljs:"11.8.0"},preloadScripts:u2,styles:["@highlightjs/[email protected]/styles/default.min.css"].map(e=>(0,$.rX)(e))},transform(e){var t,n,r;let i,s=(null==(n=null==(t=u3.config)?void 0:t.preloadScripts)?void 0:n.map(t=>u0(e.transformer.urlBuilder,t)))||[],a=$.lQ;return e.parser.tap(t=>{t.set({highlight:(t,n)=>{a();let{hljs:r}=window;return r?r.highlightAuto(t,n?[n]:void 0).value:((i||(i=(0,$.kG)(s)),i).then(()=>{e.retransform.call()}),t)}})}),e.beforeParse.tap((e,t)=>{a=()=>{t.features[u1]=!0}}),{styles:null==(r=u3.config)?void 0:r.styles}}},u5="katex",u8=["[email protected]/dist/katex.min.js"].map(e=>(0,$.hD)(e)),u6=(0,$.hD)("[email protected]/webfontloader.js");u6.data.defer=!0;let u4={name:u5,config:{versions:{katex:"0.16.8",webfontloader:"1.6.28"},preloadScripts:u8,scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams:({getMarkmap:e})=>[e]}},u6],styles:["[email protected]/dist/katex.min.css"].map(e=>(0,$.rX)(e))},transform(e){var t,n,r,i;let s,a=(null==(n=null==(t=u4.config)?void 0:t.preloadScripts)?void 0:n.map(t=>u0(e.transformer.urlBuilder,t)))||[],o=$.lQ;return e.parser.tap(t=>{t.use(uZ),["math_block","math_inline"].forEach(n=>{t.renderer.rules[n]=(t,n)=>(o(),((t,n)=>{let{katex:r}=window;return r?r.renderToString(t,{displayMode:n,throwOnError:!1}):((s||(s=(0,$.kG)(a)),s).then(()=>{e.retransform.call()}),t)})(t[n].content,!!t[n].block))})}),e.beforeParse.tap((e,t)=>{o=()=>{t.features[u5]=!0}}),e.afterParse.tap((e,t)=>{var n;let r=null==(n=t.frontmatter)?void 0:n.markmap;r&&["extraJs","extraCss"].forEach(e=>{var t,n,i;let s=r[e];s&&(r[e]=(i=(null==(n=null==(t=u4.config)?void 0:t.versions)?void 0:n.katex)||"",s.map(e=>{if("string"==typeof e&&!e.includes("://")){e.startsWith("npm:")||(e=`npm:${e}`);let t=4+u5.length;e.startsWith(`npm:${u5}/`)&&(e=`${e.slice(0,t)}@${i}${e.slice(t)}`)}return e})))})}),{styles:null==(r=u4.config)?void 0:r.styles,scripts:null==(i=u4.config)?void 0:i.scripts}}},u9=[{name:"frontmatter",transform:e=>(e.beforeParse.tap((e,t)=>{var n;let r,{content:i}=t;if(!/^---\r?\n/.test(i))return;let s=/\n---\r?\n/.exec(i);if(!s)return;let a=i.slice(4,s.index).trimEnd();try{r=function(e,t,n){let r,i=function(e,t={}){let{lineCounter:n,prettyErrors:r}=function(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new uW||null,prettyErrors:t}}(t),i=new uQ(n?.addNewLine),s=new uL(t),a=null;for(let t of s.compose(i.parse(e),!0,e.length))if(a){if("silent"!==a.options.logLevel){a.errors.push(new uf(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else a=t;
31return r&&n&&(a.errors.forEach(ud(e,n)),a.warnings.forEach(ud(e,n))),a}(e,n);if(!i)return null;if(i.warnings.forEach(e=>cm(i.options.logLevel,e)),i.errors.length>0)if("silent"!==i.options.logLevel)throw i.errors[0];else i.errors=[];return i.toJS(Object.assign({reviver:r},n))}(a.replace(/\r?\n|\r/g,"\n")),(null==r?void 0:r.markmap)&&(r.markmap=function(e){if(e)return["color","extraJs","extraCss"].forEach(t=>{var n;let r;null!=e[t]&&(e[t]=(n=e[t],"string"==typeof n?r=[n]:Array.isArray(n)&&(r=n.filter(e=>e&&"string"==typeof e)),(null==r?void 0:r.length)?r:void 0))}),["duration","maxWidth","initialExpandLevel"].forEach(t=>{null!=e[t]&&(e[t]=function(e){if(!isNaN(+e))return+e}(e[t]))}),e}(r.markmap))}catch{return}t.frontmatter=r,t.parserOptions={...t.parserOptions,...null==(n=null==r?void 0:r.markmap)?void 0:n.htmlParser},t.content=i.slice(s.index+s[0].length),t.contentLineOffset=i.slice(0,s.index).split("\n").length+1}),{})},u4,u3,{name:"npmUrl",transform:e=>(e.afterParse.tap((t,n)=>{let{frontmatter:r}=n,i=null==r?void 0:r.markmap;i&&["extraJs","extraCss"].forEach(t=>{let n=i[t];n&&(i[t]=n.map(t=>t.startsWith("npm:")?e.transformer.urlBuilder.getFullUrl(t.slice(4)):t))})}),{})},{name:"checkbox",transform:e=>(e.parser.tap(e=>{e.core.ruler.before("inline","checkbox",e=>{for(let t=2;t<e.tokens.length;t+=1){let n=e.tokens[t];if("inline"===n.type&&n.content){let r=e.tokens[t-1].type,i=e.tokens[t-2].type;("heading_open"===r||"paragraph_open"===r&&"list_item_open"===i)&&(n.content=n.content.replace(/^\[(.)\] /,(e,t)=>uJ[t]?`${uJ[t]} `:e))}}return!1})}),{})},{name:"sourceLines",transform:e=>(e.parser.tap(e=>{e.renderer.renderAttrs=(0,$.Fk)(e.renderer.renderAttrs,(e,t)=>{let n=e(t);return t.block&&t.map&&(n+=` data-lines=${t.map.join(",")}`),n})}),{})}];class u7{constructor(e=u9){this.assetsMap={},this.urlBuilder=new $.j$,this.hooks={transformer:this,parser:new $.qn,beforeParse:new $.qn,afterParse:new $.qn,retransform:new $.qn},this.plugins=e.map(e=>"function"==typeof e?e():e);let t={};for(let{name:e,transform:n}of this.plugins)t[e]=n(this.hooks);this.assetsMap=t;let n=function(){let e=lh({html:!0,breaks:!0});return e.use(lf).use(lp).use(lE).use(lT),e}();this.md=n,this.hooks.parser.call(n)}transform(e,t){var n,r;let i={content:e,features:{},contentLineOffset:0,parserOptions:t};this.hooks.beforeParse.call(this.md,i);let s=this.md.render(i.content,{});this.hooks.afterParse.call(this.md,i);let a=function e(t){for(;!t.content&&1===t.children.length;)t=t.children[0];for(;1===t.children.length&&!t.children[0].content;)t={...t,children:t.children[0].children};return{...t,children:t.children.map(e)}}((r=function(e,t){let n={...aa,...t},r=ae(e),i=r("body"),s=0,a={id:0,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},o=[],l=0;return function e(t,i){t.each((t,u)=>{var h,f;let p=r(u),d=null==(h=Object.entries(n.selectorRules).find(([e])=>p.is(e)))?void 0:h[1],m=null==d?void 0:d({$node:p,$:r,getContent:c});if((null==m?void 0:m.queue)&&!m.nesting)return void e(m.queue,i);let E=(f=u.tagName,al.test(f)?+f[1]:ac.test(f)?8:au.test(f)?9:7);if(!m){E<=6&&(l=E);return}if(l>0&&E>l||!p.is(n.selector))return;l=0;let g=E<=6,_=p.data();p.children("code:only-child").length&&(_={..._,...p.children().data()});let T=function(e){var t;let{parent:n}=e,r={id:++s,tag:e.tagName,level:e.level,html:e.html,childrenLevel:0,children:e.nesting?[]:void 0,parent:n.id};return(null==(t=e.comments)?void 0:t.length)&&(r.comments=e.comments),Object.keys(e.data||{}).length&&(r.data=e.data),n.children&&((0===n.childrenLevel||n.childrenLevel>r.level)&&(n.children=[],n.childrenLevel=r.level),n.childrenLevel===r.level&&n.children.push(r)),r}({parent:i||function(e){let t;for(;(t=o.at(-1))&&t.level>=e;)o.pop();return t||a}(E),nesting:!!m.queue||g,tagName:u.tagName,level:E,html:m.html||"",comments:m.comments,data:_});g&&o.push(T),m.queue&&e(m.queue,T)})}(i.children()),a;function c(e){var t;let n=function(e){let t=[];return{$node:e=e.filter((e,n)=>{if("comment"===n.type){let e=n.data.trim();if(e.startsWith(ao))return t.push(e.slice(ao.length).trim()),!1}return!0}),comments:t}}(e),i=null==(t=r.html(n.$node))?void 0:t.trimEnd();return{comments:n.comments,html:i}}}(s,i.parserOptions),(0,$.Ir)(r,(e,t)=>{let n={content:e.html,children:t()||[]};return e.data&&(n.payload={...e.data}),e.comments&&(e.comments.includes("foldAll")?n.payload={...n.payload,fold:2}:e.comments.includes("fold")&&(n.payload={...n.payload,fold:1})),n})));return a.content||(a.content=`${(null==(n=i.frontmatter)?void 0:n.title)||""}`),{...i,root:a}}getAssets(e){let t=[],n=[];for(let r of(e??(e=this.plugins.map(e=>e.name)),e.map(e=>this.assetsMap[e])))r&&(r.styles&&t.push(...r.styles),r.scripts&&n.push(...r.scripts));return{styles:t.map(e=>{var t;return t=this.urlBuilder,"stylesheet"===e.type&&e.data.href?{...e,data:{...e.data,href:t.getFullUrl(e.data.href)}}:e}),scripts:n.map(e=>u0(this.urlBuilder,e))}}getUsedAssets(e){let t=this.plugins.map(e=>e.name).filter(t=>e[t]);return this.getAssets(t)}}}
31,3728:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},21900:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},26013:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},35712:(e,t,n)=>{"use strict";var r=n(44752);function i(e,t){var n,r,i=e.posMax,s=!0,a=!0;return n=t>0?e.src.charCodeAt(t-1):-1,r=t+1<=i?e.src.charCodeAt(t+1):-1,(32===n||9===n||r>=48&&r<=57)&&(a=!1),(32===r||9===r)&&(s=!1),{can_open:s,can_close:a}}function s(e,t){var n,r,s,a;if("$"!==e.src[e.pos])return!1;if(!i(e,e.pos).can_open)return t||(e.pending+="$"),e.pos+=1,!0;for(r=n=e.pos+1;-1!==(r=e.src.indexOf("$",r));){for(a=r-1;"\\"===e.src[a];)a-=1;if((r-a)%2==1)break;r+=1}return -1===r?(t||(e.pending+="$"),e.pos=n):r-n==0?(t||(e.pending+="$$"),e.pos=n+1):i(e,r).can_close?(t||((s=e.push("math_inline","math",0)).markup="$",s.content=e.src.slice(n,r)),e.pos=r+1):(t||(e.pending+="$"),e.pos=n),!0}function a(e,t,n,r){var i,s,a,o,l,c=!1,u=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(u+2>h||"$$"!==e.src.slice(u,u+2))return!1;if(u+=2,i=e.src.slice(u,h),r)return!0;for("$$"===i.trim().slice(-2)&&(i=i.trim().slice(0,-2),c=!0),a=t;!c&&!(++a>=n)&&(!((u=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a]))||!(e.tShift[a]<e.blkIndent));){;"$$"===e.src.slice(u,h).trim().slice(-2)&&(o=e.src.slice(0,h).lastIndexOf("$$"),s=e.src.slice(u,o),c=!0)}return e.line=a+1,(l=e.push("math_block","math",0)).block=!0,l.content=(i&&i.trim()?i+"\n":"")+e.getLines(t+1,a,e.tShift[t],!0)+(s&&s.trim()?s:""),l.map=[t,e.line],l.markup="$$",!0}function o(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}e.exports=function(e,t){t=t||{};var n=function(e){t.displayMode=!1;try{return r.renderToString(e,t)}catch(n){return t.throwOnError&&console.log(n),`<span class='katex-error' title='${o(n.toString())}'>${o(e)}</span>`}},i=function(e){t.displayMode=!0;try{return"<p class='katex-block'>"+r.renderToString(e,t)+"</p>"}catch(n){return t.throwOnError&&console.log(n),`<p class='katex-block katex-error' title='${o(n.toString())}'>${o(e)}</p>`}};e.inline.ruler.after("escape","math_inline",s),e.block.ruler.after("blockquote","math_block",a,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=function(e,t){return n(e[t].content)},e.renderer.rules.math_block=function(e,t){return i(e[t].content)+"\n"}}},42868:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},47164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},51040:(e,t,n)=>{"use strict";n.d(t,{Fk:()=>m,Ir:()=>f,KS:()=>d,OX:()=>u,hD:()=>v,iQ:()=>p,j$:()=>a,kG:()=>O,lQ:()=>h,qn:()=>o,rX:()=>x,sg:()=>E});let r="npm2url/dist/index.cjs",i={jsdelivr:e=>`https://cdn.jsdelivr.net/npm/${e}`,unpkg:e=>`https://unpkg.com/${e}`};async function s(e,t){let n=await fetch(e,{signal:t});if(!n.ok)throw n;await n.text()}class a{constructor(){this.providers={...i},this.provider="jsdelivr"}async getFastestProvider(e=5e3,t=r){let n=new AbortController,i=0;try{return await new Promise((r,a)=>{Promise.all(Object.entries(this.providers).map(async([e,i])=>{try{await s(i(t),n.signal),r(e)}catch{}})).then(()=>a(Error("All providers failed"))),i=setTimeout(a,e,Error("Timed out"))})}finally{n.abort(),clearTimeout(i)}}async findFastestProvider(e,t){return this.provider=await this.getFastestProvider(e,t),this.provider}setProvider(e,t){t?this.providers[e]=t:delete this.providers[e]}getFullUrl(e,t=this.provider){if(e.includes("://"))return e;let n=this.providers[t];if(!n)throw Error(`Provider ${t} not found`);return n(e)}}new a;class o{constructor(){this.listeners=[]}tap(e){return this.listeners.push(e),()=>this.revoke(e)}revoke(e){let t=this.listeners.indexOf(e);t>=0&&this.listeners.splice(t,1)}revokeAll(){this.listeners.splice(0)}call(...e){for(let t of this.listeners)t(...e)}}let l=Math.random().toString(36).slice(2,8),c=0;function u(){return c+=1,`mm-${l}-${c}`}function h(){}function f(e,t){let n=(e,r)=>t(e,()=>{var t;return null==(t=e.children)?void 0:t.map(t=>n(t,e))},r);return n(e)}
31function p(e,...t){let n=(e||"").split(" ").filter(Boolean);return t.forEach(e=>{e&&0>n.indexOf(e)&&n.push(e)}),n.join(" ")}function d(e){if("string"==typeof e){let t=e;e=e=>e.tagName===t}let t=e;return function(){let e=Array.from(this.childNodes);return t&&(e=e.filter(e=>t(e))),e}}function m(e,t){return(...n)=>t(e,...n)}function E(e,t){let n={timer:0};function r(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function i(){r(),n.args&&(n.result=e(...n.args))}return function(...e){return r(),n.args=e,n.timer=window.setTimeout(i,t),n.result}}let g="http://www.w3.org/1999/xlink",_={show:g,actuate:g,href:g};function T(e){return e.children}let A={isSvg:!1};function y(e,t){Array.isArray(t)||(t=[t]),(t=t.filter(Boolean)).length&&e.append(...t)}let b={className:"class",labelFor:"for"};function C(e,t){return Array.isArray(e)?e.map(e=>C(e,t)).reduce((e,t)=>e.concat(t),[]):k(e,t)}function k(e,t=A){if(null==e||"boolean"==typeof e)return null;if(e instanceof Node)return e;if((null==e?void 0:e.vtype)===2){let{type:n,props:r}=e;if(n===T){let e=document.createDocumentFragment();return r.children&&y(e,C(r.children,t)),e}return k(n(r),t)}if("string"==typeof e||"number"==typeof e)return document.createTextNode(`${e}`);if((null==e?void 0:e.vtype)===1){let i,{type:s,props:a}=e;t.isSvg||"svg"!==s||(t=Object.assign({},t,{isSvg:!0}));var n=i=t.isSvg?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s),r=t;for(let e in a)if("key"!==e&&"children"!==e&&"ref"!==e)if("dangerouslySetInnerHTML"===e)n.innerHTML=a[e].__html;else if("innerHTML"===e||"textContent"===e||"innerText"===e||"value"===e&&["textarea","select"].includes(n.tagName)){let t=a[e];null!=t&&(n[e]=t)}else e.startsWith("on")?n[e.toLowerCase()]=a[e]:function(e,t,n,r){if(t=b[t]||t,!0===n)e.setAttribute(t,"");else if(!1===n)e.removeAttribute(t);else{let i=r?_[t]:void 0;void 0!==i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}}(n,e,a[e],r.isSvg);if(a.children){let e=t;t.isSvg&&"foreignObject"===s&&(e=Object.assign({},e,{isSvg:!1}));let n=C(a.children,e);null!=n&&y(i,n)}let{ref:o}=a;return"function"==typeof o&&o(i),i}throw Error("mount: Invalid Vnode!")}function S(...e){return k(function(e,t,...n){let r;var i=e,s=t=Object.assign({},t,{children:1===n.length?n[0]:n});if("string"==typeof i)r=1;else if("function"==typeof i)r=2;else throw Error("Invalid VNode type");return{vtype:r,type:i,props:s}}(...e))}let N=function(e){let t={};return function(...n){let r=`${n[0]}`,i=t[r];return i||(i={value:e(...n)},t[r]=i),i.value}}(e=>{document.head.append(S("link",{rel:"preload",as:"script",href:e}))}),I={};async function D(e,t){var n;let r="script"===e.type&&(null==(n=e.data)?void 0:n.src)||"";if(e.loaded||(e.loaded=I[r]),!e.loaded){let n=function(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}();if(e.loaded=n.promise,"script"===e.type&&(document.head.append(S("script",{...e.data,onLoad:()=>n.resolve(),onError:n.reject})),r?I[r]=e.loaded:n.resolve()),"iife"===e.type){let{fn:r,getParams:i}=e.data;r(...(null==i?void 0:i(t))||[]),n.resolve()}}await e.loaded}async function O(e,t){for(let n of(e.forEach(e=>{var t;"script"===e.type&&(null==(t=e.data)?void 0:t.src)&&N(e.data.src)}),t={getMarkmap:()=>window.markmap,...t},e))await D(n,t)}function v(e){return{type:"script",data:{src:e}}}function x(e){return{type:"stylesheet",data:{href:e}}}},56161:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("Minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]])},63101:(e,t)=>{t.read=function(e,t,n,r,i){var s,a,o=8*i-r-1,l=(1<<o)-1,c=l>>1,u=-7,h=n?i-1:0,f=n?-1:1,p=e[t+h];for(h+=f,s=p&(1<<-u)-1,p>>=-u,u+=o;u>0;s=256*s+e[t+h],h+=f,u-=8);for(a=s&(1<<-u)-1,s>>=-u,u+=r;u>0;a=256*a+e[t+h],h+=f,u-=8);if(0===s)s=1-c;else{if(s===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),s-=c}return(p?-1:1)*a*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var a,o,l,c=8*s-i-1,u=(1<<c)-1,h=u>>1,f=5960464477539062e-23*(23===i),p=r?0:s-1,d=r?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+h>=1?t+=f/l:t+=f*Math.pow(2,1-h),t*l>=2&&(a++,l/=2),a+h>=u?(o=0,a=u):a+h>=1?(o=(t*l-1)*Math.pow(2,i),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&o,p+=d,o/=256,i-=8);for(a=a<<i|o,c+=i;c>0;e[n+p]=255&a,p+=d,a/=256,c-=8);e[n+p-d]|=128*m}},63627:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]])},72050:(e,t,n)=>{"use strict";n.d(t,{mP:()=>nv,ae:()=>t8});var r,i=n(51040);function s(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function a(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(){}function l(e){return null==e?o:function(){return this.querySelector(e)}}function c(){return[]}function u(e){return null==e?c:function(){return this.querySelectorAll(e)}}function h(e){return function(){return this.matches(e)}}function f(e){return function(t){return t.matches(e)}}var p=Array.prototype.find;function d(){return this.firstElementChild}var m=Array.prototype.filter;function E(){return Array.from(this.children)}function g(e){return Array(e.length)}function _(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function T(e,t,n,r,i,s){for(var a,o=0,l=t.length,c=s.length;o<c;++o)(a=t[o])?(a.__data__=s[o],r[o]=a):n[o]=new _(e,s[o]);for(;o<l;
vendor: 12,614 bytes, line 31
31++o)(a=t[o])&&(i[o]=a)}function A(e,t,n,r,i,s,a){var o,l,c,u=new Map,h=t.length,f=s.length,p=Array(h);for(o=0;o<h;++o)(l=t[o])&&(p[o]=c=a.call(l,l.__data__,o,t)+"",u.has(c)?i[o]=l:u.set(c,l));for(o=0;o<f;++o)c=a.call(e,s[o],o,s)+"",(l=u.get(c))?(r[o]=l,l.__data__=s[o],u.delete(c)):n[o]=new _(e,s[o]);for(o=0;o<h;++o)(l=t[o])&&u.get(p[o])===l&&(i[o]=l)}function y(e){return e.__data__}function b(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}_.prototype={constructor:_,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var C="http://www.w3.org/1999/xhtml";let k={svg:"http://www.w3.org/2000/svg",xhtml:C,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function S(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),k.hasOwnProperty(t)?{space:k[t],local:e}:e}function N(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function I(e,t){return e.style.getPropertyValue(t)||N(e).getComputedStyle(e,null).getPropertyValue(t)}function D(e){return e.trim().split(/^|\s+/)}function O(e){return e.classList||new v(e)}function v(e){this._node=e,this._names=D(e.getAttribute("class")||"")}function x(e,t){for(var n=O(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function L(e,t){for(var n=O(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function R(){this.textContent=""}function w(){this.innerHTML=""}function M(){this.nextSibling&&this.parentNode.appendChild(this)}function P(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function F(e){var t=S(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===C&&t.documentElement.namespaceURI===C?t.createElement(e):t.createElementNS(n,e)}})(t)}function B(){return null}function U(){var e=this.parentNode;e&&e.removeChild(this)}function H(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function G(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function $(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,s=t.length;r<s;++r)(n=t[r],e.type&&n.type!==e.type||n.name!==e.name)?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function q(e,t,n){return function(){var r,i=this.__on,s=function(e){t.call(this,e,this.__data__)};if(i){for(var a=0,o=i.length;a<o;++a)if((r=i[a]).type===e.type&&r.name===e.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=s,r.options=n),r.value=t;return}}this.addEventListener(e.type,s,n),r={type:e.type,name:e.name,value:t,listener:s,options:n},i?i.push(r):this.__on=[r]}}function Y(e,t,n){var r=N(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}v.prototype={add:function(e){0>this._names.indexOf(e)&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var z=[null];function j(e,t){this._groups=e,this._parents=t}function K(){return new j([[document.documentElement]],z)}j.prototype=K.prototype={constructor:j,select:function(e){"function"!=typeof e&&(e=l(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var s,a,o=t[i],c=o.length,u=r[i]=Array(c),h=0;h<c;++h)(s=o[h])&&(a=e.call(s,s.__data__,h,o))&&("__data__"in s&&(a.__data__=s.__data__),u[h]=a);return new j(r,this._parents)},selectAll:function(e){if("function"==typeof e){var t;t=e,e=function(){var e;return e=t.apply(this,arguments),null==e?[]:Array.isArray(e)?e:Array.from(e)}}else e=u(e);for(var n=this._groups,r=n.length,i=[],s=[],a=0;a<r;++a)for(var o,l=n[a],c=l.length,h=0;h<c;++h)(o=l[h])&&(i.push(e.call(o,o.__data__,h,l)),s.push(o));return new j(i,s)},selectChild:function(e){var t;return this.select(null==e?d:(t="function"==typeof e?e:f(e),function(){return p.call(this.children,t)}))},selectChildren:function(e){var t;return this.selectAll(null==e?E:(t="function"==typeof e?e:f(e),function(){return m.call(this.children,t)}))},filter:function(e){"function"!=typeof e&&(e=h(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var s,a=t[i],o=a.length,l=r[i]=[],c=0;c<o;++c)(s=a[c])&&e.call(s,s.__data__,c,a)&&l.push(s);return new j(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,y);var n=t?A:T,r=this._parents,i=this._groups;"function"!=typeof e&&(_=e,e=function(){return _});for(var s=i.length,a=Array(s),o=Array(s),l=Array(s),c=0;c<s;++c){var u=r[c],h=i[c],f=h.length,p="object"==typeof(g=e.call(u,u&&u.__data__,c,r))&&"length"in g?g:Array.from(g),d=p.length,m=o[c]=Array(d),E=a[c]=Array(d);n(u,h,m,E,l[c]=Array(f),p,t);for(var g,_,b,C,k=0,S=0;k<d;++k)if(b=m[k]){for(k>=S&&(S=k+1);!(C=E[S])&&++S<d;);b._next=C||null}}return(a=new j(a,r))._enter=o,a._exit=l,a},enter:function(){return new j(this._enter||this._groups.map(g),this._parents)},exit:function(){return new j(this._exit||this._groups.map(g),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,s=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?s.remove():n(s),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,s=r.length,a=Math.min(i,s),o=Array(i),l=0;l<a;++l)for(var c,u=n[l],h=r[l],f=u.length,p=o[l]=Array(f),d=0;d<f;++d)(c=u[d]||h[d])&&(p[d]=c);for(;l<i;++l)o[l]=n[l];return new j(o,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],s=i.length-1,a=i[s];--s>=0;)(r=i[s])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=b);for(var n=this._groups,r=n.length,i=Array(r),s=0;s<r;++s){for(var a,o=n[s],l=o.length,c=i[s]=Array(l),u=0;u<l;++u)(a=o[u])&&(c[u]=a);c.sort(t)}return new j(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,s=r.length;i<s;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(let t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,s=t[n],a=0,o=s.length;a<o;++a)(i=s[a])&&e.call(i,i.__data__,a,s);return this},attr:function(e,t){var n=S(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?n.local?function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}:function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):I(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=D(e+"");if(arguments.length<2){for(var r=O(this.node()),i=-1,s=n.length;++i<s;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?x:L)(this,e)}}:t?function(e){return function(){x(this,e)}}:function(e){return function(){L(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?R:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?w:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(M)},lower:function(){return this.each(P)},append:function(e){var t="function"==typeof e?e:F(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var n="function"==typeof e?e:F(e),r=null==t?B:"function"==typeof t?t:l(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(U)},clone:function(e){return this.select(e?G:H)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,s=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}),a=s.length;if(arguments.length<2){var o=this.node().__on;if(o){for(var l,c=0,u=o.length;c<u;++c)for(r=0,l=o[c];r<a;++r)if((i=s[r]).type===l.type&&i.name===l.name)return l.value}return}for(r=0,o=t?q:$;r<a;++r)this.each(o(s[r],t,n));return this},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return Y(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return Y(this,e,t)}})(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],s=0,a=i.length;s<a;++s)(r=i[s])&&(yield r)}};var V={value:()=>{}};function X(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw Error("illegal type: "+e);r[e]=[]}return new Q(r)}function Q(e){this._=e}function W(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=V,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}Q.prototype=X.prototype={constructor:Q,on:function(e,t){var n,r=this._,i=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),s=-1,a=i.length;if(arguments.length<2){for(;++s<a;)if((n=(e=i[s]).type)&&(n=function(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}(r[n],e.name)))return n;return}if(null!=t&&"function"!=typeof t)throw Error("invalid callback: "+t);for(;++s<a;)if(n=(e=i[s]).type)r[n]=W(r[n],e.name,t);else if(null==t)for(n in r)r[n]=W(r[n],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Q(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),s=0;s<n;++s)i[s]=arguments[s+2];if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(r=this._[e],s=0,n=r.length;s<n;++s)r[s].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(var r=this._[e],i=0,s=r.length;i<s;++i)r[i].value.apply(t,n)}};var Z,J,ee=0,et=0,en=0,er=0,ei=0,es=0,ea="object"==typeof performance&&performance.now?performance:Date,eo="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function el(){return ei||(eo(ec),ei=ea.now()+es)}function ec(){ei=0}function eu(){this._call=this._time=this._next=null}function eh(e,t,n){var r=new eu;return r.restart(e,t,n),r}
vendor: 8,248 bytes, line 31
31function ef(){ei=(er=ea.now())+es,ee=et=0;try{el(),++ee;for(var e,t=Z;t;)(e=ei-t._time)>=0&&t._call.call(void 0,e),t=t._next;--ee}finally{ee=0,function(){for(var e,t,n=Z,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Z=t);J=e,ed(r)}(),ei=0}}function ep(){var e=ea.now(),t=e-er;t>1e3&&(es-=t,er=e)}function ed(e){!ee&&(et&&(et=clearTimeout(et)),e-ei>24?(e<1/0&&(et=setTimeout(ef,e-ea.now()-es)),en&&(en=clearInterval(en))):(en||(er=ea.now(),en=setInterval(ep,1e3)),ee=1,eo(ef)))}function em(e,t,n){var r=new eu;return t=null==t?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}eu.prototype=eh.prototype={constructor:eu,restart:function(e,t,n){if("function"!=typeof e)throw TypeError("callback is not a function");n=(null==n?el():+n)+(null==t?0:+t),this._next||J===this||(J?J._next=this:Z=this,J=this),this._call=e,this._time=n,ed()},stop:function(){this._call&&(this._call=null,this._time=1/0,ed())}};var eE=X("start","end","cancel","interrupt"),eg=[];function e_(e,t,n,r,i,s){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function s(l){var c,u,h,f;if(1!==n.state)return o();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return em(s);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(em(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(l))}),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(c=0,n.state=3,r=Array(h=n.tween.length),u=-1;c<h;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function a(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(o),n.state=5,1),s=-1,a=r.length;++s<a;)r[s].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),o())}function o(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=eh(function(e){n.state=1,n.timer.restart(s,n.delay,n.time),n.delay<=e&&s(e-n.delay)},0,n.time)}(e,n,{name:t,index:r,group:i,on:eE,tween:eg,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:0})}function eT(e,t){var n=ey(e,t);if(n.state>0)throw Error("too late; already scheduled");return n}function eA(e,t){var n=ey(e,t);if(n.state>3)throw Error("too late; already running");return n}function ey(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error("transition not found");return n}function eb(e,t){var n,r,i,s=e.__transition,a=!0;if(s){for(i in t=null==t?null:t+"",s){if((n=s[i]).name!==t){a=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete s[i]}a&&delete e.__transition}}function eC(e,t){return e*=1,t*=1,function(n){return e*(1-n)+t*n}}var ek=180/Math.PI,eS={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function eN(e,t,n,r,i,s){var a,o,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(o=Math.sqrt(n*n+r*r))&&(n/=o,r/=o,l/=o),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:i,translateY:s,rotate:Math.atan2(t,e)*ek,skewX:Math.atan(l)*ek,scaleX:a,scaleY:o}}function eI(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(s,a){var o,l,c,u,h=[],f=[];return s=e(s),a=e(a),!function(e,r,i,s,a,o){if(e!==i||r!==s){var l=a.push("translate(",null,t,null,n);o.push({i:l-4,x:eC(e,i)},{i:l-2,x:eC(r,s)})}else(i||s)&&a.push("translate("+i+t+s+n)}(s.translateX,s.translateY,a.translateX,a.translateY,h,f),o=s.rotate,l=a.rotate,o!==l?(o-l>180?l+=360:l-o>180&&(o+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:eC(o,l)})):l&&h.push(i(h)+"rotate("+l+r),c=s.skewX,u=a.skewX,c!==u?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:eC(c,u)}):u&&h.push(i(h)+"skewX("+u+r),!function(e,t,n,r,s,a){if(e!==n||t!==r){var o=s.push(i(s)+"scale(",null,",",null,")");a.push({i:o-4,x:eC(e,n)},{i:o-2,x:eC(t,r)})}else(1!==n||1!==r)&&s.push(i(s)+"scale("+n+","+r+")")}(s.scaleX,s.scaleY,a.scaleX,a.scaleY,h,f),s=a=null,function(e){for(var t,n=-1,r=f.length;++n<r;)h[(t=f[n]).i]=t.x(e);return h.join("")}}}var eD=eI(function(e){let t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?eS:eN(t.a,t.b,t.c,t.d,t.e,t.f)},"px, ","px)","deg)"),eO=eI(function(e){return null==e?eS:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",e),e=r.transform.baseVal.consolidate())?eN((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):eS},", ",")",")");function ev(e,t,n){var r=e._id;return e.each(function(){var e=eA(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return ey(e,r).value[t]}}function ex(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function eL(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function eR(){}var ew="\\s*([+-]?\\d+)\\s*",eM="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",eP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",eF=/^#([0-9a-f]{3,8})$/,eB=RegExp(`^rgb\\(${ew},${ew},${ew}\\)$`),eU=RegExp(`^rgb\\(${eP},${eP},${eP}\\)$`),eH=RegExp(`^rgba\\(${ew},${ew},${ew},${eM}\\)$`),eG=RegExp(`^rgba\\(${eP},${eP},${eP},${eM}\\)$`),e$=RegExp(`^hsl\\(${eM},${eP},${eP}\\)$`),eq=RegExp(`^hsla\\(${eM},${eP},${eP},${eM}\\)$`),eY={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function ez(){return this.rgb().formatHex()}function ej(){return this.rgb().formatRgb()}function eK(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=eF.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?eV(t):3===n?
31new eW(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?eX(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?eX(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=eB.exec(e))?new eW(t[1],t[2],t[3],1):(t=eU.exec(e))?new eW(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=eH.exec(e))?eX(t[1],t[2],t[3],t[4]):(t=eG.exec(e))?eX(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=e$.exec(e))?e3(t[1],t[2]/100,t[3]/100,1):(t=eq.exec(e))?e3(t[1],t[2]/100,t[3]/100,t[4]):eY.hasOwnProperty(e)?eV(eY[e]):"transparent"===e?new eW(NaN,NaN,NaN,0):null}function eV(e){return new eW(e>>16&255,e>>8&255,255&e,1)}function eX(e,t,n,r){return r<=0&&(e=t=n=NaN),new eW(e,t,n,r)}function eQ(e,t,n,r){var i;return 1==arguments.length?((i=e)instanceof eR||(i=eK(i)),i)?new eW((i=i.rgb()).r,i.g,i.b,i.opacity):new eW:new eW(e,t,n,null==r?1:r)}function eW(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function eZ(){return`#${e2(this.r)}${e2(this.g)}${e2(this.b)}`}function eJ(){let e=e0(this.opacity);return`${1===e?"rgb(":"rgba("}${e1(this.r)}, ${e1(this.g)}, ${e1(this.b)}${1===e?")":`, ${e})`}`}function e0(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function e1(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function e2(e){return((e=e1(e))<16?"0":"")+e.toString(16)}function e3(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new e8(e,t,n,r)}function e5(e){if(e instanceof e8)return new e8(e.h,e.s,e.l,e.opacity);if(e instanceof eR||(e=eK(e)),!e)return new e8;if(e instanceof e8)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),s=Math.max(t,n,r),a=NaN,o=s-i,l=(s+i)/2;return o?(a=t===s?(n-r)/o+(n<r)*6:n===s?(r-t)/o+2:(t-n)/o+4,o/=l<.5?s+i:2-s-i,a*=60):o=l>0&&l<1?0:a,new e8(a,o,l,e.opacity)}function e8(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function e6(e){return(e=(e||0)%360)<0?e+360:e}function e4(e){return Math.max(0,Math.min(1,e||0))}function e9(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function e7(e,t,n,r,i){var s=e*e,a=s*e;return((1-3*e+3*s-a)*t+(4-6*s+3*a)*n+(1+3*e+3*s-3*a)*r+a*i)/6}ex(eR,eK,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ez,formatHex:ez,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return e5(this).formatHsl()},formatRgb:ej,toString:ej}),ex(eW,eQ,eL(eR,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new eW(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new eW(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new eW(e1(this.r),e1(this.g),e1(this.b),e0(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:eZ,formatHex:eZ,formatHex8:function(){return`#${e2(this.r)}${e2(this.g)}${e2(this.b)}${e2((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:eJ,toString:eJ})),ex(e8,function(e,t,n,r){return 1==arguments.length?e5(e):new e8(e,t,n,null==r?1:r)},eL(eR,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new e8(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new e8(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new eW(e9(e>=240?e-240:e+120,i,r),e9(e,i,r),e9(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new e8(e6(this.h),e4(this.s),e4(this.l),e0(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=e0(this.opacity);return`${1===e?"hsl(":"hsla("}${e6(this.h)}, ${100*e4(this.s)}%, ${100*e4(this.l)}%${1===e?")":`, ${e})`}`}}));let te=e=>()=>e;function tt(e,t){var n=t-e;return n?function(t){return e+t*n}:te(isNaN(e)?t:e)}let tn=function e(t){var n,r=1==(n=+t)?tt:function(e,t){var r,i,s;return t-e?(r=e,i=t,r=Math.pow(r,s=n),i=Math.pow(i,s)-r,s=1/s,function(e){return Math.pow(r+e*i,s)}):te(isNaN(e)?t:e)};function i(e,t){var n=r((e=eQ(e)).r,(t=eQ(t)).r),i=r(e.g,t.g),s=r(e.b,t.b),a=tt(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=s(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function tr(e){return function(t){var n,r,i=t.length,s=Array(i),a=Array(i),o=Array(i);for(n=0;n<i;++n)r=eQ(t[n]),s[n]=r.r||0,a[n]=r.g||0,o[n]=r.b||0;return s=e(s),a=e(a),o=e(o),r.opacity=1,function(e){return r.r=s(e),r.g=a(e),r.b=o(e),r+""}}}tr(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],s=e[r+1],a=r>0?e[r-1]:2*i-s,o=r<t-1?e[r+2]:2*s-i;return e7((n-r/t)*t,a,i,s,o)}}),tr(function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],s=e[r%t],a=e[(r+1)%t],o=e[(r+2)%t];return e7((n-r/t)*t,i,s,a,o)}});var ti=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ts=RegExp(ti.source,"g");function ta(e,t){var n;
31return("number"==typeof t?eC:t instanceof eK?tn:(n=eK(t))?(t=n,tn):function(e,t){var n,r,i,s,a,o=ti.lastIndex=ts.lastIndex=0,l=-1,c=[],u=[];for(e+="",t+="";(i=ti.exec(e))&&(s=ts.exec(t));)(a=s.index)>o&&(a=t.slice(o,a),c[l]?c[l]+=a:c[++l]=a),(i=i[0])===(s=s[0])?c[l]?c[l]+=s:c[++l]=s:(c[++l]=null,u.push({i:l,x:eC(i,s)})),o=ts.lastIndex;return o<t.length&&(a=t.slice(o),c[l]?c[l]+=a:c[++l]=a),c.length<2?u[0]?(n=u[0].x,function(e){return n(e)+""}):(r=t,function(){return r}):(t=u.length,function(e){for(var n,r=0;r<t;++r)c[(n=u[r]).i]=n.x(e);return c.join("")})})(e,t)}var to=K.prototype.constructor;function tl(e){return function(){this.style.removeProperty(e)}}var tc=0;function tu(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}var th=K.prototype;tu.prototype=(function(e){return K().transition(e)}).prototype={constructor:tu,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=l(e));for(var r=this._groups,i=r.length,s=Array(i),a=0;a<i;++a)for(var o,c,u=r[a],h=u.length,f=s[a]=Array(h),p=0;p<h;++p)(o=u[p])&&(c=e.call(o,o.__data__,p,u))&&("__data__"in o&&(c.__data__=o.__data__),f[p]=c,e_(f[p],t,n,p,f,ey(o,n)));return new tu(s,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=u(e));for(var r=this._groups,i=r.length,s=[],a=[],o=0;o<i;++o)for(var l,c=r[o],h=c.length,f=0;f<h;++f)if(l=c[f]){for(var p,d=e.call(l,l.__data__,f,c),m=ey(l,n),E=0,g=d.length;E<g;++E)(p=d[E])&&e_(p,t,n,E,d,m);s.push(d),a.push(l)}return new tu(s,a,t,n)},selectChild:th.selectChild,selectChildren:th.selectChildren,filter:function(e){"function"!=typeof e&&(e=h(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var s,a=t[i],o=a.length,l=r[i]=[],c=0;c<o;++c)(s=a[c])&&e.call(s,s.__data__,c,a)&&l.push(s);return new tu(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,s=Math.min(r,i),a=Array(r),o=0;o<s;++o)for(var l,c=t[o],u=n[o],h=c.length,f=a[o]=Array(h),p=0;p<h;++p)(l=c[p]||u[p])&&(f[p]=l);for(;o<r;++o)a[o]=t[o];return new tu(a,this._parents,this._name,this._id)},selection:function(){return new to(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=++tc,r=this._groups,i=r.length,s=0;s<i;++s)for(var a,o=r[s],l=o.length,c=0;c<l;++c)if(a=o[c]){var u=ey(a,t);e_(a,e,n,c,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new tu(r,this._parents,e,n)},call:th.call,nodes:th.nodes,node:th.node,size:th.size,empty:th.empty,each:th.each,on:function(e,t){var n,r,i,s,a,o,l=this._id;return arguments.length<2?ey(this.node(),l).on.on(e):this.each((n=l,r=e,i=t,o=(r+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})?eT:eA,function(){var e=o(this,n),t=e.on;t!==s&&(a=(s=t).copy()).on(r,i),e.on=a}))},attr:function(e,t){var n=S(e),r="transform"===n?eO:ta;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,i,s;return function(){var a,o,l=n(this);return null==l?void this.removeAttributeNS(e.space,e.local):(a=this.getAttributeNS(e.space,e.local))===(o=l+"")?null:a===r&&o===i?s:(i=o,s=t(r=a,l))}}:function(e,t,n){var r,i,s;return function(){var a,o,l=n(this);return null==l?void this.removeAttribute(e):(a=this.getAttribute(e))===(o=l+"")?null:a===r&&o===i?s:(i=o,s=t(r=a,l))}})(n,r,ev(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,i,s=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===s?null:a===r?i:i=t(r=a,n)}}:function(e,t,n){var r,i,s=n+"";return function(){var a=this.getAttribute(e);return a===s?null:a===r?i:i=t(r=a,n)}})(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();var r=S(e);return this.tween(n,(r.local?function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t){this.setAttributeNS(e.space,e.local,i.call(this,t))}),n}return i._value=t,i}:function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t){this.setAttribute(e,i.call(this,t))}),n}return i._value=t,i})(r,t))},style:function(e,t,n){var r,i,s,a,o,l,c,u,h,f,p,d,m,E,g,_,T,A,y,b,C,k="transform"==(e+="")?eD:ta;return null==t?this.styleTween(e,(r=e,function(){var e=I(this,r),t=(this.style.removeProperty(r),I(this,r));return e===t?null:e===i&&t===s?a:a=k(i=e,s=t)})).on("end.style."+e,tl(e)):"function"==typeof t?this.styleTween(e,(o=e,l=ev(this,"style."+e,t),function(){var e=I(this,o),t=l(this),n=t+"";return null==t&&(this.style.removeProperty(o),n=t=I(this,o)),e===n?null:e===c&&n===u?h:(u=n,h=k(c=e,t))})).each((f=this._id,T="end."+(_="style."+(p=e)),function(){var e=eA(this,f),t=e.on,n=null==e.value[_]?g||(g=tl(p)):void 0;(t!==d||E!==n)&&(m=(d=t).copy()).on(T,E=n),e.on=m})):this.styleTween(e,(A=e,C=t+"",function(){var e=I(this,A);return e===C?null:e===y?b:b=k(y=e,t)}),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw Error();return this.tween(r,function(e,t,n){var r,i;function s(){var s=t.apply(this,arguments);return s!==i&&(r=(i=s)&&function(t){this.style.setProperty(e,s.call(this,t),n)}),r}return s._value=t,s}(e,t,null==n?"":n))},text:function(e){var t,n;return this.tween("text","function"==typeof e?(t=ev(this,"text",e),function(){var e=t(this);this.textContent=null==e?"":e}):(n=null==e?"":e+"",function(){this.textContent=n}))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw Error();return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){this.textContent=r.call(this,e)}),t}return r._value=e,r}(e))},remove:function(){var e;return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=ey(this.node(),n).tween,s=0,a=i.length;s<a;++s)if((r=i[s]).name===e)return r.value;return null}return this.each((null==t?function(e,t){var n,r;return function(){var i=eA(this,e),s=i.tween;if(s!==n){r=n=s;for(var a=0,o=r.length;a<o;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}}i.tween=r}}:function(e,t,n){var r,i;if("function"!=typeof n)throw Error();return function(){var s=eA(this,e),a=s.tween;if(a!==r){i=(r=a).slice();for(var o={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=o;break}l===c&&i.push(o)}s.tween=i}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){eT(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){eT(this,e).delay=t}})(t,e)):ey(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){eA(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){eA(this,e).duration=t}})(t,e)):ey(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw Error();return function(){eA(this,e).ease=t}}(t,e)):ey(this.node(),t).ease},easeVarying:function(e){var t;if("function"!=typeof e)throw Error();return this.each((t=this._id,function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw Error();eA(this,t).ease=n}))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(s,a){var o={value:a},l={value:function(){0==--i&&s()}};n.each(function(){var n=eA(this,r),i=n.on;
31i!==e&&((t=(e=i).copy())._.cancel.push(o),t._.interrupt.push(o),t._.end.push(l)),n.on=t}),0===i&&s()})},[Symbol.iterator]:th[Symbol.iterator]};var tf={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};K.prototype.interrupt=function(e){return this.each(function(){eb(this,e)})},K.prototype.transition=function(e){var t,n;e instanceof tu?(t=e._id,e=e._name):(t=++tc,(n=tf).time=el(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,s=0;s<i;++s)for(var a,o=r[s],l=o.length,c=0;c<l;++c)(a=o[c])&&e_(a,e,t,c,o,n||function(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}(a,t));return new tu(r,this._parents,e,t)};let{abs:tp,max:td,min:tm}=Math;function tE(e){return{type:e}}["w","e"].map(tE),["n","s"].map(tE),["n","w","e","s","nw","ne","sw","se"].map(tE);class tg extends Map{constructor(e,t=tT){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(t_(this,e))}has(e){return super.has(t_(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function t_({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function tT(e){return null!==e&&"object"==typeof e?e.valueOf():e}function tA(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}let ty=Symbol("implicit");function tb(){var e=new tg,t=[],n=[],r=ty;function i(i){let s=e.get(i);if(void 0===s){if(r!==ty)return r;e.set(i,s=t.push(i)-1)}return n[s%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();for(let r of(t=[],e=new tg,n))e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return tb(t,n).unknown(r)},tA.apply(i,arguments),i}let tC=function(e){for(var t=e.length/6|0,n=Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");function tk(e){return"string"==typeof e?new j([[document.querySelector(e)]],[document.documentElement]):new j([[e]],z)}var tS=Array.prototype.slice;function tN(e){return function(){return e}}class tI{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function tD(e){return new tI(e,!0)}let tO=Math.PI,tv=2*tO,tx=tv-1e-6;function tL(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class tR{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?tL:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return tL;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,s){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+s}`}arcTo(e,t,n,r,i){if(e*=1,t*=1,n*=1,r*=1,(i*=1)<0)throw Error(`negative radius: ${i}`);let s=this._x1,a=this._y1,o=n-e,l=r-t,c=s-e,u=a-t,h=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(h>1e-6)if(Math.abs(u*o-l*c)>1e-6&&i){let f=n-s,p=r-a,d=o*o+l*l,m=Math.sqrt(d),E=Math.sqrt(h),g=i*Math.tan((tO-Math.acos((d+h-(f*f+p*p))/(2*m*E)))/2),_=g/E,T=g/m;Math.abs(_-1)>1e-6&&this._append`L${e+_*c},${t+_*u}`,this._append`A${i},${i},0,0,${+(u*f>c*p)},${this._x1=e+T*o},${this._y1=t+T*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,i,s){if(e*=1,t*=1,n*=1,s=!!s,n<0)throw Error(`negative radius: ${n}`);let a=n*Math.cos(r),o=n*Math.sin(r),l=e+a,c=t+o,u=1^s,h=s?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${l},${c}`,n&&(h<0&&(h=h%tv+tv),h>tx?this._append`A${n},${n},0,1,${u},${e-a},${t-o}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=tO)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n*=1}v${+r}h${-n}Z`}toString(){return this._}}function tw(e){return e[0]}function tM(e){return e[1]}function tP(e){return e.source}function tF(e){return e.target}tR.prototype;let tB={capture:!0,passive:!1};function tU(e){e.preventDefault(),e.stopImmediatePropagation()}function tH(e){return((e=Math.exp(e))+1/e)/2}let tG=function e(t,n,r){function i(e,i){var s,a,o=e[0],l=e[1],c=e[2],u=i[0],h=i[1],f=i[2],p=u-o,d=h-l,m=p*p+d*d;if(m<1e-12)a=Math.log(f/c)/t,s=function(e){return[o+e*p,l+e*d,c*Math.exp(t*e*a)]};else{var E=Math.sqrt(m),g=(f*f-c*c+r*m)/(2*c*n*E),_=(f*f-c*c-r*m)/(2*f*n*E),T=Math.log(Math.sqrt(g*g+1)-g);a=(Math.log(Math.sqrt(_*_+1)-_)-T)/t,s=function(e){var r,i,s=e*a,u=tH(T),h=c/(n*E)*(u*(((r=Math.exp(2*(r=t*s+T)))-1)/(r+1))-((i=Math.exp(i=T))-1/i)/2);return[o+h*p,l+h*d,c*u/tH(t*s+T)]}}return s.duration=1e3*a*t/Math.SQRT2,s}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4);function t$(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}let tq=e=>()=>e;function tY(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function tz(e,t,n){this.k=e,this.x=t,this.y=n}tz.prototype={constructor:tz,scale:function(e){return 1===e?this:new tz(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new tz(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var tj=new tz(1,0,0);function tK(e){for(;!e.__zoom;)if(!(e=e.parentNode))return tj;return e.__zoom}function tV(e){e.stopImmediatePropagation()}function tX(e){e.preventDefault(),e.stopImmediatePropagation()}function tQ(e){return(!e.ctrlKey||"wheel"===e.type)&&!e.button}function tW(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function tZ(){return this.__zoom||tj}function tJ(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?
311:.002)*(e.ctrlKey?10:1)}function t0(){return navigator.maxTouchPoints||"ontouchstart"in this}function t1(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],s=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>s?(s+a)/2:Math.min(0,s)||Math.max(0,a))}tK.prototype=tz.prototype;let t2="u">typeof navigator&&navigator.userAgent.includes("Macintosh"),t3=tb(tC),t5={autoFit:!1,color:e=>{var t;return t3(`${(null==(t=e.state)?void 0:t.path)||""}`)},duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:t2,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1};function t8(e){let t={},n={...e},{color:r,colorFreezeLevel:i}=n;if((null==r?void 0:r.length)===1){let e=r[0];t.color=()=>e}else if(null!=r&&r.length){let e=tb(r);t.color=t=>e(`${t.state.path}`)}if(i){let e=t.color||t5.color;t.color=t=>e(t={...t,state:{...t.state,path:t.state.path.split(".").slice(0,i).join(".")}})}return["duration","fitRatio","initialExpandLevel","maxInitialScale","maxWidth","nodeMinHeight","paddingX","spacingHorizontal","spacingVertical"].forEach(e=>{let r=n[e];"number"==typeof r&&(t[e]=r)}),["zoom","pan"].forEach(e=>{let r=n[e];null!=r&&(t[e]=!!r)}),t}let t6="http://www.w3.org/1999/xlink",t4={show:t6,actuate:t6,href:t6};function t9(e,t){let n;if("string"==typeof e)n=1;else if("function"==typeof e)n=2;else throw Error("Invalid VNode type");return{vtype:n,type:e,props:t}}function t7(e){return e.children}let ne={isSvg:!1};function nt(e,t){Array.isArray(t)||(t=[t]),(t=t.filter(Boolean)).length&&e.append(...t)}let nn={className:"class",labelFor:"for"};function nr(e,t){return Array.isArray(e)?e.map(e=>nr(e,t)).reduce((e,t)=>e.concat(t),[]):ni(e,t)}function ni(e,t=ne){if(null==e||"boolean"==typeof e)return null;if(e instanceof Node)return e;if((null==e?void 0:e.vtype)===2){let{type:n,props:r}=e;if(n===t7){let e=document.createDocumentFragment();return r.children&&nt(e,nr(r.children,t)),e}return ni(n(r),t)}if("string"==typeof e||"number"==typeof e)return document.createTextNode(`${e}`);if((null==e?void 0:e.vtype)===1){let n,{type:r,props:i}=e;if(t.isSvg||"svg"!==r||(t=Object.assign({},t,{isSvg:!0})),function(e,t,n){for(let r in t)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)e.innerHTML=t[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(e.tagName)){let n=t[r];null!=n&&(e[r]=n)}else r.startsWith("on")?e[r.toLowerCase()]=t[r]:function(e,t,n,r){if(t=nn[t]||t,!0===n)e.setAttribute(t,"");else if(!1===n)e.removeAttribute(t);else{let i=r?t4[t]:void 0;void 0!==i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}}(e,r,t[r],n.isSvg)}(n=t.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),i,t),i.children){let e=t;t.isSvg&&"foreignObject"===r&&(e=Object.assign({},e,{isSvg:!1}));let s=nr(i.children,e);null!=s&&nt(n,s)}let{ref:s}=i;return"function"==typeof s&&s(n),n}throw Error("mount: Invalid Vnode!")}function ns(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function na(e,t){var n,r,i,s,a,o=new nu(e),l=+e.value&&(o.value=e.value),c=[o];for(null==t&&(t=no);n=c.pop();)if(l&&(n.value=+n.data.value),(i=t(n.data))&&(a=i.length))for(n.children=Array(a),s=a-1;s>=0;--s)c.push(r=n.children[s]=new nu(i[s])),r.parent=n,r.depth=n.depth+1;return o.eachBefore(nc)}function no(e){return e.children}function nl(e){e.data=e.data.data}function nc(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function nu(e){this.data=e,this.depth=this.height=0,this.parent=null}nu.prototype=na.prototype={constructor:nu,count:function(){return this.eachAfter(ns)},each:function(e){var t,n,r,i,s=this,a=[s];do for(t=a.reverse(),a=[];s=t.pop();)if(e(s),n=s.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);while(a.length);return this},eachAfter:function(e){for(var t,n,r,i=this,s=[i],a=[];i=s.pop();)if(a.push(i),t=i.children)for(n=0,r=t.length;n<r;++n)s.push(t[n]);for(;i=a.pop();)e(i);return this},eachBefore:function(e){for(var t,n,r=this,i=[r];r=i.pop();)if(e(r),t=r.children)for(n=t.length-1;n>=0;--n)i.push(t[n]);return this},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each(function(t){e.push(t)}),e},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return na(this).eachBefore(nl)}};let{version:nh}={name:"d3-flextree",version:"2.1.2",main:"build/d3-flextree.js",module:"index","jsnext:main":"index",author:{name:"Chris Maloney",url:"http://chrismaloney.org"},description:"Flexible tree layout algorithm that allows for variable node sizes.",keywords:["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],homepage:"https://github.com/klortho/d3-flextree",license:"WTFPL",repository:{type:"git",url:"https://github.com/klortho/d3-flextree.git"},scripts:{clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},dependencies:{"d3-hierarchy":"^1.1.5"},devDependencies:{"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"}},nf=Object.freeze({children:e=>e.children,nodeSize:e=>e.data.size,spacing:0});function np(e){let t=Object.assign({},nf,e);function n(e){let n=t[e];return"function"==typeof n?n:()=>n}function r(e){let t=s(function(){let e=i(),t=n("nodeSize"),r=n("spacing");return class extends e{constructor(e){super(e),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return t(this.data)}spacing(e){return r(this.data,e.data)}get x(){return this.data.x}set x(e){this.data.x=e}get y(){return this.data.y}set y(e){this.data.y=e}update(){return nd(this),nm(this),this}}}(),e,e=>e.children);
31return t.update(),t.data}function i(){let e=n("nodeSize"),t=n("spacing");return class n extends na.prototype.constructor{constructor(e){super(e)}copy(){let e=s(this.constructor,this,e=>e.children);return e.each(e=>e.data=e.data.data),e}get size(){return e(this)}spacing(e){return t(this,e)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){let e=this.ancestors();return e[e.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return null===this.children}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((e,t)=>n.maxExtents(e,t.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(e,t){return{top:Math.min(e.top,t.top),bottom:Math.max(e.bottom,t.bottom),left:Math.min(e.left,t.left),right:Math.max(e.right,t.right)}}}}function s(e,t,n){let r=(t,i)=>{let s=new e(t);Object.assign(s,{parent:i,depth:null===i?0:i.depth+1,height:0,length:1});let a=n(t)||[];return s.children=0===a.length?null:a.map(e=>r(e,s)),s.children&&Object.assign(s,s.children.reduce((e,t)=>({height:Math.max(e.height,t.height+1),length:e.length+t.length}),s)),s};return r(t,null)}return Object.assign(r,{nodeSize(e){return arguments.length?(t.nodeSize=e,r):t.nodeSize},spacing(e){return arguments.length?(t.spacing=e,r):t.spacing},children(e){return arguments.length?(t.children=e,r):t.children},hierarchy(e,n){let r=typeof n>"u"?t.children:n;return s(i(),e,r)},dump(e){let t=n("nodeSize"),r=e=>n=>{let i=e+" ",s=e+" ",{x:a,y:o}=n,l=t(n),c=n.children||[],u=0===c.length?" ":`,${i}children: [${s}${c.map(r(s)).join(s)}${i}],${e}`;return`{ size: [${l.join(", ")}],${i}x: ${a}, y: ${o}${u}},`};return r(` 32`)(e)}}),r}np.version=nh;let nd=(e,t=0)=>(e.y=t,(e.children||[]).reduce((t,n)=>{let[r,i]=t;nd(n,e.y+e.ySize);let s=(0===r?n.lExt:n.rExt).bottom;0!==r&&ng(e,r,i);let a=nS(s,r,i);return[r+1,a]},[0,null]),nE(e),nk(e),e),nm=(e,t,n)=>{typeof t>"u"&&(t=-e.relX-e.prelim,n=0);let r=t+e.relX;return e.relX=r+e.prelim-n,e.prelim=0,e.x=n+e.relX,(e.children||[]).forEach(t=>nm(t,r,e.x)),e},nE=e=>{(e.children||[]).reduce((e,t)=>{let[n,r]=e,i=n+t.shift,s=r+i+t.change;return t.relX+=s,[i,s]},[0,0])},ng=(e,t,n)=>{let r=e.children[t-1],i=e.children[t],s=r,a=r.relX,o=i,l=i.relX,c=!0;for(;s&&o;){s.bottom>n.lowY&&(n=n.next);let r=a+s.prelim-(l+o.prelim)+s.xSize/2+o.xSize/2+s.spacing(o);(r>0||r<0&&c)&&(l+=r,n_(i,r),nT(e,t,n.index,r)),c=!1;let u=s.bottom,h=o.bottom;u<=h&&(s=ny(s))&&(a+=s.relX),u>=h&&(o=nA(o))&&(l+=o.relX)}!s&&o?nb(e,t,o,l):s&&!o&&nC(e,t,s,a)},n_=(e,t)=>{e.relX+=t,e.lExtRelX+=t,e.rExtRelX+=t},nT=(e,t,n,r)=>{let i=e.children[t],s=t-n;if(s>1){let t=r/s;e.children[n+1].shift+=t,i.shift-=t,i.change-=r-t}},nA=e=>e.hasChildren?e.firstChild:e.lThr,ny=e=>e.hasChildren?e.lastChild:e.rThr,nb=(e,t,n,r)=>{let i=e.firstChild,s=i.lExt,a=e.children[t];s.lThr=n;let o=r-n.relX-i.lExtRelX;s.relX+=o,s.prelim-=o,i.lExt=a.lExt,i.lExtRelX=a.lExtRelX},nC=(e,t,n,r)=>{let i=e.children[t],s=i.rExt,a=e.children[t-1];s.rThr=n;let o=r-n.relX-i.rExtRelX;s.relX+=o,s.prelim-=o,i.rExt=a.rExt,i.rExtRelX=a.rExtRelX},nk=e=>{if(e.hasChildren){let t=e.firstChild,n=e.lastChild;Object.assign(e,{prelim:(t.prelim+t.relX-t.xSize/2+n.relX+n.prelim+n.xSize/2)/2,lExt:t.lExt,lExtRelX:t.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},nS=(e,t,n)=>{for(;null!==n&&e>=n.lowY;)n=n.next;return{lowY:e,index:t,next:n}};function nN(e){return Math.max(4-2*e.data.state.depth,1.5)}function nI(e,t){let n=function(e,t){let n,r=-1,i=-1;if(void 0===t)for(let t of e)++i,null!=t&&(n>t||void 0===n&&t>=t)&&(n=t,r=i);else for(let s of e)null!=(s=t(s,++i,e))&&(n>s||void 0===n&&s>=s)&&(n=s,r=i);return r}(e,t);return e[n]}function nD(e){e.stopPropagation()}let nO=new i.qn;
vendor: 6,445 bytes, line 32
32class nv{constructor(e,t){this.options=t5,this.revokers=[],this.imgCache={},this.handleZoom=e=>{let{transform:t}=e;this.g.attr("transform",t)},this.handlePan=e=>{e.preventDefault();let t=tK(this.svg.node()),n=t.translate(-e.deltaX/t.k,-e.deltaY/t.k);this.svg.call(this.zoom.transform,n)},this.handleClick=(e,t)=>{let n=this.options.toggleRecursively;(t2?e.metaKey:e.ctrlKey)&&(n=!n),this.toggleNode(t.data,n)},this.svg=e.datum?e:tk(e),this.styleNode=this.svg.append("style"),this.zoom=(function(){var e,t,n,r=tQ,i=tW,s=t1,a=tJ,o=t0,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,h=tG,f=X("start","zoom","end"),p=0,d=10;function m(e){e.property("__zoom",tZ).on("wheel.zoom",b,{passive:!1}).on("mousedown.zoom",C).on("dblclick.zoom",k).filter(o).on("touchstart.zoom",S).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",I).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new tz(t,e.x,e.y)}function g(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new tz(e.k,r,i)}function _(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function T(e,t,n,r){e.on("start.zoom",function(){A(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){A(this,arguments).event(r).end()}).tween("zoom",function(){var e=arguments,s=A(this,e).event(r),a=i.apply(this,e),o=null==n?_(a):"function"==typeof n?n.apply(this,e):n,l=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),c=this.__zoom,u="function"==typeof t?t.apply(this,e):t,f=h(c.invert(o).concat(l/c.k),u.invert(o).concat(l/u.k));return function(e){if(1===e)e=u;else{var t=f(e),n=l/t[2];e=new tz(n,o[0]-t[0]*n,o[1]-t[1]*n)}s.zoom(null,e)}})}function A(e,t,n){return!n&&e.__zooming||new y(e,t)}function y(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=i.apply(e,t),this.taps=0}function b(e,...t){if(r.apply(this,arguments)){var n=A(this,t).event(e),i=this.__zoom,o=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),u=t$(e);if(n.wheel)(n.mouse[0][0]!==u[0]||n.mouse[0][1]!==u[1])&&(n.mouse[1]=i.invert(n.mouse[0]=u)),clearTimeout(n.wheel);else{if(i.k===o)return;n.mouse=[u,i.invert(u)],eb(this),n.start()}tX(e),n.wheel=setTimeout(function(){n.wheel=null,n.end()},150),n.zoom("mouse",s(g(E(i,o),n.mouse[0],n.mouse[1]),n.extent,c))}}function C(e,...t){if(!n&&r.apply(this,arguments)){var i,a,o,l=e.currentTarget,u=A(this,t,!0).event(e),h=tk(e.view).on("mousemove.zoom",function(e){if(tX(e),!u.moved){var t=e.clientX-d,n=e.clientY-m;u.moved=t*t+n*n>p}u.event(e).zoom("mouse",s(g(u.that.__zoom,u.mouse[0]=t$(e,l),u.mouse[1]),u.extent,c))},!0).on("mouseup.zoom",function(e){var t,n,r,i;h.on("mousemove.zoom mouseup.zoom",null),t=e.view,n=u.moved,r=t.document.documentElement,i=tk(t).on("dragstart.drag",null),n&&(i.on("click.drag",tU,tB),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in r?i.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect),tX(e),u.event(e).end()},!0),f=t$(e,l),d=e.clientX,m=e.clientY;a=(i=e.view).document.documentElement,o=tk(i).on("dragstart.drag",tU,tB),"onselectstart"in a?o.on("selectstart.drag",tU,tB):(a.__noselect=a.style.MozUserSelect,a.style.MozUserSelect="none"),tV(e),u.mouse=[f,this.__zoom.invert(f)],eb(this),u.start()}}function k(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=t$(e.changedTouches?e.changedTouches[0]:e,this),o=n.invert(a),l=n.k*(e.shiftKey?.5:2),h=s(g(E(n,l),a,o),i.apply(this,t),c);tX(e),u>0?tk(this).transition().duration(u).call(T,h,a,e):tk(this).call(m.transform,h,a,e)}}function S(n,...i){if(r.apply(this,arguments)){var s,a,o,l,c=n.touches,u=c.length,h=A(this,i,n.changedTouches.length===u).event(n);for(tV(n),a=0;a<u;++a)l=[l=t$(o=c[a],this),this.__zoom.invert(l),o.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,s=!0,h.taps=1+!!e);e&&(e=clearTimeout(e)),s&&(h.taps<2&&(t=l[0],e=setTimeout(function(){e=null},500)),eb(this),h.start())}}function N(e,...t){if(this.__zooming){var n,r,i,a,o=A(this,t).event(e),l=e.changedTouches,u=l.length;for(tX(e),n=0;n<u;++n)i=t$(r=l[n],this),o.touch0&&o.touch0[2]===r.identifier?o.touch0[0]=i:o.touch1&&o.touch1[2]===r.identifier&&(o.touch1[0]=i);if(r=o.that.__zoom,o.touch1){var h=o.touch0[0],f=o.touch0[1],p=o.touch1[0],d=o.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,_=(_=d[0]-f[0])*_+(_=d[1]-f[1])*_;r=E(r,Math.sqrt(m/_)),i=[(h[0]+p[0])/2,(h[1]+p[1])/2],a=[(f[0]+d[0])/2,(f[1]+d[1])/2]}else{if(!o.touch0)return;i=o.touch0[0],a=o.touch0[1]}o.zoom("touch",s(g(r,i,a),o.extent,c))}}function I(e,...r){if(this.__zooming){var i,s,a=A(this,r).event(e),o=e.changedTouches,l=o.length;for(tV(e),n&&clearTimeout(n),n=setTimeout(function(){n=null},500),i=0;i<l;++i)s=o[i],a.touch0&&a.touch0[2]===s.identifier?delete a.touch0:a.touch1&&a.touch1[2]===s.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(s=t$(s,this),Math.hypot(t[0]-s[0],t[1]-s[1])<d)){var c=tk(this).on("dblclick.zoom");c&&c.apply(this,arguments)}}}return m.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property("__zoom",tZ),e!==i?T(e,t,n,r):i.interrupt().each(function(){A(this,arguments).event(r).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()})},m.scaleBy=function(e,t,n,r){m.scaleTo(e,function(){var e=this.__zoom.k,n="function"==typeof t?t.apply(this,arguments):t;return e*n},n,r)},m.scaleTo=function(e,t,n,r){m.transform(e,function(){var e=i.apply(this,arguments),r=this.__zoom,a=null==n?_(e):"function"==typeof n?n.apply(this,arguments):n,o=r.invert(a),l="function"==typeof t?t.apply(this,arguments):t;return s(g(E(r,l),a,o),e,c)},n,r)},m.translateBy=function(e,t,n,r){m.transform(e,function(){return s(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),c)},null,r)},m.translateTo=function(e,t,n,r,a){m.transform(e,function(){var e=i.apply(this,arguments),a=this.__zoom,o=null==r?_(e):"function"==typeof r?r.apply(this,arguments):r;return s(tj.translate(o[0],o[1]).scale(a.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,c)},r,a)},y.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
32("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=tk(this.that).datum();f.call(e,this.that,new tY(e,{sourceEvent:this.sourceEvent,target:m,type:e,transform:this.that.__zoom,dispatch:f}),t)}},m.wheelDelta=function(e){return arguments.length?(a="function"==typeof e?e:tq(+e),m):a},m.filter=function(e){return arguments.length?(r="function"==typeof e?e:tq(!!e),m):r},m.touchable=function(e){return arguments.length?(o="function"==typeof e?e:tq(!!e),m):o},m.extent=function(e){return arguments.length?(i="function"==typeof e?e:tq([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),m):i},m.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],m):[l[0],l[1]]},m.translateExtent=function(e){return arguments.length?(c[0][0]=+e[0][0],c[1][0]=+e[1][0],c[0][1]=+e[0][1],c[1][1]=+e[1][1],m):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},m.constrain=function(e){return arguments.length?(s=e,m):s},m.duration=function(e){return arguments.length?(u=+e,m):u},m.interpolate=function(e){return arguments.length?(h=e,m):h},m.on=function(){var e=f.on.apply(f,arguments);return e===f?m:e},m.clickDistance=function(e){return arguments.length?(p=(e*=1)*e,m):Math.sqrt(p)},m.tapDistance=function(e){return arguments.length?(d=+e,m):d},m})().filter(e=>this.options.scrollForPan&&"wheel"===e.type?e.ctrlKey&&!e.button:(!e.ctrlKey||"wheel"===e.type)&&!e.button).on("zoom",this.handleZoom),this.setOptions(t),this.state={id:this.options.id||this.svg.attr("id")||(0,i.OX)(),minX:0,maxX:0,minY:0,maxY:0},this.g=this.svg.append("g"),this.debouncedRefresh=(0,i.sg)(()=>this.setData(),200),this.revokers.push(nO.tap(()=>{this.setData()}))}getStyleContent(){let{style:e}=this.options,{id:t}=this.state,n="function"==typeof e?e(t):"";return[this.options.embedGlobalCSS&&".markmap{--markmap-max-width: none;--markmap-a-color: #0097e6;--markmap-a-hover-color: #00a8ff;--markmap-code-bg: #f0f0f0;--markmap-code-color: #555;--markmap-highlight-bg: #ffeaa7;--markmap-table-border: 1px solid currentColor;--markmap-font: 300 16px/20px sans-serif;--markmap-circle-open-bg: #fff;--markmap-text-color: #333;font:var(--markmap-font);color:var(--markmap-text-color)}.markmap-link{fill:none}.markmap-node>circle{cursor:pointer}.markmap-foreign{display:inline-block}.markmap-foreign p{margin:0}.markmap-foreign a{color:var(--markmap-a-color)}.markmap-foreign a:hover{color:var(--markmap-a-hover-color)}.markmap-foreign code{padding:.25em;font-size:calc(1em - 2px);color:var(--markmap-code-color);background-color:var(--markmap-code-bg);border-radius:2px}.markmap-foreign pre{margin:0}.markmap-foreign pre>code{display:block}.markmap-foreign del{text-decoration:line-through}.markmap-foreign em{font-style:italic}.markmap-foreign strong{font-weight:700}.markmap-foreign mark{background:var(--markmap-highlight-bg)}.markmap-foreign table,.markmap-foreign th,.markmap-foreign td{border-collapse:collapse;border:var(--markmap-table-border)}.markmap-foreign img{display:inline-block}.markmap-foreign svg{fill:currentColor}.markmap-foreign-testing-max{max-width:var(--markmap-max-width)}.markmap-foreign-testing-max img{max-width:var(--markmap-max-width);max-height:none}.markmap-dark .markmap{--markmap-code-bg: #1a1b26;--markmap-code-color: #ddd;--markmap-circle-open-bg: #444;--markmap-text-color: #eee}",n].filter(Boolean).join(` 33`)}updateStyle(){this.svg.attr("class",(0,i.iQ)(this.svg.attr("class"),"markmap",this.state.id));let e=this.getStyleContent();this.styleNode.text(e)}toggleNode(e,t=!1){var n,r;let s=null!=(n=e.payload)&&n.fold?0:1;t?(0,i.Ir)(e,(e,t)=>{e.payload={...e.payload,fold:s},t()}):e.payload={...e.payload,fold:null!=(r=e.payload)&&r.fold?0:1},this.renderData(e)}initializeData(e){let t=0,{color:n,nodeMinHeight:r,maxWidth:s,initialExpandLevel:a}=this.options,{id:o}=this.state,l=ni(t9("div",{className:`markmap-container markmap ${o}-g`}
33)),c=ni(t9("style",{children:[this.getStyleContent(),".markmap-container{position:absolute;width:0;height:0;top:-100px;left:-100px;overflow:hidden}.markmap-container>.markmap-foreign{display:inline-block}.markmap-container>.markmap-foreign>div:last-child,.markmap-container>.markmap-foreign>div:last-child :not(pre){white-space:nowrap}.markmap-container>.markmap-foreign>div:last-child code{white-space:inherit}"].join(` 34`)}));document.body.append(l,c);let u=s?`--markmap-max-width: ${s}px`:"",h=0,f=0;(0,i.Ir)(e,(e,r,i)=>{var s,o,c;f+=1,e.children=null==(s=e.children)?void 0:s.map(e=>({...e})),t+=1;let p=ni(t9("div",{className:"markmap-foreign markmap-foreign-testing-max",style:u,children:t9("div",{dangerouslySetInnerHTML:{__html:e.content}})}));l.append(p),e.state={...e.state,depth:f,id:t,el:p.firstChild},e.state.path=[null==(o=null==i?void 0:i.state)?void 0:o.path,e.state.id].filter(Boolean).join("."),n(e);let d=(null==(c=e.payload)?void 0:c.fold)===2;d?h+=1:(h||a>=0&&e.state.depth>=a)&&(e.payload={...e.payload,fold:1}),r(),d&&(h-=1),f-=1});let p=Array.from(l.childNodes).map(e=>e.firstChild);this._checkImages(l),p.forEach(e=>{var t;null==(t=e.parentNode)||t.append(e.cloneNode(!0))}),(0,i.Ir)(e,(e,t,n)=>{var i;let s=e.state,a=s.el.getBoundingClientRect();e.content=s.el.innerHTML,s.size=[Math.ceil(a.width)+1,Math.max(Math.ceil(a.height),r)],s.key=[null==(i=null==n?void 0:n.state)?void 0:i.id,s.id].filter(Boolean).join(".")+e.content,t()}),l.remove(),c.remove()}_checkImages(e){e.querySelectorAll("img").forEach(e=>{if(e.width)return;let t=this.imgCache[e.src];null!=t&&t[0]?[e.width,e.height]=t:t||this._loadImage(e.src)})}_loadImage(e){this.imgCache[e]=[0,0];let t=new Image;t.src=e,t.onload=()=>{this.imgCache[e]=[t.naturalWidth,t.naturalHeight],this.debouncedRefresh()}}setOptions(e){this.options={...this.options,...e},this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.options.pan?this.svg.on("wheel",this.handlePan):this.svg.on("wheel",null)}setData(e,t){t&&this.setOptions(t),e&&(this.state.data=e),this.state.data&&(this.initializeData(this.state.data),this.updateStyle(),this.renderData())}renderData(e){if(!this.state.data)return;let{spacingHorizontal:t,paddingX:n,spacingVertical:r,autoFit:o,color:l}=this.options,c=np({}).children(e=>{var t;if(!(null!=(t=e.payload)&&t.fold))return e.children}).nodeSize(e=>{let[r,i]=e.data.state.size;return[i,r+(r?2*n:0)+t]}).spacing((e,t)=>e.parent===t.parent?r:2*r),u=c.hierarchy(this.state.data);c(u);
34let h=u.descendants().reverse(),f=u.links(),p=function(e){let t,n=tP,r=tF,i=tw,s=tM,a=null,o=null,l=(t=3,c.digits=function(e){if(!arguments.length)return t;if(null==e)t=null;else{let n=Math.floor(e);if(!(n>=0))throw RangeError(`invalid digits: ${e}`);t=n}return c},()=>new tR(t));function c(){let t,c=tS.call(arguments),u=n.apply(this,c),h=r.apply(this,c);if(null==a&&(o=e(t=l())),o.lineStart(),c[0]=u,o.point(+i.apply(this,c),+s.apply(this,c)),c[0]=h,o.point(+i.apply(this,c),+s.apply(this,c)),o.lineEnd(),t)return o=null,t+""||null}return c.source=function(e){return arguments.length?(n=e,c):n},c.target=function(e){return arguments.length?(r=e,c):r},c.x=function(e){return arguments.length?(i="function"==typeof e?e:tN(+e),c):i},c.y=function(e){return arguments.length?(s="function"==typeof e?e:tN(+e),c):s},c.context=function(t){return arguments.length?(null==t?a=o=null:o=e(a=t),c):a},c}(tD),d=a(h,e=>e.x-e.xSize/2),m=s(h,e=>e.x+e.xSize/2),E=a(h,e=>e.y),g=s(h,e=>e.y+e.ySize-t);Object.assign(this.state,{minX:d,maxX:m,minY:E,maxY:g}),o&&this.fit();let _=e&&h.find(t=>t.data===e)||u,T=_.data.state.x0??_.x,A=_.data.state.y0??_.y,y=this.g.selectAll((0,i.KS)("g")).data(h,e=>e.data.state.key),b=y.enter().append("g").attr("data-depth",e=>e.data.state.depth).attr("data-path",e=>e.data.state.path).attr("transform",e=>`translate(${A+_.ySize-e.ySize},${T+_.xSize/2-e.xSize})`),C=this.transition(y.exit());C.select("line").attr("x1",e=>e.ySize-t).attr("x2",e=>e.ySize-t),C.select("foreignObject").style("opacity",0),C.attr("transform",e=>`translate(${_.y+_.ySize-e.ySize},${_.x+_.xSize/2-e.xSize})`).remove();let k=y.merge(b).attr("class",e=>{var t;return["markmap-node",(null==(t=e.data.payload)?void 0:t.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(k).attr("transform",e=>`translate(${e.y},${e.x-e.xSize/2})`);let S=k.selectAll((0,i.KS)("line")).data(e=>[e],e=>e.data.state.key).join(e=>e.append("line").attr("x1",e=>e.ySize-t).attr("x2",e=>e.ySize-t),e=>e,e=>e.remove());this.transition(S).attr("x1",-1).attr("x2",e=>e.ySize-t+2).attr("y1",e=>e.xSize).attr("y2",e=>e.xSize).attr("stroke",e=>l(e.data)).attr("stroke-width",nN);let N=k.selectAll((0,i.KS)("circle")).data(e=>{var t;return null!=(t=e.data.children)&&t.length?[e]:[]},e=>e.data.state.key).join(e=>e.append("circle").attr("stroke-width","1.5").attr("cx",e=>e.ySize-t).attr("cy",e=>e.xSize).attr("r",0).on("click",(e,t)=>this.handleClick(e,t)).on("mousedown",nD),e=>e,e=>e.remove());this.transition(N).attr("r",6).attr("cx",e=>e.ySize-t).attr("cy",e=>e.xSize).attr("stroke",e=>l(e.data)).attr("fill",e=>{var t;return null!=(t=e.data.payload)&&t.fold&&e.data.children?l(e.data):"var(--markmap-circle-open-bg)"});let I=k.selectAll((0,i.KS)("foreignObject")).data(e=>[e],e=>e.data.state.key).join(e=>{let t=e.append("foreignObject").attr("class","markmap-foreign").attr("x",n).attr("y",0).style("opacity",0).on("mousedown",nD).on("dblclick",nD);return t.append("xhtml:div").select(function(e){let t=e.data.state.el.cloneNode(!0);return this.replaceWith(t),t}).attr("xmlns","http://www.w3.org/1999/xhtml"),t},e=>e,e=>e.remove()).attr("width",e=>Math.max(0,e.ySize-t-2*n)).attr("height",e=>e.xSize);this.transition(I).style("opacity",1);let D=this.g.selectAll((0,i.KS)("path")).data(f,e=>e.target.data.state.key).join(e=>{let n=[A+_.ySize-t,T+_.xSize/2];return e.insert("path","g").attr("class","markmap-link").attr("data-depth",e=>e.target.data.state.depth).attr("data-path",e=>e.target.data.state.path).attr("d",p({source:n,target:n}))},e=>e,e=>{let n=[_.y+_.ySize-t,_.x+_.xSize/2];return this.transition(e).attr("d",p({source:n,target:n})).remove()});this.transition(D).attr("stroke",e=>l(e.target.data)).attr("stroke-width",e=>nN(e.target)).attr("d",e=>{let n=e.source,r=e.target;return p({source:[n.y+n.ySize-t,n.x+n.xSize/2],target:[r.y,r.x+r.xSize/2]})}),h.forEach(e=>{e.data.state.x0=e.x,e.data.state.y0=e.y})}transition(e){let{duration:t}=this.options;return e.transition().duration(t)}async fit(e=this.options.maxInitialScale){let{width:t,height:n}=this.svg.node().getBoundingClientRect(),{fitRatio:r}=this.options,{minX:s,maxX:a,minY:o,maxY:l}=this.state,c=l-o,u=a-s,h=Math.min(t/c*r,n/u*r,e),f=tj.translate((t-c*h)/2-o*h,(n-u*h)/2-s*h).scale(h);return this.transition(this.svg).call(this.zoom.transform,f).end().catch(i.lQ)}findElement(e){let t;return this.g.selectAll((0,i.KS)("g")).each(function(n){n.data===e&&(t={data:n,g:this})}),t}async ensureView(e,t){var n;let r=null==(n=this.findElement(e))?void 0:n.data;if(!r)return;let s=this.svg.node(),{spacingHorizontal:a}=this.options,o=s.getBoundingClientRect(),l=tK(s),[c,u]=[r.y,r.y+r.ySize-a+2].map(e=>e*l.k+l.x),[h,f]=[r.x-r.xSize/2,r.x+r.xSize/2].map(e=>e*l.k+l.y),p={left:0,right:0,top:0,bottom:0,...t},d=[p.left-c,o.width-p.right-u],m=[p.top-h,o.height-p.bottom-f],E=d[0]*d[1]>0?nI(d,Math.abs)/l.k:0,g=m[0]*m[1]>0?nI(m,Math.abs)/l.k:0;if(E||g){let e=l.translate(E,g);return this.transition(this.svg).call(this.zoom.transform,e).end().catch(i.lQ)}}async rescale(e){let t=this.svg.node(),{width:n,height:r}=t.getBoundingClientRect(),s=tK(t),a=s.translate((n/2-s.x)*(1-e)/s.k,(r/2-s.y)*(1-e)/s.k).scale(e);return this.transition(this.svg).call(this.zoom.transform,a).end().catch(i.lQ)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEac
34h(e=>{e()})}static create(e,t,n=null){let r=new nv(e,t);return n&&(r.setData(n),requestAnimationFrame(()=>{r.fit()})),r}}},83360:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,s=l(e),a=s[0],o=s[1],c=new i((a+o)*3/4-o),u=0,h=o>0?a-4:a;for(n=0;n<h;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===o&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===o&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,s=[],a=0,o=r-i;a<o;a+=16383)s.push(function(e,t,r){for(var i,s=[],a=t;a<r;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[i>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}(e,a,a+16383>o?o:a+16383));return 1===i?s.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&s.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=s.length;a<o;++a)n[a]=s[a],r[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r[45]=62,r[95]=63},97686:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(78739).A)("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},99518:(e,t,n)=>{"use strict";var r=n(83360),i=n(63101),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e){var r=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);var s=0|d(r,i),l=a(s),c=l.write(r,i);return c!==s&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e)){var u=e;if(O(u,Uint8Array)){var m=new Uint8Array(u);return f(m.buffer,m.byteOffset,m.byteLength)}return h(u)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var E=e.valueOf&&e.valueOf();if(null!=E&&E!==e)return o.from(E,t,n);var g=function(e){if(o.isBuffer(e)){var t=0|p(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(g)return g;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),a(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),o.prototype),r}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return I(e).length;default:if(i)return r?-1:N(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i,s,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=t;s<n;++s)i+=v[e[s]];return i}(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return i=this,s=t,a=n,0===s&&a===i.length?r.fromByteArray(i):r.fromByteArray(i.slice(s,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",s=0;s<r.length-1;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}(this,t,n);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function E(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){var s;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(s=n*=1)!=s&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return _(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function _(e,t,n,r,i){var s,a=1,o=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;
vendor: 15,185 bytes, line 34
34a=2,o/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(s=n;s<o;s++)if(c(e,s)===c(t,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===l)return u*a}else -1!==u&&(s-=s-u),u=-1}else for(n+l>o&&(n=o-l),s=n;s>=0;s--){for(var h=!0,f=0;f<l;f++)if(c(e,s+f)!==c(t,f)){h=!1;break}if(h)return s}return -1}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var s,a,o,l,c=e[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:(192&(s=e[i+1]))==128&&(l=(31&c)<<6|63&s)>127&&(u=l);break;case 3:s=e[i+1],a=e[i+2],(192&s)==128&&(192&a)==128&&(l=(15&c)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:s=e[i+1],a=e[i+2],o=e[i+3],(192&s)==128&&(192&a)==128&&(192&o)==128&&(l=(15&c)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}var f=r,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var d="",m=0;m<p;)d+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return d}function A(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function y(e,t,n,r,i,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function b(e,t,n,r,i,s){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function C(e,t,n,r,s){return t*=1,n>>>=0,s||b(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function k(e,t,n,r,s){return t*=1,n>>>=0,s||b(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.hp=o,t.IS=50,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,n){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},o.allocUnsafe=function(e){return u(e)},o.allocUnsafeSlow=function(e){return u(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(O(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),O(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var s=e[n];if(O(s,Uint8Array))i+s.length>r.length?o.from(s).copy(r,i):Uint8Array.prototype.set.call(r,s,i);else if(o.isBuffer(s))s.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=s.length}return r},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)E(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)E(this,t,t+3),E(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?T(this,0,e):m.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},s&&(o.prototype[s]=o.prototype.inspect),o.prototype.compare=function(e,t,n,r,i){if(O(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var s=i-r,a=n-t,l=Math.min(s,a),c=this.slice(r,i),u=e.slice(t,n),h=0;h<l;++h)if(c[h]!==u[h]){s=c[h],a=u[h];break}return s<a?-1:+(a<s)},o.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,s,a,o,l,c,u,h,f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var p=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=t.length;r>s/2&&(r=s/2);for(var a=0;a<r;++a){var o,l=parseInt(t.substr(2*a,2),16);if((o=l)!=o)break;e[n+a]=l}return a}(this,e,t,n);case"utf8":case"utf-8":return i=t,s=n,D(N(e,this.length-i),this,i,s);case"ascii":case"latin1":case"binary":return a=t,o=n,D(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,a,o);case"base64":return l=t,c=n,D(I(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,h=n,D(function(e,t){for(var n,r,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,i.push(n%256),i.push(r);return i}(e,this.length-u),this,u,h);default:if(p)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),p=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,o.prototype),r},o.prototype.readUintLE=o.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r},o.prototype.readUintBE=o.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUint8=o.prototype.readUInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),this[e]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},o.prototype.readInt8=function(e,t){return(e>>>=0,t||A(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},o.prototype.readInt16BE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||A(e,4,this.length),i.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||A(e,4,this.length),i.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||A(e,8,this.length),i.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||A(e,8,this.length),i.read(this,e,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;y(this,e,t,n,i,0)}var s=1,a=0;for(this[t]=255&e;++a<n&&(s*=256);)this[t+a]=e/s&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;y(this,e,t,n,i,0)}var s=n-1,a=1;for(this[t+s]=255&e;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){var i=Math.pow(2,8*n-1);y(this,e,t,n,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s<n&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e*=1,t>>>=0,!r){var i=Math.pow(2,8*n-1);y(this,e,t,n,i-1,-i)}var s=n-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||y(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return k(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return k(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},o.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,s=e.charCodeAt(0);("utf8"===r&&s<128||"latin1"===r)&&(e=s)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=o.isBuffer(e)?e:o.from(e,r),l=a.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function N(e,t){t=t||1/0;for(var n,r=e.length,i=null,s=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return s}function I(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function O(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var v=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.