1import{g as Tl,j as Ue,a as P0}from"./react-vendor-BGQ-fvu8.js";import{r as Rd,S as Me,A as Ln,p as Si,i as ni}from"./index-M8ieJTCO.js";import{t as Ms,l as Bd,x as Fd,m as sc,n as rc,o as Pd,p as Hd,q as Ud,u as zd,v as qd}from"./charts-vendor-fU6IkEZ_.js";import{h as va,o as $d,bH as Yd,T as Ur,x as zr,B as qr,y as $r,w as jd}from"./main-BjGN4ckN.js";import{N as Vd}from"./index-DNUQDAk2.js";import"./lodash-vendor-0cI-KiNp.js";import"./apollo-vendor-WdUFfbxi.js";import"./episode-extracts-lWzlQSkh.js";import"./list-B1zVQFXM.js";import"./useConnectionPage-BTbbEfwS.js";import"./popover-0Z-4IRr6.js";import"./chevron-left-5-Gg-yzc.js";import"./useForm-B9SS0o31.js";import"./form-vendor-0hBSyWfc.js";import"./button-group-BJMhmbJF.js";import"./checkbox-CLy4ehUu.js";import"./useValueChanged-CApZTwHC.js";import"./editor-vendor-BUwO_Joe.js";import"./switch-BTo2ktPD.js";import"./textarea-BvmO5uxP.js";import"./eye-Bbl7GlPX.js";import"./radio-group-C_7LLUci.js";import"./download-file-Cvh8-FWX.js";import"./ExtractionCard-B068RyP3.js";import"./UpgradeButton-DMEJ93k3.js";import"./tag-a1FYt1LX.js";import"./useFeatureUsage-BA9zAMJc.js";import"./EpisodeNumber-xuwCZniL.js";import"./layers-B8SOUsLx.js";import"./AlbumCover-BZIy8u7L.js";import"./GoBackButton-EkK7A2nF.js";import"./MoreMenu-B-vo6WuA.js";import"./DataTable-QKvIPynO.js";import"./table-CFsjfTm-.js";import"./index-Q4xRmGO5.js";import"./PublishedAtDisplay-CnfYAmxe.js";import"./SearchBar-COWg7hS_.js";import"./ConfigurableTab-Biy8-gEf.js";const Gd=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],Kd=va("maximize-2",Gd);const Xd=[["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"}]],Wd=va("zoom-in",Xd);const Qd=[["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"}]],Zd=va("zoom-out",Qd),Jd="npm2url/dist/index.cjs",em={jsdelivr:e=>`https://cdn.jsdelivr.net/npm/${e}`,unpkg:e=>`https://unpkg.com/${e}`};async function tm(e,t){const n=await fetch(e,{signal:t});if(!n.ok)throw n;await n.text()}class nm{constructor(){this.providers={...em},this.provider="jsdelivr"}async getFastestProvider(t=5e3,n=Jd){const s=new AbortController;let r=0;try{return await new Promise((i,c)=>{Promise.all(Object.entries(this.providers).map(async([l,d])=>{try{await tm(d(n),s.signal),i(l)}catch{}})).then(()=>c(new Error("All providers failed"))),r=setTimeout(c,t,new Error("Timed out"))})}finally{s.abort(),clearTimeout(r)}}async findFastestProvider(t,n){return this.provider=await this.getFastestProvider(t,n),this.provider}setProvider(t,n){n?this.providers[t]=n:delete this.providers[t]}getFullUrl(t,n=this.provider){if(t.includes("://"))return t;const s=this.providers[n];if(!s)throw new Error(`Provider ${n} not found`);return s(t)}}class Bs{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const n=this.listeners.indexOf(t);n>=0&&this.listeners.splice(n,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const n of this.listeners)n(...t)}}const sm=Math.random().toString(36).slice(2,8);let ic=0;function rm(){return ic+=1,`mm-${sm}-${ic}`}function ns(){}function Fs(e,t){const n=(s,r)=>t(s,()=>{var i;return(i=s.children)==null?void 0:i.map(c=>n(c,s))},r);return n(e)}function im(e,...t){const n=(e||"").split(" ").filter(Boolean);return t.forEach(s=>{s&&n.indexOf(s)<0&&n.push(s)}),n.join(" ")}function ac(e,t){return(...n)=>t(e,...n)}function am(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function um(e){const t={};return function(...s){const r=`${s[0]}`;let i=t[r];return i||(i={value:e(...s)},t[r]=i),i.value}}function om(e,t){const n={timer:0};function s(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function r(){s(),n.args&&(n.result=e(...n.args))}return function(...c){return s(),n.args=c,n.timer=window.setTimeout(r,t),n.result}}const _l=1,yl=2,cm="http://www.w3.org/2000/svg",H0="http://www.w3.org/1999/xlink",lm={show:H0,actuate:H0,href:H0},hm=e=>typeof e=="string"||typeof e=="number",fm=e=>e?.vtype===_l,dm=e=>e?.vtype===yl;function mm(e,t,...n){return t=Object.assign({},t,{children:n.length===1?n[0]:n}
1),pm(e,t)}function pm(e,t){let n;if(typeof e=="string")n=_l;else if(typeof e=="function")n=yl;else throw new Error("Invalid VNode type");return{vtype:n,type:e,props:t}}function gm(e){return e.children}const bm={isSvg:!1};function uc(e,t){Array.isArray(t)||(t=[t]),t=t.filter(Boolean),t.length&&e.append(...t)}function Em(e,t,n){for(const s in t)if(!(s==="key"||s==="children"||s==="ref"))if(s==="dangerouslySetInnerHTML")e.innerHTML=t[s].__html;else if(s==="innerHTML"||s==="textContent"||s==="innerText"||s==="value"&&["textarea","select"].includes(e.tagName)){const r=t[s];r!=null&&(e[s]=r)}else s.startsWith("on")?e[s.toLowerCase()]=t[s]:_m(e,s,t[s],n.isSvg)}const Tm={className:"class",labelFor:"for"};function _m(e,t,n,s){if(t=Tm[t]||t,n===!0)e.setAttribute(t,"");else if(n===!1)e.removeAttribute(t);else{const r=s?lm[t]:void 0;r!==void 0?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}}function ym(e){return e.reduce((t,n)=>t.concat(n),[])}function ha(e,t){return Array.isArray(e)?ym(e.map(n=>ha(n,t))):Ra(e,t)}function Ra(e,t=bm){if(e==null||typeof e=="boolean")return null;if(e instanceof Node)return e;if(dm(e)){const{type:n,props:s}=e;if(n===gm){const i=document.createDocumentFragment();if(s.children){const c=ha(s.children,t);uc(i,c)}return i}const r=n(s);return Ra(r,t)}if(hm(e))return document.createTextNode(`${e}`);if(fm(e)){let n;const{type:s,props:r}=e;if(!t.isSvg&&s==="svg"&&(t=Object.assign({},t,{isSvg:!0})),t.isSvg?n=document.createElementNS(cm,s):n=document.createElement(s),Em(n,r,t),r.children){let c=t;t.isSvg&&s==="foreignObject"&&(c=Object.assign({},c,{isSvg:!1}));const l=ha(r.children,c);l!=null&&uc(n,l)}const{ref:i}=r;return typeof i=="function"&&i(n),n}throw new Error("mount: Invalid Vnode!")}function Am(e){return Ra(e)}function Al(...e){return Am(mm(...e))}const xm=um(e=>{document.head.append(Al("link",{rel:"preload",as:"script",href:e}))}),oc={};async function km(e,t){var n;const s=e.type==="script"&&((n=e.data)==null?void 0:n.src)||"";if(e.loaded||(e.loaded=oc[s]),!e.loaded){const r=am();if(e.loaded=r.promise,e.type==="script"&&(document.head.append(Al("script",{...e.data,onLoad:()=>r.resolve(),onError:r.reject})),s?oc[s]=e.loaded:r.resolve()),e.type==="iife"){const{fn:i,getParams:c}=e.data;i(...c?.(t)||[]),r.resolve()}}await e.loaded}async function xl(e,t){e.forEach(n=>{var s;n.type==="script"&&((s=n.data)!=null&&s.src)&&xm(n.data.src)}),t={getMarkmap:()=>window.markmap,...t};for(const n of e)await km(n,t)}function Ba(e){return{type:"script",data:{src:e}}}function kl(e){return{type:"stylesheet",data:{href:e}}}var De;(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"})(De||(De={}));function Sm(e){return e.type===De.Tag||e.type===De.Script||e.type===De.Style}const Cm=De.Root,wm=De.Text,Nm=De.Directive,Im=De.Comment,Dm=De.Script,Om=De.Style,Mm=De.Tag,Lm=De.CDATA,vm=De.Doctype;let Sl=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Qs(this,t)}};class Fa extends Sl{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class Ws extends Fa{constructor(){super(...arguments),this.type=De.Text}get nodeType(){return 3}}class Pa extends Fa{constructor(){super(...arguments),this.type=De.Comment}get nodeType(){return 8}}class Ha extends Fa{constructor(t,n){super(n),this.name=t,this.type=De.Directive}get nodeType(){return 1}}class Ua extends Sl{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class Cl extends Ua{constructor(){super(...arguments),this.type=De.CDATA}get nodeType(){return 4}}let Un=class extends Ua{constructor(){super(...arguments),this.type=De.Root}get nodeType(){return 9}};class za extends Ua{constructor(t,n,s=[],r=t==="script"?De.Script:t==="style"?De.Style:De.Tag){super(s),this.name=t,this.attribs=n,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var n,s;return{name:t,value:this.attribs[t],namespace:(n=this["x-attribsNamespace"])===null||n===void 0?void 0:n[t],prefix:(s=this["x-attribsPrefix"])===null||s===void 0?void 0:s[t]}})}}function be(e){return Sm(e)}function Ci(e){return e.type===De.CDATA}function Jt(e){return e.type===De.Text}function wi(e){return e.type===De.Comment}function fa(e){return e.type===De.Directive}function Nn(e){return e.type===De.Root}function at(e){return Object.prototype.hasOwnProperty.call(e,"children")}function Qs(e,t=!1){let n;if(Jt(e))n=new Ws(e.data);else if(wi(e))n=new Pa(e.data);else if(be(e)){const s=t?U0(e.children):[],r=new za(e.name,{...e.attribs},s);
1s.forEach(i=>i.parent=r),e.namespace!=null&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=r}else if(Ci(e)){const s=t?U0(e.children):[],r=new Cl(s);s.forEach(i=>i.parent=r),n=r}else if(Nn(e)){const s=t?U0(e.children):[],r=new Un(s);s.forEach(i=>i.parent=r),e["x-mode"]&&(r["x-mode"]=e["x-mode"]),n=r}else if(fa(e)){const s=new Ha(e.name,e.data);e["x-name"]!=null&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}else throw new Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function U0(e){const t=e.map(n=>Qs(n,!0));for(let n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}const cc={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class Rm{constructor(t,n,s){this.dom=[],this.root=new Un(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof n=="function"&&(s=n,n=cc),typeof t=="object"&&(n=t,t=void 0),this.callback=t??null,this.options=n??cc,this.elementCB=s??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new Un(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(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,n){const s=this.options.xmlMode?De.Tag:void 0,r=new za(t,n,void 0,s);this.addNode(r),this.tagStack.push(r)}ontext(t){const{lastNode:n}=this;if(n&&n.type===De.Text)n.data+=t,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{const s=new Ws(t);this.addNode(s),this.lastNode=s}}oncomment(t){if(this.lastNode&&this.lastNode.type===De.Comment){this.lastNode.data+=t;return}const n=new Pa(t);this.addNode(n),this.lastNode=n}oncommentend(){this.lastNode=null}oncdatastart(){const t=new Ws(""),n=new Cl([t]);this.addNode(n),t.parent=n,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,n){const s=new Ha(t,n);this.addNode(s)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){const n=this.tagStack[this.tagStack.length-1],s=n.children[n.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),n.children.push(t),s&&(t.prev=s,s.next=t),t.parent=n,this.lastNode=null}}const dn=new Uint16Array(
vendor: 8,302 bytes, line 1
1'áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿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;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥Ë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;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦Ö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áÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈ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;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹ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;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;
vendor: 18,348 bytes, line 1
1ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸Ä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ãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;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è»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Ä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ã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ'.split("").map(
1e=>e.charCodeAt(0))),wl=new Uint16Array("Èaglq ��\x1BÉ�\0\0�p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0)));var z0;const Bm=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]]),da=(z0=String.fromCodePoint)!==null&&z0!==void 0?z0:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Fm(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Bm.get(e))!==null&&t!==void 0?t:e}var it;(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"})(it||(it={}));const Pm=32;var Wt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Wt||(Wt={}));function ma(e){return e>=it.ZERO&&e<=it.NINE}function Hm(e){return e>=it.UPPER_A&&e<=it.UPPER_F||e>=it.LOWER_A&&e<=it.LOWER_F}function Um(e){return e>=it.UPPER_A&&e<=it.UPPER_Z||e>=it.LOWER_A&&e<=it.LOWER_Z||ma(e)}function zm(e){return e===it.EQUALS||Um(e)}var rt;(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"})(rt||(rt={}));var Ut;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ut||(Ut={}));class Nl{constructor(t,n,s){this.decodeTree=t,this.emitCodePoint=n,this.errors=s,this.state=rt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ut.Strict}startEntity(t){this.decodeMode=t,this.state=rt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case rt.EntityStart:return t.charCodeAt(n)===it.NUM?(this.state=rt.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=rt.NamedEntity,this.stateNamedEntity(t,n));case rt.NumericStart:return this.stateNumericStart(t,n);case rt.NumericDecimal:return this.stateNumericDecimal(t,n);case rt.NumericHex:return this.stateNumericHex(t,n);case rt.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Pm)===it.LOWER_X?(this.state=rt.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=rt.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,s,r){if(n!==s){const i=s-n;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(n,i),r),this.consumed+=i}}stateNumericHex(t,n){const s=n;for(;n<t.length;){const r=t.charCodeAt(n);if(ma(r)||Hm(r))n+=1;else return this.addToNumericResult(t,s,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,s,n,16),-1}stateNumericDecimal(t,n){const s=n;for(;n<t.length;){const r=t.charCodeAt(n);if(ma(r))n+=1;else return this.addToNumericResult(t,s,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,s,n,10),-1}emitNumericEntity(t,n){var s;if(this.consumed<=n)return(s=this.errors)===null||s===void 0||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===it.SEMI)this.consumed+=1;else if(this.decodeMode===Ut.Strict)return 0;return this.emitCodePoint(Fm(this.result),this.consumed),this.errors&&(t!==it.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:s}=this;let r=s[this.treeIndex],i=(r&Wt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const c=t.charCodeAt(n);if(this.treeIndex=Dl(s,r,this.treeIndex+Math.max(1,i),c),this.treeIndex<0)return this.result===0||this.decodeMode===Ut.Attribute&&(i===0||zm(c))?0:this.emitNotTerminatedNamedEntity();if(r=s[this.treeIndex],i=(r&Wt.VALUE_LENGTH)>>14,i!==0){if(c===it.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ut.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:s}=this,r=(s[n]&Wt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,s){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~Wt.VALUE_LENGTH:r[t+1],s),n===3&&this.emitCodePoint(r[t+2],s),s}end(){var t;switch(this.state){case rt.NamedEntity:return this.result!==0&&(this.decodeMode!==Ut.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case rt.NumericDecimal:return this.emitNumericEntity(0,2);case rt.NumericHex:return this.emitNumericEntity(0,3);case rt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rt.EntityStart:return 0}}}function Il(e){let t="";const n=new Nl(e,s=>t+=da(s));return function(r,i){let c=0,l=0;for(;(l=r.indexOf("&",l))>=0;){t+=r.slice(c,l),n.startEntity(i);const g=n.write(r,l+1);if(g<0){c=l+n.end();break}c=l+g,l=g===0?c+1:c}const d=t+r.slice(c);return t="",d}}function Dl(e,t,n,s){const r=(t&Wt.BRANCH_LENGTH)>>7,i=t&Wt.JUMP_TABLE;if(r===0)return i!==0&&s===i?n:-1;if(i){const d=s-i;return d<0||d>=r?-1:e[n+d]-1}let c=n,l=c+r-1;for(;c<=l;){const d=c+l>>>1,g=e[d];if(g<s)c=d+1;else if(g>s)l=d-1;else return e[d+r]}return-1}const qm=Il(dn);Il(wl);function Ol(e,t=Ut.Legacy){return qm(e,t)}const lc=/["&'<>$\x80-\uFFFF]/g,$m=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Ym=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function Ml(e){let t="",n=0,s;for(;(s=lc.exec(e))!==null;){const r=s.index,i=e.charCodeAt(r),c=$m.get(i);c!==void 0?(t+=e.substring(n,r)+c,n=r+1):(t+=`${e.substring(n,r)}&#x${Ym(e,r).toString(16)};`,n=lc.lastIndex+=+((i&64512)===55296))}return t+e.substr(n)}function Ll(e,t){return function(s){let r,i=0,c="";for(;r=e.exec(s);
1)i!==r.index&&(c+=s.substring(i,r.index)),c+=t.get(r[0].charCodeAt(0)),i=r.index+1;return c+s.substring(i)}}const vl=Ll(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Rl=Ll(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),jm=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])),Vm=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])),Gm=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Km(e){return e.replace(/"/g,""")}function Xm(e,t){var n;if(!e)return;const s=((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)===!1?Km:t.xmlMode||t.encodeEntities!=="utf8"?Ml:vl;return Object.keys(e).map(r=>{var i,c;const l=(i=e[r])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(r=(c=Vm.get(r))!==null&&c!==void 0?c:r),!t.emptyAttrs&&!t.xmlMode&&l===""?r:`${r}="${s(l)}"`}).join(" ")}const hc=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Ni(e,t={}){const n="length"in e?e:[e];let s="";for(let r=0;r<n.length;r++)s+=Wm(n[r],t);return s}function Wm(e,t){switch(e.type){case Cm:return Ni(e.children,t);case vm:case Nm:return e2(e);case Im:return s2(e);case Lm:return n2(e);case Dm:case Om:case Mm:return Jm(e,t);case wm:return t2(e,t)}}const Qm=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Zm=new Set(["svg","math"]);function Jm(e,t){var n;t.xmlMode==="foreign"&&(e.name=(n=jm.get(e.name))!==null&&n!==void 0?n:e.name,e.parent&&Qm.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&Zm.has(e.name)&&(t={...t,xmlMode:"foreign"});let s=`<${e.name}`;const r=Xm(e.attribs,t);return r&&(s+=` ${r}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&hc.has(e.name))?(t.xmlMode||(s+=" "),s+="/>"):(s+=">",e.children.length>0&&(s+=Ni(e.children,t)),(t.xmlMode||!hc.has(e.name))&&(s+=`</${e.name}>`)),s}function e2(e){return`<${e.data}>`}function t2(e,t){var n;let s=e.data||"";return((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&Gm.has(e.parent.name))&&(s=t.xmlMode||t.encodeEntities!=="utf8"?Ml(s):Rl(s)),s}function n2(e){return`<![CDATA[${e.children[0].data}]]>`}function s2(e){return`<!--${e.data}-->`}function Bl(e,t){return Ni(e,t)}function r2(e,t){return at(e)?e.children.map(n=>Bl(n,t)).join(""):""}function si(e){return Array.isArray(e)?e.map(si).join(""):be(e)?e.name==="br"?` 2`:si(e.children):Ci(e)?si(e.children):Jt(e)?e.data:""}function hs(e){return Array.isArray(e)?e.map(hs).join(""):at(e)&&!wi(e)?hs(e.children):Jt(e)?e.data:""}function ci(e){return Array.isArray(e)?e.map(ci).join(""):at(e)&&(e.type===De.Tag||Ci(e))?ci(e.children):Jt(e)?e.data:""}function Ii(e){return at(e)?e.children:[]}function Fl(e){return e.parent||null}function Pl(e){const t=Fl(e);if(t!=null)return Ii(t);const n=[e];let{prev:s,next:r}=e;for(;s!=null;)n.unshift(s),{prev:s}=s;for(;r!=null;)n.push(r),{next:r}=r;return n}function i2(e,t){var n;return(n=e.attribs)===null||n===void 0?void 0:n[t]}function a2(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function u2(e){return e.name}function qa(e){let{next:t}=e;for(;t!==null&&!be(t);)({next:t}=t);return t}function $a(e){let{prev:t}=e;for(;t!==null&&!be(t);)({prev:t}=t);return t}function Yn(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function o2(e,t){const n=t.prev=e.prev;n&&(n.next=t);const s=t.next=e.next;s&&(s.prev=t);const r=t.parent=e.parent;if(r){const i=r.children;i[i.lastIndexOf(e)]=t,e.parent=null}}function c2(e,t){if(Yn(t),t.next=null,t.parent=e,e.children.push(t)>1){const n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function l2(e,t){Yn(t);const{parent:n}=e,s=e.next;
2if(t.next=s,t.prev=e,e.next=t,t.parent=n,s){if(s.prev=t,n){const r=n.children;r.splice(r.lastIndexOf(s),0,t)}}else n&&n.children.push(t)}function h2(e,t){if(Yn(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const n=e.children[1];n.prev=t,t.next=n}else t.next=null}function f2(e,t){Yn(t);const{parent:n}=e;if(n){const s=n.children;s.splice(s.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function Di(e,t,n=!0,s=1/0){return Ya(e,Array.isArray(t)?t:[t],n,s)}function Ya(e,t,n,s){const r=[],i=[t],c=[0];for(;;){if(c[0]>=i[0].length){if(c.length===1)return r;i.shift(),c.shift();continue}const l=i[0][c[0]++];if(e(l)&&(r.push(l),--s<=0))return r;n&&at(l)&&l.children.length>0&&(c.unshift(0),i.unshift(l.children))}}function d2(e,t){return t.find(e)}function ja(e,t,n=!0){let s=null;for(let r=0;r<t.length&&!s;r++){const i=t[r];if(be(i))e(i)?s=i:n&&i.children.length>0&&(s=ja(e,i.children,!0));else continue}return s}function Hl(e,t){return t.some(n=>be(n)&&(e(n)||Hl(e,n.children)))}function m2(e,t){const n=[],s=[t],r=[0];for(;;){if(r[0]>=s[0].length){if(s.length===1)return n;s.shift(),r.shift();continue}const i=s[0][r[0]++];be(i)&&(e(i)&&n.push(i),i.children.length>0&&(r.unshift(0),s.unshift(i.children)))}}const li={tag_name(e){return typeof e=="function"?t=>be(t)&&e(t.name):e==="*"?be:t=>be(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>Jt(t)&&e(t.data):t=>Jt(t)&&t.data===e}};function Ul(e,t){return typeof t=="function"?n=>be(n)&&t(n.attribs[e]):n=>be(n)&&n.attribs[e]===t}function p2(e,t){return n=>e(n)||t(n)}function zl(e){const t=Object.keys(e).map(n=>{const s=e[n];return Object.prototype.hasOwnProperty.call(li,n)?li[n](s):Ul(n,s)});return t.length===0?null:t.reduce(p2)}function g2(e,t){const n=zl(e);return n?n(t):!0}function b2(e,t,n,s=1/0){const r=zl(e);return r?Di(r,t,n,s):[]}function E2(e,t,n=!0){return Array.isArray(t)||(t=[t]),ja(Ul("id",e),t,n)}function bs(e,t,n=!0,s=1/0){return Di(li.tag_name(e),t,n,s)}function T2(e,t,n=!0,s=1/0){return Di(li.tag_type(e),t,n,s)}function _2(e){let t=e.length;for(;--t>=0;){const n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let s=n.parent;s;s=s.parent)if(e.includes(s)){e.splice(t,1);break}}return e}var Ot;(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"})(Ot||(Ot={}));function ql(e,t){const n=[],s=[];if(e===t)return 0;let r=at(e)?e:e.parent;for(;r;)n.unshift(r),r=r.parent;for(r=at(t)?t:t.parent;r;)s.unshift(r),r=r.parent;const i=Math.min(n.length,s.length);let c=0;for(;c<i&&n[c]===s[c];)c++;if(c===0)return Ot.DISCONNECTED;const l=n[c-1],d=l.children,g=n[c],_=s[c];return d.indexOf(g)>d.indexOf(_)?l===t?Ot.FOLLOWING|Ot.CONTAINED_BY:Ot.FOLLOWING:l===e?Ot.PRECEDING|Ot.CONTAINS:Ot.PRECEDING}function Es(e){return e=e.filter((t,n,s)=>!s.includes(t,n+1)),e.sort((t,n)=>{const s=ql(t,n);return s&Ot.PRECEDING?-1:s&Ot.FOLLOWING?1:0}),e}function y2(e){const t=hi(C2,e);return t?t.name==="feed"?A2(t):x2(t):null}function A2(e){var t;const n=e.children,s={type:"atom",items:bs("entry",n).map(c=>{var l;const{children:d}=c,g={media:$l(d)};bt(g,"id","id",d),bt(g,"title","title",d);const _=(l=hi("link",d))===null||l===void 0?void 0:l.attribs.href;_&&(g.link=_);const A=kn("summary",d)||kn("content",d);A&&(g.description=A);const N=kn("updated",d);return N&&(g.pubDate=new Date(N)),g})};bt(s,"id","id",n),bt(s,"title","title",n);const r=(t=hi("link",n))===null||t===void 0?void 0:t.attribs.href;r&&(s.link=r),bt(s,"description","subtitle",n);const i=kn("updated",n);return i&&(s.updated=new Date(i)),bt(s,"author","email",n,!0),s}function x2(e){var t,n;const s=(n=(t=hi("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&n!==void 0?n:[],r={type:e.name.substr(0,3),id:"",items:bs("item",e.children).map(c=>{const{children:l}=c,d={media:$l(l)};bt(d,"id","guid",l),bt(d,"title","title",l),bt(d,"link","link",l),bt(d,"description","description",l);const g=kn("pubDate",l)||kn("dc:date",l);return g&&(d.pubDate=new Date(g)),d})};bt(r,"title","title",s),bt(r,"link","link",s),bt(r,"description","description",s);const i=kn("lastBuildDate",s);return i&&(r.updated=new Date(i)),bt(r,"author","managingEditor",s,!0),r}const k2=["url","type","lang"],S2=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function $l(e){return bs("media:content",e).map(t=>{const{attribs:n}=t,s={medium:n.medium,isDefault:!!n.isDefault};for(const r of k2)n[r]&&(s[r]=n[r]);for(const r of S2)n[r]&&(s[r]=parseInt(n[r],10));return n.expression&&(s.expression=n.expression),s})}
2function hi(e,t){return bs(e,t,!0,1)[0]}function kn(e,t,n=!1){return hs(bs(e,t,n,1)).trim()}function bt(e,t,n,s,r=!1){const i=kn(n,s,r);i&&(e[t]=i)}function C2(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const Oi=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Ot},append:l2,appendChild:c2,compareDocumentPosition:ql,existsOne:Hl,filter:Di,find:Ya,findAll:m2,findOne:ja,findOneChild:d2,getAttributeValue:i2,getChildren:Ii,getElementById:E2,getElements:b2,getElementsByTagName:bs,getElementsByTagType:T2,getFeed:y2,getInnerHTML:r2,getName:u2,getOuterHTML:Bl,getParent:Fl,getSiblings:Pl,getText:si,hasAttrib:a2,hasChildren:at,innerText:ci,isCDATA:Ci,isComment:wi,isDocument:Nn,isTag:be,isText:Jt,nextElementSibling:qa,prepend:f2,prependChild:h2,prevElementSibling:$a,removeElement:Yn,removeSubsets:_2,replaceElement:o2,testElement:g2,textContent:hs,uniqueSort:Es},Symbol.toStringTag,{value:"Module"})),w2={_useHtmlParser2:!1};function pa(e,t){if(!e)return t??w2;const n={_useHtmlParser2:!!e.xmlMode,...t,...e};return e.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,e.xml!==!0&&Object.assign(n,e.xml)):e.xmlMode&&(n._useHtmlParser2=!0),n}function Yl(e,t,n){return e?e(t??e._root.children,null,void 0,n).toString():""}function N2(e,t){return typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function I2(e,t){const n=N2(e)?(t=e,void 0):e,s={...this===null||this===void 0?void 0:this._options,...pa(t)};return Yl(this,n,s)}function D2(e){const t={...this._options,xmlMode:!0};return Yl(this,e,t)}function Zs(e){const t=e??(this?this.root():[]);let n="";for(let s=0;s<t.length;s++)n+=hs(t[s]);return n}function O2(e,t,n=typeof t=="boolean"?t:!1){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t);const s=this.load(e,this._options,!1);return n||s("script").remove(),[...s.root()[0].children]}function M2(){return this(this._root)}function jl(e,t){if(t===e)return!1;let n=t;for(;n&&n!==n.parent;)if(n=n.parent,n===e)return!0;return!1}function L2(e){return this.root().extract(e)}function v2(e,t){if(!fc(e)||!fc(t))return;let n=e.length;const s=+t.length;for(let r=0;r<s;r++)e[n++]=t[r];return e.length=n,e}function fc(e){if(Array.isArray(e))return!0;if(typeof e!="object"||e===null||!("length"in e)||typeof e.length!="number"||e.length<0)return!1;for(let t=0;t<e.length;t++)if(!(t in e))return!1;return!0}const R2=Object.freeze(Object.defineProperty({__proto__:null,contains:jl,extract:L2,html:I2,merge:v2,parseHTML:O2,root:M2,text:Zs,xml:D2},Symbol.toStringTag,{value:"Module"}));function pn(e){return e.cheerio!=null}function B2(e){return e.replace(/[._-](\w|$)/g,(t,n)=>n.toUpperCase())}function F2(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function Ke(e,t){const n=e.length;for(let s=0;s<n;s++)t(e[s],s);return e}var Rn;(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"})(Rn||(Rn={}));function ga(e){const t=e.indexOf("<");if(t<0||t>e.length-3)return!1;const n=e.charCodeAt(t+1);return(n>=Rn.LowerA&&n<=Rn.LowerZ||n>=Rn.UpperA&&n<=Rn.UpperZ||n===Rn.Exclamation)&&e.includes(">",t+2)}const Js=Object.prototype.hasOwnProperty,er=/\s+/,ba="data-",Va=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,P2=/^{[^]*}$|^\[[^]*]$/;function fi(e,t,n){var s;if(!(!e||!be(e))){if((s=e.attribs)!==null&&s!==void 0||(e.attribs={}),!t)return e.attribs;if(Js.call(e.attribs,t))return!n&&Va.test(t)?t:e.attribs[t];if(e.name==="option"&&t==="value")return Zs(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&t==="value")return"on"}}function us(e,t,n){n===null?Gl(e,t):e.attribs[t]=`${n}`}function H2(e,t){if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return Ke(this,(n,s)=>{be(n)&&us(n,e,t.call(n,s,n.attribs[e]))})}return Ke(this,n=>{if(be(n))if(typeof e=="object")for(const s of Object.keys(e)){const r=e[s];us(n,s,r)}else us(n,e,t)})}return arguments.length>1?this:fi(this[0],e,this.options.xmlMode)}function dc(e,t,n){return t in e?e[t]:!n&&Va.test(t)?fi(e,t,!1)!==void 0:fi(e,t,n
2)}function q0(e,t,n,s){t in e?e[t]=n:us(e,t,!s&&Va.test(t)?n?"":null:`${n}`)}function U2(e,t){var n;if(typeof e=="string"&&t===void 0){const s=this[0];if(!s||!be(s))return;switch(e){case"style":{const r=this.css(),i=Object.keys(r);for(let c=0;c<i.length;c++)r[c]=i[c];return r.length=i.length,r}case"tagName":case"nodeName":return s.name.toUpperCase();case"href":case"src":{const r=(n=s.attribs)===null||n===void 0?void 0:n[e];return typeof URL<"u"&&(e==="href"&&(s.tagName==="a"||s.tagName==="link")||e==="src"&&(s.tagName==="img"||s.tagName==="iframe"||s.tagName==="audio"||s.tagName==="video"||s.tagName==="source"))&&r!==void 0&&this.options.baseURI?new URL(r,this.options.baseURI).href:r}case"innerText":return ci(s);case"textContent":return hs(s);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return dc(s,e,this.options.xmlMode)}}if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e=="object")throw new TypeError("Bad combination of arguments.");return Ke(this,(s,r)=>{be(s)&&q0(s,e,t.call(s,r,dc(s,e,this.options.xmlMode)),this.options.xmlMode)})}return Ke(this,s=>{if(be(s))if(typeof e=="object")for(const r of Object.keys(e)){const i=e[r];q0(s,r,i,this.options.xmlMode)}else q0(s,e,t,this.options.xmlMode)})}}function mc(e,t,n){var s;(s=e.data)!==null&&s!==void 0||(e.data={}),typeof t=="object"?Object.assign(e.data,t):typeof t=="string"&&n!==void 0&&(e.data[t]=n)}function z2(e){for(const t of Object.keys(e.attribs)){if(!t.startsWith(ba))continue;const n=B2(t.slice(ba.length));Js.call(e.data,n)||(e.data[n]=Vl(e.attribs[t]))}return e.data}function q2(e,t){const n=ba+F2(t),s=e.data;if(Js.call(s,t))return s[t];if(Js.call(e.attribs,n))return s[t]=Vl(e.attribs[n])}function Vl(e){if(e==="null")return null;if(e==="true")return!0;if(e==="false")return!1;const t=Number(e);if(e===String(t))return t;if(P2.test(e))try{return JSON.parse(e)}catch{}return e}function $2(e,t){var n;const s=this[0];if(!s||!be(s))return;const r=s;return(n=r.data)!==null&&n!==void 0||(r.data={}),e==null?z2(r):typeof e=="object"||t!==void 0?(Ke(this,i=>{be(i)&&(typeof e=="object"?mc(i,e):mc(i,e,t))}),this):q2(r,e)}function Y2(e){const t=arguments.length===0,n=this[0];if(!n||!be(n))return t?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":{const s=this.find("option:selected");if(!t){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const r=typeof e=="object"?e:[e];for(const i of r)this.find(`option[value="${i}"]`).attr("selected","");return this}return this.attr("multiple")?s.toArray().map(r=>Zs(r.children)):s.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function Gl(e,t){!e.attribs||!Js.call(e.attribs,t)||delete e.attribs[t]}function di(e){return e?e.trim().split(er):[]}function j2(e){const t=di(e);for(const n of t)Ke(this,s=>{be(s)&&Gl(s,n)});return this}function V2(e){return this.toArray().some(t=>{const n=be(t)&&t.attribs.class;let s=-1;if(n&&e.length>0)for(;(s=n.indexOf(e,s+1))>-1;){const r=s+e.length;if((s===0||er.test(n[s-1]))&&(r===n.length||er.test(n[r])))return!0}return!1})}function Kl(e){if(typeof e=="function")return Ke(this,(s,r)=>{if(be(s)){const i=s.attribs.class||"";Kl.call([s],e.call(s,r,i))}});if(!e||typeof e!="string")return this;const t=e.split(er),n=this.length;for(let s=0;s<n;s++){const r=this[s];if(!be(r))continue;const i=fi(r,"class",!1);if(i){let c=` ${i} `;for(const l of t){const d=`${l} `;c.includes(` ${d}`)||(c+=d)}us(r,"class",c.trim())}else us(r,"class",t.join(" ").trim())}return this}function Xl(e){if(typeof e=="function")return Ke(this,(r,i)=>{be(r)&&Xl.call([r],e.call(r,i,r.attribs.class||""))});const t=di(e),n=t.length,s=arguments.length===0;return Ke(this,r=>{if(be(r))if(s)r.attribs.class="";else{const i=di(r.attribs.class);let c=!1;for(let l=0;l<n;l++){const d=i.indexOf(t[l]);d>=0&&(i.splice(d,1),c=!0,l--)}c&&(r.attribs.class=i.join(" "))}})}function Wl(e,t){if(typeof e=="function")return Ke(this,(c,l)=>{be(c)&&Wl.call([c],e.call(c,l,c.attribs.class||"",t),t)});if(!e||typeof e!="string")return this;const n=e.split(er),s=n.length,r=typeof t=="boolean"?t?1:-1:0,i=this.length;for(let c=0;c<i;c++){const l=this[c];if(!be(l))continue;const d=di(l.attribs.class);for(let g=0;g<s;g++){const _=d.indexOf(n[g]);r>=0&&_<0?d.push(n[g]):r<=0&&_>=0&&d.splice(_,1)}l.attribs.class=d.join(" ")}return this}const G2=Object.freeze(Object.defineProperty({__proto__:null,addClass:Kl,attr:H2,data:$2,hasClass:V2,prop:U2,removeAttr:j2,removeClass:Xl,toggleClass:Wl,val:Y2},Symbol.toStringTag,{value:"Module"}));var mi=Rd();const xe=Tl(mi),Ql=new Map([[Me.Universal,50],[Me.Tag,30],[Me.Attribute,1],[Me.Pseudo,0]]);function Ga(e){return!Ql.has(e.type)}const K2=new Map([[Ln.Exists,10],[Ln.Equals,8],[Ln.Not,7],[Ln.Start,6],[Ln.End,6],[Ln.Any,5]]);function X2(e){const t=e.map(Zl);for(let n=1;n<e.length;n++){const s=t[n];if(!(s<0))for(let r=n-1;r>=0&&s<t[r];r--){const i=e[r+1];e[r+1]=e[r],e[r]=i,t[r+1]=t[r],t[r]=s}}}function Zl(e){var t,n;let s=(t=Ql.get(e.type))!==null&&t!==void 0?t:-1;return e.type===Me.Attribute?(s=(n=K2.get(e.action))!==null&&n!==void 0?n:4,e.action===Ln.Equals&&e.name==="id"&&(s=9),e.ignoreCase&&(s>>=1)):e.type===Me.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?s=0:Array.isArray(e.data)?(s=Math.min(...e.data.map(r=>Math.min(...r.map(Zl)))),s<0&&(s=0)):s=2:s=3),s}const W2=/[-[\]{}()*+?.,\\^$|#\s]/g;function pc(e){return e.replace(W2,"\\$&")}const Q2=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 Mn(e,t){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!t.quirksMode:!t.xmlMode&&Q2.has(e.name)}const Z2={equals(e,t,n){const{adapter:s}=n,{name:r}=t;let{value:i}=t;return Mn(t,n)?(i=i.toLowerCase(),c=>{const l=s.getAttributeValue(c,r);return l!=null&&l.length===i.length&&l.toLowerCase()===i&&e(c)}):c=>s.getAttributeValue(c,r)===i&&e(c)},hyphen(e,t,n){const{adapter:s}=n,{name:r}=t;let{value:i}=t;const c=i.length;return Mn(t,n)?(i=i.toLowerCase(),function(d){const g=s.getAttributeValue(d,r);return g!=null&&(g.length===c||g.charAt(c)==="-")&&g.substr(0,c).toLowerCase()===i&&e(d)}):function(d){const g=s.getAttributeValue(d,r);return g!=null&&(g.length===c||g.charAt(c)==="-")&&g.substr(0,c)===i&&e(d)}}
2,element(e,t,n){const{adapter:s}=n,{name:r,value:i}=t;if(/\s/.test(i))return xe.falseFunc;const c=new RegExp(`(?:^|\\s)${pc(i)}(?:$|\\s)`,Mn(t,n)?"i":"");return function(d){const g=s.getAttributeValue(d,r);return g!=null&&g.length>=i.length&&c.test(g)&&e(d)}},exists(e,{name:t},{adapter:n}){return s=>n.hasAttrib(s,t)&&e(s)},start(e,t,n){const{adapter:s}=n,{name:r}=t;let{value:i}=t;const c=i.length;return c===0?xe.falseFunc:Mn(t,n)?(i=i.toLowerCase(),l=>{const d=s.getAttributeValue(l,r);return d!=null&&d.length>=c&&d.substr(0,c).toLowerCase()===i&&e(l)}):l=>{var d;return!!(!((d=s.getAttributeValue(l,r))===null||d===void 0)&&d.startsWith(i))&&e(l)}},end(e,t,n){const{adapter:s}=n,{name:r}=t;let{value:i}=t;const c=-i.length;return c===0?xe.falseFunc:Mn(t,n)?(i=i.toLowerCase(),l=>{var d;return((d=s.getAttributeValue(l,r))===null||d===void 0?void 0:d.substr(c).toLowerCase())===i&&e(l)}):l=>{var d;return!!(!((d=s.getAttributeValue(l,r))===null||d===void 0)&&d.endsWith(i))&&e(l)}},any(e,t,n){const{adapter:s}=n,{name:r,value:i}=t;if(i==="")return xe.falseFunc;if(Mn(t,n)){const c=new RegExp(pc(i),"i");return function(d){const g=s.getAttributeValue(d,r);return g!=null&&g.length>=i.length&&c.test(g)&&e(d)}}return c=>{var l;return!!(!((l=s.getAttributeValue(c,r))===null||l===void 0)&&l.includes(i))&&e(c)}},not(e,t,n){const{adapter:s}=n,{name:r}=t;let{value:i}=t;return i===""?c=>!!s.getAttributeValue(c,r)&&e(c):Mn(t,n)?(i=i.toLowerCase(),c=>{const l=s.getAttributeValue(c,r);return(l==null||l.length!==i.length||l.toLowerCase()!==i)&&e(c)}):c=>s.getAttributeValue(c,r)!==i&&e(c)}},J2=new Set([9,10,12,13,32]),gc=48,ep=57;function tp(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,n=0,s=i(),r=c();if(t<e.length&&e.charAt(t)==="n"&&(t++,n=s*(r??1),l(),t<e.length?(s=i(),l(),r=c()):s=r=0),r===null||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,s*r];function i(){return e.charAt(t)==="-"?(t++,-1):(e.charAt(t)==="+"&&t++,1)}function c(){const d=t;let g=0;for(;t<e.length&&e.charCodeAt(t)>=gc&&e.charCodeAt(t)<=ep;)g=g*10+(e.charCodeAt(t)-gc),t++;return t===d?null:g}function l(){for(;t<e.length&&J2.has(e.charCodeAt(t));)t++}}function np(e){const t=e[0],n=e[1]-1;if(n<0&&t<=0)return xe.falseFunc;if(t===-1)return i=>i<=n;if(t===0)return i=>i===n;if(t===1)return n<0?xe.trueFunc:i=>i>=n;const s=Math.abs(t),r=(n%s+s)%s;return t>1?i=>i>=n&&i%s===r:i=>i<=n&&i%s===r}function Yr(e){return np(tp(e))}function jr(e,t){return n=>{const s=t.getParent(n);return s!=null&&t.isTag(s)&&e(n)}}const Ea={contains(e,t,{adapter:n}){return function(r){return e(r)&&n.getText(r).includes(t)}},icontains(e,t,{adapter:n}){const s=t.toLowerCase();return function(i){return e(i)&&n.getText(i).toLowerCase().includes(s)}},"nth-child"(e,t,{adapter:n,equals:s}){const r=Yr(t);return r===xe.falseFunc?xe.falseFunc:r===xe.trueFunc?jr(e,n):function(c){const l=n.getSiblings(c);let d=0;for(let g=0;g<l.length&&!s(c,l[g]);g++)n.isTag(l[g])&&d++;return r(d)&&e(c)}},"nth-last-child"(e,t,{adapter:n,equals:s}){const r=Yr(t);return r===xe.falseFunc?xe.falseFunc:r===xe.trueFunc?jr(e,n):function(c){const l=n.getSiblings(c);let d=0;for(let g=l.length-1;g>=0&&!s(c,l[g]);g--)n.isTag(l[g])&&d++;return r(d)&&e(c)}},"nth-of-type"(e,t,{adapter:n,equals:s}){const r=Yr(t);return r===xe.falseFunc?xe.falseFunc:r===xe.trueFunc?jr(e,n):function(c){const l=n.getSiblings(c);let d=0;for(let g=0;g<l.length;g++){const _=l[g];if(s(c,_))break;n.isTag(_)&&n.getName(_)===n.getName(c)&&d++}return r(d)&&e(c)}},"nth-last-of-type"(e,t,{adapter:n,equals:s}){const r=Yr(t);return r===xe.falseFunc?xe.falseFunc:r===xe.trueFunc?jr(e,n):function(c){const l=n.getSiblings(c);let d=0;for(let g=l.length-1;g>=0;g--){const _=l[g];if(s(c,_))break;n.isTag(_)&&n.getName(_)===n.getName(c)&&d++}return r(d)&&e(c)}},root(e,t,{adapter:n}){return s=>{const r=n.getParent(s);return(r==null||!n.isTag(r))&&e(s)}},scope(e,t,n,s){const{equals:r}=n;return!s||s.length===0?Ea.root(e,t,n):s.length===1?i=>r(s[0],i)&&e(i):i=>s.includes(i)&&e(i)},hover:$0("isHovered"),visited:$0("isVisited"),active:$0("isActive")};function $0(e){return function(n,s,{adapter:r}){const i=r[e];return typeof i!="function"?xe.falseFunc:function(l){return i(l)&&n(l)}}}const bc={empty(e,{adapter:t}){return!t.getChildren(e).some(n=>t.isTag(n)||t.getText(n)!=="")},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;const s=t.getSiblings(e).find(r=>t.isTag(r));return s!=null&&n(e,s)},"last-child"(e,{adapter:t,equals:n}){const s=t.getSiblings(e);for(let r=s.length-1;r>=0;r--){if(n(e,s[r]))return!0;
2if(t.isTag(s[r]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){const s=t.getSiblings(e),r=t.getName(e);for(let i=0;i<s.length;i++){const c=s[i];if(n(e,c))return!0;if(t.isTag(c)&&t.getName(c)===r)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){const s=t.getSiblings(e),r=t.getName(e);for(let i=s.length-1;i>=0;i--){const c=s[i];if(n(e,c))return!0;if(t.isTag(c)&&t.getName(c)===r)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){const s=t.getName(e);return t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r)||t.getName(r)!==s)},"only-child"(e,{adapter:t,equals:n}){return t.getSiblings(e).every(s=>n(e,s)||!t.isTag(s))}};function Ec(e,t,n,s){if(n===null){if(e.length>s)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===s)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const sp={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( 3 :is(button, input, select, textarea, optgroup, option)[disabled], 4 optgroup[disabled] > option, 5 fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) 6 )`,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])"},Jl={};function rp(e,t){return e===xe.falseFunc?xe.falseFunc:n=>t.isTag(n)&&e(n)}function eh(e,t){const n=t.getSiblings(e);if(n.length<=1)return[];const s=n.indexOf(e);return s<0||s===n.length-1?[]:n.slice(s+1).filter(t.isTag)}function Ta(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}}const Y0=(e,t,n,s,r)=>{const i=r(t,Ta(n),s);return i===xe.trueFunc?e:i===xe.falseFunc?xe.falseFunc:c=>i(c)&&e(c)},j0={is:Y0,matches:Y0,where:Y0,not(e,t,n,s,r){const i=r(t,Ta(n),s);return i===xe.falseFunc?e:i===xe.trueFunc?xe.falseFunc:c=>!i(c)&&e(c)},has(e,t,n,s,r){const{adapter:i}=n,c=Ta(n);c.relativeSelector=!0;const l=t.some(_=>_.some(Ga))?[Jl]:void 0,d=r(t,c,l);if(d===xe.falseFunc)return xe.falseFunc;const g=rp(d,i);if(l&&d!==xe.trueFunc){const{shouldTestNextSiblings:_=!1}=d;return A=>{if(!e(A))return!1;l[0]=A;const N=i.getChildren(A),O=_?[...N,...eh(A,i)]:N;return i.existsOne(g,O)}}return _=>e(_)&&i.existsOne(g,i.getChildren(_))}};function ip(e,t,n,s,r){var i;const{name:c,data:l}=t;if(Array.isArray(l)){if(!(c in j0))throw new Error(`Unknown pseudo-class :${c}(${l})`);return j0[c](e,l,n,s,r)}const d=(i=n.pseudos)===null||i===void 0?void 0:i[c],g=typeof d=="string"?d:sp[c];if(typeof g=="string"){if(l!=null)throw new Error(`Pseudo ${c} doesn't have any arguments`);const _=Si(g);return j0.is(e,_,n,s,r)}if(typeof d=="function")return Ec(d,c,l,1),_=>d(_,l)&&e(_);if(c in Ea)return Ea[c](e,l,n,s);if(c in bc){const _=bc[c];return Ec(_,c,l,2),A=>_(A,n,l)&&e(A)}throw new Error(`Unknown pseudo-class :${c}`)}function V0(e,t){const n=t.getParent(e);return n&&t.isTag(n)?n:null}function ap(e,t,n,s,r){const{adapter:i,equals:c}=n;switch(t.type){case Me.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Me.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Me.Attribute:{if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),Z2[t.action](e,t,n)}case Me.Pseudo:return ip(e,t,n,s,r);case Me.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:l}=t;return(!n.xmlMode||n.lowerCaseTags)&&(l=l.toLowerCase()),function(g){return i.getName(g)===l&&e(g)}}case Me.Descendant:{if(n.cacheResults===!1||typeof WeakSet>"u")return function(g){let _=g;for(;_=V0(_,i);)if(e(_))return!0;return!1};const l=new WeakSet;return function(g){let _=g;for(;_=V0(_,i);
6)if(!l.has(_)){if(i.isTag(_)&&e(_))return!0;l.add(_)}return!1}}case"_flexibleDescendant":return function(d){let g=d;do if(e(g))return!0;while(g=V0(g,i));return!1};case Me.Parent:return function(d){return i.getChildren(d).some(g=>i.isTag(g)&&e(g))};case Me.Child:return function(d){const g=i.getParent(d);return g!=null&&i.isTag(g)&&e(g)};case Me.Sibling:return function(d){const g=i.getSiblings(d);for(let _=0;_<g.length;_++){const A=g[_];if(c(d,A))break;if(i.isTag(A)&&e(A))return!0}return!1};case Me.Adjacent:return i.prevElementSibling?function(d){const g=i.prevElementSibling(d);return g!=null&&e(g)}:function(d){const g=i.getSiblings(d);let _;for(let A=0;A<g.length;A++){const N=g[A];if(c(d,N))break;i.isTag(N)&&(_=N)}return!!_&&e(_)};case Me.Universal:{if(t.namespace!=null&&t.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}}function th(e){return e.type===Me.Pseudo&&(e.name==="scope"||Array.isArray(e.data)&&e.data.some(t=>t.some(th)))}const up={type:Me.Descendant},op={type:"_flexibleDescendant"},cp={type:Me.Pseudo,name:"scope",data:null};function lp(e,{adapter:t},n){const s=!!n?.every(r=>{const i=t.isTag(r)&&t.getParent(r);return r===Jl||i&&t.isTag(i)});for(const r of e){if(!(r.length>0&&Ga(r[0])&&r[0].type!==Me.Descendant))if(s&&!r.some(th))r.unshift(up);else continue;r.unshift(cp)}}function nh(e,t,n){var s;e.forEach(X2),n=(s=t.context)!==null&&s!==void 0?s:n;const r=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(t.relativeSelector!==!1)lp(e,t,i);else if(e.some(d=>d.length>0&&Ga(d[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let c=!1;const l=e.map(d=>{if(d.length>=2){const[g,_]=d;g.type!==Me.Pseudo||g.name!=="scope"||(r&&_.type===Me.Descendant?d[1]=op:(_.type===Me.Adjacent||_.type===Me.Sibling)&&(c=!0))}return hp(d,t,i)}).reduce(fp,xe.falseFunc);return l.shouldTestNextSiblings=c,l}function hp(e,t,n){var s;return e.reduce((r,i)=>
6r===xe.falseFunc?xe.falseFunc:ap(r,i,t,n,nh),(s=t.rootFunc)!==null&&s!==void 0?s:xe.trueFunc)}function fp(e,t){return t===xe.falseFunc||e===xe.trueFunc?e:e===xe.falseFunc||t===xe.trueFunc?t:function(s){return e(s)||t(s)}}const sh=(e,t)=>e===t,dp={adapter:Oi,equals:sh};function mp(e){var t,n,s,r;const i=e??dp;return(t=i.adapter)!==null&&t!==void 0||(i.adapter=Oi),(n=i.equals)!==null&&n!==void 0||(i.equals=(r=(s=i.adapter)===null||s===void 0?void 0:s.equals)!==null&&r!==void 0?r:sh),i}function pp(e){return function(n,s,r){const i=mp(s);return e(n,i,r)}}const Ka=pp(nh);function rh(e,t,n=!1){return n&&(e=gp(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function gp(e,t){const n=Array.isArray(e)?e.slice(0):[e],s=n.length;for(let r=0;r<s;r++){const i=eh(n[r],t);n.push(...i)}return n}const bp=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function pi(e){return e.type!=="pseudo"?!1:bp.has(e.name)?!0:e.name==="not"&&Array.isArray(e.data)?e.data.some(t=>t.some(pi)):!1}function Ep(e,t,n){const s=t!=null?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(s)?s>=0?s+1:1/0:0;case"lt":return isFinite(s)?s>=0?Math.min(s,n):1/0:0;case"gt":return isFinite(s)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}function Tp(e){for(;e.parent;)e=e.parent;return e}function Xa(e){const t=[],n=[];for(const s of e)s.some(pi)?t.push(s):n.push(s);return[n,t]}const _p={type:Me.Universal,namespace:null},yp={type:Me.Pseudo,name:"scope",data:null};function ih(e,t,n={}){return ah([e],t,n)}function ah(e,t,n={}){if(typeof t=="function")return e.some(t);const[s,r]=Xa(Si(t));return s.length>0&&e.some(Ka(s,n))||r.some(i=>ch(i,e,n).length>0)}function Ap(e,t,n,s){const r=typeof n=="string"?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(r)&&Math.abs(r)<t.length?[r<0?t[t.length+r]:t[r]]:[];case"gt":return isFinite(r)?t.slice(r+1):[];case"even":return t.filter((i,c)=>c%2===0);case"odd":return t.filter((i,c)=>c%2===1);case"not":{const i=new Set(oh(n,t,s));return t.filter(c=>!i.has(c))}}}function uh(e,t,n={}){return oh(Si(e),t,n)}function oh(e,t,n){if(t.length===0)return[];const[s,r]=Xa(e);let i;if(s.length){const c=ya(t,s,n);if(r.length===0)return c;c.length&&(i=new Set(c))}for(let c=0;c<r.length&&i?.size!==t.length;c++){const l=r[c];if((i?t.filter(_=>be(_)&&!i.has(_)):t).length===0)break;const g=ch(l,t,n);if(g.length)if(i)g.forEach(_=>i.add(_));else{if(c===r.length-1)return g;i=new Set(g)}}return typeof i<"u"?i.size===t.length?t:t.filter(c=>i.has(c)):[]}function ch(e,t,n){var s;if(e.some(ni)){const r=(s=n.root)!==null&&s!==void 0?s:Tp(t[0]),i={...n,context:t,relativeSelector:!1};return e.push(yp),gi(r,e,i,!0,t.length)}return gi(t,e,n,!1,t.length)}function xp(e,t,n={},s=1/0){if(typeof e=="function")return lh(t,e);const[r,i]=Xa(Si(e)),c=i.map(l=>gi(t,l,n,!0,s));return r.length&&c.push(_a(t,r,n,s)),c.length===0?[]:c.length===1?c[0]:Es(c.reduce((l,d)=>[...l,...d]))}function gi(e,t,n,s,r){const i=t.findIndex(pi),c=t.slice(0,i),l=t[i],d=t.length-1===i?r:1/0,g=Ep(l.name,l.data,d);if(g===0)return[];const A=(c.length===0&&!Array.isArray(e)?Ii(e).filter(be):c.length===0?(Array.isArray(e)?e:[e]).filter(be):s||c.some(ni)?_a(e,[c],n,g):ya(e,[c],n)).slice(0,g);let N=Ap(l.name,A,l.data,n);if(N.length===0||t.length===i+1)return N;const O=t.slice(i+1),x=O.some(ni);if(x){if(ni(O[0])){const{type:D}=O[0];(D===Me.Sibling||D===Me.Adjacent)&&(N=rh(N,Oi,!0)),O.unshift(_p)}n={...n,relativeSelector:!1,rootFunc:D=>N.includes(D)}}else n.rootFunc&&n.rootFunc!==mi.trueFunc&&(n={...n,rootFunc:mi.trueFunc});return O.some(pi)?gi(N,O,n,!1,r):x?_a(N,[O],n,r):ya(N,[O],n)}function _a(e,t,n,s){const r=Ka(t,n,e);return lh(e,r,s)}function lh(e,t,n=1/0){const s=rh(e,Oi,t.shouldTestNextSiblings);return Ya(r=>be(r)&&t(r),s,!0,n)}function ya(e,t,n){const s=(Array.isArray(e)?e:[e]).filter(be);if(s.length===0)return s;const r=Ka(t,n);return r===mi.trueFunc?s:s.filter(r)}const kp=/^\s*[+~]/;function Sp(e){if(!e)return this._make([]);if(typeof e!="string"){const t=pn(e)?e.toArray():[e],n=this.toArray();return this._make(t.filter(s=>n.some(r=>jl(r,s))))}return this._findBySelector(e,Number.POSITIVE_INFINITY)}function Cp(e,t){var n;const s=this.toArray(),r=kp.test(e)?s:this.children().toArray(),i={context:s,root:(n=this._root)===null||n===void 0?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(xp(e,r,i,t))}function Wa(e){return function(t,...n){return function(s){var r;let i=e(t,this);return s&&(i=Ja(i,s,this.options.xmlMode,(r=this._root)===null||r===void 0?void 0:r[0])),this._make(this.length>1&&i.length>1?n.reduce((c,l)=>l(c),i):i)}}}const or=Wa((e,t)=>{let n=[];for(let s=0;s<t.length;s++){const r=e(t[s]);r.length>0&&(n=n.concat(r))}return n}),Qa=Wa((e,t)=>{const n=[];for(let s=0;s<t.length;s++){const r=e(t[s]);r!==null&&n.push(r)}return n});function Za(e,...t){let n=null;const s=Wa((r,i)=>{const c=[];return Ke(i,l=>{for(let d;(d=r(l))&&!n?.(d,c.length);l=d)c.push(d)}),c})(e,...t);return function(r,i){n=typeof r=="string"?l=>ih(l,r,this.options):r?cr(r):null;const c=s.call(this,i);return n=null,c}}function Ts(e){return e.length>1?Array.from(new Set(e)):e}const wp=Qa(({parent:e})=>e&&!Nn(e)?e:null,Ts),Np=or(e=>{const t=[];for(;e.parent&&!Nn(e.parent);)t.push(e.parent),e=e.parent;return t},Es,e=>e.reverse()),Ip=Za(({parent:e})=>e&&!Nn(e)?e:null,Es,e=>e.reverse());function Dp(e){var t;const n=[];if(!e)return this._make(n);const s={xmlMode:this.options.xmlMode,root:(t=this._root)===null||t===void 0?void 0:t[0]},r=typeof e=="string"?i=>ih(i,e,s):cr(e);return Ke(this,i=>{for(i&&!Nn(i)&&!be(i)&&(i=i.parent);i&&be(i);){if(r(i,0)){n.includes(i)||n.push(i);break}i=i.parent}}),this._make(n)}
6const Op=Qa(e=>qa(e)),Mp=or(e=>{const t=[];for(;e.next;)e=e.next,be(e)&&t.push(e);return t},Ts),Lp=Za(e=>qa(e),Ts),vp=Qa(e=>$a(e)),Rp=or(e=>{const t=[];for(;e.prev;)e=e.prev,be(e)&&t.push(e);return t},Ts),Bp=Za(e=>$a(e),Ts),Fp=or(e=>Pl(e).filter(t=>be(t)&&t!==e),Es),Pp=or(e=>Ii(e).filter(be),Ts);function Hp(){const e=this.toArray().reduce((t,n)=>at(n)?t.concat(n.children):t,[]);return this._make(e)}function Up(e){let t=0;const n=this.length;for(;t<n&&e.call(this[t],t,this[t])!==!1;)++t;return this}function zp(e){let t=[];for(let n=0;n<this.length;n++){const s=this[n],r=e.call(s,n,s);r!=null&&(t=t.concat(r))}return this._make(t)}function cr(e){return typeof e=="function"?(t,n)=>e.call(t,n,t):pn(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function qp(e){var t;return this._make(Ja(this.toArray(),e,this.options.xmlMode,(t=this._root)===null||t===void 0?void 0:t[0]))}function Ja(e,t,n,s){return typeof t=="string"?uh(t,e,{xmlMode:n,root:s}):e.filter(cr(t))}function $p(e){const t=this.toArray();return typeof e=="string"?ah(t.filter(be),e,this.options):e?t.some(cr(e)):!1}function Yp(e){let t=this.toArray();if(typeof e=="string"){const n=new Set(uh(e,t,this.options));t=t.filter(s=>!n.has(s))}else{const n=cr(e);t=t.filter((s,r)=>!n(s,r))}return this._make(t)}function jp(e){return this.filter(typeof e=="string"?`:has(${e})`:(t,n)=>this._make(n).find(e).length>0)}function Vp(){return this.length>1?this._make(this[0]):this}function Gp(){return this.length>0?this._make(this[this.length-1]):this}function Kp(e){var t;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((t=this[e])!==null&&t!==void 0?t:[]))}function Xp(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function Wp(){return Array.prototype.slice.call(this)}function Qp(e){let t,n;return e==null?(t=this.parent().children(),n=this[0]):typeof e=="string"?(t=this._make(e),n=this[0]):(t=this,n=pn(e)?e[0]:e),Array.prototype.indexOf.call(t,n)}function Zp(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function Jp(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function e4(e,t){const n=this._make(e,t),s=Es([...this.get(),...n.get()]);return this._make(s)}function t4(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const n4=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:Cp,add:e4,addBack:t4,children:Pp,closest:Dp,contents:Hp,each:Up,end:Jp,eq:Kp,filter:qp,filterArray:Ja,find:Sp,first:Vp,get:Xp,has:jp,index:Qp,is:$p,last:Gp,map:zp,next:Op,nextAll:Mp,nextUntil:Lp,not:Yp,parent:wp,parents:Np,parentsUntil:Ip,prev:vp,prevAll:Rp,prevUntil:Bp,siblings:Fp,slice:Zp,toArray:Wp},Symbol.toStringTag,{value:"Module"}));function s4(e){return function(n,s,r,i){if(typeof Buffer<"u"&&Buffer.isBuffer(n)&&(n=n.toString()),typeof n=="string")return e(n,s,r,i);const c=n;if(!Array.isArray(c)&&Nn(c))return c;const l=new Un([]);return zn(c,l),l}}function zn(e,t){const n=Array.isArray(e)?e:[e];t?t.children=n:t=null;for(let s=0;s<n.length;s++){const r=n[s];r.parent&&r.parent.children!==n&&Yn(r),t?(r.prev=n[s-1]||null,r.next=n[s+1]||null):r.prev=r.next=null,r.parent=t}return t}function r4(e,t){if(e==null)return[];if(typeof e=="string")return this._parse(e,this.options,!1,null).children.slice(0);if("length"in e){if(e.length===1)return this._makeDomArray(e[0],t);const n=[];for(let s=0;s<e.length;s++){const r=e[s];if(typeof r=="object"){if(r==null)continue;if(!("length"in r)){n.push(t?Qs(r,!0):r);continue}}n.push(...this._makeDomArray(r,t))}return n}return[t?Qs(e,!0):e]}function hh(e){return function(...t){const n=this.length-1;return Ke(this,(s,r)=>{if(!at(s))return;const i=typeof t[0]=="function"?t[0].call(s,r,this._render(s.children)):t,c=this._makeDomArray(i,r<n);e(c,s.children,s)})}}function In(e,t,n,s,r){var i,c;const l=[t,n,...s],d=t===0?null:e[t-1],g=t+n>=e.length?null:e[t+n];for(let _=0;_<s.length;++_){const A=s[_],N=A.parent;if(N){const x=N.children.indexOf(A);x>-1&&(N.children.splice(x,1),r===N&&t>x&&l[0]--)}A.parent=r,A.prev&&(A.prev.next=(i=A.next)!==null&&i!==void 0?i:null),A.next&&(A.next.prev=(c=A.prev)!==null&&c!==void 0?c:null),A.prev=_===0?d:s[_-1],A.next=_===s.length-1?g:s[_+1]}return d&&(d.next=s[0]),g&&(g.prev=s[s.length-1]),e.splice(...l)}function i4(e){return(pn(e)?e:this._make(e)).append(this),this}function a4(e){return(pn(e)?e:this._make(e)).prepend(this),this}const u4=hh((e,t,n)=>{In(t,t.length,0,e,n)}),o4=hh((e,t,n)=>{In(t,0,0,e,n)});function fh(e){return function(t){const n=this.length-1,s=this.parents().last(
6);for(let r=0;r<this.length;r++){const i=this[r],c=typeof t=="function"?t.call(i,r,i):typeof t=="string"&&!ga(t)?s.find(t).clone():t,[l]=this._makeDomArray(c,r<n);if(!l||!at(l))continue;let d=l,g=0;for(;g<d.children.length;){const _=d.children[g];be(_)?(d=_,g=0):g++}e(i,d,[l])}return this}}const c4=fh((e,t,n)=>{const{parent:s}=e;if(!s)return;const r=s.children,i=r.indexOf(e);zn([e],t),In(r,i,0,n,s)}),l4=fh((e,t,n)=>{at(e)&&(zn(e.children,t),zn(n,e))});function h4(e){return this.parent(e).not("body").each((t,n)=>{this._make(n).replaceWith(n.children)}),this}function f4(e){const t=this[0];if(t){const n=this._make(typeof e=="function"?e.call(t,0,t):e).insertBefore(t);let s;for(let i=0;i<n.length;i++)n[i].type==="tag"&&(s=n[i]);let r=0;for(;s&&r<s.children.length;){const i=s.children[r];i.type==="tag"?(s=i,r=0):r++}s&&this._make(s).append(this)}return this}function d4(...e){const t=this.length-1;return Ke(this,(n,s)=>{if(!at(n)||!n.parent)return;const r=n.parent.children,i=r.indexOf(n);if(i<0)return;const c=typeof e[0]=="function"?e[0].call(n,s,this._render(n.children)):e,l=this._makeDomArray(c,s<t);In(r,i+1,0,l,n.parent)})}function m4(e){typeof e=="string"&&(e=this._make(e)),this.remove();const t=[];for(const n of this._makeDomArray(e)){const s=this.clone().toArray(),{parent:r}=n;if(!r)continue;const i=r.children,c=i.indexOf(n);c<0||(In(i,c+1,0,s,r),t.push(...s))}return this._make(t)}function p4(...e){const t=this.length-1;return Ke(this,(n,s)=>{if(!at(n)||!n.parent)return;const r=n.parent.children,i=r.indexOf(n);if(i<0)return;const c=typeof e[0]=="function"?e[0].call(n,s,this._render(n.children)):e,l=this._makeDomArray(c,s<t);In(r,i,0,l,n.parent)})}function g4(e){const t=this._make(e);this.remove();const n=[];return Ke(t,s=>{const r=this.clone().toArray(),{parent:i}=s;if(!i)return;const c=i.children,l=c.indexOf(s);l<0||(In(c,l,0,r,i),n.push(...r))}),this._make(n)}function b4(e){const t=e?this.filter(e):this;return Ke(t,n=>{Yn(n),n.prev=n.next=n.parent=null}),this}function E4(e){return Ke(this,(t,n)=>{const{parent:s}=t;if(!s)return;const r=s.children,i=typeof e=="function"?e.call(t,n,t):e,c=this._makeDomArray(i);zn(c,null);const l=r.indexOf(t);In(r,l,1,c,s),c.includes(t)||(t.parent=t.prev=t.next=null)})}function T4(){return Ke(this,e=>{if(at(e)){for(const t of e.children)t.next=t.prev=t.parent=null;e.children.length=0}})}function _4(e){if(e===void 0){const t=this[0];return!t||!at(t)?null:this._render(t.children)}return Ke(this,t=>{if(!at(t))return;for(const s of t.children)s.next=s.prev=s.parent=null;const n=pn(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children;zn(n,t)})}function y4(){return this._render(this)}function A4(e){return e===void 0?Zs(this):typeof e=="function"?Ke(this,(t,n)=>this._make(t).text(e.call(t,n,Zs([t])))):Ke(this,t=>{if(!at(t))return;for(const s of t.children)s.next=s.prev=s.parent=null;const n=new Ws(`${e}`);zn(n,t)})}function x4(){const e=Array.prototype.map.call(this.get(),n=>Qs(n,!0)),t=new Un(e);for(const n of e)n.parent=t;return this._make(e)}const k4=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:r4,after:d4,append:u4,appendTo:i4,before:p4,clone:x4,empty:T4,html:_4,insertAfter:m4,insertBefore:g4,prepend:o4,prependTo:a4,remove:b4,replaceWith:E4,text:A4,toString:y4,unwrap:h4,wrap:c4,wrapAll:f4,wrapInner:l4},Symbol.toStringTag,{value:"Module"}));function S4(e,t){if(e!=null&&t!=null||typeof e=="object"&&!Array.isArray(e))return Ke(this,(n,s)=>{be(n)&&dh(n,e,t,s)});if(this.length!==0)return mh(this[0],e)}function dh(e,t,n,s){if(typeof t=="string"){const r=mh(e),i=typeof n=="function"?n.call(e,s,r[t]):n;i===""?delete r[t]:i!=null&&(r[t]=i),e.attribs.style=C4(r)}else if(typeof t=="object"){const r=Object.keys(t);for(let i=0;i<r.length;i++){const c=r[i];dh(e,c,t[c],i)}}}function mh(e,t){if(!e||!be(e))return;const n=w4(e.attribs.style);if(typeof t=="string")return n[t];if(Array.isArray(t)){const s={};for(const r of t)n[r]!=null&&(s[r]=n[r]);return s}return n}function C4(e){return Object.keys(e).reduce((t,n)=>`${t}${t?" ":""}${n}: ${e[n]};`,"")}function w4(e){if(e=(e||"").trim(),!e)return{};const t={};let n;for(const s of e.split(";")){const r=s.indexOf(":");if(r<1||r===s.length-1){const i=s.trimEnd();i.length>0&&n!==void 0&&(t[n]+=`;${i}`)}else n=s.slice(0,r).trim(),t[n]=s.slice(r+1).trim()}return t}const N4=Object.freeze(Object.defineProperty({__proto__:null,css:S4},Symbol.toStringTag,{value:"Module"})),Tc="input,select,textarea,keygen",I4=/%20/g,_c=/\r?\n/g;function D4(){return this.serializeArray().map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("&").replace(I4,"+")}function O4(){return this.map((e,t)=>{const n=this._make(t);return be(t)&&t.name==="form"?n.find(Tc).toArray():n.filter(Tc).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var n;const s=this._make(t),r=s.attr("name"),i=(n=s.val())!==null&&n!==void 0?n:"";return Array.isArray(i)?i.map(c=>({name:r,value:c.replace(_c,`\r 7`)})):{name:r,value:i.replace(_c,`\r 8`)}}).toArray()}const M4=Object.freeze(Object.defineProperty({__proto__:null,serialize:D4,serializeArray:O4},Symbol.toStringTag,{value:"Module"}));function L4(e){var t;return typeof e=="string"?{selector:e,value:"textContent"}:{selector:e.selector,value:(t=e.value)!==null&&t!==void 0?t:"textContent"}}function v4(e){const t={};for(const n in e){const s=e[n],r=Array.isArray(s),{selector:i,value:c}=L4(r?s[0]:s),l=typeof c=="function"?c:typeof c=="string"?d=>this._make(d).prop(c):d=>this._make(d).extract(c);if(r)t[n]=this._findBySelector(i,Number.POSITIVE_INFINITY).map((d,g)=>l(g,n,t)).get();else{const d=this._findBySelector(i,1);t[n]=d.length>0?l(d[0],n,t):void 0}}return t}const R4=Object.freeze(Object.defineProperty({__proto__:null,extract:v4},Symbol.toStringTag,{value:"Module"}));class lr{constructor(t,n,s){if(this.length=0,this.options=s,this._root=n,t){for(let r=0;r<t.length;r++)this[r]=t[r];this.length=t.length}}}lr.prototype.cheerio="[cheerio object]";lr.prototype.splice=Array.prototype.splice;lr.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator];Object.assign(lr.prototype,G2,n4,k4,N4,M4,R4);function B4(e,t){return function n(s,r,i=!0){if(s==null)throw new Error("cheerio.load() expects a string");const c=pa(r),l=e(s,c,i,null);class d extends lr{_make(A,N){const O=g(A,N);
8return O.prevObject=this,O}_parse(A,N,O,x){return e(A,N,O,x)}_render(A){return t(A,this.options)}}function g(_,A,N=l,O){if(_&&pn(_))return _;const x=pa(O,c),D=typeof N=="string"?[e(N,x,!1,null)]:"length"in N?N:[N],F=pn(D)?D:new d(D,null,x);if(F._root=F,!_)return new d(void 0,F,x);const B=typeof _=="string"&&ga(_)?e(_,x,!1,null).children:F4(_)?[_]:Array.isArray(_)?_:void 0,$=new d(B,F,x);if(B)return $;if(typeof _!="string")throw new TypeError("Unexpected type of selector");let j=_;const G=A?typeof A=="string"?ga(A)?new d([e(A,x,!1,null)],F,x):(j=`${A} ${j}`,F):pn(A)?A:new d(Array.isArray(A)?A:[A],F,x):F;return G?G.find(j):$}return Object.assign(g,R2,{load:n,_root:l,_options:c,fn:d.prototype,prototype:d.prototype}),g}}function F4(e){return!!e.name||e.type==="root"||e.type==="text"||e.type==="comment"}const P4=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]),$e="�";var C;(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]="NUMBER_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"})(C=C||(C={}));const gt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ph(e){return e>=55296&&e<=57343}function H4(e){return e>=56320&&e<=57343}function U4(e,t){return(e-55296)*1024+9216+t}function gh(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function bh(e){return e>=64976&&e<=65007||P4.has(e)}var K;(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.missingQuoteBeforeDoctype
8SystemIdentifier="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.invalidCharacterSequenceAfterDoctypeName="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"})(K=K||(K={}));const z4=65536;class q4{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=z4,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:s,offset:r}=this;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:r,endOffset:r}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(H4(n))return this.pos++,this._addGap(),U4(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,C.EOF;return this._err(K.surrogateInInputStream),t}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(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let s=0;s<t.length;s++)if((this.html.charCodeAt(this.pos+s)|32)!==t.charCodeAt(s))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,C.EOF;const s=this.html.charCodeAt(n);return s===C.CARRIAGE_RETURN?C.LINE_FEED:s}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,C.EOF;let t=this.html.charCodeAt(this.pos);return t===C.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,C.LINE_FEED):t===C.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ph(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===C.LINE_FEED||t===C.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){gh(t)?this._err(K.controlCharacterInInputStream):bh(t)&&this._err(K.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ce;(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"})(Ce=Ce||(Ce={}));function Eh(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}var W;(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/"})(W=W||(W={}));var Sn;(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"})(Sn=Sn||(Sn={}));var Et;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Et=Et||(Et={}));var q;(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
8ike",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"})(q=q||(q={}));var f;(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"})(f=f||(f={}));const $4=new Map([[q.A,f.A],[q.ADDRESS,f.ADDRESS],[q.ANNOTATION_XML,f.ANNOTATION_XML],[q.APPLET,f.APPLET],[q.AREA,f.AREA],[q.ARTICLE,f.ARTICLE],[q.ASIDE,f.ASIDE],[q.B,f.B],[q.BASE,f.BASE],[q.BASEFONT,f.BASEFONT],[q.BGSOUND,f.BGSOUND],[q.BIG,f.BIG],[q.BLOCKQUOTE,f.BLOCKQUOTE],[q.BODY,f.BODY],[q.BR,f.BR],[q.BUTTON,f.BUTTON],[q.CAPTION,f.CAPTION],[q.CENTER,f.CENTER],[q.CODE,f.CODE],[q.COL,f.COL],[q.COLGROUP,f.COLGROUP],[q.DD,f.DD],[q.DESC,f.DESC],[q.DETAILS,f.DETAILS],[q.DIALOG,f.DIALOG],[q.DIR,f.DIR],[q.DIV,f.DIV],[q.DL,f.DL],[q.DT,f.DT],[q.EM,f.EM],[q.EMBED,f.EMBED],[q.FIELDSET,f.FIELDSET],[q.FIGCAPTION,f.FIGCAPTION],[q.FIGURE,f.FIGURE],[q.FONT,f.FONT],[q.FOOTER,f.FOOTER],[q.FOREIGN_OBJECT,f.FOREIGN_OBJECT],[q.FORM,f.FORM],[q.FRAME,f.FRAME],[q.FRAMESET,f.FRAMESET],[q.H1,f.H1],[q.H2,f.H2],[q.H3,f.H3],[q.H4,f.H4],[q.H5,f.H5],[q.H6,f.H6],[q.HEAD,f.HEAD],[q.HEADER,f.HEADER],[q.HGROUP,f.HGROUP],[q.HR,f.HR],[q.HTML,f.HTML],[q.I,f.I],[q.IMG,f.IMG],[q.IMAGE,f.IMAGE],[q.INPUT,f.INPUT],[q.IFRAME,f.IFRAME],[q.KEYGEN,f.KEYGEN],[q.LABEL,f.LABEL],[q.LI,f.LI],[q.LINK,f.LINK],[q.LISTING,f.LISTING],[q.MAIN,f.MAIN],[q.MALIGNMARK,f.MALIGNMARK],[q.MARQUEE,f.MARQUEE],[q.MATH,f.MATH],[q.MENU,f.MENU],[q.META,f.META],[q.MGLYPH,f.MGLYPH],[q.MI,f.MI],[q.MO,f.MO],[q.MN,f.MN],[q.MS,f.MS],[q.MTEXT,f.MTEXT],[q.NAV,f.NAV],[q.NOBR,f.NOBR],[q.NOFRAMES,f.NOFRAMES],[q.NOEMBED,f.NOEMBED],[q.NOSCRIPT,f.NOSCRIPT],[q.OBJECT,f.OBJECT],[q.OL,f.OL],[q.OPTGROUP,f.OPTGROUP],[q.OPTION,f.OPTION],[q.P,f.P],[q.PARAM,f.PARAM],[q.PLAINTEXT,f.PLAINTEXT],[q.PRE,f.PRE],[q.RB,f.RB],[q.RP,f.RP],[q.RT,f.RT],[q.RTC,f.RTC],[q.RUBY,f.RUBY],[q.S,f.S],[q.SCRIPT,f.SCRIPT],[q.SECTION,f.SECTION],[q.SELECT,f.SELECT],[q.SOURCE,f.SOURCE],[q.SMALL,f.SMALL],[q.SPAN,f.SPAN],[q.STRIKE,f.STRIKE],[q.STRONG,f.STRONG],[q.STYLE,f.STYLE],[q.SUB,f.SUB],[q.SUMMARY,f.SUMMARY],[q.SUP,f.SUP],[q.TABLE,f.TABLE],[q.TBODY,f.TBODY],[q.TEMPLATE,f.TEMPLATE],[q.TEXTAREA,f.TEXTAREA],[q.TFOOT,f.TFOOT],[q.TD,f.TD],[q.TH,f.TH],[q.THEAD,f.THEAD],[q.TITLE,f.TITLE],[q.TR,f.TR],[q.TRACK,f.TRACK],[q.TT,f.TT],[q.U,f.U],[q.UL,f.UL],[q.SVG,f.SVG],[q.VAR,f.VAR],[q.WBR,f.WBR],[q.XMP,f.XMP]]);function Mi(e){var t;return(t=$4.get(e))!==null&&t!==void 0?t:f.UNKNOWN}const se=f,Y4={[W.HTML]:new Set([se.ADDRESS,se.APPLET,se.AREA,se.ARTICLE,se.ASIDE,se.BASE,se.BASE
8FONT,se.BGSOUND,se.BLOCKQUOTE,se.BODY,se.BR,se.BUTTON,se.CAPTION,se.CENTER,se.COL,se.COLGROUP,se.DD,se.DETAILS,se.DIR,se.DIV,se.DL,se.DT,se.EMBED,se.FIELDSET,se.FIGCAPTION,se.FIGURE,se.FOOTER,se.FORM,se.FRAME,se.FRAMESET,se.H1,se.H2,se.H3,se.H4,se.H5,se.H6,se.HEAD,se.HEADER,se.HGROUP,se.HR,se.HTML,se.IFRAME,se.IMG,se.INPUT,se.LI,se.LINK,se.LISTING,se.MAIN,se.MARQUEE,se.MENU,se.META,se.NAV,se.NOEMBED,se.NOFRAMES,se.NOSCRIPT,se.OBJECT,se.OL,se.P,se.PARAM,se.PLAINTEXT,se.PRE,se.SCRIPT,se.SECTION,se.SELECT,se.SOURCE,se.STYLE,se.SUMMARY,se.TABLE,se.TBODY,se.TD,se.TEMPLATE,se.TEXTAREA,se.TFOOT,se.TH,se.THEAD,se.TITLE,se.TR,se.TRACK,se.UL,se.WBR,se.XMP]),[W.MATHML]:new Set([se.MI,se.MO,se.MN,se.MS,se.MTEXT,se.ANNOTATION_XML]),[W.SVG]:new Set([se.TITLE,se.FOREIGN_OBJECT,se.DESC]),[W.XLINK]:new Set,[W.XML]:new Set,[W.XMLNS]:new Set};function Th(e){return e===se.H1||e===se.H2||e===se.H3||e===se.H4||e===se.H5||e===se.H6}const j4=new Set([q.STYLE,q.SCRIPT,q.XMP,q.IFRAME,q.NOEMBED,q.NOFRAMES,q.PLAINTEXT]);function V4(e,t){return j4.has(e)||t&&e===q.NOSCRIPT}const G4=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]]);var I;(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
8MAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(I||(I={}));const Tt={DATA:I.DATA,RCDATA:I.RCDATA,RAWTEXT:I.RAWTEXT,SCRIPT_DATA:I.SCRIPT_DATA,PLAINTEXT:I.PLAINTEXT,CDATA_SECTION:I.CDATA_SECTION};function qs(e){return e>=C.DIGIT_0&&e<=C.DIGIT_9}function Ps(e){return e>=C.LATIN_CAPITAL_A&&e<=C.LATIN_CAPITAL_Z}function K4(e){return e>=C.LATIN_SMALL_A&&e<=C.LATIN_SMALL_Z}function An(e){return K4(e)||Ps(e)}function Aa(e){return An(e)||qs(e)}function _h(e){return e>=C.LATIN_CAPITAL_A&&e<=C.LATIN_CAPITAL_F}function yh(e){return e>=C.LATIN_SMALL_A&&e<=C.LATIN_SMALL_F}function X4(e){return qs(e)||_h(e)||yh(e)}function Vr(e){return e+32}function Ah(e){return e===C.SPACE||e===C.LINE_FEED||e===C.TABULATION||e===C.FORM_FEED}function W4(e){return e===C.EQUALS_SIGN||Aa(e)}function yc(e){return Ah(e)||e===C.SOLIDUS||e===C.GREATER_THAN_SIGN}let Q4=class{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=I.DATA,this.returnState=I.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new q4(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,s;(s=(n=this.handler).onParseError)===null||s===void 0||s.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,s){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||s?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ce.START_TAG,tagName:"",tagID:f.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ce.END_TAG,tagName:"",tagID:f.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ce.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ce.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const s=this.currentToken;if(Eh(s,this.currentAttr.name)===null){if(s.attrs.push(this.currentAttr),s.location&&this.currentLocation){const r=(t=(n=s.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(K.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Mi(t.tagName),t.type===Ce.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(K.endTagWithAttributes),t.selfClosing&&this._err(K.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Ce.CHARACTER:{this.handler.onCh
8aracter(this.currentCharacterToken);break}case Ce.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ce.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Ce.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Ah(t)?Ce.WHITESPACE_CHARACTER:t===C.NULL?Ce.NULL_CHARACTER:Ce.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ce.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,s=0,r=!1;for(let i=0,c=dn[0];i>=0&&(i=Dl(dn,c,i+1,t),!(i<0));t=this._consume()){s+=1,c=dn[i];const l=c&Wt.VALUE_LENGTH;if(l){const d=(l>>14)-1;if(t!==C.SEMICOLON&&this._isCharacterReferenceInAttribute()&&W4(this.preprocessor.peek(1))?(n=[C.AMPERSAND],i+=d):(n=d===0?[dn[i]&~Wt.VALUE_LENGTH]:d===1?[dn[++i]]:[dn[++i],dn[++i]],s=0,r=t!==C.SEMICOLON),d===0){this._consume();break}}}return this._unconsume(s),r&&!this.preprocessor.endOfChunkHit&&this._err(K.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===I.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===I.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===I.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case I.DATA:{this._stateData(t);break}case I.RCDATA:{this._stateRcdata(t);break}case I.RAWTEXT:{this._stateRawtext(t);break}case I.SCRIPT_DATA:{this._stateScriptData(t);break}case I.PLAINTEXT:{this._statePlaintext(t);break}case I.TAG_OPEN:{this._stateTagOpen(t);break}case I.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case I.TAG_NAME:{this._stateTagName(t);break}case I.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case I.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case I.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case I.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case I.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case I.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case I.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case I.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case I.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case I.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case I.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case I.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case I.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case I.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case I.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case I.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case I.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case I.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case I.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case I.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case I.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case I.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case I.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case I.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case I.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case I.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case I.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case I.BOGUS_COMMENT:{this._stateBogusComment(t);break}case I.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case I.COMMENT_START:{this._stateCommentStart(t);break}case I.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case I.COMMENT:{this._stateComment(t);break}case I.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case I.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case I.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case I.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case I.COMMENT_END:{this._stateCommentEnd(t);break}case I.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case I.DOCTYPE:{this._stateDoctype(t);break}case I.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case I.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case I.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case I.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case I.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctype
8SystemIdentifier(t);break}case I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case I.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case I.CDATA_SECTION:{this._stateCdataSection(t);break}case I.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case I.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case I.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case I.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case I.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case I.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case I.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case I.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case I.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case I.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case C.LESS_THAN_SIGN:{this.state=I.TAG_OPEN;break}case C.AMPERSAND:{this.returnState=I.DATA,this.state=I.CHARACTER_REFERENCE;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitCodePoint(t);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case C.AMPERSAND:{this.returnState=I.RCDATA,this.state=I.CHARACTER_REFERENCE;break}case C.LESS_THAN_SIGN:{this.state=I.RCDATA_LESS_THAN_SIGN;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars($e);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case C.LESS_THAN_SIGN:{this.state=I.RAWTEXT_LESS_THAN_SIGN;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars($e);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_LESS_THAN_SIGN;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars($e);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars($e);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(An(t))this._createStartTagToken(),this.state=I.TAG_NAME,this._stateTagName(t);else switch(t){case C.EXCLAMATION_MARK:{this.state=I.MARKUP_DECLARATION_OPEN;break}case C.SOLIDUS:{this.state=I.END_TAG_OPEN;break}case C.QUESTION_MARK:{this._err(K.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=I.BOGUS_COMMENT,this._stateBogusComment(t);break}case C.EOF:{this._err(K.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(K.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=I.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(An(t))this._createEndTagToken(),this.state=I.TAG_NAME,this._stateTagName(t);else switch(t){case C.GREATER_THAN_SIGN:{this._err(K.missingEndTagName),this.state=I.DATA;break}case C.EOF:{this._err(K.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(K.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=I.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=I.BEFORE_ATTRIBUTE_NAME;break}case C.SOLIDUS:{this.state=I.SELF_CLOSING_START_TAG;break}case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentTagToken();break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.tagName+=$e;break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Ps(t)?Vr(t):t)}}_stateRcdataLessThanSign(t){t===C.SOLIDUS?this.state=I.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=I.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){An(t)?(this.state=I.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=I.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=I.BEFORE_ATTRIBUTE_NAME,
8!1;case C.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=I.SELF_CLOSING_START_TAG,!1;case C.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=I.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=I.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===C.SOLIDUS?this.state=I.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=I.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){An(t)?(this.state=I.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=I.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=I.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case C.SOLIDUS:{this.state=I.SCRIPT_DATA_END_TAG_OPEN;break}case C.EXCLAMATION_MARK:{this.state=I.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=I.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){An(t)?(this.state=I.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=I.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=I.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===C.HYPHEN_MINUS?(this.state=I.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=I.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===C.HYPHEN_MINUS?(this.state=I.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=I.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case C.HYPHEN_MINUS:{this.state=I.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars($e);break}case C.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case C.HYPHEN_MINUS:{this.state=I.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_ESCAPED,this._emitChars($e);break}case C.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=I.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case C.HYPHEN_MINUS:{this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case C.GREATER_THAN_SIGN:{this.state=I.SCRIPT_DATA,this._emitChars(">");break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_ESCAPED,this._emitChars($e);break}case C.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=I.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===C.SOLIDUS?this.state=I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:An(t)?(this._emitChars("<"),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){An(t)?(this.state=I.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(gt.SCRIPT,!1)&&yc(this.preprocessor.peek(gt.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<gt.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case C.HYPHEN_MINUS:{this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case C.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars($e);break}case C.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case C.HYPHEN_MINUS:{this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($e);break}case C.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case C.HYPHEN_MINUS:{this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case C.GREATER_THAN_SIGN:{this.state=I.SCRIPT_DATA,this._emitChars(">");break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($e);break}case C.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===C.SOLIDUS?(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(gt.SCRIPT,!1)&&yc(this.preprocessor.peek(gt.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<gt.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=I.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.SOLIDUS:case C.GREATER_THAN_SIGN:case C.EOF:{this.state=I.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case C.EQUALS_SIGN:{this._err(K.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=I.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=I.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:case C.SOLIDUS:case C.GREATER_THAN_SIGN:case C.EOF:{this._leaveAttrName(),this.state=I.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case C.EQUALS_SIGN:{this._leaveAttrName(),this.state=I.BEFORE_ATTRIBUTE_VALUE;break}case C.QUOTATION_MARK:case C.APOSTROPHE:case C.LESS_THAN_SIGN:{this._err(K.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.name+=$e;break}default:this.currentAttr.name+=String.fromCodePoint(Ps(t)?Vr(t):t)}}_stateAfterAttributeName(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.SOLIDUS:{this.state=I.SELF_CLOSING_START_TAG;break}case C.EQUALS_SIGN:{this.state=I.BEFORE_ATTRIBUTE_VALUE;break}case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentTagToken();break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=I.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.QUOTATION_MARK:{this.state=I.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this.state=I.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(K.missingAttributeValue),this.state=I.DATA,this.emitCurrentTagToken();break}default:this.state=I.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case C.QUOTATION_MARK:{this.state=I.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case C.AMPERSAND:{this.returnState=I.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=I.CHARACTER_REFERENCE;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.value+=$e;break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case C.APOSTROPHE:{this.state=I.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case C.AMPERSAND:{this.returnState=I.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=I.CHARACTER_REFERENCE;break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.value+=$e;break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this._leaveAttrValue(),this.state=I.BEFORE_ATTRIBUTE_NAME;break}case C.AMPERSAND:{this.returnState=I.ATTRIBUTE_VALUE_UNQUOTED,this.state=I.CHARACTER_REFERENCE;break}case C.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=I.DATA,this.emitCurrentTagToken();break}case C.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.value+=$e;break}case C.QUOTATION_MARK:case C.APOSTROPHE:case C.LESS_THAN_SIGN:case C.EQUALS_SIGN:case C.GRAVE_ACCENT:{this._err(K.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this._leaveAttrValue(),this.state=I.BEFORE_ATTRIBUTE_NAME;break}case C.SOLIDUS:{this._leaveAttrValue(),this.state=I.SELF_CLOSING_START_TAG;break}case C.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=I.DATA,this.emitCurrentTagToken();break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBetweenAttributes),this.state=I.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case C.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=I.DATA,this.emitCurrentTagToken();break}case C.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this._err(K.unexpectedSolidusInTag),this.state=I.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentComment(n);break}case C.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.data+=$e;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(gt.DASH_DASH,!0)?(this._createCommentToken(gt.DASH_DASH.length+1),this.state=I.COMMENT_START):this._consumeSequenceIfMatch(gt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(gt.DOCTYPE.length+1),this.state=I.DOCTYPE):this._consumeSequenceIfMatch(gt.CDATA_START,!0)?this.inForeignNode?this.state=I.CDATA_SECTION:(this._err(K.cdataInHtmlContent),this._createCommentToken(gt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=I.BOGUS_COMMENT):this._ensureHibernation()||(this._err(K.incorrectlyOpenedComment),this._createCommentToken(2),this.state=I.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case C.HYPHEN_MINUS:{this.state=I.COMMENT_START_DASH;break}case C.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=I.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=I.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case C.HYPHEN_MINUS:{this.state=I.COMMENT_END;break}case C.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=I.DATA,this.emitCurrentComment(n);break}case C.EOF:{this._err(K.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=I.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case C.HYPHEN_MINUS:{this.state=I.COMMENT_END_DASH;break}case C.LESS_THAN_SIGN:{n.data+="<",this.state=I.COMMENT_LESS_THAN_SIGN;break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.data+=$e;break}case C.EOF:{this._err(K.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case C.EXCLAMATION_MARK:{n.data+="!",this.state=I.COMMENT_LESS_THAN_SIGN_BANG;break}case C.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=I.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===C.HYPHEN_MINUS?this.state=I.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=I.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===C.HYPHEN_MINUS?this.state=I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=I.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==C.GREATER_THAN_SIGN&&t!==C.EOF&&this._err(K.nestedComment),this.state=I.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case C.HYPHEN_MINUS:{this.state=I.COMMENT_END;break}case C.EOF:{this._err(K.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=I.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentComment(n);break}case C.EXCLAMATION_MARK:{this.state=I.COMMENT_END_BANG;break}case C.HYPHEN_MINUS:{n.data+="-";break}case C.EOF:{this._err(K.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=I.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case C.HYPHEN_MINUS:{n.data+="--!",this.state=I.COMMENT_END_DASH;break}case C.GREATER_THAN_SIGN:{this._err(K.incorrectlyClosedComment),this.state=I.DATA,this.emitCurrentComment(n);break}case C.EOF:{this._err(K.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=I.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=I.BEFORE_DOCTYPE_NAME;break}case C.GREATER_THAN_SIGN:{this.state=I.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case C.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBeforeDoctypeName),this.state=I.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ps(t))this._createDoctypeToken(String.fromCharCode(Vr(t))),this.state=I.DOCTYPE_NAME;else switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.NULL:{this._err(K.unexpectedNullCharacter),this._createDoctypeToken($e),this.state=I.DOCTYPE_NAME;break}case C.GREATER_THAN_SIGN:{this._err(K.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=I.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=I.AFTER_DOCTYPE_NAME;break}case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.name+=$e;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Ps(t)?Vr(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED
8:case C.TABULATION:case C.FORM_FEED:break;case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(gt.PUBLIC,!1)?this.state=I.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(gt.SYSTEM,!1)?this.state=I.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(K.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case C.QUOTATION_MARK:{this._err(K.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this._err(K.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(K.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.QUOTATION_MARK:{n.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{n.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(K.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case C.QUOTATION_MARK:{this.state=I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.publicId+=$e;break}case C.GREATER_THAN_SIGN:{this._err(K.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case C.APOSTROPHE:{this.state=I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.publicId+=$e;break}case C.GREATER_THAN_SIGN:{this._err(K.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case C.GREATER_THAN_SIGN:{this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.QUOTATION_MARK:{this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.QUOTATION_MARK:{n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}
8default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case C.QUOTATION_MARK:{this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(K.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.QUOTATION_MARK:{n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{n.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(K.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(n);break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case C.QUOTATION_MARK:{this.state=I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.systemId+=$e;break}case C.GREATER_THAN_SIGN:{this._err(K.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case C.APOSTROPHE:{this.state=I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case C.NULL:{this._err(K.unexpectedNullCharacter),n.systemId+=$e;break}case C.GREATER_THAN_SIGN:{this._err(K.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.EOF:{this._err(K.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(K.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case C.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=I.DATA;break}case C.NULL:{this._err(K.unexpectedNullCharacter);break}case C.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case C.RIGHT_SQUARE_BRACKET:{this.state=I.CDATA_SECTION_BRACKET;break}case C.EOF:{this._err(K.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===C.RIGHT_SQUARE_BRACKET?this.state=I.CDATA_SECTION_END:(this._emitChars("]"),this.state=I.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case C.GREATER_THAN_SIGN:{this.state=I.DATA;break}case C.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=I.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===C.NUMBER_SIGN?this.state=I.NUMERIC_CHARACTER_REFERENCE:Aa(t)?(this.state=I.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(C.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const n=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(n){for(let s=0;s<n.length;s++)this._flushCodePointConsumedAsCharacterReference(n[s]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(C.AMPERSAND),this.state=I.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){Aa(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===C.SEMICOLON&&this._err(K.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===C.LATIN_SMALL_X||t===C.LATIN_CAPITAL_X?this.state=I.HEXADEMICAL_CHARACTER_REFERENCE_START:qs(t)?(this.state=I.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(K.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(C.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(C.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){X4(t)?(this.state=I.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(K.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(C.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(C.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){_h(t)?this.charRefCode=this.charRefCode*16+t-55:yh(t)?this.charRefCode=this.charRefCode*16+t-87:qs(t)?this.charRefCode=this.charRefCode*16+t-48:t===C.SEMICOLON?this.state=I.NUMERIC_CHARACTER_REFERENCE_END:(this._err(K.missingSemicolonAfterCharacterReference),this.state=I.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){qs(t)?this.charRefCode=this.charRefCode*10+t-48:t===C.SEMICOLON?this.state=I.NUMERIC_CHARACTER_REFERENCE_END:(this._err(K.missingSemicolonAfterCharacterReference),this.state=I.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===C.NULL)this._err(K.nullCharacterReference),this.charRefCode=C.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(K.characterReferenceOutsideUnicodeRange),this.charRefCode=C.REPLACEMENT_CHARACTER;else if(ph(this.charRefCode))this._err(K.surrogateCharacterReference),this.charRefCode=C.REPLACEMENT_CHARACTER;else if(bh(this.charRefCode))this._err(K.noncharacterCharacterReference);else if(gh(this.charRefCode)||this.charRefCode===C.CARRIAGE_RETURN){this._err(K.controlCharacterReference);const n=G4.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}};const xh=new Set([f.DD,f.DT,f.LI,f.OPTGROUP,f.OPTION,f.P,f.RB,f.RP,f.RT,f.RTC]),Ac=new Set([...xh,f.CAPTION,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]),Gr=new Map([[f.APPLET,W.HTML],[f.CAPTION,W.HTML],[f.HTML,W.HTML],[f.MARQUEE,W.HTML],[f.OBJECT,W.HTML],[f.TABLE,W.HTML],[f.TD,W.HTML],[f.TEMPLATE,W.HTML],[f.TH,W.HTML],[f.ANNOTATION_XML,W.MATHML],[f.MI,W.MATHML],[f.MN,W.MATHML],[f.MO,W.MATHML],[f.MS,W.MATHML],[f.MTEXT,W.MATHML],[f.DESC,W.SVG],[f.FOREIGN_OBJECT,W.SVG],[f.TITLE,W.SVG]]),Z4=[f.H1,f.H2,f.H3,f.H4,f.H5,f.H6],J4=[f.TR,f.TEMPLATE,f.HTML],e3=[f.TBODY,f.TFOOT,f.THEAD,f.TEMPLATE,f.HTML],t3=[f.TABLE,f.TEMPLATE,f.HTML],n3=[f.TD,f.TH];class s3{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,s){this.treeAdapter=n,this.handler=s,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=f.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===f.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===W.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const s=this._indexOf(t);this.items[s]=n,s===this.stackTop&&(this.current=n)}insertAfter(t,n,s){const r=this._indexOf(t)+1;this.items.splice(r,0,n),this.tagIDs.splice(r,0,s),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==W.HTML);
8this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const s=this._indexOfTagNames(t,n);this.shortenToLength(s<0?0:s)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Z4,W.HTML)}popUntilTableCellPopped(){this.popUntilPopped(n3,W.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let s=this.stackTop;s>=0;s--)if(t.includes(this.tagIDs[s])&&this.treeAdapter.getNamespaceURI(this.items[s])===n)return s;return-1}clearBackTo(t,n){const s=this._indexOfTagNames(t,n);this.shortenToLength(s+1)}clearBackToTableContext(){this.clearBackTo(t3,W.HTML)}clearBackToTableBodyContext(){this.clearBackTo(e3,W.HTML)}clearBackToTableRowContext(){this.clearBackTo(J4,W.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===f.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===f.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const s=this.tagIDs[n],r=this.treeAdapter.getNamespaceURI(this.items[n]);if(s===t&&r===W.HTML)return!0;if(Gr.get(s)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(Th(n)&&s===W.HTML)return!0;if(Gr.get(n)===s)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const s=this.tagIDs[n],r=this.treeAdapter.getNamespaceURI(this.items[n]);if(s===t&&r===W.HTML)return!0;if((s===f.UL||s===f.OL)&&r===W.HTML||Gr.get(s)===r)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const s=this.tagIDs[n],r=this.treeAdapter.getNamespaceURI(this.items[n]);if(s===t&&r===W.HTML)return!0;if(s===f.BUTTON&&r===W.HTML||Gr.get(s)===r)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const s=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===W.HTML){if(s===t)return!0;if(s===f.TABLE||s===f.TEMPLATE||s===f.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===W.HTML){if(n===f.TBODY||n===f.THEAD||n===f.TFOOT)return!0;if(n===f.TABLE||n===f.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const s=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===W.HTML){if(s===t)return!0;if(s!==f.OPTION&&s!==f.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;xh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ac.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ac.has(this.currentTagId);)this.pop()}}const G0=3;var Ht;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ht=Ht||(Ht={}));const xc={type:Ht.Marker};class r3{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const s=[],r=n.length,i=this.treeAdapter.getTagName(t),c=this.treeAdapter.getNamespaceURI(t);for(let l=0;l<this.entries.length;l++){const d=this.entries[l];if(d.type===Ht.Marker)break;const{element:g}=d;if(this.treeAdapter.getTagName(g)===i&&this.treeAdapter.getNamespaceURI(g)===c){const _=this.treeAdapter.getAttrList(g);_.length===r&&s.push({idx:l,attrs:_})}}return s}_ensureNoahArkCondition(t){if(this.entries.length<G0)return;const n=this.treeAdapter.getAttrList(t),s=this._getNoahArkConditionCandidates(t,n);if(s.length<G0)return;const r=new Map(n.map(c=>[c.name,c.value]));let i=0;for(let c=0;c<s.length;c++){const l=s[c];l.attrs.every(d=>r.get(d.name)===d.value)&&(i+=1,i>=G0&&this.entries.splice(l.idx,1))}}insertMarker(){this.entries.unshift(xc)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ht.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const s=this.entries.indexOf(this.bookmark);this.entries.splice(s,0,{type:Ht.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(xc);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(s=>s.type===Ht.Marker||this.treeAdapter.getTagName(s.element)===t);return n&&n.type===Ht.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Ht.Element&&n.element===t)}}function kc(e){return{nodeName:"#text",value:e,parentNode:null}}const Bn={createDocument(){return{nodeName:"#document",mode:Et.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const s=e.childNodes.indexOf(n);e.childNodes.splice(s,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,s){const r=e.childNodes.find(i=>i.nodeName==="#documentType");if(r)r.name=t,r.publicId=n,r.systemId=s;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:s,parentNode:null};Bn.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Bn.isTextNode(n)){n.value+=t;return}}Bn.appendChild(e,kc(t))},insertTextBefore(e,t,n){const s=e.childNodes[e.childNodes.indexOf(n)-1];s&&Bn.isTextNode(s)?s.value+=t:Bn.insertBefore(e,kc(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(s=>s.name));for(let s=0;s<t.length;s++)n.has(t[s].name)||e.attrs.push(t[s])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId}
vendor: 4,984 bytes, line 8
8,isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},kh="html",i3="about:legacy-compat",a3="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Sh=["+//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//"],u3=[...Sh,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],o3=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ch=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],c3=[...Ch,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Sc(e,t){return t.some(n=>e.startsWith(n))}function l3(e){return e.name===kh&&e.publicId===null&&(e.systemId===null||e.systemId===i3)}function h3(e){if(e.name!==kh)return Et.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===a3)return Et.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),o3.has(n))return Et.QUIRKS;let s=t===null?u3:Sh;if(Sc(n,s))return Et.QUIRKS;if(s=t===null?Ch:c3,Sc(n,s))return Et.LIMITED_QUIRKS}return Et.NO_QUIRKS}const Cc={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},f3="definitionurl",d3="definitionURL",m3=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])),p3=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:W.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:W.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:W.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:W.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:W.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:W.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:W.XLINK}
8],["xml:base",{prefix:"xml",name:"base",namespace:W.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:W.XML}],["xml:space",{prefix:"xml",name:"space",namespace:W.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:W.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:W.XMLNS}]]),g3=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])),b3=new Set([f.B,f.BIG,f.BLOCKQUOTE,f.BODY,f.BR,f.CENTER,f.CODE,f.DD,f.DIV,f.DL,f.DT,f.EM,f.EMBED,f.H1,f.H2,f.H3,f.H4,f.H5,f.H6,f.HEAD,f.HR,f.I,f.IMG,f.LI,f.LISTING,f.MENU,f.META,f.NOBR,f.OL,f.P,f.PRE,f.RUBY,f.S,f.SMALL,f.SPAN,f.STRONG,f.STRIKE,f.SUB,f.SUP,f.TABLE,f.TT,f.U,f.UL,f.VAR]);function E3(e){const t=e.tagID;return t===f.FONT&&e.attrs.some(({name:s})=>s===Sn.COLOR||s===Sn.SIZE||s===Sn.FACE)||b3.has(t)}function wh(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===f3){e.attrs[t].name=d3;break}}function Nh(e){for(let t=0;t<e.attrs.length;t++){const n=m3.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function eu(e){for(let t=0;t<e.attrs.length;t++){const n=p3.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 T3(e){const t=g3.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Mi(e.tagName))}function _3(e,t){return t===W.MATHML&&(e===f.MI||e===f.MO||e===f.MN||e===f.MS||e===f.MTEXT)}function y3(e,t,n){if(t===W.MATHML&&e===f.ANNOTATION_XML){for(let s=0;s<n.length;s++)if(n[s].name===Sn.ENCODING){const r=n[s].value.toLowerCase();return r===Cc.TEXT_HTML||r===Cc.APPLICATION_XML}}return t===W.SVG&&(e===f.FOREIGN_OBJECT||e===f.DESC||e===f.TITLE)}function A3(e,t,n,s){return(!s||s===W.HTML)&&y3(e,t,n)||(!s||s===W.MATHML)&&_3(e,t)}const x3="hidden",k3=8,S3=3;var v;(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"})(v||(v={}));const C3={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Ih=new Set([f.TABLE,f.TBODY,f.TFOOT,f.THEAD,f.TR]),wc={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Bn,onParseError:null};let Dh=class{constructor(t,n,s=null,r=null){this.fragmentContext=s,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=v.INITIAL,this.originalInsertionMode=v.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={...wc,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new Q4(this.options,this),this.activeFormattingElements=new r3(this.treeAdapter),this.fragmentContextID=s?Mi(this.treeAdapter.getTagName(s)):f.UNKNOWN,this._setContextModes(s??this.document,this.fragmentContextID),this.openElements=new s3(this.document,this.treeAdapter,this)}static parse(t,n){const s=new this(n);return s.tokenizer.write(t,!0),s.document}static getFragmentParser(t,n){const s={...wc,...n};t??(t=s.treeAdapter.createElement(q.TEMPLATE,W.HTML,[]));const r=s.treeAdapter.createElement("documentmock",W.HTML,[]),i=new this(s,r,t);return i.fragmentContextID===f.TEMPLATE&&i.tmplInsertionModeStack.unshift(v.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,s){var r;if(!this.onParseError)return;const i=(r=t.location)!==null&&r!==void 0?r:C3,c={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:s?i.startLine:i.endLine,endCol:s?i.startCol:i.endCol,endOffset:s?i.startOffset:i.endOffset};this.onParseError(c)}onItemPush(t,n,s){var r,i;(i=(r=this.treeAdapter).onItemPush)===null||i===void 0||i.call(r,t),s&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var s,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(r=(s=this.treeAdapter).onItemPop)===null||r===void 0||r.call(s,t,this.openElements.current),n){let i,c;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,c=this.fragmentContextID):{current:i,currentTagId:c}=this.openElements,this._setContextModes(i,c)}}_setContextModes(t,n){const s=t===this.document||this.treeAdapter.getNamespaceURI(t)===W.HTML;this.currentNotInHTML=!s,this.tokenizer.inForeignNode=!s&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,W.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=v.TEXT}switchToPlaintextParsing(){this.insertionMode=v.TEXT,this.originalInsertionMode=v.IN_BODY,this.tokenizer.state=Tt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;
8for(;t;){if(this.treeAdapter.getTagName(t)===q.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==W.HTML))switch(this.fragmentContextID){case f.TITLE:case f.TEXTAREA:{this.tokenizer.state=Tt.RCDATA;break}case f.STYLE:case f.XMP:case f.IFRAME:case f.NOEMBED:case f.NOFRAMES:case f.NOSCRIPT:{this.tokenizer.state=Tt.RAWTEXT;break}case f.SCRIPT:{this.tokenizer.state=Tt.SCRIPT_DATA;break}case f.PLAINTEXT:{this.tokenizer.state=Tt.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",s=t.publicId||"",r=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,s,r),t.location){const c=this.treeAdapter.getChildNodes(this.document).find(l=>this.treeAdapter.isDocumentTypeNode(l));c&&this.treeAdapter.setNodeSourceCodeLocation(c,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const s=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,s)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const s=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(s,t)}}_appendElement(t,n){const s=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(s,t.location)}_insertElement(t,n){const s=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(s,t.location),this.openElements.push(s,t.tagID)}_insertFakeElement(t,n){const s=this.treeAdapter.createElement(t,W.HTML,[]);this._attachElementToTree(s,null),this.openElements.push(s,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,W.HTML,t.attrs),s=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,s),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(q.HTML,W.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,f.HTML)}_appendCommentNode(t,n){const s=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,s),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_insertCharacters(t){let n,s;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:s}=this._findFosterParentingLocation(),s?this.treeAdapter.insertTextBefore(n,t.chars,s):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const r=this.treeAdapter.getChildNodes(n),i=s?r.lastIndexOf(s):r.length,c=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(c)){const{endLine:d,endCol:g,endOffset:_}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(c,{endLine:d,endCol:g,endOffset:_})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,t.location)}_adoptNodes(t,n){for(let s=this.treeAdapter.getFirstChild(t);s;s=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(s),this.treeAdapter.appendChild(n,s)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const s=n.location,r=this.treeAdapter.getTagName(t),i=n.type===Ce.END_TAG&&r===n.tagName?{endTag:{...s},endLine:s.endLine,endCol:s.endCol,endOffset:s.endOffset}:{endLine:s.startLine,endCol:s.startCol,endOffset:s.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,s;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,s=this.fragmentContextID):{current:n,currentTagId:s}=this.openElements,t.tagID===f.SVG&&this.treeAdapter.getTagName(n)===q.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===W.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===f.MGLYPH||t.tagID===f.MALIGNMARK)&&!this._isIntegrationPoint(s,n,W.HTML)}_processToken(t){switch(t.type){case Ce.CHARACTER:{this.onCharacter(t);break}case Ce.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ce.COMMENT:{this.onComment(t);break}case Ce.DOCTYPE:{this.onDoctype(t);break}case Ce.START_TAG:{this._processStartTag(t);break}case Ce.END_TAG:{this.onEndTag(t);break}case Ce.EOF:{this.onEof(t);break}case Ce.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,s){const r=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return A3(t,r,i,s)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(r=>
8r.type===Ht.Marker||this.openElements.contains(r.element)),s=n<0?t-1:n-1;for(let r=s;r>=0;r--){const i=this.activeFormattingElements.entries[r];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=v.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(f.P),this.openElements.popUntilTagNamePopped(f.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case f.TR:{this.insertionMode=v.IN_ROW;return}case f.TBODY:case f.THEAD:case f.TFOOT:{this.insertionMode=v.IN_TABLE_BODY;return}case f.CAPTION:{this.insertionMode=v.IN_CAPTION;return}case f.COLGROUP:{this.insertionMode=v.IN_COLUMN_GROUP;return}case f.TABLE:{this.insertionMode=v.IN_TABLE;return}case f.BODY:{this.insertionMode=v.IN_BODY;return}case f.FRAMESET:{this.insertionMode=v.IN_FRAMESET;return}case f.SELECT:{this._resetInsertionModeForSelect(t);return}case f.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case f.HTML:{this.insertionMode=this.headElement?v.AFTER_HEAD:v.BEFORE_HEAD;return}case f.TD:case f.TH:{if(t>0){this.insertionMode=v.IN_CELL;return}break}case f.HEAD:{if(t>0){this.insertionMode=v.IN_HEAD;return}break}}this.insertionMode=v.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const s=this.openElements.tagIDs[n];if(s===f.TEMPLATE)break;if(s===f.TABLE){this.insertionMode=v.IN_SELECT_IN_TABLE;return}}this.insertionMode=v.IN_SELECT}_isElementCausesFosterParenting(t){return Ih.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case f.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===W.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case f.TABLE:{const s=this.treeAdapter.getParentNode(n);return s?{parent:s,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const s=this.treeAdapter.getNamespaceURI(t);return Y4[s].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){n5(this,t);return}switch(this.insertionMode){case v.INITIAL:{Ls(this,t);break}case v.BEFORE_HTML:{$s(this,t);break}case v.BEFORE_HEAD:{Ys(this,t);break}case v.IN_HEAD:{js(this,t);break}case v.IN_HEAD_NO_SCRIPT:{Vs(this,t);break}case v.AFTER_HEAD:{Gs(this,t);break}case v.IN_BODY:case v.IN_CAPTION:case v.IN_CELL:case v.IN_TEMPLATE:{Mh(this,t);break}case v.TEXT:case v.IN_SELECT:case v.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case v.IN_TABLE:case v.IN_TABLE_BODY:case v.IN_ROW:{K0(this,t);break}case v.IN_TABLE_TEXT:{Ph(this,t);break}case v.IN_COLUMN_GROUP:{bi(this,t);break}case v.AFTER_BODY:{Ei(this,t);break}case v.AFTER_AFTER_BODY:{ri(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){t5(this,t);return}switch(this.insertionMode){case v.INITIAL:{Ls(this,t);break}case v.BEFORE_HTML:{$s(this,t);break}case v.BEFORE_HEAD:{Ys(this,t);break}case v.IN_HEAD:{js(this,t);break}case v.IN_HEAD_NO_SCRIPT:{Vs(this,t);break}case v.AFTER_HEAD:{Gs(this,t);break}case v.TEXT:{this._insertCharacters(t);break}case v.IN_TABLE:case v.IN_TABLE_BODY:case v.IN_ROW:{K0(this,t);break}case v.IN_COLUMN_GROUP:{bi(this,t);break}case v.AFTER_BODY:{Ei(this,t);break}case v.AFTER_AFTER_BODY:{ri(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){xa(this,t);return}switch(this.insertionMode){case v.INITIAL:case v.BEFORE_HTML:case v.BEFORE_HEAD:case v.IN_HEAD:case v.IN_HEAD_NO_SCRIPT:case v.AFTER_HEAD:case v.IN_BODY:case v.IN_TABLE:case v.IN_CAPTION:case v.IN_COLUMN_GROUP:case v.IN_TABLE_BODY:case v.IN_ROW:case v.IN_CELL:case v.IN_SELECT:case v.IN_SELECT_IN_TABLE:case v.IN_TEMPLATE:case v.IN_FRAMESET:case v.AFTER_FRAMESET:{xa(this,t);break}case v.IN_TABLE_TEXT:{vs(this,t);break}case v.AFTER_BODY:{L3(this,t);break}case v.AFTER_AFTER_BODY:case v.AFTER_AFTER_FRAMESET:{v3(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case v.INITIAL:{R3(this,t);break}case v.BEFORE_HEAD:case v.IN_HEAD:case v.IN_HEAD_NO_SCRIPT:case v.AFTER_HEAD:{this._err(t,K.misplacedDoctype);break}case v.IN_TABLE_TEXT:{vs(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,K.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?s5(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case v.INITIAL:{Ls(this,t);break}case v.BEFORE_HTML:{B3(this,t);break}case v.BEFORE_HEAD:{P3(this,t);break}case v.IN_HEAD:{zt(this,t);break}case v.IN_HEAD_NO_SCRIPT:{z3(this,t);break}case v.AFTER_HEAD:{$3(this,t);break}case v.IN_BODY:{ot(this,t);break}case v.IN_TABLE:{fs(this,t);break}case v.IN_TABLE_TEXT:{vs(this,t);break}case v.IN_CAPTION:{H6(this,t);break}case v.IN_COLUMN_GROUP:{su(this,t);break}case v.IN_TABLE_BODY:{Ri(this,t);break}case v.IN_ROW:{Bi(this,t);break}case v.IN_CELL:{q6(this,t);break}case v.IN_SELECT:{zh(this,t);break}case v.IN_SELECT_IN_TABLE:{Y6(this,t);break}case v.IN_TEMPLATE:{V6(this,t);break}case v.AFTER_BODY:{K6(this,t);break}case v.IN_FRAMESET:{X6(this,t);break}case v.AFTER_FRAMESET:{Q6(this,t);break}case v.AFTER_AFTER_BODY:{J6(this,t);break}case v.AFTER_AFTER_FRAMESET:{e5(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?r5(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case v.INITIAL:{Ls(this,t);break}case v.BEFORE_HTML:{F3(this,t);break}case v.BEFORE_HEAD:{H3(this,t);break}case v.IN_HEAD:{U3(this,t);break}case v.IN_HEAD_NO_SCRIPT:{q3(this,t);break}case v.AFTER_HEAD:{Y3(this,t);break}case v.IN_BODY:{vi(this,t);break}case v.TEXT:{I6(this,t);break}case v.IN_TABLE:{tr(this,t);break}case v.IN_TABLE_TEXT:{vs(this,t);break}case v.IN_CAPTION:{U6(this,t);break}case v.IN_COLUMN_GROUP:{z6(this,t);break}case v.IN_TABLE_BODY:{ka(this,t);break}case v.IN_ROW:{Uh(this,t);break}case v.IN_CELL:{$6(this,t);break}case v.IN_SELECT:{qh(this,t);break}case v.IN_SELECT_IN_TABLE:{j6(this,t);break}case v.IN_TEMPLATE:{G6(this,t);break}case v.AFTER_BODY:{Yh(this,t);break}case v.IN_FRAMESET:{W6(this,t);break}case v.AFTER_FRAMESET:{Z6(this,t);break}case v.AFTER_AFTER_BODY:{ri(this,t);break}}}onEof(t){switch(this.insertionMode){case v.INITIAL:{Ls(this,t);break}case v.BEFORE_HTML:{$s(this,t);break}case v.BEFORE_HEAD:{Ys(this,t);break}case v.IN_HEAD:{js(this,t);break}case v.IN_HEAD_NO_SCRIPT:{Vs(this,t);break}case v.AFTER_HEAD:{Gs(this,t);break}case v.IN_BODY:case v.IN_TABLE:case v.IN_CAPTION:case v.IN_COLUMN_GROUP:case v.IN_TABLE_BODY:case v.IN_ROW:case v.IN_CELL:case v.IN_SELECT:case v.IN_SELECT_IN_TABLE:{B
8h(this,t);break}case v.TEXT:{D6(this,t);break}case v.IN_TABLE_TEXT:{vs(this,t);break}case v.IN_TEMPLATE:{$h(this,t);break}case v.AFTER_BODY:case v.IN_FRAMESET:case v.AFTER_FRAMESET:case v.AFTER_AFTER_BODY:case v.AFTER_AFTER_FRAMESET:{nu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===C.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case v.IN_HEAD:case v.IN_HEAD_NO_SCRIPT:case v.AFTER_HEAD:case v.TEXT:case v.IN_COLUMN_GROUP:case v.IN_SELECT:case v.IN_SELECT_IN_TABLE:case v.IN_FRAMESET:case v.AFTER_FRAMESET:{this._insertCharacters(t);break}case v.IN_BODY:case v.IN_CAPTION:case v.IN_CELL:case v.IN_TEMPLATE:case v.AFTER_BODY:case v.AFTER_AFTER_BODY:case v.AFTER_AFTER_FRAMESET:{Oh(this,t);break}case v.IN_TABLE:case v.IN_TABLE_BODY:case v.IN_ROW:{K0(this,t);break}case v.IN_TABLE_TEXT:{Fh(this,t);break}}}};function w3(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):Rh(e,t),n}function N3(e,t){let n=null,s=e.openElements.stackTop;for(;s>=0;s--){const r=e.openElements.items[s];if(r===t.element)break;e._isSpecialElement(r,e.openElements.tagIDs[s])&&(n=r)}return n||(e.openElements.shortenToLength(s<0?0:s),e.activeFormattingElements.removeEntry(t)),n}function I3(e,t,n){let s=t,r=e.openElements.getCommonAncestor(t);for(let i=0,c=r;c!==n;i++,c=r){r=e.openElements.getCommonAncestor(c);const l=e.activeFormattingElements.getElementEntry(c),d=l&&i>=S3;!l||d?(d&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(c)):(c=D3(e,l),s===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(s),e.treeAdapter.appendChild(c,s),s=c)}return s}function D3(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),s=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,s),t.element=s,s}function O3(e,t,n){const s=e.treeAdapter.getTagName(t),r=Mi(s);if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);r===f.TEMPLATE&&i===W.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function M3(e,t,n){const s=e.treeAdapter.getNamespaceURI(n.element),{token:r}=n,i=e.treeAdapter.createElement(r.tagName,s,r.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,r),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,r.tagID)}function tu(e,t){for(let n=0;n<k3;n++){const s=w3(e,t);if(!s)break;const r=N3(e,s);if(!r)break;e.activeFormattingElements.bookmark=s;const i=I3(e,r,s.element),c=e.openElements.getCommonAncestor(s.element);e.treeAdapter.detachNode(i),c&&O3(e,c,i),M3(e,r,s)}}function xa(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function L3(e,t){e._appendCommentNode(t,e.openElements.items[0])}function v3(e,t){e._appendCommentNode(t,e.document)}function nu(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let s=e.openElements.stackTop;s>=n;s--)e._setEndLocation(e.openElements.items[s],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const s=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(s);if(r&&!r.endTag&&(e._setEndLocation(s,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],c=e.treeAdapter.getNodeSourceCodeLocation(i);c&&!c.endTag&&e._setEndLocation(i,t)}}}}function R3(e,t){e._setDocumentType(t);const n=t.forceQuirks?Et.QUIRKS:h3(t);l3(t)||e._err(t,K.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=v.BEFORE_HTML}function Ls(e,t){e._err(t,K.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Et.QUIRKS),e.insertionMode=v.BEFORE_HTML,e._processToken(t)}function B3(e,t){t.tagID===f.HTML?(e._insertElement(t,W.HTML),e.insertionMode=v.BEFORE_HEAD):$s(e,t)}function F3(e,t){const n=t.tagID;(n===f.HTML||n===f.HEAD||n===f.BODY||n===f.BR)&&$s(e,t)}function $s(e,t){e._insertFakeRootElement(),e.insertionMode=v.BEFORE_HEAD,e._processToken(t)}function P3(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.HEAD:{e._insertElement(t,W.HTML),e.headElement=e.openElements.current,e.insertionMode=v.IN_HEAD;break}default:Ys(e,t)}}function H3(e,t){const n=t.tagID;n===f.HEAD||n===f.BODY||n===f.HTML||n===f.BR?Ys(e,t):e._err(t,K.endTagWithoutMatchingOpenElement)}function Ys(e,t){e._insertFakeElement(q.HEAD,f.HEAD),e.headElement=e.openElements.current,e.insertionMode=v.IN_HEAD,e._processToken(t)}function zt(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case f.TITLE:{e._switchToTextParsing(t,Tt.RCDATA);break}case f.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Tt.RAWTEXT):(e._insertElement(t,W.HTML),e.insertionMode=v.IN_HEAD_NO_SCRIPT);break}case f.NOFRAMES:case f.STYLE:{e._switchToTextParsing(t,Tt.RAWTEXT);break}case f.SCRIPT:{e._switchToTextParsing(t,Tt.SCRIPT_DATA);break}case f.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=v.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(v.IN_TEMPLATE);break}case f.HEAD:{e._err(t,K.misplacedStartTagForHeadElement);break}default:js(e,t)}}function U3(e,t){switch(t.tagID){case f.HEAD:{e.openElements.pop(),e.insertionMode=v.AFTER_HEAD;break}case f.BODY:case f.BR:case f.HTML:{js(e,t);break}case f.TEMPLATE:{jn(e,t);break}default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function jn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==f.TEMPLATE&&e._err(t,K.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,K.endTagWithoutMatchingOpenElement)}function js(e,t){e.openElements.pop(),e.insertionMode=v.AFTER_HEAD,e._processToken(t)}function z3(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.BASEFONT:case f.BGSOUND:case f.HEAD:case f.LINK:case f.META:case f.NOFRAMES:case f.STYLE:{zt(e,t);break}case f.NOSCRIPT:{e._err(t,K.nestedNoscriptInHead);break}default:Vs(e,t)}}function q3(e,t){switch(t.tagID){case f.NOSCRIPT:{e.openElements.pop(),e.insertionMode=v.IN_HEAD;break}case f.BR:{Vs(e,t);break}default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function Vs(e,t){const n=t.type===Ce.EOF?K.openElementsLeftAfterEof:K.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=v.IN_HEAD,e._processToken(t)}function $3(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.BODY:{e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=v.IN_BODY;break}case f.FRAMESET:{e._insertElement(t,W.HTML),e.insertionMode=v.IN_FRAMESET;break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{e._err(t,K.abandonedHeadElementChild),e.openElements.push(e.headElement,f.HEAD),zt(e,t),e.openElements.remove(e.headElement);break}case f.HEAD:{e._err(t,K.misplacedStartTagForHeadElement);break}default:Gs(e,t)}}function Y3(e,t){switch(t.tagID){case f.BODY:case f.HTML:case f.BR:{Gs(e,t);break}case f.TEMPLATE:{jn(e,t);break}default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function Gs(e,t){e._insertFakeElement(q.BODY,f.BODY),e.insertionMode=v.IN_BODY,Li(e,t)}function Li(e,t){switch(t.type){case Ce.CHARACTER:{Mh(e,t);break}case Ce.WHITESPACE_CHARACTER:{Oh(e,t);break}case Ce.COMMENT:{xa(e,t);break}case Ce.START_TAG:{ot(e,t);break}case Ce.END_TAG:{vi(e,t);break}case Ce.EOF:{Bh(e,t);break}}}function Oh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Mh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function j3(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function V3(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function G3(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();
8e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,W.HTML),e.insertionMode=v.IN_FRAMESET)}function K3(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,W.HTML)}function X3(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),Th(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,W.HTML)}function W3(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Q3(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,W.HTML),n||(e.formElement=e.openElements.current))}function Z3(e,t){e.framesetOk=!1;const n=t.tagID;for(let s=e.openElements.stackTop;s>=0;s--){const r=e.openElements.tagIDs[s];if(n===f.LI&&r===f.LI||(n===f.DD||n===f.DT)&&(r===f.DD||r===f.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==f.ADDRESS&&r!==f.DIV&&r!==f.P&&e._isSpecialElement(e.openElements.items[s],r))break}e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,W.HTML)}function J3(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.tokenizer.state=Tt.PLAINTEXT}function e6(e,t){e.openElements.hasInScope(f.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.framesetOk=!1}function t6(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(q.A);n&&(tu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function n6(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function s6(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(f.NOBR)&&(tu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function r6(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function i6(e,t){e.treeAdapter.getDocumentMode(e.document)!==Et.QUIRKS&&e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=v.IN_TABLE}function Lh(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function vh(e){const t=Eh(e,Sn.TYPE);return t!=null&&t.toLowerCase()===x3}function a6(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),vh(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function u6(e,t){e._appendElement(t,W.HTML),t.ackSelfClosing=!0}function o6(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function c6(e,t){t.tagName=q.IMG,t.tagID=f.IMG,Lh(e,t)}function l6(e,t){e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Tt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=v.TEXT}function h6(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Tt.RAWTEXT)}function f6(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Tt.RAWTEXT)}function Nc(e,t){e._switchToTextParsing(t,Tt.RAWTEXT)}function d6(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===v.IN_TABLE||e.insertionMode===v.IN_CAPTION||e.insertionMode===v.IN_TABLE_BODY||e.insertionMode===v.IN_ROW||e.insertionMode===v.IN_CELL?v.IN_SELECT_IN_TABLE:v.IN_SELECT}function m6(e,t){e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function p6(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,W.HTML)}function g6(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(f.RTC),e._insertElement(t,W.HTML)}function b6(e,t){e._reconstructActiveFormattingElements(),wh(t),eu(t),t.selfClosing?e._appendElement(t,W.MATHML):e._insertElement(t,W.MATHML),t.ackSelfClosing=!0}function E6(e,t){e._reconstructActiveFormattingElements(),Nh(t),eu(t),t.selfClosing?e._appendElement(t,W.SVG):e._insertElement(t,W.SVG),t.ackSelfClosing=!0}function Ic(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function ot(e,t){switch(t.tagID){case f.I:case f.S:case f.B:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.SMALL:case f.STRIKE:case f.STRONG:{n6(e,t);break}case f.A:{t6(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{X3(e,t);break}case f.P:case f.DL:case f.OL:case f.UL:case f.DIV:case f.DIR:case f.NAV:case f.MAIN:case f.MENU:case f.ASIDE:case f.CENT
8ER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.DETAILS:case f.ADDRESS:case f.ARTICLE:case f.SECTION:case f.SUMMARY:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{K3(e,t);break}case f.LI:case f.DD:case f.DT:{Z3(e,t);break}case f.BR:case f.IMG:case f.WBR:case f.AREA:case f.EMBED:case f.KEYGEN:{Lh(e,t);break}case f.HR:{o6(e,t);break}case f.RB:case f.RTC:{p6(e,t);break}case f.RT:case f.RP:{g6(e,t);break}case f.PRE:case f.LISTING:{W3(e,t);break}case f.XMP:{h6(e,t);break}case f.SVG:{E6(e,t);break}case f.HTML:{j3(e,t);break}case f.BASE:case f.LINK:case f.META:case f.STYLE:case f.TITLE:case f.SCRIPT:case f.BGSOUND:case f.BASEFONT:case f.TEMPLATE:{zt(e,t);break}case f.BODY:{V3(e,t);break}case f.FORM:{Q3(e,t);break}case f.NOBR:{s6(e,t);break}case f.MATH:{b6(e,t);break}case f.TABLE:{i6(e,t);break}case f.INPUT:{a6(e,t);break}case f.PARAM:case f.TRACK:case f.SOURCE:{u6(e,t);break}case f.IMAGE:{c6(e,t);break}case f.BUTTON:{e6(e,t);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{r6(e,t);break}case f.IFRAME:{f6(e,t);break}case f.SELECT:{d6(e,t);break}case f.OPTION:case f.OPTGROUP:{m6(e,t);break}case f.NOEMBED:{Nc(e,t);break}case f.FRAMESET:{G3(e,t);break}case f.TEXTAREA:{l6(e,t);break}case f.NOSCRIPT:{e.options.scriptingEnabled?Nc(e,t):Ic(e,t);break}case f.PLAINTEXT:{J3(e,t);break}case f.COL:case f.TH:case f.TD:case f.TR:case f.HEAD:case f.FRAME:case f.TBODY:case f.TFOOT:case f.THEAD:case f.CAPTION:case f.COLGROUP:break;default:Ic(e,t)}}function T6(e,t){if(e.openElements.hasInScope(f.BODY)&&(e.insertionMode=v.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function _6(e,t){e.openElements.hasInScope(f.BODY)&&(e.insertionMode=v.AFTER_BODY,Yh(e,t))}function y6(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function A6(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(f.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(f.FORM):n&&e.openElements.remove(n))}function x6(e){e.openElements.hasInButtonScope(f.P)||e._insertFakeElement(q.P,f.P),e._closePElement()}function k6(e){e.openElements.hasInListItemScope(f.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(f.LI),e.openElements.popUntilTagNamePopped(f.LI))}function S6(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function C6(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function w6(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function N6(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(q.BR,f.BR),e.openElements.pop(),e.framesetOk=!1}function Rh(e,t){const n=t.tagName,s=t.tagID;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r],c=e.openElements.tagIDs[r];if(s===c&&(s!==f.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.stackTop>=r&&e.openElements.shortenToLength(r);break}if(e._isSpecialElement(i,c))break}}function vi(e,t){switch(t.tagID){case f.A:case f.B:case f.I:case f.S:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.NOBR:case f.SMALL:case f.STRIKE:case f.STRONG:{tu(e,t);break}case f.P:{x6(e);break}case f.DL:case f.UL:case f.OL:case f.DIR:case f.DIV:case f.NAV:case f.PRE:case f.MAIN:case f.MENU:case f.ASIDE:case f.BUTTON:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.ADDRESS:case f.ARTICLE:case f.DETAILS:case f.SECTION:case f.SUMMARY:case f.LISTING:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{y6(e,t);break}case f.LI:{k6(e);break}case f.DD:case f.DT:{S6(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{C6(e);break}case f.BR:{N6(e);break}case f.BODY:{T6(e,t);break}case f.HTML:{_6(e,t);break}case f.FORM:{A6(e);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{w6(e,t);break}case f.TEMPLATE:{jn(e,t);break}default:Rh(e,t)}}function Bh(e,t){e.tmplInsertionModeStack.length>0?$h(e,t):nu(e,t)}function I6(e,t){var n;t.tagID===f.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function D6(e,t){e._err(t,K.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function K0(e,t){if(Ih.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=v.IN_TABLE_TEXT,t.type){case Ce.CHARACTER:{Ph(e,t);break}case Ce.WHITESPACE_CHARACTER:{Fh(e,t);break}}else hr(e,t)}function O6(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,W.HTML),e.insertionMode=v.IN_CAPTION}function M6(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=v.IN_COLUMN_GROUP}function L6(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.COLGROUP,f.COLGROUP),e.insertionMode=v.IN_COLUMN_GROUP,su(e,t)}function v6(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=v.IN_TABLE_BODY}function R6(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.TBODY,f.TBODY),e.insertionMode=v.IN_TABLE_BODY,Ri(e,t)}function B6(e,t){e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function F6(e,t){vh(t)?e._appendElement(t,W.HTML):hr(e,t),t.ackSelfClosing=!0}function P6(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,W.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function fs(e,t){switch(t.tagID){case f.TD:case f.TH:case f.TR:{R6(e,t);break}case f.STYLE:case f.SCRIPT:case f.TEMPLATE:{zt(e,t);break}case f.COL:{L6(e,t);break}case f.FORM:{P6(e,t);break}case f.TABLE:{B6(e,t);break}case f.TBODY:case f.TFOOT:case f.THEAD:{v6(e,t);break}case f.INPUT:{F6(e,t);break}case f.CAPTION:{O6(e,t);break}case f.COLGROUP:{M6(e,t);break}default:hr(e,t)}}function tr(e,t){switch(t.tagID){case f.TABLE:{e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode());break}case f.TEMPLATE:{jn(e,t);break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:hr(e,t)}}function hr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Li(e,t),e.fosterParentingEnabled=n}
8function Fh(e,t){e.pendingCharacterTokens.push(t)}function Ph(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function vs(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)hr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Hh=new Set([f.CAPTION,f.COL,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]);function H6(e,t){const n=t.tagID;Hh.has(n)?e.openElements.hasInTableScope(f.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=v.IN_TABLE,fs(e,t)):ot(e,t)}function U6(e,t){const n=t.tagID;switch(n){case f.CAPTION:case f.TABLE:{e.openElements.hasInTableScope(f.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=v.IN_TABLE,n===f.TABLE&&tr(e,t));break}case f.BODY:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:vi(e,t)}}function su(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.COL:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case f.TEMPLATE:{zt(e,t);break}default:bi(e,t)}}function z6(e,t){switch(t.tagID){case f.COLGROUP:{e.openElements.currentTagId===f.COLGROUP&&(e.openElements.pop(),e.insertionMode=v.IN_TABLE);break}case f.TEMPLATE:{jn(e,t);break}case f.COL:break;default:bi(e,t)}}function bi(e,t){e.openElements.currentTagId===f.COLGROUP&&(e.openElements.pop(),e.insertionMode=v.IN_TABLE,e._processToken(t))}function Ri(e,t){switch(t.tagID){case f.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,W.HTML),e.insertionMode=v.IN_ROW;break}case f.TH:case f.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(q.TR,f.TR),e.insertionMode=v.IN_ROW,Bi(e,t);break}case f.CAPTION:case f.COL:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE,fs(e,t));break}default:fs(e,t)}}function ka(e,t){const n=t.tagID;switch(t.tagID){case f.TBODY:case f.TFOOT:case f.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE);break}case f.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE,tr(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TD:case f.TH:case f.TR:break;default:tr(e,t)}}function Bi(e,t){switch(t.tagID){case f.TH:case f.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,W.HTML),e.insertionMode=v.IN_CELL,e.activeFormattingElements.insertMarker();break}case f.CAPTION:case f.COL:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE_BODY,Ri(e,t));break}default:fs(e,t)}}function Uh(e,t){switch(t.tagID){case f.TR:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE_BODY);break}case f.TABLE:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE_BODY,ka(e,t));break}case f.TBODY:case f.TFOOT:case f.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(f.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=v.IN_TABLE_BODY,ka(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TD:case f.TH:break;default:tr(e,t)}}function q6(e,t){const n=t.tagID;Hh.has(n)?(e.openElements.hasInTableScope(f.TD)||e.openElements.hasInTableScope(f.TH))&&(e._closeTableCell(),Bi(e,t)):ot(e,t)}function $6(e,t){const n=t.tagID;switch(n){case f.TD:case f.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=v.IN_ROW);break}case f.TABLE:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Uh(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:break;default:vi(e,t)}}function zh(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._insertElement(t,W.HTML);break}case f.OPTGROUP:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop(),e._insertElement(t,W.HTML);break}case f.INPUT:case f.KEYGEN:case f.TEXTAREA:case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),t.tagID!==f.SELECT&&e._processStartTag(t));break}case f.SCRIPT:case f.TEMPLATE:{zt(e,t);break}}}function qh(e,t){switch(t.tagID){case f.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===f.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===f.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop();break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop();break}case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode());break}case f.TEMPLATE:{jn(e,t);break}}}function Y6(e,t){const n=t.tagID;n===f.CAPTION||n===f.TABLE||n===f.TBODY||n===f.TFOOT||n===f.THEAD||n===f.TR||n===f.TD||n===f.TH?(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e._processStartTag(t)):zh(e,t)}function j6(e,t){const n=t.tagID;n===f.CAPTION||n===f.TABLE||n===f.TBODY||n===f.TFOOT||n===f.THEAD||n===f.TR||n===f.TD||n===f.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e.onEndTag(t)):qh(e,t)}function V6(e,t){switch(t.tagID){case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{zt(e,t);break}case f.CAPTION:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.tmplInsertionModeStack[0]=v.IN_TABLE,e.insertionMode=v.IN_TABLE,fs(e,t);break}case f.COL:{e.tmplInsertionModeStack[0]=v.IN_COLUMN_GROUP,e.insertionMode=v.IN_COLUMN_GROUP,su(e,t);break}case f.TR:{e.tmplInsertionModeStack[0]=v.IN_TABLE_BODY,e.insertionMode=v.IN_TABLE_BODY,Ri(e,t);break}case f.TD:case f.TH:{e.tmplInsertionModeStack[0]=v.IN_ROW,e.insertionMode=v.IN_ROW,Bi(e,t);break}default:e.tmplInsertionModeStack[0]=v.IN_BODY,e.insertionMode=v.IN_BODY,ot(e,t)}}function G6(e,t){t.tagID===f.TEMPLATE&&jn(e,t)}function $h(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):nu(e,t)}function K6(e,t){t.tagID===f.HTML?ot(e,t):Ei(e,t)}function Yh(e,t){var n;if(t.tagID===f.HTML){if(e.fragmentContext||(e.insertionMode=v.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===f.HTML){e._setEndLocation(e.openElements.items[0],t);const s=e.openElements.items[1];s&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(s))===null||n===void 0)&&n.endTag)&&e._setEndLocation(s,t)}}else Ei(e,t)}function Ei(e,t){e.insertionMode=v.IN_BODY,Li(e,t)}function X6(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.FRAMESET:{e._insertElement(t,W.HTML);break}case f.FRAME:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case f.NOFRAMES:{zt(e,t);break}}}function W6(e,t){t.tagID===f.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==f.FRAMESET&&(e.insertionMode=v.AFTER_FRAMESET))}function Q6(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.NOFRAMES:{zt(e,t);break}}}function Z6(e,t){t.tagID===f.HTML&&(e.insertionMode=v.AFTER_AFTER_FRAMESET)}function J6(e,t){t.tagID===f.HTML?ot(e,t):ri(e,t)}function ri(e,t){e.insertionMode=v.IN_BODY,Li(e,t)}function e5(e,t){switch(t.tagID){case f.HTML:{ot(e,t);break}case f.NOFRAMES:{zt(e,t);break}}}function t5(e,t){t.chars=$e,e._insertCharacters(t)}function n5(e,t){e._insertCharacters(t),e.framesetOk=!1}function jh(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==W.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
8penElements.current);)e.openElements.pop()}function s5(e,t){if(E3(t))jh(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),s=e.treeAdapter.getNamespaceURI(n);s===W.MATHML?wh(t):s===W.SVG&&(T3(t),Nh(t)),eu(t),t.selfClosing?e._appendElement(t,s):e._insertElement(t,s),t.ackSelfClosing=!0}}function r5(e,t){if(t.tagID===f.P||t.tagID===f.BR){jh(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const s=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(s)===W.HTML){e._endTagOutsideForeignContent(t);break}const r=e.treeAdapter.getTagName(s);if(r.toLowerCase()===t.tagName){t.tagName=r,e.openElements.shortenToLength(n);break}}}const i5=new Set([q.AREA,q.BASE,q.BASEFONT,q.BGSOUND,q.BR,q.COL,q.EMBED,q.FRAME,q.HR,q.IMG,q.INPUT,q.KEYGEN,q.LINK,q.META,q.PARAM,q.SOURCE,q.TRACK,q.WBR]);function a5(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.getNamespaceURI(e)===W.HTML&&i5.has(t.treeAdapter.getTagName(e))}const u5={treeAdapter:Bn,scriptingEnabled:!0};function o5(e,t){const n={...u5,...t};return Vh(e,n)}function c5(e,t){let n="";const s=t.treeAdapter.isElementNode(e)&&t.treeAdapter.getTagName(e)===q.TEMPLATE&&t.treeAdapter.getNamespaceURI(e)===W.HTML?t.treeAdapter.getTemplateContent(e):e,r=t.treeAdapter.getChildNodes(s);if(r)for(const i of r)n+=Vh(i,t);return n}function Vh(e,t){return t.treeAdapter.isElementNode(e)?l5(e,t):t.treeAdapter.isTextNode(e)?f5(e,t):t.treeAdapter.isCommentNode(e)?d5(e,t):t.treeAdapter.isDocumentTypeNode(e)?m5(e,t):""}function l5(e,t){const n=t.treeAdapter.getTagName(e);return`<${n}${h5(e,t)}>${a5(e,t)?"":`${c5(e,t)}</${n}>`}`}function h5(e,{treeAdapter:t}){let n="";for(const s of t.getAttrList(e)){if(n+=" ",!s.namespace)n+=s.name;else switch(s.namespace){case W.XML:{n+=`xml:${s.name}`;break}case W.XMLNS:{s.name!=="xmlns"&&(n+="xmlns:"),n+=s.name;break}case W.XLINK:{n+=`xlink:${s.name}`;break}default:n+=`${s.prefix}:${s.name}`}n+=`="${vl(s.value)}"`}return n}function f5(e,t){const{treeAdapter:n}=t,s=n.getTextNodeContent(e),r=n.getParentNode(e),i=r&&n.isElementNode(r)&&n.getTagName(r);return i&&n.getNamespaceURI(r)===W.HTML&&V4(i,t.scriptingEnabled)?s:Rl(s)}function d5(e,{treeAdapter:t}){return`<!--${t.getCommentNodeContent(e)}-->`}function m5(e,{treeAdapter:t}){return`<!DOCTYPE ${t.getDocumentTypeNodeName(e)}>`}function p5(e,t){return Dh.parse(e,t)}function g5(e,t,n){typeof e=="string"&&(n=t,t=e,e=null);const s=Dh.getFragmentParser(e,n);return s.tokenizer.write(t,!0),s.getFragment()}function Dc(e){return new Ws(e)}function Oc(e){const t=e.includes('"')?"'":'"';return t+e+t}function b5(e,t,n){let s="!DOCTYPE ";return e&&(s+=e),t?s+=` PUBLIC ${Oc(t)}`:n&&(s+=" SYSTEM"),n&&(s+=` ${Oc(n)}`),s}const ss={isCommentNode:wi,isElementNode:be,isTextNode:Jt,createDocument(){const e=new Un([]);return e["x-mode"]=Et.NO_QUIRKS,e},createDocumentFragment(){return new Un([])},createElement(e,t,n){const s=Object.create(null),r=Object.create(null),i=Object.create(null);for(let l=0;l<n.length;l++){const d=n[l].name;s[d]=n[l].value,r[d]=n[l].namespace,i[d]=n[l].prefix}const c=new za(e,s,[]);return c.namespace=t,c["x-attribsNamespace"]=r,c["x-attribsPrefix"]=i,c},createCommentNode(e){return new Pa(e)},appendChild(e,t){const 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){const s=e.children.indexOf(n),{prev:r}=n;r&&(r.next=t,t.prev=r),n.prev=t,t.next=n,e.children.splice(s,0,t),t.parent=e},setTemplateContent(e,t){ss.appendChild(e,t)},getTemplateContent(e){return e.children[0]},setDocumentType(e,t,n,s){const r=b5(t,n,s);let i=e.children.find(c=>fa(c)&&c.name==="!doctype");i?i.data=r??null:(i=new Ha("!doctype",r),ss.appendChild(e,i)),i["x-name"]=t??void 0,i["x-publicId"]=n??void 0,i["x-systemId"]=s??void 0},setDocumentMode(e,t){e["x-mode"]=t},getDocumentMode(e){return e["x-mode"]},detachNode(e){if(e.parent){const t=e.parent.children.indexOf(e),{prev:n,next:s}=e;e.prev=null,e.next=null,n&&(n.next=s),s&&(s.prev=n),e.parent.children.splice(t,1),e.parent=null}},insertText(e,t){const n=e.children[e.children.length-1];n&&Jt(n)?n.data+=t:ss.appendChild(e,Dc(t))},insertTextBefore(e,t,n){const s=e.children[e.children.indexOf(n)-1];s&&Jt(s)?s.data+=t:ss.insertBefore(e,Dc(t),n)},adoptAttributes(e,t){for(let n=0;n<t.length;n++){const s=t[n].name;typeof e.attribs[s]>"u"&&(e.attribs[s]=t[n].value,e["x-attribsNamespace"][s]=t[n].namespace,e["x-attribsPrefix"][s]=t[n].prefix)}},getFirstChild(e){return e.children[0]},getChildNodes(e){return e.children},getParentNode(e){return e.parent},getAttrList(e){return e.attributes},getTagName(e){return e.name},getNamespaceURI(e){return e.namespace},getTextNodeContent(e){return e.data},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){var t;return(t=e["x-name"])!==null&&t!==void 0?t:""},getDocumentTypeNodePublicId(e){var t;return(t=e["x-publicId"])!==null&&t!==void 0?t:""},getDocumentTypeNodeSystemId(e){var t;return(t=e["x-systemId"])!==null&&t!==void 0?t:""},isDocumentTypeNode(e){return fa(e)&&e.name==="!doctype"},setNodeSourceCodeLocation(e,t){t&&(e.startIndex=t.startOffset,e.endIndex=t.endOffset),e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){t.endOffset!=null&&(e.endIndex=t.endOffset),e.sourceCodeLocation={...e.sourceCodeLocation,...t}}};function E5(e,t,n,s){var r;return(r=t.treeAdapter)!==null&&r!==void 0||(t.treeAdapter=ss),t.scriptingEnabled!==!1&&(t.scriptingEnabled=!0),n?p5(e,t):g5(s,e,t)}const T5={treeAdapter:ss};function _5(e){const t="length"in e?e:[e];for(let s=0;s<t.length;s+=1){const r=t[s];Nn(r)&&Array.prototype.splice.call(t,s,1,...r.children)}let n="";for(let s=0;s<t.length;s+=1){const r=t[s];n+=o5(r,T5)}return n}var me;(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"})(me||(me={}));var te;(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.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(te||(te={}));function fn(e){return e===me.Space||e===me.NewLine||e===me.Tab||e===me.FormFeed||e===me.CarriageReturn}function Kr(e){return e===me.Slash||e===me.Gt||fn(e)}function y5(e){return e>
8=me.LowerA&&e<=me.LowerZ||e>=me.UpperA&&e<=me.UpperZ}var Xt;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Xt||(Xt={}));const ut={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]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class A5{constructor({xmlMode:t=!1,decodeEntities:n=!0},s){this.cbs=s,this.state=te.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=te.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=n,this.entityDecoder=new Nl(t?wl:dn,(r,i)=>this.emitCodePoint(r,i))}reset(){this.state=te.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=te.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===me.Lt||!this.decodeEntities&&this.fastForwardTo(me.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=te.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===me.Amp&&this.startEntity()}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Kr(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=te.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===me.Gt||fn(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===ut.TitleEnd?this.decodeEntities&&t===me.Amp&&this.startEntity():this.fastForwardTo(me.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===me.Lt)}stateCDATASequence(t){t===ut.Cdata[this.sequenceIndex]?++this.sequenceIndex===ut.Cdata.length&&(this.state=te.InCommentLike,this.currentSequence=ut.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=te.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===ut.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=te.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!Kr(t):y5(t)}startSpecial(t,n){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=n,this.state=te.SpecialStartSequence}stateBeforeTagName(t){if(t===me.ExclamationMark)this.state=te.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===me.Questionmark)this.state=te.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const n=t|32;this.sectionStart=this.index,this.xmlMode?this.state=te.InTagName:n===ut.ScriptEnd[2]?this.state=te.BeforeSpecialS:n===ut.TitleEnd[2]?this.state=te.BeforeSpecialT:this.state=te.InTagName}else t===me.Slash?this.state=te.BeforeClosingTagName:(this.state=te.Text,this.stateText(t))}stateInTagName(t){Kr(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){fn(t)||(t===me.Gt?this.state=te.Text:(this.state=this.isTagStartChar(t)?te.InClosingTagName:te.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===me.Gt||fn(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=te.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===me.Gt||this.fastForwardTo(me.Gt))&&(this.state=te.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===me.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=te.InSpecialTag,this.sequenceIndex=0):this.state=te.Text,this.sectionStart=this.index+1):t===me.Slash?this.state=te.InSelfClosingTag:fn(t)||(this.state=te.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===me.Gt?(this.cbs.onselfclosingtag(this.index),this.state=te.Text,this.sectionStart=this.index+1,this.isSpecial=!1):fn(t)||(this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===me.Eq||Kr(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=te.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===me.Eq?this.state=te.BeforeAttributeValue:t===me.Slash||t===me.Gt?(this.cbs.onattribend(Xt.NoValue,this.sectionStart),this.sectionStart=-1,this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(t)):fn(t)||(this.cbs.onattribend(Xt.NoValue,this.sectionStart),this.state=te.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===me.DoubleQuote?(this.state=te.InAttributeValueDq,this.sectionStart=this.index+1):t===me.SingleQuote?(this.state=te.InAttributeValueSq,this.sectionStart=this.index+1):fn(t)||(this.sectionStart=this.index,this.state=te.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,n){t===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===me.DoubleQuote?Xt.Double:Xt.Single,this.index+1),this.state=te.BeforeAttributeName):this.decodeEntities&&t===me.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,me.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,me.SingleQuote)}stateInAttributeValueNoQuotes(t){fn(t)||t===me.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Xt.Unquoted,this.index),this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===me.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===me.OpeningSquareBracket?(this.state=te.CDATASequence,this.sequenceIndex=0):this.state=t===me.Dash?te.BeforeComment:te.InDeclaration}stateInDeclaration(t){(t===me.Gt||this.fastForwardTo(me.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=te.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===me.Gt||this.fastForwardTo(me.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=te.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===me.Dash?(this.state=te.InCommentLike,this.currentSequence=ut.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=te.InDeclaration}stateInSpecialComment(t){(t===me.Gt||this.fastForwardTo(me.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=te.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const n=t|32;n===ut.ScriptEnd[3]?this.startSpecial(ut.ScriptEnd,4):n===ut.StyleEnd[3]?this.startSpecial(ut.StyleEnd,4):(this.state=te.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){const n=t|32;n===ut.TitleEnd[3]?this.startSpecial(ut.TitleEnd,4):n===ut.TextareaEnd[3]?this.startSpecial(ut.TextareaEnd,4):(this.state=te.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=te.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Ut.Strict:this.baseState===te.Text||this.baseState===te.InSpecialTag?Ut.Legacy:Ut.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===te.Text||this.state===te.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===te.InAttributeValueDq||this.state===te.InAttributeValueSq||this.state===te.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();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case te.Text:{this.stateText(t);break}case te.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case te.InSpecialTag:{this.stateInSpecialTag(t);break}case te.CDATASequence:{this.stateCDATASequence(t);break}case te.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case te.InAttributeName:{this.stateInAttributeName(t);break}case te.InCommentLike:{this.stateInCommentLike(t);break}case te.InSpecialComment:{this.stateInSpecialComment(t);break}case te.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case te.InTagName:{this.stateInTagName(t);break}case te.InClosingTagName:{this.stateInClosingTagName(t);break}case te.BeforeTagName:{this.stateBeforeTagName(t);break}case te.AfterAttributeName:{this.stateAfterAttributeName(t);break}case te.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case te.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case te.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case te.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case te.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case te.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case te.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case te.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case te.InDeclaration:{this.stateInDeclaration(t);break}case te.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case te.BeforeComment:{this.stateBeforeComment(t);break}case te.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case te.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===te.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===te.InCommentLike?this.currentSequence===ut.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===te.InTagName||this.state===te.BeforeAttributeName||this.state===te.BeforeAttributeValue||this.state===te.AfterAttributeName||this.state===te.InAttributeName||this.state===te.InAttributeValueSq||this.state===te.InAttributeValueDq||this.state===te.InAttributeValueNq||this.state===te.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){this.baseState!==te.Text&&this.baseState!==te.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const Qn=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Le=new Set(["p"]),Mc=new Set(["thead","tbody"]),Lc=new Set(["dd","dt"]),vc=new Set(["rt","rp"]),x5=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",Le],["h1",Le],["h2",Le],["h3",Le],["h4",Le],["h5",Le],["h6",
8Le],["select",Qn],["input",Qn],["output",Qn],["button",Qn],["datalist",Qn],["textarea",Qn],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Lc],["dt",Lc],["address",Le],["article",Le],["aside",Le],["blockquote",Le],["details",Le],["div",Le],["dl",Le],["fieldset",Le],["figcaption",Le],["figure",Le],["footer",Le],["form",Le],["header",Le],["hr",Le],["main",Le],["nav",Le],["ol",Le],["pre",Le],["section",Le],["table",Le],["ul",Le],["rt",vc],["rp",vc],["tbody",Mc],["tfoot",Mc]]),k5=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Rc=new Set(["math","svg"]),Bc=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),S5=/\s|\//;let C5=class{constructor(t,n={}){var s,r,i,c,l,d;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(s=n.lowerCaseTags)!==null&&s!==void 0?s:this.htmlMode,this.lowerCaseAttributeNames=(r=n.lowerCaseAttributeNames)!==null&&r!==void 0?r:this.htmlMode,this.recognizeSelfClosing=(i=n.recognizeSelfClosing)!==null&&i!==void 0?i:!this.htmlMode,this.tokenizer=new((c=n.Tokenizer)!==null&&c!==void 0?c:A5)(this.options,this),this.foreignContext=[!this.htmlMode],(d=(l=this.cbs).onparserinit)===null||d===void 0||d.call(l,this)}ontext(t,n){var s,r;const i=this.getSlice(t,n);this.endIndex=n-1,(r=(s=this.cbs).ontext)===null||r===void 0||r.call(s,i),this.startIndex=n}ontextentity(t,n){var s,r;this.endIndex=n-1,(r=(s=this.cbs).ontext)===null||r===void 0||r.call(s,da(t)),this.startIndex=n}isVoidElement(t){return this.htmlMode&&k5.has(t)}onopentagname(t,n){this.endIndex=n;let s=this.getSlice(t,n);this.lowerCaseTagNames&&(s=s.toLowerCase()),this.emitOpenTag(s)}emitOpenTag(t){var n,s,r,i;this.openTagStart=this.startIndex,this.tagname=t;const c=this.htmlMode&&x5.get(t);if(c)for(;this.stack.length>0&&c.has(this.stack[0]);){const l=this.stack.shift();(s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,l,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(Rc.has(t)?this.foreignContext.unshift(!0):Bc.has(t)&&this.foreignContext.unshift(!1))),(i=(r=this.cbs).onopentagname)===null||i===void 0||i.call(r,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var n,s;this.startIndex=this.openTagStart,this.attribs&&((s=(n=this.cbs).onopentag)===null||s===void 0||s.call(n,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,n){var s,r,i,c,l,d,g,_;this.endIndex=n;let A=this.getSlice(t,n);if(this.lowerCaseTagNames&&(A=A.toLowerCase()),this.htmlMode&&(Rc.has(A)||Bc.has(A))&&this.foreignContext.shift(),this.isVoidElement(A))this.htmlMode&&A==="br"&&((c=(i=this.cbs).onopentagname)===null||c===void 0||c.call(i,"br"),(d=(l=this.cbs).onopentag)===null||d===void 0||d.call(l,"br",{},!0),(_=(g=this.cbs).onclosetag)===null||_===void 0||_.call(g,"br",!1));else{const N=this.stack.indexOf(A);if(N!==-1)for(let O=0;O<=N;O++){const x=this.stack.shift();(r=(s=this.cbs).onclosetag)===null||r===void 0||r.call(s,x,O!==N)}else this.htmlMode&&A==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var n,s;const r=this.tagname;this.endOpenTag(t),this.stack[0]===r&&((s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,r,!t),this.stack.shift())}onattribname(t,n){this.startIndex=t;const s=this.getSlice(t,n);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(t,n){this.attribvalue+=this.getSlice(t,n)}onattribentity(t){this.attribvalue+=da(t)}onattribend(t,n){var s,r;this.endIndex=n,(r=(s=this.cbs).onattribute)===null||r===void 0||r.call(s,this.attribname,this.attribvalue,t===Xt.Double?'"':t===Xt.Single?"'":t===Xt.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const n=t.search(S5);let s=n<0?t:t.substr(0,n);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(t,n){this.endIndex=n;const s=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${r}`,`!${s}`)}this.startIndex=n+1}onprocessinginstruction(t,n){this.endIndex=n;const s=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${r}`,`?${s}`)}this.startIndex=n+1}oncomment(t,n,s){var r,i,c,l;this.endIndex=n,(i=(r=this.cbs).oncomment)===null||i===void 0||i.call(r,this.get
8Slice(t,n-s)),(l=(c=this.cbs).oncommentend)===null||l===void 0||l.call(c),this.startIndex=n+1}oncdata(t,n,s){var r,i,c,l,d,g,_,A,N,O;this.endIndex=n;const x=this.getSlice(t,n-s);!this.htmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)===null||i===void 0||i.call(r),(l=(c=this.cbs).ontext)===null||l===void 0||l.call(c,x),(g=(d=this.cbs).oncdataend)===null||g===void 0||g.call(d)):((A=(_=this.cbs).oncomment)===null||A===void 0||A.call(_,`[CDATA[${x}]]`),(O=(N=this.cbs).oncommentend)===null||O===void 0||O.call(N)),this.startIndex=n+1}onend(){var t,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let s=0;s<this.stack.length;s++)this.cbs.onclosetag(this.stack[s],!0)}(n=(t=this.cbs).onend)===null||n===void 0||n.call(t)}reset(){var t,n,s,r;(n=(t=this.cbs).onreset)===null||n===void 0||n.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(s=this.cbs).onparserinit)===null||r===void 0||r.call(s,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,n){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(t-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,n-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var n,s;if(this.ended){(s=(n=this.cbs).onerror)===null||s===void 0||s.call(n,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var n,s;if(this.ended){(s=(n=this.cbs).onerror)===null||s===void 0||s.call(n,new Error(".end() after done!"));return}t&&this.write(t),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(t){this.write(t)}done(t){this.end(t)}};function w5(e,t){const n=new Rm(void 0,t);return new C5(n,t).end(e),n.root}const N5=s4((e,t,n,s)=>t._useHtmlParser2?w5(e,t):E5(e,t,n,s)),I5=B4(N5,(e,t)=>t._useHtmlParser2?Ni(e,t):_5(e)),D5={"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})=>{const n=e.children().filter("ul,ol");let s;if(e.contents().first().is("div,p"))s=t(e.children().first());else{let r=e.contents();const i=r.index(n);i>=0&&(r=r.slice(0,i)),s=t(r)}return{queue:n,nesting:!0,...s}},"table,pre,p>img:only-child":({$node:e,getContent:t})=>({...t(e)})},O5={selector:"h1,h2,h3,h4,h5,h6,ul,ol,li,table,pre,p>img:only-child",selectorRules:D5},Fc="markmap: ",M5=/^h[1-6]$/,L5=/^[uo]l$/,v5=/^li$/;function R5(e){return M5.test(e)?+e[1]:L5.test(e)?8:v5.test(e)?9:7}function B5(e,t){const n={...O5,...t},s=I5(e),r=s("body");let i=0;const c={id:i,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},l=[];let d=0;return O(r.children()),c;function g(x){var D;const{parent:F}=x,B={id:++i,tag:x.tagName,level:x.level,html:x.html,childrenLevel:0,children:x.nesting?[]:void 0,parent:F.id};return(D=x.comments)!=null&&D.length&&(B.comments=x.comments),Object.keys(x.data||{}).length&&(B.data=x.data),F.children&&((F.childrenLevel===0||F.childrenLevel>B.level)&&(F.children=[],F.childrenLevel=B.level),F.childrenLevel===B.level&&F.children.push(B)),B}function _(x){let D;for(;(D=l[l.length-1])&&D.level>=x;)l.pop();return D||c}function A(x){var D;const F=N(x),B=(D=s.html(F.$node))==null?void 0:D.trimEnd();return{comments:F.comments,html:B}}function N(x){const D=[];return x=x.filter((F,B)=>{if(B.type==="comment"){const $=B.data.trim();if($.startsWith(Fc))return D.push($.slice(Fc.length).trim()),!1}return!0}),{$node:x,comments:D}}function O(x,D){x.each((F,B)=>{var $;const j=s(B),G=($=Object.entries(n.selectorRules).find(([he])=>j.is(he)))==null?void 0:$[1],X=G?.({$node:j,$:s,getContent:A});if(X?.queue&&!X.nesting){O(X.queue,D);return}const Q=R5(B.tagName);if(!X){Q<=6&&(d=Q);return}if(d>0&&Q>d||!j.is(n.selector))return;d=0;const re=Q<=6;let Z={...j.closest("p").data(),...j.data()},ce=X.html||"";if(j.is("ol>li")&&D?.children){const fe=+(j.parent().attr("start")||1)+D.children.length;ce=`${fe}. ${ce}`,Z={...Z,listIndex:fe}}const ye=g({parent:D||_(Q),nesting:!!X.queue||re,tagName:B.tagName,level:Q,html:ce,comments:X.comments,data:Z});re&&l.push(ye),X.queue&&O(X.queue,ye)})}}function F5(e){return Fs(e,(t,n)=>{const s={content:t.html,children:n()||[]};return t.data&&(s.payload={tag:t.tag,...t.data}),t.comments&&(t.comments.includes("foldAll")?s.payload={...s.payload,fold:2}:t.comments.includes("fold")&&(s.payload={...s.payload,fold:1})),s})}function P5(e,t){const n=B5(e,t);return F5(n)}const Pc={};function H5(e){let t=Pc[e];if(t)return t;t=Pc[e]=[];for(let n=0;n<128;n++){const s=String.fromCharCode(n);t.push(s)}for(let n=0;n<e.length;n++){const s=e.charCodeAt(n);t[s]="%"+("0"+s.toString(16).toUpperCase()).slice(-2)}return t}function ds(e,t){typeof t!="string"&&(t=ds.defaultChars);const n=H5(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(s){let r="";for(let i=0,c=s.length;i<c;i+=3){const l=parseInt(s.slice(i+1,i+3),16);if(l<128){r+=n[l];continue}if((l&224)===192&&i+3<c){const d=parseInt(s.slice(i+4,i+6),16);if((d&192)===128){const g=l<<6&1984|d&63;g<128?r+="��":r+=String.fromCharCode(g),i+=3;continue}}if((l&240)===224&&i+6<c){const d=parseInt(s.slice(i+4,i+6),16),g=parseInt(s.slice(i+7,i+9),16);if((d&192)===128&&(g&192)===128){const _=l<<12&61440|d<<6&4032|g&63;_<2048||_>=55296&&_<=57343?r+="���":r+=String.fromCharCode(_),i+=6;continue}}if((l&248)===240&&i+9<c){const d=parseInt(s.slice(i+4,i+6),16),g=parseInt(s.slice(i+7,i+9),16),_=parseInt(s.slice(i+10,i+12),
816);if((d&192)===128&&(g&192)===128&&(_&192)===128){let A=l<<18&1835008|d<<12&258048|g<<6&4032|_&63;A<65536||A>1114111?r+="����":(A-=65536,r+=String.fromCharCode(55296+(A>>10),56320+(A&1023))),i+=9;continue}}r+="�"}return r})}ds.defaultChars=";/?:@&=+$,#";ds.componentChars="";const Hc={};function U5(e){let t=Hc[e];if(t)return t;t=Hc[e]=[];for(let n=0;n<128;n++){const s=String.fromCharCode(n);/^[0-9a-z]$/i.test(s)?t.push(s):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function fr(e,t,n){typeof t!="string"&&(n=t,t=fr.defaultChars),typeof n>"u"&&(n=!0);const s=U5(t);let r="";for(let i=0,c=e.length;i<c;i++){const l=e.charCodeAt(i);if(n&&l===37&&i+2<c&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(l<128){r+=s[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<c){const d=e.charCodeAt(i+1);if(d>=56320&&d<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}fr.defaultChars=";/?:@&=+$,-_.!~*'()#";fr.componentChars="-_.!~*'()";function ru(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Ti(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const z5=/^([a-z0-9.+-]+:)/i,q5=/:[0-9]*$/,$5=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Y5=["<",">",'"',"`"," ","\r",` 9`," "],j5=["{","}","|","\\","^","`"].concat(Y5),V5=["'"].concat(j5),Uc=["%","/","?",";","#"].concat(V5),zc=["/","?","#"],G5=255,qc=/^[+a-z0-9A-Z_-]{0,63}$/,K5=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$c={javascript:!0,"javascript:":!0},Yc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function iu(e,t){if(e&&e instanceof Ti)return e;const n=new Ti;return n.parse(e,t),n}Ti.prototype.parse=function(e,t){let n,s,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const g=$5.exec(i);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}let c=z5.exec(i);if(c&&(c=c[0],n=c.toLowerCase(),this.protocol=c,i=i.substr(c.length)),(t||c||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(c&&$c[c])&&(i=i.substr(2),this.slashes=!0)),!$c[c]&&(r||c&&!Yc[c])){let g=-1;for(let x=0;x<zc.length;x++)s=i.indexOf(zc[x]),s!==-1&&(g===-1||s<g)&&(g=s);let _,A;g===-1?A=i.lastIndexOf("@"):A=i.lastIndexOf("@",g),A!==-1&&(_=i.slice(0,A),i=i.slice(A+1),this.auth=_),g=-1;for(let x=0;x<Uc.length;x++)s=i.indexOf(Uc[x]),s!==-1&&(g===-1||s<g)&&(g=s);g===-1&&(g=i.length),i[g-1]===":"&&g--;const N=i.slice(0,g);i=i.slice(g),this.parseHost(N),this.hostname=this.hostname||"";const O=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!O){const x=this.hostname.split(/\./);for(let D=0,F=x.length;D<F;D++){const B=x[D];if(B&&!B.match(qc)){let $="";for(let j=0,G=B.length;j<G;
9j++)B.charCodeAt(j)>127?$+="x":$+=B[j];if(!$.match(qc)){const j=x.slice(0,D),G=x.slice(D+1),X=B.match(K5);X&&(j.push(X[1]),G.unshift(X[2])),G.length&&(i=G.join(".")+i),this.hostname=j.join(".");break}}}}this.hostname.length>G5&&(this.hostname=""),O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");l!==-1&&(this.hash=i.substr(l),i=i.slice(0,l));const d=i.indexOf("?");return d!==-1&&(this.search=i.substr(d),i=i.slice(0,d)),i&&(this.pathname=i),Yc[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ti.prototype.parseHost=function(e){let t=q5.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const X5=Object.freeze(Object.defineProperty({__proto__:null,decode:ds,encode:fr,format:ru,parse:iu},Symbol.toStringTag,{value:"Module"})),Gh=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Kh=/[\0-\x1F\x7F-\x9F]/,W5=/[\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]/,au=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Xh=/[\$\+<->\^`\|~\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
9F3F|\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]/,Wh=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Q5=Object.freeze(Object.defineProperty({__proto__:null,Any:Gh,Cc:Kh,Cf:W5,P:au,S:Xh,Z:Wh},Symbol.toStringTag,{value:"Module"}));function Z5(e){return Object.prototype.toString.call(e)}function uu(e){return Z5(e)==="[object String]"}const J5=Object.prototype.hasOwnProperty;function eg(e,t){return J5.call(e,t)}function Fi(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(s){e[s]=n[s]})}}),e}function Qh(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ou(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function _i(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Zh=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,tg=/&([a-z#][a-z0-9]{1,31});/gi,ng=new RegExp(Zh.source+"|"+tg.source,"gi"),sg=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function rg(e,t){if(t.charCodeAt(0)===35&&sg.test(t)){const s=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ou(s)?_i(s):e}const n=Ol(e);return n!==e?n:e}function ig(e){return e.indexOf("\\")<0?e:e.replace(Zh,"$1")}function ms(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(ng,function(t,n,s){return n||rg(t,s)})}const ag=/[&<>"]/,ug=/[&<>"]/g,og={"&":"&","<":"<",">":">",'"':"""};function cg(e){return og[e]}function wn(e){return ag.test(e)?e.replace(ug,cg):e}const lg=/[.?*+^$[\]\\(){}|-]/g;function hg(e){return e.replace(lg,"\\$&")}function Fe(e){switch(e){case 9:case 32:return!0}return!1}function nr(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 sr(e){return au.test(e)||Xh.test(e)}function rr(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 Pi(e){return e=e.trim().replace(/\s+/g," "),"áº".toLowerCase()==="á¹¾"&&(e=e.replace(/áº/g,"Ã")),e.toLowerCase().toUpperCase()}const fg={mdurl:X5,ucmicro:Q5},dg=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Qh,assign:Fi,escapeHtml:wn,escapeRE:hg,fromCodePoint:_i,has:eg,isMdAsciiPunct:rr,isPunctChar:sr,isSpace:Fe,isString:uu,isValidEntityCode:ou,isWhiteSpace:nr,lib:fg,normalizeReference:Pi,unescapeAll:ms,unescapeMd:ig},Symbol.toStringTag,{value:"Module"}));function mg(e,t,n){let s,r,i,c;const l=e.posMax,d=e.pos;for(e.pos=t+1,s=1;e.pos<l;){if(i=e.src.charCodeAt(e.pos),i===93&&(s--,s===0)){r=!0;break}if(c=e.pos,e.md.inline.skipToken(e),i===91){if(c===e.pos-1)s++;else if(n)return e.pos=d,-1}}let g=-1;return r&&(g=e.pos),e.pos=d,g}function pg(e,t,n){let s,r=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(s=e.charCodeAt(r),s===10||s===60)return i;if(s===62)return i.pos=r+1,i.str=ms(e.slice(t+1,r)),i.ok=!0,i;if(s===92&&r+1<n){r+=2;continue}r++}return i}let c=0;for(;r<n&&(s=e.charCodeAt(r),!(s===32||s<32||s===127));){if(s===92&&r+1<n){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(s===40&&(c++,c>32))return i;if(s===41){if(c===0)break;c--}r++}
9return t===r||c!==0||(i.str=ms(e.slice(t,r)),i.pos=r,i.ok=!0),i}function gg(e,t,n,s){let r,i=t;const c={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(s)c.str=s.str,c.marker=s.marker;else{if(i>=n)return c;let l=e.charCodeAt(i);if(l!==34&&l!==39&&l!==40)return c;t++,i++,l===40&&(l=41),c.marker=l}for(;i<n;){if(r=e.charCodeAt(i),r===c.marker)return c.pos=i+1,c.str+=ms(e.slice(t,i)),c.ok=!0,c;if(r===40&&c.marker===41)return c;r===92&&i+1<n&&i++,i++}return c.can_continue=!0,c.str+=ms(e.slice(t,i)),c}const bg=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:pg,parseLinkLabel:mg,parseLinkTitle:gg},Symbol.toStringTag,{value:"Module"})),tn={};tn.code_inline=function(e,t,n,s,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+wn(i.content)+"</code>"};tn.code_block=function(e,t,n,s,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+wn(e[t].content)+`</code></pre> 10`};tn.fence=function(e,t,n,s,r){const i=e[t],c=i.info?ms(i.info).trim():"";let l="",d="";if(c){const _=c.split(/(\s+)/g);l=_[0],d=_.slice(2).join("")}let g;if(n.highlight?g=n.highlight(i.content,l,d)||wn(i.content):g=wn(i.content),g.indexOf("<pre")===0)return g+` 11`;if(c){const _=i.attrIndex("class"),A=i.attrs?i.attrs.slice():[];_<0?A.push(["class",n.langPrefix+l]):(A[_]=A[_].slice(),A[_][1]+=" "+n.langPrefix+l);const N={attrs:A};return`<pre><code${r.renderAttrs(N)}>${g}</code></pre> 12`}return`<pre><code${r.renderAttrs(i)}>${g}</code></pre> 13`};tn.image=function(e,t,n,s,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,s),r.renderToken(e,t,n)};tn.hardbreak=function(e,t,n){return n.xhtmlOut?`<br /> 14`:`<br> 15`};tn.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br /> 16`:`<br> 17`:` 18`};tn.text=function(e,t){return wn(e[t].content)};tn.html_block=function(e,t){return e[t].content};tn.html_inline=function(e,t){return e[t].content};function _s(){this.rules=Fi({},tn)}_s.prototype.renderAttrs=function(t){let n,s,r;if(!t.attrs)return"";for(r="",n=0,s=t.attrs.length;n<s;n++)r+=" "+wn(t.attrs[n][0])+'="'+wn(t.attrs[n][1])+'"';return r};_s.prototype.renderToken=function(t,n,s){const r=t[n];let i="";if(r.hidden)return"";r.block&&r.nesting!==-1&&n&&t[n-1].hidden&&(i+=` 19`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&s.xhtmlOut&&(i+=" /");let c=!1;if(r.block&&(c=!0,r.nesting===1&&n+1<t.length)){const l=t[n+1];(l.type==="inline"||l.hidden||l.nesting===-1&&l.tag===r.tag)&&(c=!1)}return i+=c?`> 20`:">",i};_s.prototype.renderInline=function(e,t,n){let s="";const r=this.rules;for(let i=0,c=e.length;i<c;i++){const l=e[i].type;typeof r[l]<"u"?s+=r[l](e,i,t,n,this):s+=this.renderToken(e,i,t)}return s};_s.prototype.renderInlineAsText=function(e,t,n){let s="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":s+=e[r].content;break;case"image":s+=this.renderInlineAsText(e[r].children,t,n);break;case"html_inline":case"html_block":s+=e[r].content;break;case"softbreak":case"hardbreak":s+=` 21`;break}return s};_s.prototype.render=function(e,t,n){let s="";const r=this.rules;for(let i=0,c=e.length;i<c;i++){const l=e[i].type;l==="inline"?s+=this.renderInline(e[i].children,t,n):typeof r[l]<"u"?s+=r[l](e,i,t,n,this):s+=this.renderToken(e,i,t,n)}return s};function _t(){this.__rules__=[],this.__cache__=null}_t.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};_t.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(s){t.indexOf(s)<0&&t.push(s)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(s){s.enabled&&(n&&s.alt.indexOf(n)<0||e.__cache__[n].push(s.fn))})})};_t.prototype.at=function(e,t,n){const s=this.__find__(e),r=n||{};if(s===-1)throw new Error("Parser rule not found: "+e);this.__rules__[s].fn=t,this.__rules__[s].alt=r.alt||[],this.__cache__=null};_t.prototype.before=function(e,t,n,s){const r=this.__find__(e),i=s||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};_t.prototype.after=function(e,t,n,s){const r=this.__find__(e),i=s||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};_t.prototype.push=function(e,t,n){const s=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};_t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(s){const r=this.__find__(s);
21if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[r].enabled=!0,n.push(s)},this),this.__cache__=null,n};_t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};_t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(s){const r=this.__find__(s);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[r].enabled=!1,n.push(s)},this),this.__cache__=null,n};_t.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function qt(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}qt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let s=0,r=n.length;s<r;s++)if(n[s][0]===t)return s;return-1};qt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};qt.prototype.attrSet=function(t,n){const s=this.attrIndex(t),r=[t,n];s<0?this.attrPush(r):this.attrs[s]=r};qt.prototype.attrGet=function(t){const n=this.attrIndex(t);let s=null;return n>=0&&(s=this.attrs[n][1]),s};qt.prototype.attrJoin=function(t,n){const s=this.attrIndex(t);s<0?this.attrPush([t,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};function Jh(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Jh.prototype.Token=qt;const Eg=/\r\n?|\n/g,Tg=/\0/g;function _g(e){let t;t=e.src.replace(Eg,` 22`),t=t.replace(Tg,"�"),e.src=t}function yg(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.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)}function Ag(e){const t=e.tokens;for(let n=0,s=t.length;n<s;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function xg(e){return/^<a[>\s]/i.test(e)}function kg(e){return/^<\/a\s*>/i.test(e)}function Sg(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,s=t.length;n<s;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,i=0;for(let c=r.length-1;c>=0;c--){const l=r[c];if(l.type==="link_close"){for(c--;r[c].level!==l.level&&r[c].type!=="link_open";)c--;continue}if(l.type==="html_inline"&&(xg(l.content)&&i>0&&i--,kg(l.content)&&i++),!(i>0)&&l.type==="text"&&e.md.linkify.test(l.content)){const d=l.content;let g=e.md.linkify.match(d);const _=[];let A=l.level,N=0;g.length>0&&g[0].index===0&&c>0&&r[c-1].type==="text_special"&&(g=g.slice(1));for(let O=0;O<g.length;O++){const x=g[O].url,D=e.md.normalizeLink(x);if(!e.md.validateLink(D))continue;let F=g[O].text;g[O].schema?g[O].schema==="mailto:"&&!/^mailto:/i.test(F)?F=e.md.normalizeLinkText("mailto:"+F).replace(/^mailto:/,""):F=e.md.normalizeLinkText(F):F=e.md.normalizeLinkText("http://"+F).replace(/^http:\/\//,"");const B=g[O].index;if(B>N){const X=new e.Token("text","",0);X.content=d.slice(N,B),X.level=A,_.push(X)}const $=new e.Token("link_open","a",1);$.attrs=[["href",D]],$.level=A++,$.markup="linkify",$.info="auto",_.push($);const j=new e.Token("text","",0);j.content=F,j.level=A,_.push(j);const G=new e.Token("link_close","a",-1);G.level=--A,G.markup="linkify",G.info="auto",_.push(G),N=g[O].lastIndex}if(N<d.length){const O=new e.Token("text","",0);O.content=d.slice(N),O.level=A,_.push(O)}t[n].children=r=Qh(r,c,_)}}}}const e1=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Cg=/\((c|tm|r)\)/i,wg=/\((c|tm|r)\)/ig,Ng={c:"©",r:"®",tm:"â¢"};function Ig(e,t){return Ng[t.toLowerCase()]}function Dg(e){let t=0;for(let n=e.length-1;n>=0;n--){const s=e[n];s.type==="text"&&!t&&(s.content=s.content.replace(wg,Ig)),s.type==="link_open"&&s.info==="auto"&&t--,s.type==="link_close"&&s.info==="auto"&&t++}}function Og(e){let t=0;for(let n=e.length-1;n>=0;n--){const s=e[n];s.type==="text"&&!t&&e1.test(s.content)&&(s.content=s.content.replace(/\+-/g,"±").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â")),s.type==="link_open"&&s.info==="auto"&&t--,s.type==="link_close"&&s.info==="auto"&&t++}}function Mg(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Cg.test(e.tokens[t].content)&&Dg(e.tokens[t].children),e1.test(e.tokens[t].content)&&Og(e.tokens[t].children))}const Lg=/['"]/,jc=/['"]/g,Vc="â";function Xr(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function vg(e,t){let n;const s=[];for(let r=0;r<e.length;
22r++){const i=e[r],c=e[r].level;for(n=s.length-1;n>=0&&!(s[n].level<=c);n--);if(s.length=n+1,i.type!=="text")continue;let l=i.content,d=0,g=l.length;e:for(;d<g;){jc.lastIndex=d;const _=jc.exec(l);if(!_)break;let A=!0,N=!0;d=_.index+1;const O=_[0]==="'";let x=32;if(_.index-1>=0)x=l.charCodeAt(_.index-1);else for(n=r-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){x=e[n].content.charCodeAt(e[n].content.length-1);break}let D=32;if(d<g)D=l.charCodeAt(d);else for(n=r+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){D=e[n].content.charCodeAt(0);break}const F=rr(x)||sr(String.fromCharCode(x)),B=rr(D)||sr(String.fromCharCode(D)),$=nr(x),j=nr(D);if(j?A=!1:B&&($||F||(A=!1)),$?N=!1:F&&(j||B||(N=!1)),D===34&&_[0]==='"'&&x>=48&&x<=57&&(N=A=!1),A&&N&&(A=F,N=B),!A&&!N){O&&(i.content=Xr(i.content,_.index,Vc));continue}if(N)for(n=s.length-1;n>=0;n--){let G=s[n];if(s[n].level<c)break;if(G.single===O&&s[n].level===c){G=s[n];let X,Q;O?(X=t.md.options.quotes[2],Q=t.md.options.quotes[3]):(X=t.md.options.quotes[0],Q=t.md.options.quotes[1]),i.content=Xr(i.content,_.index,Q),e[G.token].content=Xr(e[G.token].content,G.pos,X),d+=Q.length-1,G.token===r&&(d+=X.length-1),l=i.content,g=l.length,s.length=n;continue e}}A?s.push({token:r,pos:_.index,single:O,level:c}):N&&O&&(i.content=Xr(i.content,_.index,Vc))}}}function Rg(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Lg.test(e.tokens[t].content)||vg(e.tokens[t].children,e)}function Bg(e){let t,n;const s=e.tokens,r=s.length;for(let i=0;i<r;i++){if(s[i].type!=="inline")continue;const c=s[i].children,l=c.length;for(t=0;t<l;t++)c[t].type==="text_special"&&(c[t].type="text");for(t=n=0;t<l;t++)c[t].type==="text"&&t+1<l&&c[t+1].type==="text"?c[t+1].content=c[t].content+c[t+1].content:(t!==n&&(c[n]=c[t]),n++);t!==n&&(c.length=n)}}const X0=[["normalize",_g],["block",yg],["inline",Ag],["linkify",Sg],["replacements",Mg],["smartquotes",Rg],["text_join",Bg]];function cu(){this.ruler=new _t;for(let e=0;e<X0.length;e++)this.ruler.push(X0[e][0],X0[e][1])}cu.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,s=t.length;n<s;n++)t[n](e)};cu.prototype.State=Jh;function nn(e,t,n,s){this.src=e,this.md=t,this.env=n,this.tokens=s,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;const r=this.src;for(let i=0,c=0,l=0,d=0,g=r.length,_=!1;c<g;c++){const A=r.charCodeAt(c);if(!_)if(Fe(A)){l++,A===9?d+=4-d%4:d++;continue}else _=!0;(A===10||c===g-1)&&(A!==10&&c++,this.bMarks.push(i),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(d),this.bsCount.push(0),_=!1,l=0,d=0,i=c+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}nn.prototype.push=function(e,t,n){const s=new qt(e,t,n);return s.block=!0,n<0&&this.level--,s.level=this.level,n>0&&this.level++,this.tokens.push(s),s};nn.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};nn.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};nn.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const s=this.src.charCodeAt(t);if(!Fe(s))break}return t};nn.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Fe(this.src.charCodeAt(--t)))return t+1;return t};nn.prototype.skipChars=function(t,n){for(let s=this.src.length;t<s&&this.src.charCodeAt(t)===n;t++);return t};nn.prototype.skipCharsBack=function(t,n,s){if(t<=s)return t;for(;t>s;)if(n!==this.src.charCodeAt(--t))return t+1;return t};nn.prototype.getLines=function(t,n,s,r){if(t>=n)return"";const i=new Array(n-t);for(let c=0,l=t;l<n;l++,c++){let d=0;const g=this.bMarks[l];let _=g,A;for(l+1<n||r?A=this.eMarks[l]+1:A=this.eMarks[l];_<A&&d<s;){const N=this.src.charCodeAt(_);if(Fe(N))N===9?d+=4-(d+this.bsCount[l])%4:d++;else if(_-g<this.tShift[l])d++;else break;_++}d>s?i[c]=new Array(d-s+1).join(" ")+this.src.slice(_,A):i[c]=this.src.slice(_,A)}return i.join("")};nn.prototype.Token=qt;const Fg=65536;function W0(e,t){const n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];return e.src.slice(n,s)}function Gc(e){const t=[],n=e.length;let s=0,r=e.charCodeAt(s),i=!1,c=0,l="";for(;s<n;)r===124&&(i?(l+=e.substring(c,s-1),c=s):(t.push(l+e.substring(c,s)),l="",c=s+1)),i=r===92,s++,r=e.charCodeAt(s);return t.push(l+e.substring(c)),t}function Pg(e,t,n,s){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;
22const c=e.src.charCodeAt(i++);if(c!==124&&c!==45&&c!==58||i>=e.eMarks[r])return!1;const l=e.src.charCodeAt(i++);if(l!==124&&l!==45&&l!==58&&!Fe(l)||c===45&&Fe(l))return!1;for(;i<e.eMarks[r];){const G=e.src.charCodeAt(i);if(G!==124&&G!==45&&G!==58&&!Fe(G))return!1;i++}let d=W0(e,t+1),g=d.split("|");const _=[];for(let G=0;G<g.length;G++){const X=g[G].trim();if(!X){if(G===0||G===g.length-1)continue;return!1}if(!/^:?-+:?$/.test(X))return!1;X.charCodeAt(X.length-1)===58?_.push(X.charCodeAt(0)===58?"center":"right"):X.charCodeAt(0)===58?_.push("left"):_.push("")}if(d=W0(e,t).trim(),d.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;g=Gc(d),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop();const A=g.length;if(A===0||A!==_.length)return!1;if(s)return!0;const N=e.parentType;e.parentType="table";const O=e.md.block.ruler.getRules("blockquote"),x=e.push("table_open","table",1),D=[t,0];x.map=D;const F=e.push("thead_open","thead",1);F.map=[t,t+1];const B=e.push("tr_open","tr",1);B.map=[t,t+1];for(let G=0;G<g.length;G++){const X=e.push("th_open","th",1);_[G]&&(X.attrs=[["style","text-align:"+_[G]]]);const Q=e.push("inline","",0);Q.content=g[G].trim(),Q.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let $,j=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let G=!1;for(let Q=0,re=O.length;Q<re;Q++)if(O[Q](e,r,n,!0)){G=!0;break}if(G||(d=W0(e,r).trim(),!d)||e.sCount[r]-e.blkIndent>=4||(g=Gc(d),g.length&&g[0]===""&&g.shift(),g.length&&g[g.length-1]===""&&g.pop(),j+=A-g.length,j>Fg))break;if(r===t+2){const Q=e.push("tbody_open","tbody",1);Q.map=$=[t+2,0]}const X=e.push("tr_open","tr",1);X.map=[r,r+1];for(let Q=0;Q<A;Q++){const re=e.push("td_open","td",1);_[Q]&&(re.attrs=[["style","text-align:"+_[Q]]]);const Z=e.push("inline","",0);Z.content=g[Q]?g[Q].trim():"",Z.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return $&&(e.push("tbody_close","tbody",-1),$[1]=r),e.push("table_close","table",-1),D[1]=r,e.parentType=N,e.line=r,!0}function Hg(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let s=t+1,r=s;for(;s<n;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,r=s;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+` 23`,i.map=[t,e.line],!0}function Ug(e,t,n,s){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const c=e.src.charCodeAt(r);if(c!==126&&c!==96)return!1;let l=r;r=e.skipChars(r,c);let d=r-l;if(d<3)return!1;const g=e.src.slice(l,r),_=e.src.slice(r,i);if(c===96&&_.indexOf(String.fromCharCode(c))>=0)return!1;if(s)return!0;let A=t,N=!1;for(;A++,!(A>=n||(r=l=e.bMarks[A]+e.tShift[A],i=e.eMarks[A],r<i&&e.sCount[A]<e.blkIndent));)if(e.src.charCodeAt(r)===c&&!(e.sCount[A]-e.blkIndent>=4)&&(r=e.skipChars(r,c),!(r-l<d)&&(r=e.skipSpaces(r),!(r<i)))){N=!0;break}d=e.sCount[t],e.line=A+(N?1:0);const O=e.push("fence","code",0);return O.info=_,O.content=e.getLines(t+1,A,d,!0),O.markup=g,O.map=[t,e.line],!0}function zg(e,t,n,s){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const c=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(s)return!0;const l=[],d=[],g=[],_=[],A=e.md.block.ruler.getRules("blockquote"),N=e.parentType;e.parentType="blockquote";let O=!1,x;for(x=t;x<n;x++){const j=e.sCount[x]<e.blkIndent;if(r=e.bMarks[x]+e.tShift[x],i=e.eMarks[x],r>=i)break;if(e.src.charCodeAt(r++)===62&&!j){let X=e.sCount[x]+1,Q,re;e.src.charCodeAt(r)===32?(r++,X++,re=!1,Q=!0):e.src.charCodeAt(r)===9?(Q=!0,(e.bsCount[x]+X)%4===3?(r++,X++,re=!1):re=!0):Q=!1;let Z=X;for(l.push(e.bMarks[x]),e.bMarks[x]=r;r<i;){const ce=e.src.charCodeAt(r);if(Fe(ce))ce===9?Z+=4-(Z+e.bsCount[x]+(re?1:0))%4:Z++;else break;r++}O=r>=i,d.push(e.bsCount[x]),e.bsCount[x]=e.sCount[x]+1+(Q?1:0),g.push(e.sCount[x]),e.sCount[x]=Z-X,_.push(e.tShift[x]),e.tShift[x]=r-e.bMarks[x];continue}if(O)break;let G=!1;for(let X=0,Q=A.length;X<Q;X++)if(A[X](e,x,n,!0)){G=!0;break}if(G){e.lineMax=x,e.blkIndent!==0&&(l.push(e.bMarks[x]),d.push(e.bsCount[x]),_.push(e.tShift[x]),g.push(e.sCount[x]),e.sCount[x]-=e.blkIndent);break}l.push(e.bMarks[x]),d.push(e.bsCount[x]),_.push(e.tShift[x]),g.push(e.sCount[x]),e.sCount[x]=-1}const D=e.blkIndent;e.blkIndent=0;const F=e.push("blockquote_open","blockquote",1);F.markup=">";const B=[t,0];F.map=B,e.md.block.tokenize(e,t,x);const $=e.push("blockquote_close","blockquote",-1);$.markup=">",e.lineMax=c,e.parentType=N,B[1]=e.line;for(let j=0;j<_.length;j++)e.bMarks[j+t]=l[j],e.tShift[j+t]=_[j],e.sCount[j+t]=g[j],e.bsCount[j+t]=d[j];return e.blkIndent=D,!0}function qg(e,t,n,s){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];
23const c=e.src.charCodeAt(i++);if(c!==42&&c!==45&&c!==95)return!1;let l=1;for(;i<r;){const g=e.src.charCodeAt(i++);if(g!==c&&!Fe(g))return!1;g===c&&l++}if(l<3)return!1;if(s)return!0;e.line=t+1;const d=e.push("hr","hr",0);return d.map=[t,e.line],d.markup=Array(l+1).join(String.fromCharCode(c)),!0}function Kc(e,t){const n=e.eMarks[t];let s=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(s++);if(r!==42&&r!==45&&r!==43)return-1;if(s<n){const i=e.src.charCodeAt(s);if(!Fe(i))return-1}return s}function Xc(e,t){const n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];let r=n;if(r+1>=s)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=s)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-n>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<s&&(i=e.src.charCodeAt(r),!Fe(i))?-1:r}function $g(e,t){const n=e.level+2;for(let s=t+2,r=e.tokens.length-2;s<r;s++)e.tokens[s].level===n&&e.tokens[s].type==="paragraph_open"&&(e.tokens[s+2].hidden=!0,e.tokens[s].hidden=!0,s+=2)}function Yg(e,t,n,s){let r,i,c,l,d=t,g=!0;if(e.sCount[d]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[d]-e.listIndent>=4&&e.sCount[d]<e.blkIndent)return!1;let _=!1;s&&e.parentType==="paragraph"&&e.sCount[d]>=e.blkIndent&&(_=!0);let A,N,O;if((O=Xc(e,d))>=0){if(A=!0,c=e.bMarks[d]+e.tShift[d],N=Number(e.src.slice(c,O-1)),_&&N!==1)return!1}else if((O=Kc(e,d))>=0)A=!1;else return!1;if(_&&e.skipSpaces(O)>=e.eMarks[d])return!1;if(s)return!0;const x=e.src.charCodeAt(O-1),D=e.tokens.length;A?(l=e.push("ordered_list_open","ol",1),N!==1&&(l.attrs=[["start",N]])):l=e.push("bullet_list_open","ul",1);const F=[d,0];l.map=F,l.markup=String.fromCharCode(x);let B=!1;const $=e.md.block.ruler.getRules("list"),j=e.parentType;for(e.parentType="list";d<n;){i=O,r=e.eMarks[d];const G=e.sCount[d]+O-(e.bMarks[d]+e.tShift[d]);let X=G;for(;i<r;){const dt=e.src.charCodeAt(i);if(dt===9)X+=4-(X+e.bsCount[d])%4;else if(dt===32)X++;else break;i++}const Q=i;let re;Q>=r?re=1:re=X-G,re>4&&(re=1);const Z=G+re;l=e.push("list_item_open","li",1),l.markup=String.fromCharCode(x);const ce=[d,0];l.map=ce,A&&(l.info=e.src.slice(c,O-1));const ye=e.tight,he=e.tShift[d],fe=e.sCount[d],Ee=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=Z,e.tight=!0,e.tShift[d]=Q-e.bMarks[d],e.sCount[d]=X,Q>=r&&e.isEmpty(d+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,d,n,!0),(!e.tight||B)&&(g=!1),B=e.line-d>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Ee,e.tShift[d]=he,e.sCount[d]=fe,e.tight=ye,l=e.push("list_item_close","li",-1),l.markup=String.fromCharCode(x),d=e.line,ce[1]=d,d>=n||e.sCount[d]<e.blkIndent||e.sCount[d]-e.blkIndent>=4)break;let ve=!1;for(let dt=0,sn=$.length;dt<sn;dt++)if($[dt](e,d,n,!0)){ve=!0;break}if(ve)break;if(A){if(O=Xc(e,d),O<0)break;c=e.bMarks[d]+e.tShift[d]}else if(O=Kc(e,d),O<0)break;if(x!==e.src.charCodeAt(O-1))break}return A?l=e.push("ordered_list_close","ol",-1):l=e.push("bullet_list_close","ul",-1),l.markup=String.fromCharCode(x),F[1]=d,e.line=d,e.parentType=j,g&&$g(e,D),!0}function jg(e,t,n,s){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],c=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function l($){const j=e.lineMax;if($>=j||e.isEmpty($))return null;let G=!1;if(e.sCount[$]-e.blkIndent>3&&(G=!0),e.sCount[$]<0&&(G=!0),!G){const re=e.md.block.ruler.getRules("reference"),Z=e.parentType;e.parentType="reference";let ce=!1;for(let ye=0,he=re.length;ye<he;ye++)if(re[ye](e,$,j,!0)){ce=!0;break}if(e.parentType=Z,ce)return null}const X=e.bMarks[$]+e.tShift[$],Q=e.eMarks[$];return e.src.slice(X,Q+1)}let d=e.src.slice(r,i+1);i=d.length;let g=-1;for(r=1;r<i;r++){const $=d.charCodeAt(r);if($===91)return!1;if($===93){g=r;break}else if($===10){const j=l(c);j!==null&&(d+=j,i=d.length,c++)}else if($===92&&(r++,r<i&&d.charCodeAt(r)===10)){const j=l(c);j!==null&&(d+=j,i=d.length,c++)}}if(g<0||d.charCodeAt(g+1)!==58)return!1;for(r=g+2;r<i;r++){const $=d.charCodeAt(r);if($===10){const j=l(c);j!==null&&(d+=j,i=d.length,c++)}else if(!Fe($))break}const _=e.md.helpers.parseLinkDestination(d,r,i);if(!_.ok)return!1;const A=e.md.normalizeLink(_.str);if(!e.md.validateLink(A))return!1;r=_.pos;const N=r,O=c,x=r;for(;r<i;
23r++){const $=d.charCodeAt(r);if($===10){const j=l(c);j!==null&&(d+=j,i=d.length,c++)}else if(!Fe($))break}let D=e.md.helpers.parseLinkTitle(d,r,i);for(;D.can_continue;){const $=l(c);if($===null)break;d+=$,r=i,i=d.length,c++,D=e.md.helpers.parseLinkTitle(d,r,i,D)}let F;for(r<i&&x!==r&&D.ok?(F=D.str,r=D.pos):(F="",r=N,c=O);r<i;){const $=d.charCodeAt(r);if(!Fe($))break;r++}if(r<i&&d.charCodeAt(r)!==10&&F)for(F="",r=N,c=O;r<i;){const $=d.charCodeAt(r);if(!Fe($))break;r++}if(r<i&&d.charCodeAt(r)!==10)return!1;const B=Pi(d.slice(1,g));return B?(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[B]>"u"&&(e.env.references[B]={title:F,href:A}),e.line=c),!0):!1}const Vg=["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"],Gg="[a-zA-Z_:][a-zA-Z0-9:._-]*",Kg="[^\"'=<>`\\x00-\\x20]+",Xg="'[^']*'",Wg='"[^"]*"',Qg="(?:"+Kg+"|"+Xg+"|"+Wg+")",Zg="(?:\\s+"+Gg+"(?:\\s*=\\s*"+Qg+")?)",t1="<[A-Za-z][A-Za-z0-9\\-]*"+Zg+"*\\s*\\/?>",n1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Jg="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",e8="<[?][\\s\\S]*?[?]>",t8="<![A-Za-z][^>]*>",n8="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",s8=new RegExp("^(?:"+t1+"|"+n1+"|"+Jg+"|"+e8+"|"+t8+"|"+n8+")"),r8=new RegExp("^(?:"+t1+"|"+n1+")"),Zn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Vg.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(r8.source+"\\s*$"),/^$/,!1]];function i8(e,t,n,s){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let c=e.src.slice(r,i),l=0;for(;l<Zn.length&&!Zn[l][0].test(c);l++);if(l===Zn.length)return!1;if(s)return Zn[l][2];let d=t+1;if(!Zn[l][1].test(c)){for(;d<n&&!(e.sCount[d]<e.blkIndent);d++)if(r=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],c=e.src.slice(r,i),Zn[l][1].test(c)){c.length!==0&&d++;break}}e.line=d;const g=e.push("html_block","",0);return g.map=[t,d],g.content=e.getLines(t,d,e.blkIndent,!0),!0}function a8(e,t,n,s){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let c=e.src.charCodeAt(r);if(c!==35||r>=i)return!1;let l=1;for(c=e.src.charCodeAt(++r);c===35&&r<i&&l<=6;)l++,c=e.src.charCodeAt(++r);if(l>6||r<i&&!Fe(c))return!1;if(s)return!0;i=e.skipSpacesBack(i,r);const d=e.skipCharsBack(i,35,r);d>r&&Fe(e.src.charCodeAt(d-1))&&(i=d),e.line=t+1;const g=e.push("heading_open","h"+String(l),1);g.markup="########".slice(0,l),g.map=[t,e.line];const _=e.push("inline","",0);_.content=e.src.slice(r,i).trim(),_.map=[t,e.line],_.children=[];const A=e.push("heading_close","h"+String(l),-1);return A.markup="########".slice(0,l),!0}function u8(e,t,n){const s=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,c,l=t+1;for(;l<n&&!e.isEmpty(l);l++){if(e.sCount[l]-e.blkIndent>3)continue;if(e.sCount[l]>=e.blkIndent){let O=e.bMarks[l]+e.tShift[l];const x=e.eMarks[l];if(O<x&&(c=e.src.charCodeAt(O),(c===45||c===61)&&(O=e.skipChars(O,c),O=e.skipSpaces(O),O>=x))){i=c===61?1:2;break}}if(e.sCount[l]<0)continue;let N=!1;for(let O=0,x=s.length;O<x;O++)if(s[O](e,l,n,!0)){N=!0;break}if(N)break}if(!i)return!1;const d=e.getLines(t,l,e.blkIndent,!1).trim();e.line=l+1;const g=e.push("heading_open","h"+String(i),1);g.markup=String.fromCharCode(c),g.map=[t,e.line];const _=e.push("inline","",0);_.content=d,_.map=[t,e.line-1],_.children=[];const A=e.push("heading_close","h"+String(i),-1);return A.markup=String.fromCharCode(c),e.parentType=r,!0}function o8(e,t,n){const s=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let g=!1;for(let _=0,A=s.length;_<A;_++)if(s[_](e,i,n,!0)){g=!0;break}if(g)break}const c=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const l=e.push("paragraph_open","p",1);l.map=[t,e.line];const d=e.push("inline","",0);return d.content=c,d.map=[t,e.line],d.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Wr=[["table",Pg,["paragraph","reference"]],["code",Hg],["fence",Ug,["paragraph","reference","blockquote","list"]],["blockquote",zg,["paragraph","reference","blockquote","list"]],["hr",qg,["paragraph","reference","blockquote","list"]],["list",Yg,["paragraph","reference","blockquote"]],["reference",jg],["html_block",i8,["paragraph","reference","blockquote"]],["heading",a8,["paragraph","reference","blockquote"]],["lheading",u8],["paragraph",o8]];function Hi(){this.ruler=new _t;for(let e=0;e<Wr.length;e++)this.ruler.push(Wr[e][0],Wr[e][1],{alt:(Wr[e][2]||[]).slice()})}Hi.prototype.tokenize=function(e,t,n){const s=this.ruler.getRules(""),r=s.length,i=e.md.options.maxNesting;
23let c=t,l=!1;for(;c<n&&(e.line=c=e.skipEmptyLines(c),!(c>=n||e.sCount[c]<e.blkIndent));){if(e.level>=i){e.line=n;break}const d=e.line;let g=!1;for(let _=0;_<r;_++)if(g=s[_](e,c,n,!1),g){if(d>=e.line)throw new Error("block rule didn't increment state.line");break}if(!g)throw new Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),c=e.line,c<n&&e.isEmpty(c)&&(l=!0,c++,e.line=c)}};Hi.prototype.parse=function(e,t,n,s){if(!e)return;const r=new this.State(e,t,n,s);this.tokenize(r,r.line,r.lineMax)};Hi.prototype.State=nn;function dr(e,t,n,s){this.src=e,this.env=n,this.md=t,this.tokens=s,this.tokens_meta=Array(s.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}dr.prototype.pushPending=function(){const e=new qt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};dr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const s=new qt(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),s.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(r),s};dr.prototype.scanDelims=function(e,t){const n=this.posMax,s=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<n&&this.src.charCodeAt(i)===s;)i++;const c=i-e,l=i<n?this.src.charCodeAt(i):32,d=rr(r)||sr(String.fromCharCode(r)),g=rr(l)||sr(String.fromCharCode(l)),_=nr(r),A=nr(l),N=!A&&(!g||_||d),O=!_&&(!d||A||g);return{can_open:N&&(t||!O||d),can_close:O&&(t||!N||g),length:c}};dr.prototype.Token=qt;function c8(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}}function l8(e,t){let n=e.pos;for(;n<e.posMax&&!c8(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const h8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function f8(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,s=e.posMax;if(n+3>s||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=e.pending.match(h8);if(!r)return!1;const i=r[1],c=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!c)return!1;let l=c.url;if(l.length<=i.length)return!1;l=l.replace(/\*+$/,"");const d=e.md.normalizeLink(l);if(!e.md.validateLink(d))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const g=e.push("link_open","a",1);g.attrs=[["href",d]],g.markup="linkify",g.info="auto";const _=e.push("text","",0);_.content=e.md.normalizeLinkText(l);const A=e.push("link_close","a",-1);A.markup="linkify",A.info="auto"}return e.pos+=l.length-i.length,!0}function d8(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const s=e.pending.length-1,r=e.posMax;if(!t)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){let i=s-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),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++;n<r&&Fe(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const lu=[];for(let e=0;e<256;e++)lu.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){lu[e.charCodeAt(0)]=1});function m8(e,t){let n=e.pos;const s=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=s))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<s&&(r=e.src.charCodeAt(n),!!Fe(r));)n++;return e.pos=n,!0}let i=e.src[n];if(r>=55296&&r<=56319&&n+1<s){const l=e.src.charCodeAt(n+1);l>=56320&&l<=57343&&(i+=e.src[n+1],n++)}const c="\\"+i;if(!t){const l=e.push("text_special","",0);r<256&&lu[r]!==0?l.content=i:l.content=c,l.markup=c,l.info="escape"}return e.pos=n+1,!0}function p8(e,t){let n=e.pos;
23if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const i=e.posMax;for(;n<i&&e.src.charCodeAt(n)===96;)n++;const c=e.src.slice(r,n),l=c.length;if(e.backticksScanned&&(e.backticks[l]||0)<=r)return t||(e.pending+=c),e.pos+=l,!0;let d=n,g;for(;(g=e.src.indexOf("`",d))!==-1;){for(d=g+1;d<i&&e.src.charCodeAt(d)===96;)d++;const _=d-g;if(_===l){if(!t){const A=e.push("code_inline","code",0);A.markup=c,A.content=e.src.slice(n,g).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=d,!0}e.backticks[_]=g}return e.backticksScanned=!0,t||(e.pending+=c),e.pos+=l,!0}function g8(e,t){const n=e.pos,s=e.src.charCodeAt(n);if(t||s!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const c=String.fromCharCode(s);if(i<2)return!1;let l;i%2&&(l=e.push("text","",0),l.content=c,i--);for(let d=0;d<i;d+=2)l=e.push("text","",0),l.content=c+c,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Wc(e,t){let n;const s=[],r=t.length;for(let i=0;i<r;i++){const c=t[i];if(c.marker!==126||c.end===-1)continue;const l=t[c.end];n=e.tokens[c.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[l.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[l.token-1].type==="text"&&e.tokens[l.token-1].content==="~"&&s.push(l.token-1)}for(;s.length;){const i=s.pop();let c=i+1;for(;c<e.tokens.length&&e.tokens[c].type==="s_close";)c++;c--,i!==c&&(n=e.tokens[c],e.tokens[c]=e.tokens[i],e.tokens[i]=n)}}function b8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Wc(e,e.delimiters);for(let s=0;s<n;s++)t[s]&&t[s].delimiters&&Wc(e,t[s].delimiters)}const s1={tokenize:g8,postProcess:b8};function E8(e,t){const n=e.pos,s=e.src.charCodeAt(n);if(t||s!==95&&s!==42)return!1;const r=e.scanDelims(e.pos,s===42);for(let i=0;i<r.length;i++){const c=e.push("text","",0);
23c.content=String.fromCharCode(s),e.delimiters.push({marker:s,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function Qc(e,t){const n=t.length;for(let s=n-1;s>=0;s--){const r=t[s];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],c=s>0&&t[s-1].end===r.end+1&&t[s-1].marker===r.marker&&t[s-1].token===r.token-1&&t[r.end+1].token===i.token+1,l=String.fromCharCode(r.marker),d=e.tokens[r.token];d.type=c?"strong_open":"em_open",d.tag=c?"strong":"em",d.nesting=1,d.markup=c?l+l:l,d.content="";const g=e.tokens[i.token];g.type=c?"strong_close":"em_close",g.tag=c?"strong":"em",g.nesting=-1,g.markup=c?l+l:l,g.content="",c&&(e.tokens[t[s-1].token].content="",e.tokens[t[r.end+1].token].content="",s--)}}function T8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Qc(e,e.delimiters);for(let s=0;s<n;s++)t[s]&&t[s].delimiters&&Qc(e,t[s].delimiters)}const r1={tokenize:E8,postProcess:T8};function _8(e,t){let n,s,r,i,c="",l="",d=e.pos,g=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const _=e.pos,A=e.posMax,N=e.pos+1,O=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(O<0)return!1;let x=O+1;if(x<A&&e.src.charCodeAt(x)===40){for(g=!1,x++;x<A&&(n=e.src.charCodeAt(x),!(!Fe(n)&&n!==10));x++);if(x>=A)return!1;if(d=x,r=e.md.helpers.parseLinkDestination(e.src,x,e.posMax),r.ok){for(c=e.md.normalizeLink(r.str),e.md.validateLink(c)?x=r.pos:c="",d=x;x<A&&(n=e.src.charCodeAt(x),!(!Fe(n)&&n!==10));x++);if(r=e.md.helpers.parseLinkTitle(e.src,x,e.posMax),x<A&&d!==x&&r.ok)for(l=r.str,x=r.pos;x<A&&(n=e.src.charCodeAt(x),!(!Fe(n)&&n!==10));x++);}(x>=A||e.src.charCodeAt(x)!==41)&&(g=!0),x++}if(g){if(typeof e.env.references>"u")return!1;if(x<A&&e.src.charCodeAt(x)===91?(d=x+1,x=e.md.helpers.parseLinkLabel(e,x),x>=0?s=e.src.slice(d,x++):x=O+1):x=O+1,s||(s=e.src.slice(N,O)),i=e.env.references[Pi(s)],!i)return e.pos=_,!1;c=i.href,l=i.title}if(!t){e.pos=N,e.posMax=O;const D=e.push("link_open","a",1),F=[["href",c]];D.attrs=F,l&&F.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=x,e.posMax=A,!0}function y8(e,t){let n,s,r,i,c,l,d,g,_="";const A=e.pos,N=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const O=e.pos+2,x=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(x<0)return!1;if(i=x+1,i<N&&e.src.charCodeAt(i)===40){for(i++;i<N&&(n=e.src.charCodeAt(i),!(!Fe(n)&&n!==10));i++);if(i>=N)return!1;for(g=i,l=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),l.ok&&(_=e.md.normalizeLink(l.str),e.md.validateLink(_)?i=l.pos:_=""),g=i;i<N&&(n=e.src.charCodeAt(i),!(!Fe(n)&&n!==10));i++);if(l=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<N&&g!==i&&l.ok)for(d=l.str,i=l.pos;i<N&&(n=e.src.charCodeAt(i),!(!Fe(n)&&n!==10));i++);else d="";if(i>=N||e.src.charCodeAt(i)!==41)return e.pos=A,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<N&&e.src.charCodeAt(i)===91?(g=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(g,i++):i=x+1):i=x+1,r||(r=e.src.slice(O,x)),c=e.env.references[Pi(r)],!c)return e.pos=A,!1;_=c.href,d=c.title}if(!t){s=e.src.slice(O,x);const D=[];e.md.inline.parse(s,e.md,e.env,D);const F=e.push("image","img",0),B=[["src",_],["alt",""]];F.attrs=B,F.children=D,F.content=s,d&&B.push(["title",d])}return e.pos=i,e.posMax=N,!0}const A8=/^([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])?)*)$/,x8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function k8(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const s=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const c=e.src.charCodeAt(n);if(c===60)return!1;if(c===62)break}const i=e.src.slice(s+1,n);if(x8.test(i)){const c=e.md.normalizeLink(i);if(!e.md.validateLink(c))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="autolink",l.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(i);const g=e.push("link_close","a",-1);g.markup="autolink",g.info="auto"}return e.pos+=i.length+2,!0}if(A8.test(i)){const c=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(c))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="autolink",l.info="auto";const d=e.push("text","",0);
23d.content=e.md.normalizeLinkText(i);const g=e.push("link_close","a",-1);g.markup="autolink",g.info="auto"}return e.pos+=i.length+2,!0}return!1}function S8(e){return/^<a[>\s]/i.test(e)}function C8(e){return/^<\/a\s*>/i.test(e)}function w8(e){const t=e|32;return t>=97&&t<=122}function N8(e,t){if(!e.md.options.html)return!1;const n=e.posMax,s=e.pos;if(e.src.charCodeAt(s)!==60||s+2>=n)return!1;const r=e.src.charCodeAt(s+1);if(r!==33&&r!==63&&r!==47&&!w8(r))return!1;const i=e.src.slice(s).match(s8);if(!i)return!1;if(!t){const c=e.push("html_inline","",0);c.content=i[0],S8(c.content)&&e.linkLevel++,C8(c.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const I8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,D8=/^&([a-z][a-z0-9]{1,31});/i;function O8(e,t){const n=e.pos,s=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=s)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(I8);if(i){if(!t){const c=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),l=e.push("text_special","",0);l.content=ou(c)?_i(c):_i(65533),l.markup=i[0],l.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(D8);
23if(i){const c=Ol(i[0]);if(c!==i[0]){if(!t){const l=e.push("text_special","",0);l.content=c,l.markup=i[0],l.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Zc(e){const t={},n=e.length;if(!n)return;let s=0,r=-2;const i=[];for(let c=0;c<n;c++){const l=e[c];if(i.push(0),(e[s].marker!==l.marker||r!==l.token-1)&&(s=c),r=l.token,l.length=l.length||0,!l.close)continue;t.hasOwnProperty(l.marker)||(t[l.marker]=[-1,-1,-1,-1,-1,-1]);const d=t[l.marker][(l.open?3:0)+l.length%3];let g=s-i[s]-1,_=g;for(;g>d;g-=i[g]+1){const A=e[g];if(A.marker===l.marker&&A.open&&A.end<0){let N=!1;if((A.close||l.open)&&(A.length+l.length)%3===0&&(A.length%3!==0||l.length%3!==0)&&(N=!0),!N){const O=g>0&&!e[g-1].open?i[g-1]+1:0;i[c]=c-g+O,i[g]=O,l.open=!1,A.end=c,A.close=!1,_=-1,r=-2;break}}}_!==-1&&(t[l.marker][(l.open?3:0)+(l.length||0)%3]=_)}}function M8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Zc(e.delimiters);for(let s=0;s<n;s++)t[s]&&t[s].delimiters&&Zc(t[s].delimiters)}function L8(e){let t,n,s=0;const r=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)r[t].nesting<0&&s--,r[t].level=s,r[t].nesting>0&&s++,r[t].type==="text"&&t+1<i&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const Q0=[["text",l8],["linkify",f8],["newline",d8],["escape",m8],["backticks",p8],["strikethrough",s1.tokenize],["emphasis",r1.tokenize],["link",_8],["image",y8],["autolink",k8],["html_inline",N8],["entity",O8]],Z0=[["balance_pairs",M8],["strikethrough",s1.postProcess],["emphasis",r1.postProcess],["fragments_join",L8]];function mr(){this.ruler=new _t;for(let e=0;e<Q0.length;e++)this.ruler.push(Q0[e][0],Q0[e][1]);this.ruler2=new _t;for(let e=0;e<Z0.length;e++)this.ruler2.push(Z0[e][0],Z0[e][1])}mr.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),s=n.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let c=!1;if(e.level<r){for(let l=0;l<s;l++)if(e.level++,c=n[l](e,!0),e.level--,c){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;c||e.pos++,i[t]=e.pos};mr.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,s=e.posMax,r=e.md.options.maxNesting;for(;e.pos<s;){const i=e.pos;let c=!1;if(e.level<r){for(let l=0;l<n;l++)if(c=t[l](e,!1),c){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(c){if(e.pos>=s)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};mr.prototype.parse=function(e,t,n,s){const r=new this.State(e,t,n,s);this.tokenize(r);const i=this.ruler2.getRules(""),c=i.length;for(let l=0;l<c;l++)i[l](r)};mr.prototype.State=dr;function v8(e){const t={};e=e||{},t.src_Any=Gh.source,t.src_Cc=Kh.source,t.src_Z=Wh.source,t.src_P=au.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const 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}
23"+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}function Sa(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(s){e[s]=n[s]})}),e}function Ui(e){return Object.prototype.toString.call(e)}function R8(e){return Ui(e)==="[object String]"}function B8(e){return Ui(e)==="[object Object]"}function F8(e){return Ui(e)==="[object RegExp]"}function Jc(e){return Ui(e)==="[object Function]"}function P8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const i1={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function H8(e){return Object.keys(e||{}).reduce(function(t,n){return t||i1.hasOwnProperty(n)},!1)}const U8={"http:":{validate:function(e,t,n){const s=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const s=e.slice(t);return n.re.no_http||(n.re.no_http=new 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(s)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const s=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(s)?s.match(n.re.mailto)[0].length:0}}},z8="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]",q8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function $8(e){e.__index__=-1,e.__text_cache__=""}function Y8(e){return function(t,n){const s=t.slice(n);return e.test(s)?s.match(e)[0].length:0}}function el(){return function(e,t){t.normalize(e)}}function yi(e){const t=e.re=v8(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(z8),n.push(t.src_xn),t.src_tlds=n.join("|");function s(l){return l.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(l,d){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+d)}Object.keys(e.__schemas__).forEach(function(l){const d=e.__schemas__[l];if(d===null)return;const g={validate:null,link:null};if(e.__compiled__[l]=g,B8(d)){F8(d.validate)?g.validate=Y8(d.validate):Jc(d.validate)?g.validate=d.validate:i(l,d),Jc(d.normalize)?g.normalize=d.normalize:d.normalize?i(l,d):g.normalize=el();return}if(R8(d)){r.push(l);return}i(l,d)}),r.forEach(function(l){e.__compiled__[e.__schemas__[l]]&&(e.__compiled__[l].validate=e.__compiled__[e.__schemas__[l]].validate,e.__compiled__[l].normalize=e.__compiled__[e.__schemas__[l]].normalize)}),e.__compiled__[""]={validate:null,normalize:el()};const c=Object.keys(e.__compiled__).filter(function(l){return l.length>0&&e.__compiled__[l]}).map(P8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+t.src_ZPCc+"))("+c+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[>
23<ï½]|"+t.src_ZPCc+"))("+c+")","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"),$8(e)}function j8(e,t){const n=e.__index__,s=e.__last_index__,r=e.__text_cache__.slice(n,s);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=s+t,this.raw=r,this.text=r,this.url=r}function Ca(e,t){const n=new j8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function St(e,t){if(!(this instanceof St))return new St(e,t);t||H8(e)&&(t=e,e={}),this.__opts__=Sa({},i1,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Sa({},U8,e),this.__compiled__={},this.__tlds__=q8,this.__tlds_replaced__=!1,this.re={},yi(this)}St.prototype.add=function(t,n){return this.__schemas__[t]=n,yi(this),this};St.prototype.set=function(t){return this.__opts__=Sa(this.__opts__,t),this};St.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,s,r,i,c,l,d,g,_;if(this.re.schema_test.test(t)){for(d=this.re.schema_search,d.lastIndex=0;(n=d.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],d.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(g=t.search(this.re.host_fuzzy_test),g>=0&&(this.__index__<0||g<this.__index__)&&(s=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=s.index+s[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=s.index+s[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(_=t.indexOf("@"),_>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(c=r.index+r[1].length,l=r.index+r[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&l>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=l))),this.__index__>=0};St.prototype.pretest=function(t){return this.re.pretest.test(t)};St.prototype.testSchemaAt=function(t,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,s,this):0};St.prototype.match=function(t){const n=[];let s=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(Ca(this,s)),s=this.__last_index__);let r=s?t.slice(s):t;for(;this.test(r);)n.push(Ca(this,s)),r=r.slice(this.__last_index__),s+=this.__last_index__;return n.length?n:null};St.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const s=this.testSchemaAt(t,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,Ca(this,0)):null};St.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(s,r,i){return s!==i[r-1]}).reverse(),yi(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,yi(this),this)};St.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};St.prototype.onCompile=function(){};const os=2147483647,Qt=36,hu=1,ir=26,V8=38,G8=700,a1=72,u1=128,o1="-",K8=/^xn--/,X8=/[^\0-\x7F]/,W8=/[\x2E\u3002\uFF0E\uFF61]/g,Q8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J0=Qt-hu,Zt=Math.floor,ea=String.fromCharCode;function xn(e){throw new RangeError(Q8[e])}function Z8(e,t){const n=[];let s=e.length;for(;s--;)n[s]=t(e[s]);return n}function c1(e,t){const n=e.split("@");let s="";n.length>1&&(s=n[0]+"@",e=n[1]),e=e.replace(W8,".");const r=e.split("."),i=Z8(r,t).join(".");return s+i}function l1(e){const t=[];let n=0;const s=e.length;for(;n<s;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<s){const i=e.charCodeAt(n++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const J8=e=>String.fromCodePoint(...e),e7=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Qt},tl=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},h1=function(e,t,n){let s=0;for(e=n?Zt(e/G8):e>>1,e+=Zt(e/t);e>J0*ir>>1;s+=Qt)e=Zt(e/J0);return Zt(s+(J0+1)*e/(e+V8))},f1=function(e){const t=[],n=e.length;let s=0,r=u1,i=a1,c=e.lastIndexOf(o1);c<0&&(c=0);for(let l=0;l<c;++l)e.charCodeAt(l)>=128&&xn("not-basic"),t.push(e.charCodeAt(l));for(let l=c>0?c+1:0;l<n;){const d=s;for(let _=1,A=Qt;;A+=Qt){l>=n&&xn("invalid-input");const N=e7(e.charCodeAt(l++));N>=Qt&&xn("invalid-input"),N>Zt((os-s)/_)&&xn("overflow"),s+=N*_;const O=A<=i?hu:A>=i+ir?ir:A-i;if(N<O)break;const x=Qt-O;_>Zt(os/x)&&xn("overflow"),_*=x}const g=t.length+1;i=h1(s-d,g,d==0),Zt(s/g)>os-r&&xn("overflow"),r+=Zt(s/g),s%=g,t.splice(s++,0,r)}return String.fromCodePoint(...t)},d1=function(e){const t=[];e=l1(e);const n=e.length;let s=u1,r=0,i=a1;for(const d of e)d<128&&t.push(ea(d));const c=t.length;let l=c;for(c&&t.push(o1);l<n;){let d=os;for(const _ of e)_>=s&&_<d&&(d=_);const g=l+1;d-s>Zt((os-r)/g)&&xn("overflow"),r+=(d-s)*g,s=d;for(const _ of e)if(_<s&&++r>os&&xn("overflow"),_===s){let A=r;
23for(let N=Qt;;N+=Qt){const O=N<=i?hu:N>=i+ir?ir:N-i;if(A<O)break;const x=A-O,D=Qt-O;t.push(ea(tl(O+x%D,0))),A=Zt(x/D)}t.push(ea(tl(A,0))),i=h1(r,g,l===c),r=0,++l}++r,++s}return t.join("")},t7=function(e){return c1(e,function(t){return K8.test(t)?f1(t.slice(4).toLowerCase()):t})},n7=function(e){return c1(e,function(t){return X8.test(t)?"xn--"+d1(t):t})},m1={version:"2.3.1",ucs2:{decode:l1,encode:J8},decode:f1,encode:d1,toASCII:n7,toUnicode:t7},s7={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},r7={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"]}}},i7={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"]}}},a7={default:s7,zero:r7,commonmark:i7},u7=/^(vbscript|javascript|file|data):/,o7=/^data:image\/(gif|png|jpeg|webp);/;function c7(e){const t=e.trim().toLowerCase();return u7.test(t)?o7.test(t):!0}const p1=["http:","https:","mailto:"];function l7(e){const t=iu(e,!0);if(t.hostname&&(!t.protocol||p1.indexOf(t.protocol)>=0))try{t.hostname=m1.toASCII(t.hostname)}catch{}return fr(ru(t))}function h7(e){const t=iu(e,!0);if(t.hostname&&(!t.protocol||p1.indexOf(t.protocol)>=0))try{t.hostname=m1.toUnicode(t.hostname)}catch{}return ds(ru(t),ds.defaultChars+"%")}function vt(e,t){if(!(this instanceof vt))return new vt(e,t);t||uu(e)||(t=e||{},e="default"),this.inline=new mr,this.block=new Hi,this.core=new cu,this.renderer=new _s,this.linkify=new St,this.validateLink=c7,this.normalizeLink=l7,this.normalizeLinkText=h7,this.utils=dg,this.helpers=Fi({},bg),this.options={},this.configure(e),t&&this.set(t)}vt.prototype.set=function(e){return Fi(this.options,e),this};vt.prototype.configure=function(e){const t=this;if(uu(e)){const n=e;if(e=a7[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new 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[
23n].ruler2.enableOnly(e.components[n].rules2)}),this};vt.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const s=e.filter(function(r){return n.indexOf(r)<0});if(s.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};vt.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const s=e.filter(function(r){return n.indexOf(r)<0});if(s.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};vt.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};vt.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};vt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};vt.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};vt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function f7(e){function t(s,r){const i=s.pos,c=s.src.charCodeAt(i);if(r||c!==43)return!1;const l=s.scanDelims(s.pos,!0);let d=l.length;const g=String.fromCharCode(c);if(d<2)return!1;if(d%2){const _=s.push("text","",0);_.content=g,d--}for(let _=0;_<d;_+=2){const A=s.push("text","",0);A.content=g+g,!(!l.can_open&&!l.can_close)&&s.delimiters.push({marker:c,length:0,jump:_/2,token:s.tokens.length-1,end:-1,open:l.can_open,close:l.can_close})}return s.pos+=l.length,!0}function n(s,r){let i;const c=[],l=r.length;for(let d=0;d<l;d++){const g=r[d];if(g.marker!==43||g.end===-1)continue;const _=r[g.end];i=s.tokens[g.token],i.type="ins_open",i.tag="ins",i.nesting=1,i.markup="++",i.content="",i=s.tokens[_.token],i.type="ins_close",i.tag="ins",i.nesting=-1,i.markup="++",i.content="",s.tokens[_.token-1].type==="text"&&s.tokens[_.token-1].content==="+"&&c.push(_.token-1)}for(;c.length;){const d=c.pop();let g=d+1;for(;g<s.tokens.length&&s.tokens[g].type==="ins_close";)g++;g--,d!==g&&(i=s.tokens[g],s.tokens[g]=s.tokens[d],s.tokens[d]=i)}}e.inline.ruler.before("emphasis","ins",t),e.inline.ruler2.before("emphasis","ins",function(s){const r=s.tokens_meta,i=(s.tokens_meta||[]).length;n(s,s.delimiters);for(let c=0;c<i;c++)r[c]&&r[c].delimiters&&n(s,r[c].delimiters)})}function d7(e){function t(s,r){const i=s.pos,c=s.src.charCodeAt(i);if(r||c!==61)return!1;const l=s.scanDelims(s.pos,!0);let d=l.length;const g=String.fromCharCode(c);if(d<2)return!1;if(d%2){const _=s.push("text","",0);_.content=g,d--}for(let _=0;_<d;_+=2){const A=s.push("text","",0);A.content=g+g,!(!l.can_open&&!l.can_close)&&s.delimiters.push({marker:c,length:0,jump:_/2,token:s.tokens.length-1,end:-1,open:l.can_open,close:l.can_close})}return s.pos+=l.length,!0}function n(s,r){const i=[],c=r.length;for(let l=0;l<c;l++){const d=r[l];if(d.marker!==61||d.end===-1)continue;const g=r[d.end],_=s.tokens[d.token];_.type="mark_open",_.tag="mark",_.nesting=1,_.markup="==",_.content="";const A=s.tokens[g.token];A.type="mark_close",A.tag="mark",A.nesting=-1,A.markup="==",A.content="",s.tokens[g.token-1].type==="text"&&s.tokens[g.token-1].content==="="&&i.push(g.token-1)}for(;i.length;){const l=i.pop();let d=l+1;for(;d<s.tokens.length&&s.tokens[d].type==="mark_close";)d++;if(d--,l!==d){const g=s.tokens[d];s.tokens[d]=s.tokens[l],s.tokens[l]=g}}}e.inline.ruler.before("emphasis","mark",t),e.inline.ruler2.before("emphasis","mark",function(s){let r;const i=s.tokens_meta,c=(s.tokens_meta||[]).length;for(n(s,s.delimiters),r=0;r<c;r++)i[r]&&i[r].delimiters&&n(s,i[r].delimiters)})}const m7=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function p7(e,t){const n=e.posMax,s=e.pos;if(e.src.charCodeAt(s)!==126||t||s+2>=n)return!1;e.pos=s+1;let r=!1;for(;e.pos<n;
23){if(e.src.charCodeAt(e.pos)===126){r=!0;break}e.md.inline.skipToken(e)}if(!r||s+1===e.pos)return e.pos=s,!1;const i=e.src.slice(s+1,e.pos);if(i.match(/(^|[^\\])(\\\\)*\s/))return e.pos=s,!1;e.posMax=e.pos,e.pos=s+1;const c=e.push("sub_open","sub",1);c.markup="~";const l=e.push("text","",0);l.content=i.replace(m7,"$1");const d=e.push("sub_close","sub",-1);return d.markup="~",e.pos=e.posMax+1,e.posMax=n,!0}function g7(e){e.inline.ruler.after("emphasis","sub",p7)}const b7=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function E7(e,t){const n=e.posMax,s=e.pos;if(e.src.charCodeAt(s)!==94||t||s+2>=n)return!1;e.pos=s+1;let r=!1;for(;e.pos<n;){if(e.src.charCodeAt(e.pos)===94){r=!0;break}e.md.inline.skipToken(e)}if(!r||s+1===e.pos)return e.pos=s,!1;const i=e.src.slice(s+1,e.pos);if(i.match(/(^|[^\\])(\\\\)*\s/))return e.pos=s,!1;e.posMax=e.pos,e.pos=s+1;const c=e.push("sup_open","sup",1);c.markup="^";const l=e.push("text","",0);l.content=i.replace(b7,"$1");const d=e.push("sup_close","sup",-1);return d.markup="^",e.pos=e.posMax+1,e.posMax=n,!0}function T7(e){e.inline.ruler.after("emphasis","sup",E7)}const fu=Symbol.for("yaml.alias"),wa=Symbol.for("yaml.document"),Cn=Symbol.for("yaml.map"),g1=Symbol.for("yaml.pair"),en=Symbol.for("yaml.scalar"),ys=Symbol.for("yaml.seq"),Rt=Symbol.for("yaml.node.type"),As=e=>!!e&&typeof e=="object"&&e[Rt]===fu,zi=e=>!!e&&typeof e=="object"&&e[Rt]===wa,pr=e=>!!e&&typeof e=="object"&&e[Rt]===Cn,Je=e=>!!e&&typeof e=="object"&&e[Rt]===g1,Pe=e=>!!e&&typeof e=="object"&&e[Rt]===en,gr=e=>!!e&&typeof e=="object"&&e[Rt]===ys;function Qe(e){if(e&&typeof e=="object")switch(e[Rt]){case Cn:case ys:return!0}return!1}function Ze(e){if(e&&typeof e=="object")switch(e[Rt]){case fu:case Cn:case en:case ys:return!0}return!1}const _7=e=>(Pe(e)||Qe(e))&&!!e.anchor,vn=Symbol("break visit"),y7=Symbol("skip children"),Ks=Symbol("remove node");function qn(e,t){const n=A7(t);zi(e)?rs(null,e.contents,n,Object.freeze([e]))===Ks&&(e.contents=null):rs(null,e,n,Object.freeze([]))}qn.BREAK=vn;qn.SKIP=y7;qn.REMOVE=Ks;function rs(e,t,n,s){const r=x7(e,t,n,s);if(Ze(r)||Je(r))return k7(e,s,r),rs(e,r,n,s);if(typeof r!="symbol"){if(Qe(t)){s=Object.freeze(s.concat(t));for(let i=0;i<t.items.length;++i){const c=rs(i,t.items[i],n,s);if(typeof c=="number")i=c-1;else{if(c===vn)return vn;c===Ks&&(t.items.splice(i,1),i-=1)}}}else if(Je(t)){s=Object.freeze(s.concat(t));const i=rs("key",t.key,n,s);if(i===vn)return vn;i===Ks&&(t.key=null);const c=rs("value",t.value,n,s);if(c===vn)return vn;c===Ks&&(t.value=null)}}return r}function A7(e){return typeof e=="object"&&(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 x7(e,t,n,s){if(typeof n=="function")return n(e,t,s);if(pr(t))return n.Map?.(e,t,s);if(gr(t))return n.Seq?.(e,t,s);if(Je(t))return n.Pair?.(e,t,s);if(Pe(t))return n.Scalar?.(e,t,s);if(As(t))return n.Alias?.(e,t,s)}function k7(e,t,n){const s=t[t.length-1];if(Qe(s))s.items[e]=n;else if(Je(s))e==="key"?s.key=n:s.value=n;else if(zi(s))s.contents=n;else{const r=As(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}const S7={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},C7=e=>e.replace(/[!,[\]{}]/g,t=>S7[t]);class ht{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ht.defaultYaml,t),this.tags=Object.assign({},ht.defaultTags,n)}clone(){const t=new ht(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ht(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ht.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ht.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ht.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ht.defaultTags),this.atNextDocument=!1);const s=t.trim().split(/[ \t]+/),r=s.shift();switch(r){case"%TAG":{if(s.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;const[i,c]=s;return this.tags[i]=c,!0}case"%YAML":{if(this.yaml.explicit=!0,s.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[i]=s;if(i==="1.1"||i==="1.2")return this.yaml.version=i,!0;{const c=/^\d+\.\d+$/.test(i);return n(6,`Unsupported YAML version ${i}`,c),!1}}default:return n(0,`Unknown directive ${r}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const c=t.slice(2,-1);return c==="!"||c==="!!"?(n(`Verbatim tags aren't resolved, so ${t}
23 is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),c)}const[,s,r]=t.match(/^(.*!)([^!]*)$/s);r||n(`The ${t} tag has no suffix`);const i=this.tags[s];if(i)try{return i+decodeURIComponent(r)}catch(c){return n(String(c)),null}return s==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,s]of Object.entries(this.tags))if(t.startsWith(s))return n+C7(t.substring(s.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],s=Object.entries(this.tags);let r;if(t&&s.length>0&&Ze(t.contents)){const i={};qn(t.contents,(c,l)=>{Ze(l)&&l.tag&&(i[l.tag]=!0)}),r=Object.keys(i)}else r=[];for(const[i,c]of s)i==="!!"&&c==="tag:yaml.org,2002:"||(!t||r.some(l=>l.startsWith(c)))&&n.push(`%TAG ${i} ${c}`);return n.join(` 24`)}}ht.defaultYaml={explicit:!1,version:"1.2"};ht.defaultTags={"!!":"tag:yaml.org,2002:"};function b1(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function E1(e){const t=new Set;return qn(e,{Value(n,s){s.anchor&&t.add(s.anchor)}}),t}function T1(e,t){for(let n=1;;++n){const s=`${e}${n}`;if(!t.has(s))return s}}function w7(e,t){const n=[],s=new Map;let r=null;return{onAnchor:i=>{n.push(i),r||(r=E1(e));const c=T1(t,r);return r.add(c),c},setAnchors:()=>{for(const i of n){const c=s.get(i);if(typeof c=="object"&&c.anchor&&(Pe(c.node)||Qe(c.node)))c.node.anchor=c.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=i,l}}},sourceObjects:s}}function is(e,t,n,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let r=0,i=s.length;r<i;++r){const c=s[r],l=is(e,s,String(r),c);l===void 0?delete s[r]:l!==c&&(s[r]=l)}else if(s instanceof Map)for(const r of Array.from(s.keys())){const i=s.get(r),c=is(e,s,r,i);c===void 0?s.delete(r):c!==i&&s.set(r,c)}else if(s instanceof Set)for(const r of Array.from(s)){const i=is(e,s,r,r);i===void 0?s.delete(r):i!==r&&(s.delete(r),s.add(i))}else for(const[r,i]of Object.entries(s)){const c=is(e,s,r,i);c===void 0?delete s[r]:c!==i&&(s[r]=c)}return e.call(t,n,s)}function Lt(e,t,n){if(Array.isArray(e))return e.map((s,r)=>Lt(s,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!_7(e))return e.toJSON(t,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(e,s),n.onCreate=i=>{s.res=i,delete n.onCreate};const r=e.toJSON(t,n);return n.onCreate&&n.onCreate(r),r}return typeof e=="bigint"&&!n?.keep?Number(e):e}class du{constructor(t){Object.defineProperty(this,Rt,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:s,onAnchor:r,reviver:i}={}){if(!zi(t))throw new TypeError("A document argument is required");const c={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},l=Lt(this,"",c);if(typeof r=="function")for(const{count:d,res:g}of c.anchors.values())r(g,d);return typeof i=="function"?is(i,{"":l},"",l):l}}class mu extends du{constructor(t){super(fu),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return qn(t,{Node:(s,r)=>{if(r===this)return qn.BREAK;r.anchor===this.source&&(n=r)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:s,doc:r,maxAliasCount:i}=n,c=this.resolve(r);if(!c){const d=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(d)}let l=s.get(c);if(l||(Lt(c,null,n),l=s.get(c)),!l||l.res===void 0){const d="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(d)}if(i>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=ii(r,c,s)),l.count*l.aliasCount>
24i)){const d="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(d)}return l.res}toString(t,n,s){const r=`*${this.source}`;if(t){if(b1(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(t.implicitKey)return`${r} `}return r}}function ii(e,t,n){if(As(t)){const s=t.resolve(e),r=n&&s&&n.get(s);return r?r.count*r.aliasCount:0}else if(Qe(t)){let s=0;for(const r of t.items){const i=ii(e,r,n);i>s&&(s=i)}return s}else if(Je(t)){const s=ii(e,t.key,n),r=ii(e,t.value,n);return Math.max(s,r)}return 1}const _1=e=>!e||typeof e!="function"&&typeof e!="object";class Te extends du{constructor(t){super(en),this.value=t}toJSON(t,n){return n?.keep?this.value:Lt(this.value,t,n)}toString(){return String(this.value)}}Te.BLOCK_FOLDED="BLOCK_FOLDED";Te.BLOCK_LITERAL="BLOCK_LITERAL";Te.PLAIN="PLAIN";Te.QUOTE_DOUBLE="QUOTE_DOUBLE";Te.QUOTE_SINGLE="QUOTE_SINGLE";const N7="tag:yaml.org,2002:";function I7(e,t,n){if(t){const s=n.filter(i=>i.tag===t),r=s.find(i=>!i.format)??s[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(s=>s.identify?.(e)&&!s.format)}function ar(e,t,n){if(zi(e)&&(e=e.contents),Ze(e))return e;
24if(Je(e)){const A=n.schema[Cn].createNode?.(n.schema,null,n);return A.items.push(e),A}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:s,onAnchor:r,onTagObj:i,schema:c,sourceObjects:l}=n;let d;if(s&&e&&typeof e=="object"){if(d=l.get(e),d)return d.anchor||(d.anchor=r(e)),new mu(d.anchor);d={anchor:null,node:null},l.set(e,d)}t?.startsWith("!!")&&(t=N7+t.slice(2));let g=I7(e,t,c.tags);if(!g){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const A=new Te(e);return d&&(d.node=A),A}g=e instanceof Map?c[Cn]:Symbol.iterator in Object(e)?c[ys]:c[Cn]}i&&(i(g),delete n.onTagObj);const _=g?.createNode?g.createNode(n.schema,e,n):typeof g?.nodeClass?.from=="function"?g.nodeClass.from(n.schema,e,n):new Te(e);return t?_.tag=t:g.default||(_.tag=g.tag),d&&(d.node=_),_}function Ai(e,t,n){let s=n;for(let r=t.length-1;r>=0;--r){const i=t[r];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const c=[];c[i]=s,s=c}else s=new Map([[i,s]])}return ar(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Hs=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class y1 extends du{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(s=>Ze(s)||Je(s)?s.clone(t):s),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Hs(t))this.add(n);else{const[s,...r]=t,i=this.get(s,!0);if(Qe(i))i.addIn(r,n);else if(i===void 0&&this.schema)this.set(s,Ai(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}deleteIn(t){const[n,...s]=t;if(s.length===0)return this.delete(n);const r=this.get(n,!0);if(Qe(r))return r.deleteIn(s);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}getIn(t,n){const[s,...r]=t,i=this.get(s,!0);return r.length===0?!n&&Pe(i)?i.value:i:Qe(i)?i.getIn(r,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!Je(n))return!1;const s=n.value;return s==null||t&&Pe(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(t){const[n,...s]=t;if(s.length===0)return this.has(n);const r=this.get(n,!0);return Qe(r)?r.hasIn(s):!1}setIn(t,n){const[s,...r]=t;if(r.length===0)this.set(s,n);else{const i=this.get(s,!0);if(Qe(i))i.setIn(r,n);else if(i===void 0&&this.schema)this.set(s,Ai(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}}const D7=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function mn(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Pn=(e,t,n)=>e.endsWith(` 25`)?mn(n,t):n.includes(` 26`)?` 27`+mn(n,t):(e.endsWith(" ")?"":" ")+n,A1="flow",Na="block",ai="quoted";function qi(e,t,n="flow",{indentAtStart:s,lineWidth:r=80,minContentWidth:i=20,onFold:c,onOverflow:l}={}){if(!r||r<0)return e;r<i&&(i=0);const d=Math.max(1+i,1+r-t.length);if(e.length<=d)return e;const g=[],_={};let A=r-t.length;typeof s=="number"&&(s>r-Math.max(2,i)?g.push(0):A=r-s);let N,O,x=!1,D=-1,F=-1,B=-1;n===Na&&(D=nl(e,D,t.length),D!==-1&&(A=D+d));for(let j;j=e[D+=1];){if(n===ai&&j==="\\"){switch(F=D,e[D+1]){case"x":D+=3;break;case"u":D+=5;break;case"U":D+=9;break;default:D+=1}B=D}if(j===` 28`)n===Na&&(D=nl(e,D,t.length)),A=D+t.length+d,N=void 0;else{if(j===" "&&O&&O!==" "&&O!==` 29`&&O!==" "){const G=e[D+1];G&&G!==" "&&G!==` 30`&&G!==" "&&(N=D)}if(D>=A)if(N)g.push(N),A=N+d,N=void 0;else if(n===ai){for(;O===" "||O===" ";)O=j,j=e[D+=1],x=!0;const G=D>B+1?D-2:F-1;if(_[G])return e;g.push(G),_[G]=!0,A=G+d,N=void 0}else x=!0}O=j}if(x&&l&&l(),g.length===0)return e;c&&c();let $=e.slice(0,g[0]);for(let j=0;j<g.length;++j){const G=g[j],X=g[j+1]||e.length;G===0?$=` 31${t}${e.slice(0,X)}`:(n===ai&&_[G]&&($+=`${e[G]}\\`),$+=` 32${t}${e.slice(G+1,X)}`)}return $}function nl(e,t,n){let s=t,r=t+1,i=e[r];for(;i===" "||i===" ";)if(t<r+n)i=e[++t];else{do i=e[++t];while(i&&i!==` 33`);s=t,r=t+1,i=e[r]}return s}const $i=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
33),Yi=e=>/^(%|---|\.\.\.)/m.test(e);function O7(e,t,n){if(!t||t<0)return!1;const s=t-n,r=e.length;if(r<=s)return!1;for(let i=0,c=0;i<r;++i)if(e[i]===` 34`){if(i-c>s)return!0;if(c=i+1,r-c<=s)return!1}return!0}function Xs(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=t,r=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(Yi(e)?" ":"");let c="",l=0;for(let d=0,g=n[d];g;g=n[++d])if(g===" "&&n[d+1]==="\\"&&n[d+2]==="n"&&(c+=n.slice(l,d)+"\\ ",d+=1,l=d,g="\\"),g==="\\")switch(n[d+1]){case"u":{c+=n.slice(l,d);const _=n.substr(d+2,4);switch(_){case"0000":c+="\\0";break;case"0007":c+="\\a";break;case"000b":c+="\\v";break;case"001b":c+="\\e";break;case"0085":c+="\\N";break;case"00a0":c+="\\_";break;case"2028":c+="\\L";break;case"2029":c+="\\P";break;default:_.substr(0,2)==="00"?c+="\\x"+_.substr(2):c+=n.substr(d,6)}d+=5,l=d+1}break;case"n":if(s||n[d+2]==='"'||n.length<r)d+=1;else{for(c+=n.slice(l,d)+` 35 36`;n[d+2]==="\\"&&n[d+3]==="n"&&n[d+4]!=='"';)c+=` 37`,d+=2;c+=i,n[d+2]===" "&&(c+="\\"),d+=1,l=d+1}break;default:d+=1}return c=l?c+n.slice(l):n,s?c:qi(c,i,ai,$i(t,!1))}function Ia(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(` 38`)||/[ \t]\n|\n[ \t]/.test(e))return Xs(e,t);const n=t.indent||(Yi(e)?" ":""),s="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 39${n}`)+"'";return t.implicitKey?s:qi(s,n,A1,$i(t,!1))}function as(e,t){const{singleQuote:n}=t.options;let s;if(n===!1)s=Xs;else{const r=e.includes('"'),i=e.includes("'");r&&!i?s=Ia:i&&!r?s=Xs:s=n?Ia:Xs}return s(e,t)}let Da;try{Da=new RegExp(`(^|(?<! 40)) 41+(?! 42|$)`,"g")}catch{Da=/\n+(?!\n|$)/g}function ui({comment:e,type:t,value:n},s,r,i){const{blockQuote:c,commentString:l,lineWidth:d}=s.options;if(!c||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return as(n,s);const g=s.indent||(s.forceBlockIndent||Yi(n)?" ":""),_=c==="literal"?!0:c==="folded"||t===Te.BLOCK_FOLDED?!1:t===Te.BLOCK_LITERAL?!0:!O7(n,d,g.length);if(!n)return _?`| 43`:`> 44`;let A,N;for(N=n.length;N>0;--N){const X=n[N-1];if(X!==` 45`&&X!==" "&&X!==" ")break}let O=n.substring(N);const x=O.indexOf(` 46`);x===-1?A="-":n===O||x!==O.length-1?(A="+",i&&i()):A="",O&&(n=n.slice(0,-O.length),O[O.length-1]===` 47`&&(O=O.slice(0,-1)),O=O.replace(Da,`$&${g}`));let D=!1,F,B=-1;for(F=0;F<n.length;++F){const X=n[F];if(X===" ")D=!0;else if(X===` 48`)B=F;else break}let $=n.substring(0,B<F?B+1:F);$&&(n=n.substring($.length),$=$.replace(/\n+/g,`$&${g}`));let G=(D?g?"2":"1":"")+A;if(e&&(G+=" "+l(e.replace(/ ?[\r\n]+/g," ")),r&&r()),!_){const X=n.replace(/\n+/g,` 49$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${g}`);let Q=!1;const re=$i(s,!0);c!=="folded"&&t!==Te.BLOCK_FOLDED&&(re.onOverflow=()=>{Q=!0});const Z=qi(`${$}${X}${O}`,g,Na,re);if(!Q)return`>${G} 50${g}${Z}`}return n=n.replace(/\n+/g,`$&${g}`),`|${G} 51${g}${$}${n}${O}`}function M7(e,t,n,s){const{type:r,value:i}=e,{actualString:c,implicitKey:l,indent:d,indentStep:g,inFlow:_}=t;if(l&&i.includes(` 52`)||_&&/[[\]{},]/.test(i))return as(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return l||_||!i.includes(` 53`)?as(i,t):ui(e,t,n,s);if(!l&&!_&&r!==Te.PLAIN&&i.includes(` 54`))return ui(e,t,n,s);if(Yi(i)){if(d==="")return t.forceBlockIndent=!0,ui(e,t,n,s);if(l&&d===g)return as(i,t)}const A=i.replace(/\n+/g,`$& 55${d}`);if(c){const N=D=>D.default&&D.tag!=="tag:yaml.org,2002:str"&&D.test?.test(A),{compat:O,tags:x}=t.doc.schema;if(x.some(N)||O?.some(N))return as(i,t)}return l?A:qi(A,d,A1,$i(t,!1))}function pu(e,t,n,s){const{implicitKey:r,inFlow:i}=t,c=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:l}=e;l!==Te.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(c.value)&&(l=Te.QUOTE_DOUBLE);const d=_=>{switch(_){case Te.BLOCK_FOLDED:case Te.BLOCK_LITERAL:return r||i?as(c.value,t):ui(c,t,n,s);case Te.QUOTE_DOUBLE:return Xs(c.value,t);case Te.QUOTE_SINGLE:return Ia(c.value,t);case Te.PLAIN:return M7(c,t,n,s);default:return null}};let g=d(l);if(g===null){const{defaultKeyType:_,defaultStringType:A}=t.options,N=r&&_||A;if(g=d(N),g===null)throw new Error(`Unsupported default string type ${N}`)}return g}function x1(e,t){const n=Object.assign({blockQuote:!0,commentString:D7,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);let s;switch(n.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:s,options:n}}function L7(e,t){if(t.tag){const r=e.filter(i=>i.tag===t.tag);if(r.length>0)return r.find(i=>i.format===t.format)??r[0]}let n,s;if(Pe(t)){s=t.value;let r=e.filter(i=>i.identify?.(s));if(r.length>1){const i=r.filter(c=>c.test);i.length>0&&(r=i)}n=r.find(i=>i.format===t.format)??r.find(i=>!i.format)}else s=t,n=e.find(r=>
55r.nodeClass&&s instanceof r.nodeClass);if(!n){const r=s?.constructor?.name??typeof s;throw new Error(`Tag not resolved for ${r} value`)}return n}function v7(e,t,{anchors:n,doc:s}){if(!s.directives)return"";const r=[],i=(Pe(e)||Qe(e))&&e.anchor;i&&b1(i)&&(n.add(i),r.push(`&${i}`));const c=e.tag?e.tag:t.default?null:t.tag;return c&&r.push(s.directives.tagString(c)),r.join(" ")}function ps(e,t,n,s){if(Je(e))return e.toString(t,n,s);if(As(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new 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 r;const i=Ze(e)?e:t.doc.createNode(e,{onTagObj:d=>r=d});r||(r=L7(t.doc.schema.tags,i));const c=v7(i,r,t);c.length>0&&(t.indentAtStart=(t.indentAtStart??0)+c.length+1);const l=typeof r.stringify=="function"?r.stringify(i,t,n,s):Pe(i)?pu(i,t,n,s):i.toString(t,n,s);return c?Pe(i)||l[0]==="{"||l[0]==="["?`${c} ${l}`:`${c} 56${t.indent}${l}`:l}function R7({key:e,value:t},n,s,r){const{allNullValues:i,doc:c,indent:l,indentStep:d,options:{commentString:g,indentSeq:_,simpleKeys:A}}=n;let N=Ze(e)&&e.comment||null;if(A){if(N)throw new Error("With simple keys, key nodes cannot have comments");if(Qe(e)||!Ze(e)&&typeof e=="object"){const re="With simple keys, collection cannot be used as a key value";throw new Error(re)}}let O=!A&&(!e||N&&t==null&&!n.inFlow||Qe(e)||(Pe(e)?e.type===Te.BLOCK_FOLDED||e.type===Te.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!O&&(A||!i),indent:l+d});let x=!1,D=!1,F=ps(e,n,()=>x=!0,()=>D=!0);if(!O&&!n.inFlow&&F.length>1024){if(A)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");O=!0}if(n.inFlow){if(i||t==null)return x&&s&&s(),F===""?"?":O?`? ${F}`:F}else if(i&&!A||t==null&&O)return F=`? ${F}`,N&&!x?F+=Pn(F,n.indent,g(N)):D&&r&&r(),F;x&&(N=null),O?(N&&(F+=Pn(F,n.indent,g(N))),F=`? ${F} 57${l}:`):(F=`${F}:`,N&&(F+=Pn(F,n.indent,g(N))));let B,$,j;Ze(t)?(B=!!t.spaceBefore,$=t.commentBefore,j=t.comment):(B=!1,$=null,j=null,t&&typeof t=="object"&&(t=c.createNode(t))),n.implicitKey=!1,!O&&!N&&Pe(t)&&(n.indentAtStart=F.length+1),D=!1,!_&&d.length>=2&&!n.inFlow&&!O&&gr(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let G=!1;const X=ps(t,n,()=>G=!0,()=>D=!0);let Q=" ";if(N||B||$){if(Q=B?` 58`:"",$){const re=g($);Q+=` 59${mn(re,n.indent)}`}X===""&&!n.inFlow?Q===` 60`&&(Q=` 61 62`):Q+=` 63${n.indent}`}else if(!O&&Qe(t)){const re=X[0],Z=X.indexOf(` 64`),ce=Z!==-1,ye=n.inFlow??t.flow??t.items.length===0;if(ce||!ye){let he=!1;if(ce&&(re==="&"||re==="!")){let fe=X.indexOf(" ");re==="&"&&fe!==-1&&fe<Z&&X[fe+1]==="!"&&(fe=X.indexOf(" ",fe+1)),(fe===-1||Z<fe)&&(he=!0)}he||(Q=` 65${n.indent}`)}}else(X===""||X[0]===` 66`)&&(Q="");return F+=Q+X,n.inFlow?G&&s&&s():j&&!G?F+=Pn(F,n.indent,g(j)):D&&r&&r(),F}function k1(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const Qr="<<",gn={identify:e=>e===Qr||typeof e=="symbol"&&e.description===Qr,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Te(Symbol(Qr)),{addToJSMap:S1}),stringify:()=>Qr},B7=(e,t)=>(gn.identify(t)||Pe(t)&&(!t.type||t.type===Te.PLAIN)&&gn.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===gn.tag&&n.default);function S1(e,t,n){if(n=e&&As(n)?n.resolve(e.doc):n,gr(n))for(const s of n.items)ta(e,t,s);else if(Array.isArray(n))for(const s of n)ta(e,t,s);else ta(e,t,n)}function ta(e,t,n){const s=e&&As(n)?n.resolve(e.doc):n;if(!pr(s))throw new Error("Merge sources must be maps or map aliases");const r=s.toJSON(null,e,Map);for(const[i,c]of r)t instanceof Map?t.has(i)||t.set(i,c):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:c,writable:!0,enumerable:!0,configurable:!0});return t}function C1(e,t,{key:n,value:s}){if(Ze(n)&&n.addToJSMap)n.addToJSMap(e,t,s);else if(B7(e,n))S1(e,t,s);else{const r=Lt(n,"",e);if(t instanceof Map)t.set(r,Lt(s,r,e));else if(t instanceof Set)t.add(r);else{const i=F7(n,r,e),c=Lt(s,i,e);i in t?Object.defineProperty(t,i,{value:c,writable:!0,enumerable:!0,configurable:!0}):t[i]=c}}return t}function F7(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(Ze(e)&&n?.doc){const s=x1(n.doc,{});s.anchors=new Set;for(const i of n.anchors.keys())s.anchors.add(i.anchor);s.inFlow=!0,s.inStringifyKey=!0;const r=e.toString(s);if(!n.mapKeyWarned){let i=JSON.stringify(r);i.length>40&&(i=i.substring(0,36)+'..."'),k1(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function gu(e,t,n){const s=ar(e,void 0,n),r=ar(t,void 0,n);return new ft(s,r)}class ft{constructor(t,n=null){Object.defineProperty(this,Rt,{value:g1}),this.key=t,this.value=n}clone(t){let{key:n,value:s}=this;return Ze(n)&&(n=n.clone(t)),Ze(s)&&(s=s.clone(t)),new ft(n,s)}toJSON(t,n){const s=n?.mapAsMap?new Map:{};return C1(n,s,this)}toString(t,n,s){return t?.doc?R7(this,t,n,s):JSON.stringify(this)}}
66function w1(e,t,n){return(t.inFlow??e.flow?H7:P7)(e,t,n)}function P7({comment:e,items:t},n,{blockItemPrefix:s,flowChars:r,itemIndent:i,onChompKeep:c,onComment:l}){const{indent:d,options:{commentString:g}}=n,_=Object.assign({},n,{indent:i,type:null});let A=!1;const N=[];for(let x=0;x<t.length;++x){const D=t[x];let F=null;if(Ze(D))!A&&D.spaceBefore&&N.push(""),xi(n,N,D.commentBefore,A),D.comment&&(F=D.comment);else if(Je(D)){const $=Ze(D.key)?D.key:null;$&&(!A&&$.spaceBefore&&N.push(""),xi(n,N,$.commentBefore,A))}A=!1;let B=ps(D,_,()=>F=null,()=>A=!0);F&&(B+=Pn(B,i,g(F))),A&&F&&(A=!1),N.push(s+B)}let O;if(N.length===0)O=r.start+r.end;else{O=N[0];for(let x=1;x<N.length;++x){const D=N[x];O+=D?` 67${d}${D}`:` 68`}}return e?(O+=` 69`+mn(g(e),d),l&&l()):A&&c&&c(),O}function H7({items:e},t,{flowChars:n,itemIndent:s}){const{indent:r,indentStep:i,flowCollectionPadding:c,options:{commentString:l}}=t;s+=i;const d=Object.assign({},t,{indent:s,inFlow:!0,type:null});let g=!1,_=0;const A=[];for(let x=0;x<e.length;++x){const D=e[x];let F=null;if(Ze(D))D.spaceBefore&&A.push(""),xi(t,A,D.commentBefore,!1),D.comment&&(F=D.comment);else if(Je(D)){const $=Ze(D.key)?D.key:null;$&&($.spaceBefore&&A.push(""),xi(t,A,$.commentBefore,!1),$.comment&&(g=!0));const j=Ze(D.value)?D.value:null;j?(j.comment&&(F=j.comment),j.commentBefore&&(g=!0)):D.value==null&&$?.comment&&(F=$.comment)}F&&(g=!0);let B=ps(D,d,()=>F=null);x<e.length-1&&(B+=","),F&&(B+=Pn(B,s,l(F))),!g&&(A.length>_||B.includes(` 70`))&&(g=!0),A.push(B),_=A.length}const{start:N,end:O}=n;if(A.length===0)return N+O;if(!g){const x=A.reduce((D,F)=>D+F.length+2,2);g=t.options.lineWidth>0&&x>t.options.lineWidth}if(g){let x=N;for(const D of A)x+=D?` 71${i}${r}${D}`:` 72`;return`${x} 73${r}${O}`}else return`${N}${c}${A.join(" ")}${c}${O}`}function xi({indent:e,options:{commentString:t}},n,s,r){if(s&&r&&(s=s.replace(/^\n+/,"")),s){const i=mn(t(s),e);n.push(i.trimStart())}}function Hn(e,t){const n=Pe(t)?t.value:t;for(const s of e)if(Je(s)&&(s.key===t||s.key===n||Pe(s.key)&&s.key.value===n))return s}class Mt extends y1{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Cn,t),this.items=[]}static from(t,n,s){const{keepUndefined:r,replacer:i}=s,c=new this(t),l=(d,g)=>{if(typeof i=="function")g=i.call(n,d,g);else if(Array.isArray(i)&&!i.includes(d))return;(g!==void 0||r)&&c.items.push(gu(d,g,s))};if(n instanceof Map)for(const[d,g]of n)l(d,g);else if(n&&typeof n=="object")for(const d of Object.keys(n))l(d,n[d]);return typeof t.sortMapEntries=="function"&&c.items.sort(t.sortMapEntries),c}add(t,n){let s;Je(t)?s=t:!t||typeof t!="object"||!("key"in t)?s=new ft(t,t?.value):s=new ft(t.key,t.value);const r=Hn(this.items,s.key),i=this.schema?.sortMapEntries;if(r){if(!n)throw new Error(`Key ${s.key} already set`);Pe(r.value)&&_1(s.value)?r.value.value=s.value:r.value=s.value}else if(i){const c=this.items.findIndex(l=>i(s,l)<0);c===-1?this.items.push(s):this.items.splice(c,0,s)}else this.items.push(s)}delete(t){const n=Hn(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=Hn(this.items,t)?.value;return(!n&&Pe(r)?r.value:r)??void 0}has(t){return!!Hn(this.items,t)}set(t,n){this.add(new ft(t,n),!0)}toJSON(t,n,s){const r=s?new s:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(r);for(const i of this.items)C1(n,r,i);return r}toString(t,n,s){if(!t)return JSON.stringify(this);for(const r of this.items)if(!Je(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),w1(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:s,onComment:n})}}const xs={collection:"map",default:!0,nodeClass:Mt,tag:"tag:yaml.org,2002:map",resolve(e,t){return pr(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Mt.from(e,t,n)};class $n extends y1{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(ys,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Zr(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const s=Zr(t);if(typeof s!="number")return;const r=this.items[s];return!n&&Pe(r)?r.value:r}has(t){const n=Zr(t);return typeof n=="number"&&n<this.items.length}set(t,n){const s=Zr(t);if(typeof s!="number")throw new Error(`Expected a valid index, not ${t}.`);const r=this.items[s];Pe(r)&&_1(n)?r.value=n:this.items[s]=n}toJSON(t,n){const s=[];n?.onCreate&&n.onCreate(s);let r=0;
73for(const i of this.items)s.push(Lt(i,String(r++),n));return s}toString(t,n,s){return t?w1(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:s,onComment:n}):JSON.stringify(this)}static from(t,n,s){const{replacer:r}=s,i=new this(t);if(n&&Symbol.iterator in Object(n)){let c=0;for(let l of n){if(typeof r=="function"){const d=n instanceof Set?l:String(c++);l=r.call(n,d,l)}i.items.push(ar(l,void 0,s))}}return i}}function Zr(e){let t=Pe(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const ks={collection:"seq",default:!0,nodeClass:$n,tag:"tag:yaml.org,2002:seq",resolve(e,t){return gr(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>$n.from(e,t,n)},ji={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,s){return t=Object.assign({actualString:!0},t),pu(e,t,n,s)}},Vi={identify:e=>e==null,createNode:()=>new Te(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Te(null),stringify:({source:e},t)=>typeof e=="string"&&Vi.test.test(e)?e:t.options.nullStr},bu={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Te(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&bu.test.test(e)){const s=e[0]==="t"||e[0]==="T";if(t===s)return e}return t?n.options.trueStr:n.options.falseStr}};function $t({format:e,minFractionDigits:t,tag:n,value:s}){if(typeof s=="bigint")return String(s);const r=typeof s=="number"?s:Number(s);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let i=JSON.stringify(s);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(i)){let c=i.indexOf(".");c<0&&(c=i.length,i+=".");let l=t-(i.length-c-1);for(;l-- >0;)i+="0"}return i}const N1={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$t},I1={identify:e=>typeof e=="number",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){const t=Number(e.value);return isFinite(t)?t.toExponential():$t(e)}},D1={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Te(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:$t},Gi=e=>typeof e=="bigint"||Number.isInteger(e),Eu=(e,t,n,{intAsBigInt:s})=>s?BigInt(e):parseInt(e.substring(t),n);function O1(e,t,n){const{value:s}=e;return Gi(s)&&s>=0?n+s.toString(t):$t(e)}const M1={identify:e=>Gi(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Eu(e,2,8,n),stringify:e=>O1(e,8,"0o")},L1={identify:Gi,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Eu(e,0,10,n),stringify:$t},v1={identify:e=>Gi(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Eu(e,2,16,n),stringify:e=>O1(e,16,"0x")},U7=[xs,ks,ji,Vi,bu,M1,L1,v1,N1,I1,D1];function sl(e){return typeof e=="bigint"||Number.isInteger(e)}const Jr=({value:e})=>JSON.stringify(e),z7=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Jr},{identify:e=>e==null,createNode:()=>new Te(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Jr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:Jr},{identify:sl,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})=>sl(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Jr}],q7={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},$7=[xs,ks].concat(z7,q7),Tu={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),s=new Uint8Array(n.length);for(let r=0;r<n.length;++r)s[r]=n.charCodeAt(r);return s}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},s,r,i){const c=n;let l;if(typeof btoa=="function"){let d="";for(let g=0;g<c.length;++g)d+=String.fromCharCode(c[g]);l=btoa(d)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=Te.BLOCK_LITERAL),t!==Te.QUOTE_DOUBLE){const d=Math.max(s.options.lineWidth-s.indent.length,s.options.minContentWidth),g=Math.ceil(l.length/d),_=new Array(g);for(let A=0,N=0;A<g;++A,N+=d)_[A]=l.substr(N,d);l=_.join(t===Te.BLOCK_LITERAL?` 74`:" ")}return pu({comment:e,type:t,value:l},s,r,i)}};function R1(e,t){if(gr(e))for(let n=0;n<e.items.length;++n){let s=e.items[n];
74if(!Je(s)){if(pr(s)){s.items.length>1&&t("Each pair must have its own sequence indicator");const r=s.items[0]||new ft(new Te(null));if(s.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${s.commentBefore} 75${r.key.commentBefore}`:s.commentBefore),s.comment){const i=r.value??r.key;i.comment=i.comment?`${s.comment} 76${i.comment}`:s.comment}s=r}e.items[n]=Je(s)?s:new ft(s)}}else t("Expected a sequence for this tag");return e}function B1(e,t,n){const{replacer:s}=n,r=new $n(e);r.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let c of t){typeof s=="function"&&(c=s.call(t,String(i++),c));let l,d;if(Array.isArray(c))if(c.length===2)l=c[0],d=c[1];else throw new TypeError(`Expected [key, value] tuple: ${c}`);else if(c&&c instanceof Object){const g=Object.keys(c);if(g.length===1)l=g[0],d=c[l];else throw new TypeError(`Expected tuple with one key, not ${g.length} keys`)}else l=c;r.items.push(gu(l,d,n))}return r}const _u={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:R1,createNode:B1};class cs extends $n{constructor(){super(),this.add=Mt.prototype.add.bind(this),this.delete=Mt.prototype.delete.bind(this),this.get=Mt.prototype.get.bind(this),this.has=Mt.prototype.has.bind(this),this.set=Mt.prototype.set.bind(this),this.tag=cs.tag}toJSON(t,n){if(!n)return super.toJSON(t);const s=new Map;n?.onCreate&&n.onCreate(s);for(const r of this.items){let i,c;if(Je(r)?(i=Lt(r.key,"",n),c=Lt(r.value,i,n)):i=Lt(r,"",n),s.has(i))throw new Error("Ordered maps must not include duplicate keys");s.set(i,c)}return s}static from(t,n,s){const r=B1(t,n,s),i=new this;return i.items=r.items,i}}cs.tag="tag:yaml.org,2002:omap";const yu={collection:"seq",identify:e=>e instanceof Map,nodeClass:cs,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=R1(e,t),s=[];for(const{key:r}of n.items)Pe(r)&&(s.includes(r.value)?t(`Ordered maps must not include duplicate keys: ${r.value}`):s.push(r.value));return Object.assign(new cs,n)},createNode:(e,t,n)=>cs.from(e,t,n)};function F1({value:e,source:t},n){return t&&(e?P1:H1).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const P1={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Te(!0),stringify:F1},H1={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Te(!1),stringify:F1},Y7={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$t},j7={identify:e=>typeof e=="number",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){const t=Number(e.value);return isFinite(t)?t.toExponential():$t(e)}},V7={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Te(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const s=e.substring(n+1).replace(/_/g,"");s[s.length-1]==="0"&&(t.minFractionDigits=s.length)}return t},stringify:$t},br=e=>typeof e=="bigint"||Number.isInteger(e);function Ki(e,t,n,{intAsBigInt:s}){const r=e[0];if((r==="-"||r==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),s){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const c=BigInt(e);return r==="-"?BigInt(-1)*c:c}const i=parseInt(e,n);return r==="-"?-1*i:i}function Au(e,t,n){const{value:s}=e;if(br(s)){const r=s.toString(t);return s<0?"-"+n+r.substr(1):n+r}return $t(e)}const G7={identify:br,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Ki(e,2,2,n),stringify:e=>Au(e,2,"0b")},K7={identify:br,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Ki(e,1,8,n),stringify:e=>Au(e,8,"0")},X7={identify:br,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n
76)=>Ki(e,0,10,n),stringify:$t},W7={identify:br,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Ki(e,2,16,n),stringify:e=>Au(e,16,"0x")};class ls extends Mt{constructor(t){super(t),this.tag=ls.tag}add(t){let n;Je(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ft(t.key,null):n=new ft(t,null),Hn(this.items,n.key)||this.items.push(n)}get(t,n){const s=Hn(this.items,t);return!n&&Je(s)?Pe(s.key)?s.key.value:s.key:s}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const s=Hn(this.items,t);s&&!n?this.items.splice(this.items.indexOf(s),1):!s&&n&&this.items.push(new ft(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,s){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,s);throw new Error("Set items must all have null values")}static from(t,n,s){const{replacer:r}=s,i=new this(t);if(n&&Symbol.iterator in Object(n))for(let c of n)typeof r=="function"&&(c=r.call(n,c,c)),i.items.push(gu(c,null,s));return i}}ls.tag="tag:yaml.org,2002:set";const xu={collection:"map",identify:e=>e instanceof Set,nodeClass:ls,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>ls.from(e,t,n),resolve(e,t){if(pr(e)){if(e.hasAllNullValues(!0))return Object.assign(new ls,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function ku(e,t){const n=e[0],s=n==="-"||n==="+"?e.substring(1):e,r=c=>t?BigInt(c):Number(c),i=s.replace(/_/g,"").split(":").reduce((c,l)=>c*r(60)+r(l),r(0));return n==="-"?r(-1)*i:i}function U1(e){let{value:t}=e,n=c=>c;if(typeof t=="bigint")n=c=>BigInt(c);else if(isNaN(t)||!isFinite(t))return $t(e);let s="";t<0&&(s="-",t*=n(-1));const r=n(60),i=[t%r];return t<60?i.unshift(0):(t=(t-i[0])/r,i.unshift(t%r),t>=60&&(t=(t-i[0])/r,i.unshift(t))),s+i.map(c=>String(c).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const z1={identify:e=>typeof e=="bigint"||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})=>ku(e,n),stringify:U1},q1={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>ku(e,!1),stringify:U1},Xi={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){const t=e.match(Xi.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,s,r,i,c,l]=t.map(Number),d=t[7]?Number((t[7]+"00").substr(1,3)):0;let g=Date.UTC(n,s-1,r,i||0,c||0,l||0,d);const _=t[8];if(_&&_!=="Z"){let A=ku(_,!1);Math.abs(A)<30&&(A*=60),g-=6e4*A}return new Date(g)},stringify:({value:e})=>e.toISOString().replace(/(T00:00:00)?\.000Z$/,"")},rl=[xs,ks,ji,Vi,P1,H1,G7,K7,X7,W7,Y7,j7,V7,Tu,gn,yu,_u,xu,z1,q1,Xi],il=new Map([["core",U7],["failsafe",[xs,ks,ji]],["json",$7],["yaml11",rl],["yaml-1.1",rl]]),al={binary:Tu,bool:bu,float:D1,floatExp:I1,floatNaN:N1,floatTime:q1,int:L1,intHex:v1,intOct:M1,intTime:z1,map:xs,merge:gn,null:Vi,omap:yu,pairs:_u,seq:ks,set:xu,timestamp:Xi},Q7={"tag:yaml.org,2002:binary":Tu,"tag:yaml.org,2002:merge":gn,"tag:yaml.org,2002:omap":yu,"tag:yaml.org,2002:pairs":_u,"tag:yaml.org,2002:set":xu,"tag:yaml.org,2002:timestamp":Xi};function na(e,t,n){const s=il.get(t);if(s&&!e)return n&&!s.includes(gn)?s.concat(gn):s.slice();let r=s;if(!r)if(Array.isArray(e))r=[];else{const i=Array.from(il.keys()).filter(c=>c!=="yaml11").map(c=>JSON.stringify(c)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${i} or define customTags array`)}if(Array.isArray(e))for(const i of e)r=r.concat(i);else typeof e=="function"&&(r=e(r.slice()));return n&&(r=r.concat(gn)),r.reduce((i,c)=>{const l=typeof c=="string"?al[c]:c;if(!l){const d=JSON.stringify(c),g=Object.keys(al).map(_=>JSON.stringify(_)).join(", ");throw new Error(`Unknown custom tag ${d}; use one of ${g}`)}return i.includes(l)||i.push(l),i},[])}const Z7=(e,t)=>
76e.key<t.key?-1:e.key>t.key?1:0;class Su{constructor({compat:t,customTags:n,merge:s,resolveKnownTags:r,schema:i,sortMapEntries:c,toStringDefaults:l}){this.compat=Array.isArray(t)?na(t,"compat"):t?na(null,t):null,this.name=typeof i=="string"&&i||"core",this.knownTags=r?Q7:{},this.tags=na(n,this.name,s),this.toStringOptions=l??null,Object.defineProperty(this,Cn,{value:xs}),Object.defineProperty(this,en,{value:ji}),Object.defineProperty(this,ys,{value:ks}),this.sortMapEntries=typeof c=="function"?c:c===!0?Z7:null}clone(){const t=Object.create(Su.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function J7(e,t){const n=[];let s=t.directives===!0;if(t.directives!==!1&&e.directives){const d=e.directives.toString(e);d?(n.push(d),s=!0):e.directives.docStart&&(s=!0)}s&&n.push("---");const r=x1(e,t),{commentString:i}=r.options;if(e.commentBefore){n.length!==1&&n.unshift("");const d=i(e.commentBefore);n.unshift(mn(d,""))}let c=!1,l=null;if(e.contents){if(Ze(e.contents)){if(e.contents.spaceBefore&&s&&n.push(""),e.contents.commentBefore){const _=i(e.contents.commentBefore);n.push(mn(_,""))}r.forceBlockIndent=!!e.comment,l=e.contents.comment}const d=l?void 0:()=>c=!0;let g=ps(e.contents,r,()=>l=null,d);l&&(g+=Pn(g,"",i(l))),(g[0]==="|"||g[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${g}`:n.push(g)}else n.push(ps(e.contents,r));if(e.directives?.docEnd)if(e.comment){const d=i(e.comment);d.includes(` 77`)?(n.push("..."),n.push(mn(d,""))):n.push(`... ${d}`)}else n.push("...");else{let d=e.comment;d&&c&&(d=d.replace(/^\n+/,"")),d&&((!c||l)&&n[n.length-1]!==""&&n.push(""),n.push(mn(i(d),"")))}return n.join(` 78`)+` 79`}class Wi{constructor(t,n,s){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Rt,{value:wa});let r=null;typeof n=="function"||Array.isArray(n)?r=n:s===void 0&&n&&(s=n,n=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},s);this.options=i;let{version:c}=i;s?._directives?(this.directives=s._directives.atDocument(),this.directives.yaml.explicit&&(c=this.directives.yaml.version)):this.directives=new ht({version:c}),this.setSchema(c,s),this.contents=t===void 0?null:this.createNode(t,r,s)}clone(){const t=Object.create(Wi.prototype,{[Rt]:{value:wa}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Ze(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Jn(this.contents)&&this.contents.add(t)}addIn(t,n){Jn(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const s=E1(this);t.anchor=!n||s.has(n)?T1(n||"a",s):n}return new mu(t.anchor)}createNode(t,n,s){let r;if(typeof n=="function")t=n.call({"":t},"",t),r=n;else if(Array.isArray(n)){const F=$=>typeof $=="number"||$ instanceof String||$ instanceof Number,B=n.filter(F).map(String);B.length>0&&(n=n.concat(B)),r=n}else s===void 0&&n&&(s=n,n=void 0);const{aliasDuplicateObjects:i,anchorPrefix:c,flow:l,keepUndefined:d,onTagObj:g,tag:_}=s??{},{onAnchor:A,setAnchors:N,sourceObjects:O}=w7(this,c||"a"),x={aliasDuplicateObjects:i??!0,keepUndefined:d??!1,onAnchor:A,onTagObj:g,replacer:r,schema:this.schema,sourceObjects:O},D=ar(t,_,x);return l&&Qe(D)&&(D.flow=!0),N(),D}createPair(t,n,s={}){const r=this.createNode(t,null,s),i=this.createNode(n,null,s);return new ft(r,i)}delete(t){return Jn(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Hs(t)?this.contents==null?!1:(this.contents=null,!0):Jn(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Qe(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Hs(t)?!n&&Pe(this.contents)?this.contents.value:this.contents:Qe(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Qe(this.contents)?this.contents.has(t):!1}hasIn(t){return Hs(t)?this.contents!==void 0:Qe(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Ai(this.schema,[t],n):Jn(this.contents)&&this.contents.set(t,n)}setIn(t,n){Hs(t)?this.contents=n:this.contents==null?this.contents=Ai(this.schema,Array.from(t),n):Jn(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let s;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new ht({version:"1.1"}),s={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new ht({version:t}),s={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,s=null;break;default:{const r=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(s)this.schema=new Su(Object.assign(s,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}
79toJS({json:t,jsonArg:n,mapAsMap:s,maxAliasCount:r,onAnchor:i,reviver:c}={}){const l={anchors:new Map,doc:this,keep:!t,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},d=Lt(this.contents,n??"",l);if(typeof i=="function")for(const{count:g,res:_}of l.anchors.values())i(_,g);return typeof c=="function"?is(c,{"":d},"",d):d}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return J7(this,t)}}function Jn(e){if(Qe(e))return!0;throw new Error("Expected a YAML collection as document contents")}class $1 extends Error{constructor(t,n,s,r){super(),this.name=t,this.code=s,this.message=r,this.pos=n}}class Us extends $1{constructor(t,n,s){super("YAMLParseError",t,n,s)}}class eb extends $1{constructor(t,n,s){super("YAMLWarning",t,n,s)}}const ul=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(l=>t.linePos(l));const{line:s,col:r}=n.linePos[0];n.message+=` at line ${s}, column ${r}`;let i=r-1,c=e.substring(t.lineStarts[s-1],t.lineStarts[s]).replace(/[\n\r]+$/,"");if(i>=60&&c.length>80){const l=Math.min(i-39,c.length-79);c="â¦"+c.substring(l),i-=l-1}if(c.length>80&&(c=c.substring(0,79)+"â¦"),s>1&&/^ *$/.test(c.substring(0,i))){let l=e.substring(t.lineStarts[s-2],t.lineStarts[s-1]);l.length>80&&(l=l.substring(0,79)+`⦠80`),c=l+c}if(/[^ ]/.test(c)){let l=1;const d=n.linePos[1];d&&d.line===s&&d.col>r&&(l=Math.max(1,Math.min(d.col-r,80-i)));const g=" ".repeat(i)+"^".repeat(l);n.message+=`: 81 82${c} 83${g} 84`}};function gs(e,{flow:t,indicator:n,next:s,offset:r,onError:i,parentIndent:c,startOnNewline:l}){let d=!1,g=l,_=l,A="",N="",O=!1,x=!1,D=null,F=null,B=null,$=null,j=null,G=null,X=null;for(const Z of e)switch(x&&(Z.type!=="space"&&Z.type!=="newline"&&Z.type!=="comma"&&i(Z.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),x=!1),D&&(g&&Z.type!=="comment"&&Z.type!=="newline"&&i(D,"TAB_AS_INDENT","Tabs are not allowed as indentation"),D=null),Z.type){case"space":!t&&(n!=="doc-start"||s?.type!=="flow-collection")&&Z.source.includes(" ")&&(D=Z),_=!0;break;case"comment":{_||i(Z,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const ce=Z.source.substring(1)||" ";A?A+=N+ce:A=ce,N="",g=!1;break}case"newline":g?A?A+=Z.source:(!G||n!=="seq-item-ind")&&(d=!0):N+=Z.source,g=!0,O=!0,(F||B)&&($=Z),_=!0;break;case"anchor":F&&i(Z,"MULTIPLE_ANCHORS","A node can have at most one anchor"),Z.source.endsWith(":")&&i(Z.offset+Z.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),F=Z,X===null&&(X=Z.offset),g=!1,_=!1,x=!0;break;case"tag":{B&&i(Z,"MULTIPLE_TAGS","A node can have at most one tag"),B=Z,X===null&&(X=Z.offset),g=!1,_=!1,x=!0;break}case n:(F||B)&&i(Z,"BAD_PROP_ORDER",`Anchors and tags must be after the ${Z.source} indicator`),G&&i(Z,"UNEXPECTED_TOKEN",`Unexpected ${Z.source} in ${t??"collection"}`),G=Z,g=n==="seq-item-ind"||n==="explicit-key-ind",_=!1;break;case"comma":if(t){j&&i(Z,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),j=Z,g=!1,_=!1;break}default:i(Z,"UNEXPECTED_TOKEN",`Unexpected ${Z.type} token`),g=!1,_=!1}const Q=e[e.length-1],re=Q?Q.offset+Q.source.length:r;return x&&s&&s.type!=="space"&&s.type!=="newline"&&s.type!=="comma"&&(s.type!=="scalar"||s.source!=="")&&i(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),D&&(g&&D.indent<=c||s?.type==="block-map"||s?.type==="block-seq")&&i(D,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:j,found:G,spaceBefore:d,comment:A,hasNewline:O,anchor:F,tag:B,newlineAfterProp:$,end:re,start:X??re}}function ur(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(` 85`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;
85if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(ur(t.key)||ur(t.value))return!0}return!1;default:return!0}}function Oa(e,t,n){if(t?.type==="flow-collection"){const s=t.end[0];s.indent===e&&(s.source==="]"||s.source==="}")&&ur(t)&&n(s,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Y1(e,t,n){const{uniqueKeys:s}=e.options;if(s===!1)return!1;const r=typeof s=="function"?s:(i,c)=>i===c||Pe(i)&&Pe(c)&&i.value===c.value;return t.some(i=>r(i.key,n))}const ol="All mapping items must start at the same column";function tb({composeNode:e,composeEmptyNode:t},n,s,r,i){const c=i?.nodeClass??Mt,l=new c(n.schema);n.atRoot&&(n.atRoot=!1);let d=s.offset,g=null;for(const _ of s.items){const{start:A,key:N,sep:O,value:x}=_,D=gs(A,{indicator:"explicit-key-ind",next:N??O?.[0],offset:d,onError:r,parentIndent:s.indent,startOnNewline:!0}),F=!D.found;if(F){if(N&&(N.type==="block-seq"?r(d,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in N&&N.indent!==s.indent&&r(d,"BAD_INDENT",ol)),!D.anchor&&!D.tag&&!O){g=D.end,D.comment&&(l.comment?l.comment+=` 86`+D.comment:l.comment=D.comment);continue}(D.newlineAfterProp||ur(N))&&r(N??A[A.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else D.found?.indent!==s.indent&&r(d,"BAD_INDENT",ol);n.atKey=!0;const B=D.end,$=N?e(n,N,D,r):t(n,B,A,null,D,r);n.schema.compat&&Oa(s.indent,N,r),n.atKey=!1,Y1(n,l.items,$)&&r(B,"DUPLICATE_KEY","Map keys must be unique");const j=gs(O??[],{indicator:"map-value-ind",next:x,offset:$.range[2],onError:r,parentIndent:s.indent,startOnNewline:!N||N.type==="block-scalar"});if(d=j.end,j.found){F&&(x?.type==="block-map"&&!j.hasNewline&&r(d,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&D.start<j.found.offset-1024&&r($.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const G=x?e(n,x,j,r):t(n,d,O,null,j,r);n.schema.compat&&Oa(s.indent,x,r),d=G.range[2];const X=new ft($,G);n.options.keepSourceTokens&&(X.srcToken=_),l.items.push(X)}else{F&&r($.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),j.comment&&($.comment?$.comment+=` 87`+j.comment:$.comment=j.comment);const G=new ft($);n.options.keepSourceTokens&&(G.srcToken=_),l.items.push(G)}}return g&&g<d&&r(g,"IMPOSSIBLE","Map comment with trailing content"),l.range=[s.offset,d,g??d],l}function nb({composeNode:e,composeEmptyNode:t},n,s,r,i){const c=i?.nodeClass??$n,l=new c(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let d=s.offset,g=null;for(const{start:_,value:A}of s.items){const N=gs(_,{indicator:"seq-item-ind",next:A,offset:d,onError:r,parentIndent:s.indent,startOnNewline:!0});if(!N.found)if(N.anchor||N.tag||A)A&&A.type==="block-seq"?r(N.end,"BAD_INDENT","All sequence items must start at the same column"):r(d,"MISSING_CHAR","Sequence item without - indicator");else{g=N.end,N.comment&&(l.comment=N.comment);continue}const O=A?e(n,A,N,r):t(n,N.end,_,null,N,r);n.schema.compat&&Oa(s.indent,A,r),d=O.range[2],l.items.push(O)}return l.range=[s.offset,d,g??d],l}function Er(e,t,n,s){let r="";if(e){let i=!1,c="";for(const l of e){const{source:d,type:g}=l;switch(g){case"space":i=!0;break;case"comment":{n&&!i&&s(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const _=d.substring(1)||" ";r?r+=c+_:r=_,c="";break}case"newline":r&&(c+=d),i=!0;break;default:s(l,"UNEXPECTED_TOKEN",`Unexpected ${g} at node end`)}t+=d.length}}return{comment:r,offset:t}}const sa="Block collections are not allowed within flow collections",ra=e=>e&&(e.type==="block-map"||e.type==="block-seq");function sb({composeNode:e,composeEmptyNode:t},n,s,r,i){const c=s.start.source==="{",l=c?"flow map":"flow sequence",d=i?.nodeClass??(c?Mt:$n),g=new d(n.schema);g.flow=!0;const _=n.atRoot;_&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let A=s.offset+s.start.source.length;for(let F=0;F<s.items.length;++F){const B=s.items[F],{start:$,key:j,sep:G,value:X}=B,Q=gs($,{flow:l,indicator:"explicit-key-ind",next:j??G?.[0],offset:A,onError:r,parentIndent:s.indent,startOnNewline:!1});if(!Q.found){if(!Q.anchor&&!Q.tag&&!G&&!X){F===0&&Q.comma?r(Q.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`):F<s.items.length-1&&r(Q.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${l}`),Q.comment&&(g.comment?g.comment+=` 88`+Q.comment:g.comment=Q.comment),A=Q.end;continue}!c&&n.options.strict&&ur(j)&&r(j,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(F===0)Q.comma&&r(Q.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`);else if(Q.comma||r(Q.start,"MISSING_CHAR",`Missing , between ${l} items`),Q.comment){let re="";e:for(const Z of $)switch(Z.type){case"comma":case"space":break;case"comment":re=Z.source.substring(1);break e;default:break e}if(re){let Z=g.items[g.items.length-1];Je(Z)&&(Z=Z.value??Z.key),Z.comment?Z.comment+=` 89`+re:Z.comment=re,Q.comment=Q.comment.substring(re.length+1)}}if(!c&&!G&&!Q.found){const re=X?e(n,X,Q,r):t(n,Q.end,G,null,Q,r);g.items.push(re),A=re.range[2],ra(X)&&r(re.range,"BLOCK_IN_FLOW",sa)}else{n.atKey=!0;const re=Q.end,Z=j?e(n,j,Q,r):t(n,re,$,null,Q,r);ra(j)&&r(Z.range,"BLOCK_IN_FLOW",sa),n.atKey=!1;const ce=gs(G??[],{flow:l,indicator:"map-value-ind",next:X,offset:Z.range[2],onError:r,parentIndent:s.indent,startOnNewline:!1});if(ce.found){if(!c&&!Q.found&&n.options.strict){if(G)for(const fe of G){if(fe===ce.found)break;if(fe.type==="newline"){r(fe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}Q.start<ce.found.offset-1024&&r(ce.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else X&&("source"in X&&X.source&&X.source[0]===":"?r(X,"MISSING_CHAR",`Missing space after : in ${l}`):r(ce.start,"MISSING_CHAR",`Missing , or : between ${l} items`));const ye=X?e(n,X,ce,r):ce.found?t(n,ce.end,G,null,ce,r):null;
89ye?ra(X)&&r(ye.range,"BLOCK_IN_FLOW",sa):ce.comment&&(Z.comment?Z.comment+=` 90`+ce.comment:Z.comment=ce.comment);const he=new ft(Z,ye);if(n.options.keepSourceTokens&&(he.srcToken=B),c){const fe=g;Y1(n,fe.items,Z)&&r(re,"DUPLICATE_KEY","Map keys must be unique"),fe.items.push(he)}else{const fe=new Mt(n.schema);fe.flow=!0,fe.items.push(he);const Ee=(ye??Z).range;fe.range=[Z.range[0],Ee[1],Ee[2]],g.items.push(fe)}A=ye?ye.range[2]:ce.end}}const N=c?"}":"]",[O,...x]=s.end;let D=A;if(O&&O.source===N)D=O.offset+O.source.length;else{const F=l[0].toUpperCase()+l.substring(1),B=_?`${F} must end with a ${N}`:`${F} in block collection must be sufficiently indented and end with a ${N}`;r(A,_?"MISSING_CHAR":"BAD_INDENT",B),O&&O.source.length!==1&&x.unshift(O)}if(x.length>0){const F=Er(x,D,n.options.strict,r);F.comment&&(g.comment?g.comment+=` 91`+F.comment:g.comment=F.comment),g.range=[s.offset,D,F.offset]}else g.range=[s.offset,D,D];return g}function ia(e,t,n,s,r,i){const c=n.type==="block-map"?tb(e,t,n,s,i):n.type==="block-seq"?nb(e,t,n,s,i):sb(e,t,n,s,i),l=c.constructor;return r==="!"||r===l.tagName?(c.tag=l.tagName,c):(r&&(c.tag=r),c)}function rb(e,t,n,s,r){const i=s.tag,c=i?t.directives.tagName(i.source,N=>r(i,"TAG_RESOLVE_FAILED",N)):null;if(n.type==="block-seq"){const{anchor:N,newlineAfterProp:O}=s,x=N&&i?N.offset>i.offset?N:i:N??i;x&&(!O||O.offset<x.offset)&&r(x,"MISSING_CHAR","Missing newline after block sequence props")}const l=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!i||!c||c==="!"||c===Mt.tagName&&l==="map"||c===$n.tagName&&l==="seq")return ia(e,t,n,r,c);let d=t.schema.tags.find(N=>N.tag===c&&N.collection===l);if(!d){const N=t.schema.knownTags[c];if(N&&N.collection===l)t.schema.tags.push(Object.assign({},N,{default:!1})),d=N;else return N?.collection?r(i,"BAD_COLLECTION_TYPE",`${N.tag} used for ${l} collection, but expects ${N.collection}`,!0):r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,!0),ia(e,t,n,r,c)}const g=ia(e,t,n,r,c,d),_=d.resolve?.(g,N=>r(i,"TAG_RESOLVE_FAILED",N),t.options)??g,A=Ze(_)?_:new Te(_);return A.range=g.range,A.tag=c,d?.format&&(A.format=d.format),A}function ib(e,t,n){const s=t.offset,r=ab(t,e.options.strict,n);if(!r)return{value:"",type:null,comment:"",range:[s,s,s]};const i=r.mode===">"?Te.BLOCK_FOLDED:Te.BLOCK_LITERAL,c=t.source?ub(t.source):[];let l=c.length;for(let D=c.length-1;D>=0;--D){const F=c[D][1];if(F===""||F==="\r")l=D;else break}if(l===0){const D=r.chomp==="+"&&c.length>0?` 92`.repeat(Math.max(1,c.length-1)):"";let F=s+r.length;return t.source&&(F+=t.source.length),{value:D,type:i,comment:r.comment,range:[s,F,F]}}let d=t.indent+r.indent,g=t.offset+r.length,_=0;for(let D=0;D<l;++D){const[F,B]=c[D];if(B===""||B==="\r")r.indent===0&&F.length>d&&(d=F.length);else{F.length<d&&n(g+F.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),r.indent===0&&(d=F.length),_=D,d===0&&!e.atRoot&&n(g,"BAD_INDENT","Block scalar values in collections must be indented");break}g+=F.length+B.length+1}for(let D=c.length-1;D>=l;--D)c[D][0].length>d&&(l=D+1);let A="",N="",O=!1;for(let D=0;D<_;++D)A+=c[D][0].slice(d)+` 93`;for(let D=_;D<l;++D){let[F,B]=c[D];g+=F.length+B.length+1;const $=B[B.length-1]==="\r";if($&&(B=B.slice(0,-1)),B&&F.length<d){const G=`Block scalar lines must not be less indented than their ${r.indent?"explicit indentation indicator":"first line"}`;n(g-B.length-($?2:1),"BAD_INDENT",G),F=""}i===Te.BLOCK_LITERAL?(A+=N+F.slice(d)+B,N=` 94`):F.length>d||B[0]===" "?(N===" "?N=` 95`:!O&&N===` 96`&&(N=` 97 98`),A+=N+F.slice(d)+B,N=` 99`,O=!0):B===""?N===` 100`?A+=` 101`:N=` 102`:(A+=N+B,N=" ",O=!1)}switch(r.chomp){case"-":break;case"+":for(let D=l;D<c.length;++D)A+=` 103`+c[D][0].slice(d);A[A.length-1]!==` 104`&&(A+=` 105`);break;default:A+=` 106`}const x=s+r.length+t.source.length;return{value:A,type:i,comment:r.comment,range:[s,x,x]}}function ab({offset:e,props:t},n,s){if(t[0].type!=="block-scalar-header")return s(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:r}=t[0],i=r[0];let c=0,l="",d=-1;for(let N=1;N<r.length;++N){const O=r[N];if(!l&&(O==="-"||O==="+"))l=O;else{const x=Number(O);!c&&x?c=x:d===-1&&(d=e+N)}}d!==-1&&s(d,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let g=!1,_="",A=r.length;for(let N=1;N<t.length;++N){const O=t[N];switch(O.type){case"space":g=!0;case"newline":A+=O.source.length;break;case"comment":n&&!g&&s(O,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),A+=O.source.length,_=O.source.substring(1);break;case"error":s(O,"UNEXPECTED_TOKEN",O.message),A+=O.source.length;break;default:{const x=`Unexpected token in block scalar header: ${O.type}`;s(O,"UNEXPECTED_TOKEN",x);const D=O.source;
106D&&typeof D=="string"&&(A+=D.length)}}}return{mode:i,indent:c,chomp:l,comment:_,length:A}}function ub(e){const t=e.split(/\n( *)/),n=t[0],s=n.match(/^( *)/),i=[s?.[1]?[s[1],n.slice(s[1].length)]:["",n]];for(let c=1;c<t.length;c+=2)i.push([t[c],t[c+1]]);return i}function ob(e,t,n){const{offset:s,type:r,source:i,end:c}=e;let l,d;const g=(N,O,x)=>n(s+N,O,x);switch(r){case"scalar":l=Te.PLAIN,d=cb(i,g);break;case"single-quoted-scalar":l=Te.QUOTE_SINGLE,d=lb(i,g);break;case"double-quoted-scalar":l=Te.QUOTE_DOUBLE,d=hb(i,g);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[s,s+i.length,s+i.length]}}const _=s+i.length,A=Er(c,_,t,n);return{value:d,type:l,comment:A.comment,range:[s,_,A.offset]}}function cb(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]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),j1(e)}function lb(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),j1(e.slice(1,-1)).replace(/''/g,"'")}function j1(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r? 107`,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r? 108`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let s=t.exec(e);if(!s)return e;let r=s[1],i=" ",c=t.lastIndex;for(n.lastIndex=c;s=n.exec(e);)s[1]===""?i===` 109`?r+=i:i=` 110`:(r+=i+s[1],i=" "),c=n.lastIndex;const l=/[ \t]*(.*)/sy;return l.lastIndex=c,s=l.exec(e),r+i+(s?.[1]??"")}function hb(e,t){let n="";for(let s=1;s<e.length-1;++s){const r=e[s];if(!(r==="\r"&&e[s+1]===` 111`))if(r===` 112`){const{fold:i,offset:c}=fb(e,s);n+=i,s=c}else if(r==="\\"){let i=e[++s];const c=db[i];if(c)n+=c;else if(i===` 113`)for(i=e[s+1];i===" "||i===" ";)i=e[++s+1];else if(i==="\r"&&e[s+1]===` 114`)for(i=e[++s+1];i===" "||i===" ";)i=e[++s+1];else if(i==="x"||i==="u"||i==="U"){const l={x:2,u:4,U:8}[i];n+=mb(e,s+1,l,t),s+=l}else{const l=e.substr(s-1,2);t(s-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),n+=l}}else if(r===" "||r===" "){const i=s;let c=e[s+1];for(;c===" "||c===" ";)c=e[++s+1];c!==` 115`&&!(c==="\r"&&e[s+2]===` 116`)&&(n+=s>i?e.slice(i,s+1):r)}else n+=r}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function fb(e,t){let n="",s=e[t+1];for(;(s===" "||s===" "||s===` 117`||s==="\r")&&!(s==="\r"&&e[t+2]!==` 118`);)s===` 119`&&(n+=` 120`),t+=1,s=e[t+1];return n||(n=" "),{fold:n,offset:t}}const db={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:` 121`,r:"\r",t:" ",v:"\v",N:"Â ",_:"Â ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function mb(e,t,n,s){const r=e.substr(t,n),c=r.length===n&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(c)){const l=e.substr(t-2,n+2);return s(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}return String.fromCodePoint(c)}function V1(e,t,n,s){const{value:r,type:i,comment:c,range:l}=t.type==="block-scalar"?ib(e,t,s):ob(t,e.options.strict,s),d=n?e.directives.tagName(n.source,A=>s(n,"TAG_RESOLVE_FAILED",A)):null;let g;e.options.stringKeys&&e.atKey?g=e.schema[en]:d?g=pb(e.schema,r,d,n,s):t.type==="scalar"?g=gb(e,r,t,s):g=e.schema[en];let _;try{const A=g.resolve(r,N=>s(n??t,"TAG_RESOLVE_FAILED",N),e.options);_=Pe(A)?A:new Te(A)}catch(A){const N=A instanceof Error?A.message:String(A);s(n??t,"TAG_RESOLVE_FAILED",N),_=new Te(r)}return _.range=l,_.source=r,i&&(_.type=i),d&&(_.tag=d),g.format&&(_.format=g.format),c&&(_.comment=c),_}function pb(e,t,n,s,r){if(n==="!")return e[en];const i=[];for(const l of e.tags)if(!l.collection&&l.tag===n)if(l.default&&l.test)i.push(l);else return l;for(const l of i)if(l.test?.test(t))return l;const c=e.knownTags[n];return c&&!c.collection?(e.tags.push(Object.assign({},c,{default:!1,test:void 0})),c):(r(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[en])}function gb({atKey:e,directives:t,schema:n},s,r,i){const c=n.tags.find(l=>
121(l.default===!0||e&&l.default==="key")&&l.test?.test(s))||n[en];if(n.compat){const l=n.compat.find(d=>d.default&&d.test?.test(s))??n[en];if(c.tag!==l.tag){const d=t.tagString(c.tag),g=t.tagString(l.tag),_=`Value may be parsed as either ${d} or ${g}`;i(r,"TAG_RESOLVE_FAILED",_,!0)}}return c}function bb(e,t,n){if(t){n===null&&(n=t.length);for(let s=n-1;s>=0;--s){let r=t[s];switch(r.type){case"space":case"comment":case"newline":e-=r.source.length;continue}for(r=t[++s];r?.type==="space";)e+=r.source.length,r=t[++s];break}}return e}const Eb={composeNode:G1,composeEmptyNode:Cu};function G1(e,t,n,s){const r=e.atKey,{spaceBefore:i,comment:c,anchor:l,tag:d}=n;let g,_=!0;switch(t.type){case"alias":g=Tb(e,t,s),(l||d)&&s(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":g=V1(e,t,d,s),l&&(g.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":g=rb(Eb,e,t,n,s),l&&(g.anchor=l.source.substring(1));break;default:{const A=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;s(t,"UNEXPECTED_TOKEN",A),g=Cu(e,t.offset,void 0,null,n,s),_=!1}}return l&&g.anchor===""&&s(l,"BAD_ALIAS","Anchor cannot be an empty string"),r&&e.options.stringKeys&&(!Pe(g)||typeof g.value!="string"||g.tag&&g.tag!=="tag:yaml.org,2002:str")&&s(d??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),i&&(g.spaceBefore=!0),c&&(t.type==="scalar"&&t.source===""?g.comment=c:g.commentBefore=c),e.options.keepSourceTokens&&_&&(g.srcToken=t),g}function Cu(e,t,n,s,{spaceBefore:r,comment:i,anchor:c,tag:l,end:d},g){const _={type:"scalar",offset:bb(t,n,s),indent:-1,source:""},A=V1(e,_,l,g);return c&&(A.anchor=c.source.substring(1),A.anchor===""&&g(c,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(A.spaceBefore=!0),i&&(A.comment=i,A.range[2]=d),A}function Tb({options:e},{offset:t,source:n,end:s},r){const i=new mu(n.substring(1));i.source===""&&r(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&r(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const c=t+n.length,l=Er(s,c,e.strict,r);return i.range=[t,c,l.offset],l.comment&&(i.comment=l.comment),i}function _b(e,t,{offset:n,start:s,value:r,end:i},c){const l=Object.assign({_directives:t},e),d=new Wi(void 0,l),g={atKey:!1,atRoot:!0,directives:d.directives,options:d.options,schema:d.schema},_=gs(s,{indicator:"doc-start",next:r??i?.[0],offset:n,onError:c,parentIndent:0,startOnNewline:!0});_.found&&(d.directives.docStart=!0,r&&(r.type==="block-map"||r.type==="block-seq")&&!_.hasNewline&&c(_.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),d.contents=r?G1(g,r,_,c):Cu(g,_.end,s,null,_,c);const A=d.contents.range[2],N=Er(i,A,!1,c);return N.comment&&(d.comment=N.comment),d.range=[n,A,N.offset],d}function Rs(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function cl(e){let t="",n=!1,s=!1;for(let r=0;r<e.length;++r){const i=e[r];switch(i[0]){case"#":t+=(t===""?"":s?` 122 123`:` 124`)+(i.substring(1)||" "),n=!0,s=!1;break;case"%":e[r+1]?.[0]!=="#"&&(r+=1),n=!1;break;default:n||(s=!0),n=!1}}return{comment:t,afterEmptyLine:s}}class yb{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,s,r,i)=>{const c=Rs(n);i?this.warnings.push(new eb(c,s,r)):this.errors.push(new Us(c,s,r))},this.directives=new ht({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:s,afterEmptyLine:r}=cl(this.prelude);if(s){const i=t.contents;if(n)t.comment=t.comment?`${t.comment} 125${s}`:s;else if(r||t.directives.docStart||!i)t.commentBefore=s;else if(Qe(i)&&!i.flow&&i.items.length>0){let c=i.items[0];Je(c)&&(c=c.key);const l=c.commentBefore;c.commentBefore=l?`${s} 126${l}`:s}else{const c=i.commentBefore;i.commentBefore=c?`${s} 127${c}`:s}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:cl(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,s=-1){for(const r of t)yield*this.next(r);yield*this.end(n,s)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,s,r)=>{const i=Rs(t);i[0]+=n,this.onError(i,"BAD_DIRECTIVE",s,r)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=_b(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,s=new Us(Rs(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){const s="Unexpected doc-end without preceding document";this.errors.push(new Us(Rs(t),"UNEXPECTED_TOKEN",s));break}this.doc.directives.docEnd=!0;const n=Er(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const s=this.doc.comment;this.doc.comment=s?`${s}
128${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Us(Rs(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const s=Object.assign({_directives:this.directives},this.options),r=new Wi(void 0,s);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,n,n],this.decorate(r,!1),yield r}}}const K1="\uFEFF",X1="�",W1="�",Ma="�";function Ab(e){switch(e){case K1:return"byte-order-mark";case X1:return"doc-mode";case W1:return"flow-error-end";case Ma:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case` 129`:case`\r 130`: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";case"%":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}function Pt(e){switch(e){case void 0:case" ":case` 131`:case"\r":case" ":return!0;default:return!1}}const ll=new Set("0123456789ABCDEFabcdef"),xb=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),ei=new Set(",[]{}"),kb=new Set(` ,[]{} 132\r `),aa=e=>!e||kb.has(e);class Sb{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(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let s=this.next??"stream";for(;s&&(n||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===` 133`?!0:n==="\r"?this.buffer[t+1]===` 134`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let s=0;for(;n===" ";)n=this.buffer[++s+t];if(n==="\r"){const r=this.buffer[s+t+1];if(r===` 135`||!r&&!this.atEnd)return t+s+1}return n===` 136`||s>=this.indentNext||!n&&!this.atEnd?t+s:-1}if(n==="-"||n==="."){const s=this.buffer.substr(t,3);if((s==="---"||s==="...")&&Pt(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(` 137`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){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 t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===K1&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,s=t.indexOf("#");for(;s!==-1;){const i=t[s-1];if(i===" "||i===" "){n=s-1;break}else s=t.indexOf("#",s+1)}for(;;){const i=t[n-1];if(i===" "||i===" ")n-=1;else break}const r=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield X1,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&Pt(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Pt(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Pt(n)){const s=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=s,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);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";
137case"*":return yield*this.pushUntil(aa),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,s=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=s=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const r=this.getLine();if(r===null)return this.setNext("flow");if((s!==-1&&s<this.indentNext&&r[0]!=="#"||s===0&&(r.startsWith("---")||r.startsWith("..."))&&Pt(r[3]))&&!(s===this.indentNext-1&&this.flowLevel===1&&(r[0]==="]"||r[0]==="}")))return this.flowLevel=0,yield W1,yield*this.parseLineStart();let i=0;for(;r[i]===",";)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i+=yield*this.pushIndicators(),r[i]){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(aa),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const c=this.charAt(1);if(this.flowKey||Pt(c)||c===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let i=0;for(;this.buffer[n-1-i]==="\\";)i+=1;if(i%2===0)break;n=this.buffer.indexOf('"',n+1)}const s=this.buffer.substring(0,n);let r=s.indexOf(` 138`,this.pos);if(r!==-1){for(;r!==-1;){const i=this.continueScalar(r+1);if(i===-1)break;r=s.indexOf(` 139`,i)}r!==-1&&(n=r-(s[r-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Pt(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,s;e:for(let i=this.pos;s=this.buffer[i];++i)switch(s){case" ":n+=1;break;case` 140`:t=i,n=0;break;case"\r":{const c=this.buffer[i+1];if(!c&&!this.atEnd)return this.setNext("block-scalar");if(c===` 141`)break}default:break e}if(!s&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(` 142`,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(s=this.buffer[r];s===" ";)s=this.buffer[++r];if(s===" "){for(;s===" "||s===" "||s==="\r"||s===` 143`;)s=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)do{let i=t-1,c=this.buffer[i];c==="\r"&&(c=this.buffer[--i]);const l=i;for(;c===" ";)c=this.buffer[--i];if(c===` 144`&&i>=this.pos&&i+1+n>l)t=i;else break}while(!0);return yield Ma,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,s=this.pos-1,r;for(;r=this.buffer[++s];)if(r===":"){const i=this.buffer[s+1];if(Pt(i)||t&&ei.has(i))break;n=s}else if(Pt(r)){let i=this.buffer[s+1];if(r==="\r"&&(i===` 145`?(s+=1,r=` 146`,i=this.buffer[s+1]):n=s),i==="#"||t&&ei.has(i))break;if(r===` 147`){const c=this.continueScalar(s+1);if(c===-1)break;s=Math.max(s,c-2)}}else{if(t&&ei.has(r))break;n=s}return!r&&!this.atEnd?this.setNext("plain-scalar"):(yield Ma,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const s=this.buffer.slice(this.pos,t);return s?(yield s,this.pos+=s.length,s.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(aa))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Pt(n)||t&&ei.has(n))return t?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 t=this.pos+2,n=this.buffer[t];for(;!Pt(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(xb.has(n))n=this.buffer[++t];else if(n==="%"&&ll.has(this.buffer[t+1])&&ll.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===` 148`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===` 149`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,s;do s=this.buffer[++n];while(s===" "||t&&s===" ");const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(t){let n=this.pos,s=this.buffer[n];for(;!t(s);)s=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class Cb{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,s=this.lineStarts.length;for(;n<s;){const i=n+s>>1;this.lineStarts[i]<t?n=i+1:s=i}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const r=this.lineStarts[n-1];return{line:n,col:t-r+1}}}}function Fn(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function hl(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 Q1(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 ti(e){switch(e.type){case"document":return e.start;case"block-map":{const 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 es(e){if(e.length===0)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 fl(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Fn(t.start,"explicit-key-ind")&&!Fn(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Q1(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 wb{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Sb,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const s of this.lexer.lex(t,n))yield*this.next(s);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=Ab(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const s=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:s,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}
149get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const s=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in s?s.indent:0:n.type==="flow-collection"&&s.type==="document"&&(n.indent=0),n.type==="flow-collection"&&fl(n),s.type){case"document":s.value=n;break;case"block-scalar":s.props.push(n);break;case"block-map":{const r=s.items[s.items.length-1];if(r.value){s.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(r.sep)r.value=n;else{Object.assign(r,{key:n,sep:[]}),this.onKeyLine=!r.explicitKey;return}break}case"block-seq":{const r=s.items[s.items.length-1];r.value?s.items.push({start:[],value:n}):r.value=n;break}case"flow-collection":{const r=s.items[s.items.length-1];!r||r.value?s.items.push({start:[],key:n,sep:[]}):r.sep?r.value=n:Object.assign(r,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((s.type==="document"||s.type==="block-map"||s.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const r=n.items[n.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&hl(r.start)===-1&&(n.indent===0||r.start.every(i=>i.type!=="comment"||i.indent<n.indent))&&(s.type==="document"?s.end=r.start:s.items.push({start:r.start}),n.items.splice(-1,1))}}}*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":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{hl(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=ti(this.peek(2)),s=es(n);let r;t.end?(r=t.end,r.push(this.sourceToken),delete t.end):r=[this.sourceToken];const i={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(` 150`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` 151`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const s="end"in n.value?n.value.end:void 0;(Array.isArray(s)?s[s.length-1]:void 0)?.type==="comment"?s?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,n.start),r.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const s=!this.onKeyLine&&this.indent===t.indent,r=s&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let i=[];if(r&&n.sep&&!n.value){const c=[];for(let l=0;l<n.sep.length;++l){const d=n.sep[l];switch(d.type){case"newline":c.push(l);break;case"space":break;case"comment":d.indent>t.indent&&(c.length=0);break;default:c.length=0}}c.length>=2&&(i=n.sep.splice(c[1]))}switch(this.type){case"anchor":case"tag":r||n.value?(i.push(this.sourceToken),t.items.push({start:i}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):r||n.value?(i.push(this.sourceToken),t.items.push({start:i,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,
151sep:[this.sourceToken]});else if(Fn(n.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(Q1(n.key)&&!Fn(n.sep,"newline")){const c=es(n.start),l=n.key,d=n.sep;d.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:c,key:l,sep:d}]})}else i.length>0?n.sep=n.sep.concat(i,this.sourceToken):n.sep.push(this.sourceToken);else if(Fn(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const c=es(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:c,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?t.items.push({start:i,key:null,sep:[this.sourceToken]}):Fn(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const c=this.flowScalar(this.type);r||n.value?(t.items.push({start:i,key:c,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(c):(Object.assign(n,{key:c,sep:[]}),this.onKeyLine=!0);return}default:{const c=this.startBlockValue(t);if(c){s&&c.type!=="block-seq"&&t.items.push({start:i}),this.stack.push(c);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const s="end"in n.value?n.value.end:void 0;(Array.isArray(s)?s[s.length-1]:void 0)?.type==="comment"?s?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,n.start),r.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Fn(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const s=this.startBlockValue(t);if(s){this.stack.push(s);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let s;do yield*this.pop(),s=this.peek(1);while(s&&s.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:r,sep:[]}):n.sep?this.stack.push(r):Object.assign(n,{key:r,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const s=this.startBlockValue(t);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{const s=this.peek(2);if(s.type==="block-map"&&(this.type==="map-value-ind"&&s.indent===t.indent||this.type==="newline"&&!s.items[s.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&s.type!=="flow-collection"){const r=ti(s),i=es(r);fl(t);const c=t.end.splice(1,t.end.length);c.push(this.sourceToken);const l={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:c}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(` 152`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` 153`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.t
153ype);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;const n=ti(t),s=es(n);return s.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=ti(t),s=es(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(s=>s.type==="newline"||s.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){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:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Nb(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Cb||null,prettyErrors:t}}function Ib(e,t={}){const{lineCounter:n,prettyErrors:s}=Nb(t),r=new wb(n?.addNewLine),i=new yb(t);let c=null;for(const l of i.compose(r.parse(e),!0,e.length))if(!c)c=l;else if(c.options.logLevel!=="silent"){c.errors.push(new Us(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}
153return s&&n&&(c.errors.forEach(ul(e,n)),c.warnings.forEach(ul(e,n))),c}function Db(e,t,n){let s;const r=Ib(e,n);if(!r)return null;if(r.warnings.forEach(i=>k1(r.options.logLevel,i)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:s},n))}var ts={},oi={exports:{}},Ob=oi.exports,dl;function Mb(){return dl||(dl=1,(function(e,t){(function(s,r){e.exports=r()})(typeof self<"u"?self:Ob,function(){return(function(){var n={};(function(){n.d=function(u,a){for(var o in a)n.o(a,o)&&!n.o(u,o)&&Object.defineProperty(u,o,{enumerable:!0,get:a[o]})}})(),(function(){n.o=function(u,a){return Object.prototype.hasOwnProperty.call(u,a)}})();var s={};n.d(s,{default:function(){return Md}});class r{constructor(a,o){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let h="KaTeX parse error: "+a,m,E;const T=o&&o.loc;if(T&&T.start<=T.end){const w=T.lexer.input;m=T.start,E=T.end,m===w.length?h+=" at end of input: ":h+=" at position "+(m+1)+": ";const R=w.slice(m,E).replace(/[^]/g,"$&̲");let U;m>15?U="â¦"+w.slice(m-15,m):U=w.slice(0,m);let z;E+15<w.length?z=w.slice(E,E+15)+"â¦":z=w.slice(E),h+=U+R+z}const k=new Error(h);return k.name="ParseError",k.__proto__=r.prototype,k.position=m,m!=null&&E!=null&&(k.length=E-m),k.rawMessage=a,k}}r.prototype.__proto__=Error.prototype;var i=r;const c=function(u,a){return u.indexOf(a)!==-1},l=function(u,a){return u===void 0?a:u},d=/([A-Z])/g,g=function(u){return u.replace(d,"-$1").toLowerCase()},_={"&":"&",">":">","<":"<",'"':""","'":"'"},A=/[&><"']/g;function N(u){return String(u).replace(A,a=>_[a])}const O=function(u){return u.type==="ordgroup"||u.type==="color"?u.body.length===1?O(u.body[0]):u:u.type==="font"?O(u.body):u},x=function(u){const a=O(u);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},D=function(u){if(!u)throw new Error("Expected non-null, but got "+String(u));return u};var B={contains:c,deflt:l,escape:N,hyphenate:g,getBaseElem:O,isCharacterBox:x,protocolFromUrl:function(u){const a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(u);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"}};const $={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:u=>"#"+u},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(u,a)=>(a.push(u),a)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:u=>Math.max(0,u),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:u=>Math.max(0,u),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:u=>Math.max(0,u),cli:"-e, --max-expand <n>",cliProcessor:u=>u==="Infinity"?1/0:parseInt(u)},globalGroup:{type:"boolean",cli:!1}};function j(u){if(u.default)return u.default;const a=u.type,o=Array.isArray(a)?a[0]:a;if(typeof o!="string")return o.enum[0];switch(o){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class G{constructor(a){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,a=a||{};for(const o in $)if($.hasOwnProperty(o)){const h=$[o];this[o]=a[o]!==void 0?h.processor?h.processor(a[o]):a[o]:j(h)}}reportNonstrict(a,o,h){let m=this.strict;if(typeof m=="function"&&(m=m(a,o,h)),!(!m||m==="ignore")){if(m===!0||m==="error")throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(o+" ["+a+"]"),h);m==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+a+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+o+" ["+a+"]"))}}useStrictBehavior(a,o,h){let m=this.strict;if(typeof m=="function")try{m=m(a,o,h)}catch{m="error"}return!m||m==="ignore"?!1:m===!0||m==="error"?!0:m==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+a+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+o+" ["+a+"]")),!1)}
153isTrusted(a){if(a.url&&!a.protocol){const h=B.protocolFromUrl(a.url);if(h==null)return!1;a.protocol=h}return!!(typeof this.trust=="function"?this.trust(a):this.trust)}}class X{constructor(a,o,h){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=o,this.cramped=h}sup(){return ve[dt[this.id]]}sub(){return ve[sn[this.id]]}fracNum(){return ve[Ss[this.id]]}fracDen(){return ve[Vn[this.id]]}cramp(){return ve[Qi[this.id]]}text(){return ve[Zi[this.id]]}isTight(){return this.size>=2}}const Q=0,re=1,Z=2,ce=3,ye=4,he=5,fe=6,Ee=7,ve=[new X(Q,0,!1),new X(re,0,!0),new X(Z,1,!1),new X(ce,1,!0),new X(ye,2,!1),new X(he,2,!0),new X(fe,3,!1),new X(Ee,3,!0)],dt=[ye,he,ye,he,fe,Ee,fe,Ee],sn=[he,he,he,he,Ee,Ee,Ee,Ee],Ss=[Z,ce,ye,he,fe,Ee,fe,Ee],Vn=[ce,ce,he,he,Ee,Ee,Ee,Ee],Qi=[re,re,ce,ce,he,he,Ee,Ee],Zi=[Q,re,Z,ce,Z,ce,Z,ce];var H={DISPLAY:ve[Q],TEXT:ve[Z],SCRIPT:ve[ye],SCRIPTSCRIPT:ve[fe]};const pe=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function et(u){for(let a=0;a<pe.length;a++){const o=pe[a];for(let h=0;h<o.blocks.length;h++){const m=o.blocks[h];if(u>=m[0]&&u<=m[1])return o.name}}return null}const Bt=[];pe.forEach(u=>u.blocks.forEach(a=>Bt.push(...a)));function Tr(u){for(let a=0;a<Bt.length;a+=2)if(u>=Bt[a]&&u<=Bt[a+1])return!0;return!1}const Gn=80,af=function(u,a){return"M95,"+(622+u+a)+` 154c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 155c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 156c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 157s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 158c69,-144,104.5,-217.7,106.5,-221 159l`+u/2.075+" -"+u+` 160c5.3,-9.3,12,-14,20,-14 161H400000v`+(40+u)+`H845.2724 162s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 163c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z 164M`+(834+u)+" "+a+"h400000v"+(40+u)+"h-400000z"},uf=function(u,a){return"M263,"+(601+u+a)+`c0.7,0,18,39.7,52,119 165c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 166c340,-704.7,510.7,-1060.3,512,-1067 167l`+u/2.084+" -"+u+` 168c4.7,-7.3,11,-11,19,-11 169H40000v`+(40+u)+`H1012.3 170s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 171c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 172s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 173c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z 174M`+(1001+u)+" "+a+"h400000v"+(40+u)+"h-400000z"},of=function(u,a){return"M983 "+(10+u+a)+` 175l`+u/3.13+" -"+u+` 176c4,-6.7,10,-10,18,-10 H400000v`+(40+u)+` 177H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 178s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 179c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 180c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 181c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 182c53.7,-170.3,84.5,-266.8,92.5,-289.5z 183M`+(1001+u)+" "+a+"h400000v"+(40+u)+"h-400000z"},cf=function(u,a){return"M424,"+(2398+u+a)+` 184c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 185c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 186s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 187s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 188l`+u/4.223+" -"+u+`c4,-6.7,10,-10,18,-10 H400000 189v`+(40+u)+`H1014.6 190s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 191c-2,6,-10,9,-24,9 192c-8,0,-12,-0.7,-12,-2z M`+(1001+u)+" "+a+` 193h400000v`+(40+u)+"h-400000z"},lf=function(u,a){return"M473,"+(2713+u+a)+` 194c339.3,-1799.3,509.3,-2700,510,-2702 l`+u/5.298+" -"+u+` 195c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+u)+`H1017.7 196s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 197c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 198c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 199s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 200606zM`+(1001+u)+" "+a+"h400000v"+(40+u)+"H1017.7z"},hf=function(u){const a=u/2;return"M400000 "+u+" H0 L"+a+" 0 l65 45 L145 "+(u-80)+" H400000z"},ff=function(u,a,o){const h=o-54-a-u;return"M702 "+(u+a)+"H400000"+(40+u)+` 201H742v`+h+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 202h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 203c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 204219 661 l218 661zM702 `+a+"H400000v"+(40+u)+"H742z"},df=function(u,a,o){a=1e3*a;let h="";switch(u){case"sqrtMain":h=af(a,Gn);break;case"sqrtSize1":h=uf(a,Gn);break;case"sqrtSize2":h=of(a,Gn);break;case"sqrtSize3":h=cf(a,Gn);break;case"sqrtSize4":h=lf(a,Gn);break;case"sqrtTall":h=ff(a,Gn,o)}return h},mf=function(u,a){switch(u){case"â":return"M291 0 H417 V"+a+" H291z M291 0 H417 V"+a+" H291z";case"â£":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z";case"â¥":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z"+("M367 0 H410 V"+a+" H367z M367 0 H410 V"+a+" H367z");case"â":return"M457 0 H583 V"+a+" H457z M457 0 H583 V"+a+" H457z";case"â¢":return"M319 0 H403 V"+a+" H319z M319 0 H403 V"+a+" H319z";case"â¥":return"M263 0 H347 V"+a+" H263z M263 0 H347 V"+a+" H263z";case"âª":return"M384 0 H504 V"+a+" H384z M384 0 H504 V"+a+" H384z";case"â":return"M312 0 H355 V"+a+" H312z M312 0 H355 V"+a+" H312z";case"â":return"M257 0 H300 V"+a+" H257z M257 0 H300 V"+a+" H257z"+("M478 0 H521 V"+a+" H478z M478 0 H521 V"+a+" H478z");default:return""}},Du={doubleleftarrow:`M262 157 205l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 206 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 207 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 208c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 209 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 210-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 211-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z 212m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l 213-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 214 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 215-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 216-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 217-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 218c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 219-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 220 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 221-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 222c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 223 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 224 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 225 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 226-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 227 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 228 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 229 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 230-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z
vendor: 7,856 bytes, lines 230-319
230`,leftgroup:`M400000 80 231H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 232 435 0h399565z`,leftgroupunder:`M400000 262 233H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 234 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 235-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 236-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 237-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 238 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 239-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 240-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z 241m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 242 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 243 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 244-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 245 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 246-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 247v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 248-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 249-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 250 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z 251M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z 252M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 253-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 254c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 255 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z 256M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 257c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 258-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 259 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 260 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 261c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 262 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 263 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 264-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 265-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z 266m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 26760.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 268-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z 269m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 270c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 271-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z 272m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 27385.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 274-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z 275m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 276c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 277-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 278 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 279 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 280-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 281-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 282 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l 283-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 284s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 285c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 286 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 287-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 288 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 289 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 290-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 291-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 292 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 293-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 294 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z 295m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 296 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 297-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 298-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 299 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 300 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 301-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z 302m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 303 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 304-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 305 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z 306M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 307 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 308-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 309-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 310 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 311-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 312-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 313-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 314 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 315c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 316 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 317 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 318-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 319 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,
vendor: 5,454 bytes, lines 319-379
319tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 320-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 321 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 322 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 323-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 324-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 325 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 326c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 327 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 328-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 329 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 330 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 331 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 332-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 333 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 334 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 335 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3363.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 33710.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 338-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 339-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 340H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 341c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 342c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 343-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 344-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 345-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, 346-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 347-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 348-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 349-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 350c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 351c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 352s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 353121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 354s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 355c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z 356M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 357-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 35813.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 359-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 360-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 361-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 362151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 363c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 364c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 365c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 366c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z 367M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 368c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 369-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 370c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z 371M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 372c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 3731c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, 374-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z 375M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 376c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 377-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 378c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z 379M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
379pf=function(u,a){switch(u){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v1759 h347 v-84 380H403z M403 1759 V0 H319 V1759 v`+a+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v1759 H0 v84 H347z 381M347 1759 V0 H263 V1759 v`+a+" v1759 h84z";case"vert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15 382c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 383c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+" v585 h43z";case"doublevert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15 384c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 385c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+` v585 h43z 386M367 15 v585 v`+a+` v585 c2.667,10,9.667,15,21,15 387c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 388c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+a+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+a+` v1715 h263 v84 H319z 389MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+a+` v1799 H0 v-84 H319z 390MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v602 h84z 391M403 1759 V0 H319 V1759 v`+a+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v602 h84z 392M347 1759 V0 h-84 V1759 v`+a+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 393c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, 394-36,557 l0,`+(a+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 395949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 396c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, 397-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 398l0,-`+(a+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, 399-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 40063,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 401c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(a+9)+` 402c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 403c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 404c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 405c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 406l0,-`+(a+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, 407-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Cs{constructor(a){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(a){return B.contains(this.classes,a)}toNode(){const a=document.createDocumentFragment();for(let o=0;o<this.children.length;o++)a.appendChild(this.children[o].toNode());return a}toMarkup(){let a="";for(let o=0;o<this.children.length;o++)a+=this.children[o].toMarkup();return a}toText(){const a=o=>o.toText();return this.children.map(a).join("")}}var Yt
vendor: 20,502 bytes, line 407
407={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],
vendor: 37,126 bytes, line 407
407116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}}
407;const _r={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ou={Ã
:"A",Ã:"D",Ã:"o",Ã¥:"a",ð:"d",þ:"o",Ð:"A",Ð:"B",Ð:"B",Ð:"F",Ð:"A",Ð:"E",Ð:"K",Ð:"3",Ð:"N",Ð:"N",Ð:"K",Ð:"N",Ð:"M",Ð:"H",Ð:"O",Ð:"N",Ð :"P",С:"C",Т:"T",У:"y",Ф:"O",Ð¥:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Ð:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",Ñ:"p",Ñ:"c",Ñ:"o",Ñ:"y",Ñ:"b",Ñ
:"x",Ñ:"n",Ñ:"n",Ñ:"w",Ñ:"w",Ñ:"a",Ñ:"m",Ñ:"a",Ñ:"e",Ñ:"m",Ñ:"r"};function gf(u,a){Yt[u]=a}function Ji(u,a,o){if(!Yt[a])throw new Error("Font metrics not found for font: "+a+".");let h=u.charCodeAt(0),m=Yt[a][h];if(!m&&u[0]in Ou&&(h=Ou[u[0]].charCodeAt(0),m=Yt[a][h]),!m&&o==="text"&&Tr(h)&&(m=Yt[a][77]),m)return{depth:m[0],height:m[1],italic:m[2],skew:m[3],width:m[4]}}const e0={};function bf(u){let a;if(u>=5?a=0:u>=3?a=1:a=2,!e0[a]){const o=e0[a]={cssEmPerMu:_r.quad[a]/18};for(const h in _r)_r.hasOwnProperty(h)&&(o[h]=_r[h][a])}return e0[a]}const Ef=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Mu=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Lu=function(u,a){return a.size<2?u:Ef[u-1][a.size-1]};class rn{constructor(a){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=a.style,this.color=a.color,this.size=a.size||rn.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=Mu[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}extend(a){const o={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const h in a)a.hasOwnProperty(h)&&(o[h]=a[h]);return new rn(o)}havingStyle(a){return this.style===a?this:this.extend({style:a,size:Lu(this.textSize,a)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(a){return this.size===a&&this.textSize===a?this:this.extend({style:this.style.text(),size:a,textSize:a,sizeMultiplier:Mu[a-1]})}havingBaseStyle(a){a=a||this.style.text();const o=Lu(rn.BASESIZE,a);return this.size===o&&this.textSize===rn.BASESIZE&&this.style===a?this:this.extend({style:a,size:o})}havingBaseSizing(){let a;switch(this.style.id){case 4:case 5:a=3;break;case 6:case 7:a=1;break;default:a=6}return this.extend({style:this.style.text(),size:a})}withColor(a){return this.extend({color:a})}withPhantom(){return this.extend({phantom:!0})}withFont(a){return this.extend({font:a})}withTextFontFamily(a){return this.extend({fontFamily:a,font:""})}withTextFontWeight(a){return this.extend({fontWeight:a,font:""})}withTextFontShape(a){return this.extend({fontShape:a,font:""})}sizingClasses(a){return a.size!==this.size?["sizing","reset-size"+a.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==rn.BASESIZE?["sizing","reset-size"+this.size,"size"+rn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=bf(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}rn.BASESIZE=6;var Tf=rn;const t0={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},_f={ex:!0,em:!0,mu:!0},vu=function(u){return typeof u!="string"&&(u=u.unit),u in t0||u in _f||u==="ex"},Ye=function(u,a){let o;if(u.unit in t0)o=t0[u.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(u.unit==="mu")o=a.fontMetrics().cssEmPerMu;else{let h;if(a.style.isTight()?h=a.havingStyle(a.style.text()):h=a,u.unit==="ex")o=h.fontMetrics().xHeight;else if(u.unit==="em")o=h.fontMetrics().quad;else throw new i("Invalid unit: '"+u.unit+"'");h!==a&&(o*=h.sizeMultiplier/a.sizeMultiplier)}return Math.min(u.number*o,a.maxSize)},ie=function(u){return+u.toFixed(4)+"em"},bn=function(u){return u.filter(a=>a).join(" ")},Ru=function(u,a,o){if(this.classes=u||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=o||{},a){a.style.isTight()&&this.classes.push("mtight");const h=a.getColor();h&&(this.style.color=h)}},Bu=function(u){const a=document.createElement(u);a.className=bn(this.classes);for(const o in this.style)this.style.hasOwnProperty(o)&&(a.style[o]=this.style[o]);for(const o in this.attributes)this.attributes.hasOwnProperty(o)&&a.setAttribute(o,this.attributes[o]);for(let o=0;o<this.children.length;o++)a.appendChild(this.children[o].toNode());return a},Fu=function(u){let a="<"+u;this.classes.length&&(a+=' class="'+B.escape(bn(this.classes))+'"');let o="";for(const h in this.style)this.style.hasOwnProperty(h)&&(o+=B.hyphenate(h)+":"+this.style[h]+";");o&&(a+=' style="'+B.escape(o)+'"');for(const h in this.attributes)this.attributes.hasOwnProperty(h)&&(a+=" "+h+'="'+B.escape(this.attributes[h])+'"');a+=">";for(let h=0;h<this.children.length;h++)a+=this.children[h].toMarkup();return a+="</"+u+">",a};class ws{constructor(a,o,h,m){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ru.call(this,a,h,m),this.children=o||[]}setAttribute(a,o){this.attributes[a]=o}hasClass(a){return B.contains(this.classes,a)}toNode(){return Bu.call(this,"span")}toMarkup(){return Fu.call(this,"span")}}class n0{constructor(a,o,h,m){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ru.call(this,o,m),this.children=h||[],this.setAttribute("href",a)}setAttribute(a,o){this.attributes[a]=o}hasClass(a){return B.contains(this.classes,a)}toNode(){return Bu.call(this,"a")}toMarkup(){return Fu.call(this,"a")}}class yf{constructor(a,o,h){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=o,this.src=a,this.classes=["mord"],this.style=h}hasClass(a){return B.contains(this.classes,a)}toNode(){const a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(const o in this.style)this.style.hasOwnProperty(o)&&(a.style[o]=this.style[o]);return a}toMarkup(){let a='<img src="'+B.escape(this.src)+'"'+(' alt="'+B.escape(this.alt)+'"'),o="";for(const h in this.style)this.style.hasOwnProperty(h)&&(o+=B.hyphenate(h)+":"+this.style[h]+";");return o&&(a+=' style="'+B.escape(o)+'"'),a+="'/>",a}}const Af={î:"ıÌ",ï:"ıÌ",Ã:"ıÌ",ì:"ıÌ"};class Ct{constructor(a,o,h,m,E,T,k,w){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=a,this.height=o||0,this.depth=h||0,this.italic=m||0,this.skew=E||0,this.width=T||0,this.classes=k||[],this.style=w||{},this.maxFontSize=0;const R=et(this.text.charCodeAt(0));R&&this.classes.push(R+"_fallback"),/[îïÃì]/.test(this.text)&&(this.text=Af[this.text])}hasClass(a){return B.contains(this.classes,a)}toNode(){const a=document.createTextNode(this.text);let o=null;this.italic>0&&(o=document.createElement("span"),o.style.marginRight=ie(this.italic)),this.classes.length>0&&(o=o||document.createElement("span"),o.className=bn(this.classes));for(const h in this.style)this.style.hasOwnProperty(h)&&(o=o||document.createElement("span"),o.style[h]=this.style[h]);return o?(o.appendChild(a),o):a}toMarkup(){let a=!1,o="<span";this.classes.length&&(a=!0,o+=' class="',o+=B.escape(bn(this.classes)),o+='"');let h="";this.italic>0&&(h+="margin-right:"+this.italic+"em;");for(const E in this.style)this.style.hasOwnProperty(E)&&(h+=B.hyphenate(E)+":"+this.style[E]+";");h&&(a=!0,o+=' style="'+B.escape(h)+'"');
407const m=B.escape(this.text);return a?(o+=">",o+=m,o+="</span>",o):m}}class an{constructor(a,o){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=o||{}}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&o.setAttribute(h,this.attributes[h]);for(let h=0;h<this.children.length;h++)o.appendChild(this.children[h].toNode());return o}toMarkup(){let a='<svg xmlns="http://www.w3.org/2000/svg"';for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(a+=" "+o+'="'+B.escape(this.attributes[o])+'"');a+=">";for(let o=0;o<this.children.length;o++)a+=this.children[o].toMarkup();return a+="</svg>",a}}class En{constructor(a,o){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=o}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?o.setAttribute("d",this.alternate):o.setAttribute("d",Du[this.pathName]),o}toMarkup(){return this.alternate?'<path d="'+B.escape(this.alternate)+'"/>':'<path d="'+B.escape(Du[this.pathName])+'"/>'}}class s0{constructor(a){this.attributes=void 0,this.attributes=a||{}}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","line");for(const h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&o.setAttribute(h,this.attributes[h]);return o}toMarkup(){let a="<line";for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(a+=" "+o+'="'+B.escape(this.attributes[o])+'"');return a+="/>",a}}function Pu(u){if(u instanceof Ct)return u;throw new Error("Expected symbolNode but got "+String(u)+".")}function xf(u){if(u instanceof ws)return u;throw new Error("Expected span<HtmlDomNode> but got "+String(u)+".")}const kf={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Sf={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},yr={math:{},text:{}};var je=yr;function p(u,a,o,h,m,E){yr[u][m]={font:a,group:o,replace:h},E&&h&&(yr[u][h]=yr[u][m])}const b="math",ee="text",y="main",M="ams",ze="accent-token",ue="bin",ct="close",Kn="inner",de="mathord",tt="op-token",yt="open",Ar="punct",L="rel",un="spacing",P="textord";p(b,y,L,"â¡","\\equiv",!0),p(b,y,L,"âº","\\prec",!0),p(b,y,L,"â»","\\succ",!0),p(b,y,L,"â¼","\\sim",!0),p(b,y,L,"â¥","\\perp"),p(b,y,L,"⪯","\\preceq",!0),p(b,y,L,"⪰","\\succeq",!0),p(b,y,L,"â","\\simeq",!0),p(b,y,L,"â£","\\mid",!0),p(b,y,L,"âª","\\ll",!0),p(b,y,L,"â«","\\gg",!0),p(b,y,L,"â","\\asymp",!0),p(b,y,L,"â¥","\\parallel"),p(b,y,L,"â","\\bowtie",!0),p(b,y,L,"â£","\\smile",!0),p(b,y,L,"â","\\sqsubseteq",!0),p(b,y,L,"â","\\sqsupseteq",!0),p(b,y,L,"â","\\doteq",!0),p(b,y,L,"â¢","\\frown",!0),p(b,y,L,"â","\\ni",!0),p(b,y,L,"â","\\propto",!0),p(b,y,L,"â¢","\\vdash",!0),p(b,y,L,"â£","\\dashv",!0),p(b,y,L,"â","\\owns"),p(b,y,Ar,".","\\ldotp"),p(b,y,Ar,"â
","\\cdotp"),p(b,y,P,"#","\\#"),p(ee,y,P,"#","\\#"),p(b,y,P,"&","\\&"),p(ee,y,P,"&","\\&"),p(b,y,P,"âµ","\\aleph",!0),p(b,y,P,"â","\\forall",!0),p(b,y,P,"â","\\hbar",!0),p(b,y,P,"â","\\exists",!0),p(b,y,P,"â","\\nabla",!0),p(b,y,P,"â","\\flat",!0),p(b,y,P,"â","\\ell",!0),p(b,y,P,"â®","\\natural",!0),p(b,y,P,"â£","\\clubsuit",!0),p(b,y,P,"â","\\wp",!0),p(b,y,P,"â¯","\\sharp",!0),p(b,y,P,"â¢","\\diamondsuit",!0),p(b,y,P,"â","\\Re",!0),p(b,y,P,"â¡","\\heartsuit",!0),p(b,y,P,"â","\\Im",!0),p(b,y,P,"â ","\\spadesuit",!0),p(b,y,P,"§","\\S",!0),p(ee,y,P,"§","\\S"),p(b,y,P,"¶","\\P",!0),p(ee,y,P,"¶","\\P"),p(b,y,P,"â ","\\dag"),p(ee,y,P,"â ","\\dag"),p(ee,y,P,"â ","\\textdagger"),p(b,y,P,"â¡","\\ddag"),p(ee,y,P,"â¡","\\ddag"),p(ee,y,P,"â¡","\\textdaggerdbl"),p(b,y,ct,"â±","\\rmoustache",!0),p(b,y,yt,"â°","\\lmoustache",!0),p(b,y,ct,"â¯","\\rgroup",!0),p(b,y,yt,"â®","\\lgroup",!0),p(b,y,ue,"â","\\mp",!0),p(b,y,ue,"â","\\ominus",!0),p(b,y,ue,"â","\\uplus",!0),p(b,y,ue,"â","\\sqcap",!0),p(b,y,ue,"â","\\ast"),p(b,y,ue,"â","\\sqcup",!0),p(b,y,ue,"â¯","\\bigcirc",!0),p(b,y,ue,"â","\\bullet",!0),p(b,y,ue,"â¡","\\ddagger"),p(b,y,ue,"â","\\wr",!0),p(b,y,ue,"⨿","\\amalg"),p(b,y,ue,"&","\\And"),p(b,y,L,"âµ","\\longleftarrow",!0),p(b,y,L,"â","\\Leftarrow",!0),p(b,y,L,"â¸","\\Longleftarrow",!0),p(b,y,L,"â¶","\\longrightarrow",!0),p(b,y,L,"â","\\Rightarrow",!0),p(b,y,L,"â¹","\\Longrightarrow",!0),p(b,y,L,"â","\\leftrightarrow",!0),p(b,y,L,"â·","\\longleftrightarrow",!0),p(b,y,L,"â","\\Leftrightarrow",!0),p(b,y,L,"âº","\\Longleftrightarrow",!0),p(b,y,L,"â¦","\\mapsto",!0),p(b,y,L,"â¼","\\longmapsto",!0),p(b,y,L,"â","\\nearrow",!0),p(b,y,L,"â©","\\hookleftarrow",!0),p(b,y,L,"âª","\\hookrightarrow",!0),p(b,y,L,"â","\\searrow",!0),p(b,y,L,"â¼","\\leftharpoonup",!0),p(b,y,L,"â","\\rightharpoonup",!0),p(b,y,L,"â","\\swarrow",!0),p(b,y,L,"â½","\\leftharpoondown",!0),p(b,y,L,"â","\\rightharpoondown",!0),p(b,y,L,"â","\\nwarrow",!0),p(b,y,L,"â","\\rightleftharpoons",!0),p(b,M,L,"â®","\\nless",!0),p(b,M,L,"î","\\@nleqslant"),p(b,M,L,"î","\\@nleqq"),p(b,M,L,"âª","\\lneq",!0),p(b,M,L,"â¨","\\lneqq",!0),p(b,M,L,"î","\\@lvertneqq"),p(b,M,L,"â¦","\\lnsim",!0),p(b,M,L,"âª","\\lnapprox",!0),p(b,M,L,"â","\\nprec",!0),p(b,M,L,"â ","\\npreceq",!0),p(b,M,L,"â¨","\\precnsim",!0),p(b,M,L,"⪹","\\precnapprox",!0),p(b,M,L,"â","\\nsim",!0),p(b,M,L,"î","\\@nshortmid"),p(b,M,L,"â¤","\\nmid",!0),p(b,M,L,"â¬","\\nvdash",!0),p(b,M,L,"â","\\nvDash",!0),p(b,M,L,"âª","\\ntriangleleft"),p(b,M,L,"â¬","\\ntrianglelefteq",!0),p(b,M,L,"â","\\subsetneq",!0),p(b,M,L,"î","\\@varsubsetneq"),p(b,M,L,"â«","\\subsetneqq",!0),p(b,M,L,"î","\\@varsubsetneqq"),p(b,M,L,"â¯","\\ngtr",!0),p(b,M,L,"î","\\@ngeqslant"),p(b,M,L,"î","\\@ngeqq"),p(b,M,L,"âª","\\gneq",!0),p(b,M,L,"â©","\\gneqq",!0),p(b,M,L,"î","\\@gvertneqq"),p(b,M,L,"â§","\\gnsim",!0),p(b,M,L,"âª","\\gnapprox",!0),p(b,M,L,"â","\\nsucc",!0),p(b,M,L,"â¡","\\nsucceq",!0),p(b,M,L,"â©","\\succnsim",!0),p(b,M,L,"⪺","\\succnapprox",!0),p(b,M,L,"â","\\ncong",!0),p(b,M,L,"î","\\@nshortparallel"),p(b,M,L,"â¦","\\nparallel",!0),p(b,M,L,"â¯","\\nVDash",!0),p(b,M,L,"â«","\\ntriangleright"),p(b,M,L,"â","\\ntrianglerighteq",!0),p(b,M,L,"î","\\@nsupseteqq"),p(b,M,L,"â","\\supsetneq",!0),p(b,M,L,"î","\\@varsupsetneq"),p(b,M,L,"â«","\\supsetneqq",!0),p(b,M,L,"î","\\@varsupsetneqq"),p(b,M,L,"â®","\\nVdash",!0),p(b,M,L,"⪵","\\precneqq",!0),p(b,M,L,"⪶","\\succneqq",!0),p(b,M,L,"î","\\@nsub
407seteqq"),p(b,M,ue,"â´","\\unlhd"),p(b,M,ue,"âµ","\\unrhd"),p(b,M,L,"â","\\nleftarrow",!0),p(b,M,L,"â","\\nrightarrow",!0),p(b,M,L,"â","\\nLeftarrow",!0),p(b,M,L,"â","\\nRightarrow",!0),p(b,M,L,"â®","\\nleftrightarrow",!0),p(b,M,L,"â","\\nLeftrightarrow",!0),p(b,M,L,"â³","\\vartriangle"),p(b,M,P,"â","\\hslash"),p(b,M,P,"â½","\\triangledown"),p(b,M,P,"â","\\lozenge"),p(b,M,P,"â","\\circledS"),p(b,M,P,"®","\\circledR"),p(ee,M,P,"®","\\circledR"),p(b,M,P,"â¡","\\measuredangle",!0),p(b,M,P,"â","\\nexists"),p(b,M,P,"â§","\\mho"),p(b,M,P,"â²","\\Finv",!0),p(b,M,P,"â
","\\Game",!0),p(b,M,P,"âµ","\\backprime"),p(b,M,P,"â²","\\blacktriangle"),p(b,M,P,"â¼","\\blacktriangledown"),p(b,M,P,"â ","\\blacksquare"),p(b,M,P,"â§«","\\blacklozenge"),p(b,M,P,"â
","\\bigstar"),p(b,M,P,"â¢","\\sphericalangle",!0),p(b,M,P,"â","\\complement",!0),p(b,M,P,"ð","\\eth",!0),p(ee,y,P,"ð","ð"),p(b,M,P,"â±","\\diagup"),p(b,M,P,"â²","\\diagdown"),p(b,M,P,"â¡","\\square"),p(b,M,P,"â¡","\\Box"),p(b,M,P,"â","\\Diamond"),p(b,M,P,"Â¥","\\yen",!0),p(ee,M,P,"Â¥","\\yen",!0),p(b,M,P,"â","\\checkmark",!0),p(ee,M,P,"â","\\checkmark"),p(b,M,P,"â¶","\\beth",!0),p(b,M,P,"â¸","\\daleth",!0),p(b,M,P,"â·","\\gimel",!0),p(b,M,P,"Ï","\\digamma",!0),p(b,M,P,"ϰ","\\varkappa"),p(b,M,yt,"â","\\@ulcorner",!0),p(b,M,ct,"â","\\@urcorner",!0),p(b,M,yt,"â","\\@llcorner",!0),p(b,M,ct,"â","\\@lrcorner",!0),p(b,M,L,"â¦","\\leqq",!0),p(b,M,L,"⩽","\\leqslant",!0),p(b,M,L,"âª","\\eqslantless",!0),p(b,M,L,"â²","\\lesssim",!0),p(b,M,L,"âª
","\\lessapprox",!0),p(b,M,L,"â","\\approxeq",!0),p(b,M,ue,"â","\\lessdot"),p(b,M,L,"â","\\lll",!0),p(b,M,L,"â¶","\\lessgtr",!0),p(b,M,L,"â","\\lesseqgtr",!0),p(b,M,L,"âª","\\lesseqqgtr",!0),p(b,M,L,"â","\\doteqdot"),p(b,M,L,"â","\\risingdotseq",!0),p(b,M,L,"â","\\fallingdotseq",!0),p(b,M,L,"â½","\\backsim",!0),p(b,M,L,"â","\\backsimeq",!0),p(b,M,L,"â«
","\\subseteqq",!0),p(b,M,L,"â","\\Subset",!0),p(b,M,L,"â","\\sqsubset",!0),p(b,M,L,"â¼","\\preccurlyeq",!0),p(b,M,L,"â","\\curlyeqprec",!0),p(b,M,L,"â¾","\\precsim",!0),p(b,M,L,"⪷","\\precapprox",!0),p(b,M,L,"â²","\\vartriangleleft"),p(b,M,L,"â´","\\trianglelefteq"),p(b,M,L,"â¨","\\vDash",!0),p(b,M,L,"âª","\\Vvdash",!0),p(b,M,L,"â£","\\smallsmile"),p(b,M,L,"â¢","\\smallfrown"),p(b,M,L,"â","\\bumpeq",!0),p(b,M,L,"â","\\Bumpeq",!0),p(b,M,L,"â§","\\geqq",!0),p(b,M,L,"⩾","\\geqslant",!0),p(b,M,L,"âª","\\eqslantgtr",!0),p(b,M,L,"â³","\\gtrsim",!0),p(b,M,L,"âª","\\gtrapprox",!0),p(b,M,ue,"â","\\gtrdot"),p(b,M,L,"â","\\ggg",!0),p(b,M,L,"â·","\\gtrless",!0),p(b,M,L,"â","\\gtreqless",!0),p(b,M,L,"âª","\\gtreqqless",!0),p(b,M,L,"â","\\eqcirc",!0),p(b,M,L,"â","\\circeq",!0),p(b,M,L,"â","\\triangleq",!0),p(b,M,L,"â¼","\\thicksim"),p(b,M,L,"â","\\thickapprox"),p(b,M,L,"â«","\\supseteqq",!0),p(b,M,L,"â","\\Supset",!0),p(b,M,L,"â","\\sqsupset",!0),p(b,M,L,"â½","\\succcurlyeq",!0),p(b,M,L,"â","\\curlyeqsucc",!0),p(b,M,L,"â¿","\\succsim",!0),p(b,M,L,"⪸","\\succapprox",!0),p(b,M,L,"â³","\\vartriangleright"),p(b,M,L,"âµ","\\trianglerighteq"),p(b,M,L,"â©","\\Vdash",!0),p(b,M,L,"â£","\\shortmid"),p(b,M,L,"â¥","\\shortparallel"),p(b,M,L,"â¬","\\between",!0),p(b,M,L,"â","\\pitchfork",!0),p(b,M,L,"â","\\varpropto"),p(b,M,L,"â","\\blacktriangleleft"),p(b,M,L,"â´","\\therefore",!0),p(b,M,L,"â","\\backepsilon"),p(b,M,L,"â¶","\\blacktriangleright"),p(b,M,L,"âµ","\\because",!0),p(b,M,L,"â","\\llless"),p(b,M,L,"â","\\gggtr"),p(b,M,ue,"â²","\\lhd"),p(b,M,ue,"â³","\\rhd"),p(b,M,L,"â","\\eqsim",!0),p(b,y,L,"â","\\Join"),p(b,M,L,"â","\\Doteq",!0),p(b,M,ue,"â","\\dotplus",!0),p(b,M,ue,"â","\\smallsetminus"),p(b,M,ue,"â","\\Cap",!0),p(b,M,ue,"â","\\Cup",!0),p(b,M,ue,"â©","\\doublebarwedge",!0),p(b,M,ue,"â","\\boxminus",!0),p(b,M,ue,"â","\\boxplus",!0),p(b,M,ue,"â","\\divideontimes",!0),p(b,M,ue,"â","\\ltimes",!0),p(b,M,ue,"â","\\rtimes",!0),p(b,M,ue,"â","\\leftthreetimes",!0),p(b,M,ue,"â","\\rightthreetimes",!0),p(b,M,ue,"â","\\curlywedge",!0),p(b,M,ue,"â","\\curlyvee",!0),p(b,M,ue,"â","\\circleddash",!0),p(b,M,ue,"â","\\circledast",!0),p(b,M,ue,"â
","\\centerdot"),p(b,M,ue,"âº","\\intercal",!0),p(b,M,ue,"â","\\doublecap"),p(b,M,ue,"â","\\doublecup"),p(b,M,ue,"â ","\\boxtimes",!0),p(b,M,L,"â¢","\\dashrightarrow",!0),p(b,M,L,"â ","\\dashleftarrow",!0),p(b,M,L,"â","\\leftleftarrows",!0),p(b,M,L,"â","\\leftrightarrows",!0),p(b,M,L,"â","\\Lleftarrow",!0),p(b,M,L,"â","\\twoheadleftarrow",!0),p(b,M,L,"â¢","\\leftarrowtail",!0),p(b,M,L,"â«","\\looparrowleft",!0),p(b,M,L,"â","\\leftrightharpoons",!0),p(b,M,L,"â¶","\\curvearrowleft",!0),p(b,M,L,"âº","\\circlearrowleft",!0),p(b,M,L,"â°","\\Lsh",!0),p(b,M,L,"â","\\upuparrows",!0),p(b,M,L,"â¿","\\upharpoonleft",!0),p(b,M,L,"â","\\downharpoonleft",!0),p(b,y,L,"â¶","\\origof",!0),p(b,y,L,"â·","\\imageof",!0),p(b,M,L,"â¸","\\multimap",!0),p(b,M,L,"â","\\leftrightsquigarrow",!0),p(b,M,L,"â","\\rightrightarrows",!0),p(b,M,L,"â","\\rightleftarrows",!0),p(b,M,L,"â ","\\twoheadrightarrow",!0),p(b,M,L,"â£","\\rightarrowtail",!0),p(b,M,L,"â¬","\\looparrowright",!0),p(b,M,L,"â·","\\curvearrowright",!0),p(b,M,L,"â»","\\circlearrowright",!0),p(b,M,L,"â±","\\Rsh",!0),p(b,M,L,"â","\\downdownarrows",!0),p(b,M,L,"â¾","\\upharpoonright",!0),p(b,M,L,"â","\\downharpoonright",!0),p(b,M,L,"â","\\rightsquigarrow",!0),p(b,M,L,"â","\\leadsto"),p(b,M,L,"â","\\Rrightarrow",!0),p(b,M,L,"â¾","\\restriction"),p(b,y,P,"â","`"),p(b,y,P,"$","\\$"),p(ee,y,P,"$","\\$"),p(ee,y,P,"$","\\textdollar"),p(b,y,P,"%","\\%"),p(ee,y,P,"%","\\%"),p(b,y,P,"_","\\_"),p(ee,y,P,"_","\\_"),p(ee,y,P,"_","\\textunderscore"),p(b,y,P,"â ","\\angle",!0),p(b,y,P,"â","\\infty",!0),p(b,y,P,"â²","\\prime"),p(b,y,P,"â³","\\triangle"),p(b,y,P,"Î","\\Gamma",!0),p(b,y,P,"Î","\\Delta",!0),p(b,y,P,"Î","\\Theta",!0),p(b,y,P,"Î","\\Lambda",!0),p(b,y,P,"Î","\\Xi",!0),p(b,y,P,"Î ","\\Pi",!0),p(b,y,P,"Σ","\\Sigma",!0),p(b,y,P,"Î¥","\\Upsilon",!0),p(b,y,P,"Φ","\\Phi",!0),p(b,y,P,"Ψ","\\Psi",!0),p(b,y,P,"Ω","\\Omega",!0),p(b,y,P,"A","Î"),p(b,y,P,"B","Î"),p(b,y,P,"E","Î"),p(b,y,P,"Z","Î"),p(b,y,P,"H","Î"),p(b,y,P,"I","Î"),p(b,y,P,"K","Î"),p(b,y,P,"M","Î"),p(b,y,P,"N","Î"),p(b,y,P,"O","Î"),p(b,y,P,"P","Ρ"),p(b,y,P,"T","Τ"),p(b,y,P,"X","Χ"),p(b,y,P,"¬","\\neg",!0),p(b,y,P,"¬","\\lnot"),p(b,y,P,"â¤","\\top"),p(b,y,P,"â¥","\\bot"),p(b,y,P,"â
","\\emptyset"),p(b,M,P,"â
","\\varnothing"),p(b,y,de,"α","\\alpha",!0),p(b,y,de,"β","\\beta",!0),p(b,y,de,"γ","\\gamma",!0),p(b,y,de,"δ","\\delta",!0),p(b,y,de,"ϵ","\\epsilon",!0),p(b,y,de,"ζ","\\zeta",!0),p(b,y,de,"η","\\eta",!0),p(b,y,de,"θ","\\theta",!0),p(b,y,de,"ι","\\iota",!0),p(b,y,de,"κ","\\kappa",!0),p(b,y,de,"λ","\\lambda",!0),p(b,y,de,"μ","\\mu",!0),p(b,y,de,"ν","\\nu",!0),p(b,y,de,"ξ","\\xi",!0),p(b,y,de,"ο","\\omicron",!0),p(b,y,de,"Ï","\\pi",!0),p(b,y,de,"Ï","\\rho",!0),p(b,y,de,"Ï","\\sigma",!0),p(b,y,de,"Ï","\\tau",!0),p(b,y,de,"Ï
","\\upsilon",!0),p(b,y,de,"Ï","\\phi",!0),p(b,y,de,"Ï","\\chi",!0),p(b,y,de,"Ï","\\psi",!0),p(b,y,de,"Ï","\\omega",!0),p(b,y,de,"ε","\\varepsilon",!0),p(b,y,de,"Ï","\\vartheta",!0),p(b,y,de,"Ï","\\varpi",!0),p(b,y,de,"ϱ","\\varrho",!0),p(b,y,de,"Ï","\\varsigma",!0),p(b,y,de,"Ï","\\varphi",!0),p(b,y,ue,"â","*",!0),p(b,y,ue,"+","+"),p(b,y,ue,"â","-",!0),p(b,y,ue,"â
","\\cdot",!0),p(b,y,ue,"â","\\circ",!0),p(b,y,ue,"÷","\\div",!0),p(b,y,ue,"±","\\pm",!0),p(b,y,ue,"Ã","\\times",!0),p(b,y,ue,"â©","\\cap",!0),p(b,y,ue,"âª","\\cup",!0),p(b,y,ue,"â","\\setminus",!0),p(b,y,ue,"â§","\\land"),p(b,y,ue,"â¨","\\lor"),p(b,y,ue,"â§","\\wedge",!0),p(b,y,ue,"â¨","\\vee",!0),p(b,y,P,"â","\\surd"),p(b,y,yt,"â¨","\\langle",!0),p(b,y,yt,"â£","\\lvert"),p(b,y,yt,"â¥","\\lVert"),p(b,y,ct,"?","?"),p(b,y,ct,"!","!"),p(b,y,ct,"â©","\\rangle",!0),p(b,y,ct,"â£","\\rvert"),p(b,y,ct,"â¥","\\rVert"),p(b,y,L,"=","="),p(b,y,L,":",":"),p(b,y,L,"â","\\approx",!0),p(b,y,L,"â
","\\cong",!0),p(b,y,L,"â¥","\\ge"),p(b,y,L,"â¥","\\geq",!0),p(b,y,L,"â","\\gets"),p(b,y,L,">","\\gt",!0),p(b,y,L,"â","\\in",!0),p(b,y,L,"î ","\\@not"),p(b,y,L,"â","\\subset",!0),p(b,y,L,"â","\\supset",!0),p(b,y,L,"â","\\subseteq",!0),p(b,y,L,"â","\\supseteq",!0),p(b,M,L,"â","\\nsubseteq",!0),p(b,M,L,"â","\\nsupseteq",!0),p(b,y,L,"â¨","\\models"),p(b,y,L,"â","\\leftarrow",!0),p(b,y,L,"â¤","\\le"),p(b,y,L,"â¤","\\leq",!0),p(b,y,L,"<","\\lt",!0),p(b,y,L,"â","\\rightarrow",!0),p(b,y,L,"â","\\to"),p(b,M,L,"â±","\\ngeq",!0),p(b,M,L,"â°","\\nleq",!0),p(b,y,un," ","\\ "),p(b,y,un," ","\\space"),p(b,y,un," ","\\nobreakspace"),p(ee,y,un," ","\\ "),p(ee,y,un," "," "),p(ee,y,un," ","\\space"),p(ee,y,un," ","\\nobreakspace"),p(b,y,un,null,"\\nobreak"),p(b,y,un,null,"\\allowbreak"),p(b,y,Ar,",",","),p(b,y,Ar,";",";"),p(b,M,ue,"â¼","\\barwedge",!0),p(b,M,ue,"â»","\\veebar",!0),p(b,y,ue,"â","\\odot",!0),p(b,y,ue,"â","\\oplus",!0),p(b,y,ue,"â","\\otimes",!0),p(b,y,P,"â","\\partial",!0),p(b,y,ue,"â","\\oslash",!0),p(b,M,ue,"â","\\circledcirc",!0),p(b,M,ue,"â¡","\\boxdot",!0),p(b,y,ue,"â³","\\bigtri
407angleup"),p(b,y,ue,"â½","\\bigtriangledown"),p(b,y,ue,"â ","\\dagger"),p(b,y,ue,"â","\\diamond"),p(b,y,ue,"â","\\star"),p(b,y,ue,"â","\\triangleleft"),p(b,y,ue,"â¹","\\triangleright"),p(b,y,yt,"{","\\{"),p(ee,y,P,"{","\\{"),p(ee,y,P,"{","\\textbraceleft"),p(b,y,ct,"}","\\}"),p(ee,y,P,"}","\\}"),p(ee,y,P,"}","\\textbraceright"),p(b,y,yt,"{","\\lbrace"),p(b,y,ct,"}","\\rbrace"),p(b,y,yt,"[","\\lbrack",!0),p(ee,y,P,"[","\\lbrack",!0),p(b,y,ct,"]","\\rbrack",!0),p(ee,y,P,"]","\\rbrack",!0),p(b,y,yt,"(","\\lparen",!0),p(b,y,ct,")","\\rparen",!0),p(ee,y,P,"<","\\textless",!0),p(ee,y,P,">","\\textgreater",!0),p(b,y,yt,"â","\\lfloor",!0),p(b,y,ct,"â","\\rfloor",!0),p(b,y,yt,"â","\\lceil",!0),p(b,y,ct,"â","\\rceil",!0),p(b,y,P,"\\","\\backslash"),p(b,y,P,"â£","|"),p(b,y,P,"â£","\\vert"),p(ee,y,P,"|","\\textbar",!0),p(b,y,P,"â¥","\\|"),p(b,y,P,"â¥","\\Vert"),p(ee,y,P,"â¥","\\textbardbl"),p(ee,y,P,"~","\\textasciitilde"),p(ee,y,P,"\\","\\textbackslash"),p(ee,y,P,"^","\\textasciicircum"),p(b,y,L,"â","\\uparrow",!0),p(b,y,L,"â","\\Uparrow",!0),p(b,y,L,"â","\\downarrow",!0),p(b,y,L,"â","\\Downarrow",!0),p(b,y,L,"â","\\updownarrow",!0),p(b,y,L,"â","\\Updownarrow",!0),p(b,y,tt,"â","\\coprod"),p(b,y,tt,"â","\\bigvee"),p(b,y,tt,"â","\\bigwedge"),p(b,y,tt,"â¨","\\biguplus"),p(b,y,tt,"â","\\bigcap"),p(b,y,tt,"â","\\bigcup"),p(b,y,tt,"â«","\\int"),p(b,y,tt,"â«","\\intop"),p(b,y,tt,"â¬","\\iint"),p(b,y,tt,"â","\\iiint"),p(b,y,tt,"â","\\prod"),p(b,y,tt,"â","\\sum"),p(b,y,tt,"â¨","\\bigotimes"),p(b,y,tt,"â¨","\\bigoplus"),p(b,y,tt,"â¨","\\bigodot"),p(b,y,tt,"â®","\\oint"),p(b,y,tt,"â¯","\\oiint"),p(b,y,tt,"â°","\\oiiint"),p(b,y,tt,"â¨","\\bigsqcup"),p(b,y,tt,"â«","\\smallint"),p(ee,y,Kn,"â¦","\\textellipsis"),p(b,y,Kn,"â¦","\\mathellipsis"),p(ee,y,Kn,"â¦","\\ldots",!0),p(b,y,Kn,"â¦","\\ldots",!0),p(b,y,Kn,"â¯","\\@cdots",!0),p(b,y,Kn,"â±","\\ddots",!0),p(b,y,P,"â®","\\varvdots"),p(ee,y,P,"â®","\\varvdots"),p(b,y,ze,"Ë","\\acute"),p(b,y,ze,"Ë","\\grave"),p(b,y,ze,"¨","\\ddot"),p(b,y,ze,"~","\\tilde"),p(b,y,ze,"Ë","\\bar"),p(b,y,ze,"Ë","\\breve"),p(b,y,ze,"Ë","\\check"),p(b,y,ze,"^","\\hat"),p(b,y,ze,"â","\\vec"),p(b,y,ze,"Ë","\\dot"),p(b,y,ze,"Ë","\\mathring"),p(b,y,de,"î±","\\@imath"),p(b,y,de,"î·","\\@jmath"),p(b,y,P,"ı","ı"),p(b,y,P,"È·","È·"),p(ee,y,P,"ı","\\i",!0),p(ee,y,P,"È·","\\j",!0),p(ee,y,P,"Ã","\\ss",!0),p(ee,y,P,"æ","\\ae",!0),p(ee,y,P,"Å","\\oe",!0),p(ee,y,P,"ø","\\o",!0),p(ee,y,P,"Ã","\\AE",!0),p(ee,y,P,"Å","\\OE",!0),p(ee,y,P,"Ã","\\O",!0),p(ee,y,ze,"Ë","\\'"),p(ee,y,ze,"Ë","\\`"),p(ee,y,ze,"Ë","\\^"),p(ee,y,ze,"Ë","\\~"),p(ee,y,ze,"Ë","\\="),p(ee,y,ze,"Ë","\\u"),p(ee,y,ze,"Ë","\\."),p(ee,y,ze,"¸","\\c"),p(ee,y,ze,"Ë","\\r"),p(ee,y,ze,"Ë","\\v"),p(ee,y,ze,"¨",'\\"'),p(ee,y,ze,"Ë","\\H"),p(ee,y,ze,"â¯","\\textcircled");const Hu={"--":!0,"---":!0,"``":!0,"''":!0};p(ee,y,P,"â","--",!0),p(ee,y,P,"â","\\textendash"),p(ee,y,P,"â","---",!0),p(ee,y,P,"â","\\textemdash"),p(ee,y,P,"â","`",!0),p(ee,y,P,"â","\\textquoteleft"),p(ee,y,P,"â","'",!0),p(ee,y,P,"â","\\textquoteright"),p(ee,y,P,"â","``",!0),p(ee,y,P,"â","\\textquotedblleft"),p(ee,y,P,"â","''",!0),p(ee,y,P,"â","\\textquotedblright"),p(b,y,P,"°","\\degree",!0),p(ee,y,P,"°","\\degree"),p(ee,y,P,"°","\\textdegree",!0),p(b,y,P,"£","\\pounds"),p(b,y,P,"£","\\mathsterling",!0),p(ee,y,P,"£","\\pounds"),p(ee,y,P,"£","\\textsterling",!0),p(b,M,P,"â ","\\maltese"),p(ee,M,P,"â ","\\maltese");const Uu='0123456789/@."';for(let u=0;u<Uu.length;u++){const a=Uu.charAt(u);p(b,y,P,a,a)}const zu='0123456789!@*()-=+";:?/.,';for(let u=0;u<zu.length;u++){const a=zu.charAt(u);p(ee,y,P,a,a)}const xr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let u=0;u<xr.length;u++){const a=xr.charAt(u);p(b,y,de,a,a),p(ee,y,P,a,a)}p(b,M,P,"C","â"),p(ee,M,P,"C","â"),p(b,M,P,"H","â"),p(ee,M,P,"H","â"),p(b,M,P,"N","â"),p(ee,M,P,"N","â"),p(b,M,P,"P","â"),p(ee,M,P,"P","â"),p(b,M,P,"Q","â"),p(ee,M,P,"Q","â"),p(b,M,P,"R","â"),p(ee,M,P,"R","â"),p(b,M,P,"Z","â¤"),p(ee,M,P,"Z","â¤"),p(b,y,de,"h","â"),p(ee,y,de,"h","â");let ge="";for(let u=0;u<xr.length;u++){const a=xr.charAt(u);ge=String.fromCharCode(55349,56320+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56372+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56424+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56580+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56684+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56736+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56788+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56840+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56944+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),u<26&&
407(ge=String.fromCharCode(55349,56632+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,56476+u),p(b,y,de,a,ge),p(ee,y,P,a,ge))}ge="ð",p(b,y,de,"k",ge),p(ee,y,P,"k",ge);for(let u=0;u<10;u++){const a=u.toString();ge=String.fromCharCode(55349,57294+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,57314+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,57324+u),p(b,y,de,a,ge),p(ee,y,P,a,ge),ge=String.fromCharCode(55349,57334+u),p(b,y,de,a,ge),p(ee,y,P,a,ge)}const r0="ÃÃþ";for(let u=0;u<r0.length;u++){const a=r0.charAt(u);p(b,y,de,a,a),p(ee,y,P,a,a)}const kr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],qu=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Cf=function(u,a){const o=u.charCodeAt(0),h=u.charCodeAt(1),m=(o-55296)*1024+(h-56320)+65536,E=a==="math"?0:1;if(119808<=m&&m<120484){const T=Math.floor((m-119808)/26);return[kr[T][2],kr[T][E]]}else if(120782<=m&&m<=120831){const T=Math.floor((m-120782)/10);return[qu[T][2],qu[T][E]]}else{if(m===120485||m===120486)return[kr[0][2],kr[0][E]];if(120486<m&&m<120782)return["",""];throw new i("Unsupported character: "+u)}},Sr=function(u,a,o){return je[o][u]&&je[o][u].replace&&(u=je[o][u].replace),{value:u,metrics:Ji(u,a,o)}},Ft=function(u,a,o,h,m){const E=Sr(u,a,o),T=E.metrics;u=E.value;let k;if(T){let w=T.italic;(o==="text"||h&&h.font==="mathit")&&(w=0),k=new Ct(u,T.height,T.depth,w,T.skew,T.width,m)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+u+"' in style '"+a+"' and mode '"+o+"'")),k=new Ct(u,0,0,0,0,0,m);if(h){k.maxFontSize=h.sizeMultiplier,h.style.isTight()&&k.classes.push("mtight");const w=h.getColor();w&&(k.style.color=w)}return k},wf=function(u,a,o,h){return h===void 0&&(h=[]),o.font==="boldsymbol"&&Sr(u,"Main-Bold",a).metrics?Ft(u,"Main-Bold",a,o,h.concat(["mathbf"])):u==="\\"||je[a][u].font==="main"?Ft(u,"Main-Regular",a,o,h):Ft(u,"AMS-Regular",a,o,h.concat(["amsrm"]))},Nf=function(u,a,o,h,m){return m!=="textord"&&Sr(u,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},If=function(u,a,o){const h=u.mode,m=u.text,E=["mord"],T=h==="math"||h==="text"&&a.font,k=T?a.font:a.fontFamily;let w="",R="";if(m.charCodeAt(0)===55349&&([w,R]=Cf(m,h)),w.length>0)return Ft(m,w,h,a,E.concat(R));if(k){let U,z;if(k==="boldsymbol"){const V=Nf(m,h,a,E,o);U=V.fontName,z=[V.fontClass]}else T?(U=ju[k].fontName,z=[k]):(U=Cr(k,a.fontWeight,a.fontShape),z=[k,a.fontWeight,a.fontShape]);if(Sr(m,U,h).metrics)return Ft(m,U,h,a,E.concat(z));if(Hu.hasOwnProperty(m)&&U.slice(0,10)==="Typewriter"){const V=[];for(let J=0;J<m.length;J++)V.push(Ft(m[J],U,h,a,E.concat(z)));return Yu(V)}}if(o==="mathord")return Ft(m,"Math-Italic",h,a,E.concat(["mathnormal"]));if(o==="textord"){const U=je[h][m]&&je[h][m].font;if(U==="ams"){const z=Cr("amsrm",a.fontWeight,a.fontShape);return Ft(m,z,h,a,E.concat("amsrm",a.fontWeight,a.fontShape))}else if(U==="main"||!U){const z=Cr("textrm",a.fontWeight,a.fontShape);return Ft(m,z,h,a,E.concat(a.fontWeight,a.fontShape))}else{const z=Cr(U,a.fontWeight,a.fontShape);return Ft(m,z,h,a,E.concat(z,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+o+" in makeOrd")},Df=(u,a)=>{if(bn(u.classes)!==bn(a.classes)||u.skew!==a.skew||u.maxFontSize!==a.maxFontSize)return!1;if(u.classes.length===1){const o=u.classes[0];if(o==="mbin"||o==="mord")return!1}for(const o in u.style)if(u.style.hasOwnProperty(o)&&u.style[o]!==a.style[o])return!1;for(const o in a.style)if(a.style.hasOwnProperty(o)&&u.style[o]!==a.style[o])return!1;return!0},Of=u=>{for(let a=0;a<u.length-1;a++){const o=u[a],h=u[a+1];o instanceof Ct&&h instanceof Ct&&Df(o,h)&&(o.text+=h.text,o.height=Math.max(o.height,h.height),o.depth=Math.max(o.depth,h.depth),o.italic=
407h.italic,u.splice(a+1,1),a--)}return u},i0=function(u){let a=0,o=0,h=0;for(let m=0;m<u.children.length;m++){const E=u.children[m];E.height>a&&(a=E.height),E.depth>o&&(o=E.depth),E.maxFontSize>h&&(h=E.maxFontSize)}u.height=a,u.depth=o,u.maxFontSize=h},mt=function(u,a,o,h){const m=new ws(u,a,o,h);return i0(m),m},$u=(u,a,o,h)=>new ws(u,a,o,h),Mf=function(u,a,o){const h=mt([u],[],a);return h.height=Math.max(o||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),h.style.borderBottomWidth=ie(h.height),h.maxFontSize=1,h},Lf=function(u,a,o,h){const m=new n0(u,a,o,h);return i0(m),m},Yu=function(u){const a=new Cs(u);return i0(a),a},vf=function(u,a){return u instanceof Cs?mt([],[u],a):u},Rf=function(u){if(u.positionType==="individualShift"){const o=u.children,h=[o[0]],m=-o[0].shift-o[0].elem.depth;let E=m;for(let T=1;T<o.length;T++){const k=-o[T].shift-E-o[T].elem.depth,w=k-(o[T-1].elem.height+o[T-1].elem.depth);E=E+k,h.push({type:"kern",size:w}),h.push(o[T])}return{children:h,depth:m}}let a;if(u.positionType==="top"){let o=u.positionData;for(let h=0;h<u.children.length;h++){const m=u.children[h];o-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}a=o}else if(u.positionType==="bottom")a=-u.positionData;else{const o=u.children[0];if(o.type!=="elem")throw new Error('First child must have type "elem".');if(u.positionType==="shift")a=-o.elem.depth-u.positionData;else if(u.positionType==="firstBaseline")a=-o.elem.depth;else throw new Error("Invalid positionType "+u.positionType+".")}return{children:u.children,depth:a}},Bf=function(u,a){const{children:o,depth:h}=Rf(u);let m=0;for(let J=0;J<o.length;J++){const oe=o[J];if(oe.type==="elem"){const le=oe.elem;m=Math.max(m,le.maxFontSize,le.height)}}m+=2;const E=mt(["pstrut"],[]);E.style.height=ie(m);const T=[];let k=h,w=h,R=h;for(let J=0;J<o.length;J++){const oe=o[J];if(oe.type==="kern")R+=oe.size;else{const le=oe.elem,ke=oe.wrapperClasses||[],Ae=oe.wrapperStyle||{},Se=mt(ke,[E,le],void 0,Ae);Se.style.top=ie(-m-R-le.depth),oe.marginLeft&&(Se.style.marginLeft=oe.marginLeft),oe.marginRight&&(Se.style.marginRight=oe.marginRight),T.push(Se),R+=le.height+le.depth}k=Math.min(k,R),w=Math.max(w,R)}const U=mt(["vlist"],T);U.style.height=ie(w);let z;if(k<0){const J=mt([],[]),oe=mt(["vlist"],[J]);oe.style.height=ie(-k);const le=mt(["vlist-s"],[new Ct("â")]);z=[mt(["vlist-r"],[U,le]),mt(["vlist-r"],[oe])]}else z=[mt(["vlist-r"],[U])];const V=mt(["vlist-t"],z);return z.length===2&&V.classes.push("vlist-t2"),V.height=w,V.depth=-k,V},Ff=(u,a)=>{const o=mt(["mspace"],[],a),h=Ye(u,a);return o.style.marginRight=ie(h),o},Cr=function(u,a,o){let h="";switch(u){case"amsrm":h="AMS";break;case"textrm":h="Main";break;case"textsf":h="SansSerif";break;case"texttt":h="Typewriter";break;default:h=u}let m;return a==="textbf"&&o==="textit"?m="BoldItalic":a==="textbf"?m="Bold":a==="textit"?m="Italic":m="Regular",h+"-"+m},ju={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Vu={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Y={fontMap:ju,makeSymbol:Ft,mathsym:wf,makeSpan:mt,makeSvgSpan:$u,makeLineSpan:Mf,makeAnchor:Lf,makeFragment:Yu,wrapFragment:vf,makeVList:Bf,makeOrd:If,makeGlue:Ff,staticSvg:function(u,a){const[o,h,m]=Vu[u],E=new En(o),T=new an([E],{width:ie(h),height:ie(m),style:"width:"+ie(h),viewBox:"0 0 "+1e3*h+" "+1e3*m,preserveAspectRatio:"xMinYMin"}),k=$u(["overlay"],[T],a);return k.height=m,k.style.height=ie(m),k.style.width=ie(h),k},svgData:Vu,tryCombineChars:Of};const Ve={number:3,unit:"mu"},Dn={number:4,unit:"mu"},on={number:5,unit:"mu"},Pf={mord:{mop:Ve,mbin:Dn,mrel:on,minner:Ve},mop:{mord:Ve,mop:Ve,mrel:on,minner:Ve},mbin:{mord:Dn,mop:Dn,mopen:Dn,minner:Dn},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Ve,mbin:Dn,mrel:on,minner:Ve},mpunct:{mord:Ve,mop:Ve,mrel:on,mopen:Ve,mclose:Ve,mpunct:Ve,minner:Ve},minner:{mord:Ve,mop:Ve,mbin:Dn,mrel:on,mopen:Ve,mpunct:Ve,minner:Ve}},Hf={mord:{mop:Ve},mop:{mord:Ve,mop:Ve},mbin:{},mrel:{},mopen:{},mclose:{mop:Ve},mpunct:{},minner:{mop:Ve}},Gu={},wr={},Nr={};function ae(u){let{type:a,names:o,props:h,handler:m,htmlBuilder:E,mathmlBuilder:T}=u;const k={type:a,numArgs:h.numArgs,argTypes:h.argTypes,allowedInArgument:!!h.allowedInArgument,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,primitive:!!h.primitive,handler:m};for(let w=0;w<o.length;++w)Gu[o[w]]=k;a&&(E&&(wr[a]=E),T&&(Nr[a]=T))}function On(u){let{type:a,htmlBuilder:o,mathmlBuilder:h}=u;ae({type:a,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:o,mathmlBuilder:h})}const Ir=function(u){return u.type==="ordgroup"&&u.body.length===1?u.body[0]:u},We=function(u){return u.type==="ordgroup"?u.body:[u]},cn=Y.makeSpan,Uf=["leftmost","mbin","mopen","mrel","mop","mpunct"],zf=["rightmost","mrel","mclose","mpunct"],qf={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},$f={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},nt=function(u,a,o,h){h===void 0&&(h=[null,null]);const m=[];for(let R=0;R<u.length;R++){const U=we(u[R],a);if(U instanceof Cs){const z=U.children;m.push(...z)}else m.push(U)}if(Y.tryCombineChars(m),!o)return m;let E=a;if(u.length===1){const R=u[0];R.type==="sizing"?E=a.havingSize(R.size):R.type==="styling"&&(E=a.havingStyle(qf[R.style]))}const T=cn([h[0]||"leftmost"],[],a),k=cn([h[1]||"rightmost"],[],a),w=o==="root";return a0(m,(R,U)=>{const z=U.classes[0],V=R.classes[0];z==="mbin"&&B.contains(zf,V)?U.classes[0]="mord":V==="mbin"&&B.contains(Uf,z)&&(R.classes[0]="mord")},{node:T},k,w),a0(m,(R,U)=>{const z=o0(U),V=o0(R),J=z&&V?R.hasClass("mtight")?Hf[z][V]:Pf[z][V]:null;if(J)return Y.makeGlue(J,E)},{node:T},k,w),m},a0=function(u,a,o,h,m){h&&u.push(h);let E=0;for(;E<u.length;E++){const T=u[E],k=Ku(T);
407if(k){a0(k.children,a,o,null,m);continue}const w=!T.hasClass("mspace");if(w){const R=a(T,o.node);R&&(o.insertAfter?o.insertAfter(R):(u.unshift(R),E++))}w?o.node=T:m&&T.hasClass("newline")&&(o.node=cn(["leftmost"])),o.insertAfter=(R=>U=>{u.splice(R+1,0,U),E++})(E)}h&&u.pop()},Ku=function(u){return u instanceof Cs||u instanceof n0||u instanceof ws&&u.hasClass("enclosing")?u:null},u0=function(u,a){const o=Ku(u);if(o){const h=o.children;if(h.length){if(a==="right")return u0(h[h.length-1],"right");if(a==="left")return u0(h[0],"left")}}return u},o0=function(u,a){return u?(a&&(u=u0(u,a)),$f[u.classes[0]]||null):null},Ns=function(u,a){const o=["nulldelimiter"].concat(u.baseSizingClasses());return cn(a.concat(o))},we=function(u,a,o){if(!u)return cn();if(wr[u.type]){let h=wr[u.type](u,a);if(o&&a.size!==o.size){h=cn(a.sizingClasses(o),[h],a);const m=a.sizeMultiplier/o.sizeMultiplier;h.height*=m,h.depth*=m}return h}else throw new i("Got group of unknown type: '"+u.type+"'")};function Dr(u,a){const o=cn(["base"],u,a),h=cn(["strut"]);return h.style.height=ie(o.height+o.depth),o.depth&&(h.style.verticalAlign=ie(-o.depth)),o.children.unshift(h),o}function c0(u,a){let o=null;u.length===1&&u[0].type==="tag"&&(o=u[0].tag,u=u[0].body);const h=nt(u,a,"root");let m;h.length===2&&h[1].hasClass("tag")&&(m=h.pop());const E=[];let T=[];for(let R=0;R<h.length;R++)if(T.push(h[R]),h[R].hasClass("mbin")||h[R].hasClass("mrel")||h[R].hasClass("allowbreak")){let U=!1;for(;R<h.length-1&&h[R+1].hasClass("mspace")&&!h[R+1].hasClass("newline");)R++,T.push(h[R]),h[R].hasClass("nobreak")&&(U=!0);U||(E.push(Dr(T,a)),T=[])}else h[R].hasClass("newline")&&(T.pop(),T.length>0&&(E.push(Dr(T,a)),T=[]),E.push(h[R]));T.length>0&&E.push(Dr(T,a));let k;o?(k=Dr(nt(o,a,!0)),k.classes=["tag"],E.push(k)):m&&E.push(m);const w=cn(["katex-html"],E);if(w.setAttribute("aria-hidden","true"),k){const R=k.children[0];R.style.height=ie(w.height+w.depth),w.depth&&(R.style.verticalAlign=ie(-w.depth))}return w}function Xu(u){return new Cs(u)}class At{constructor(a,o,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=a,this.attributes={},this.children=o||[],this.classes=h||[]}setAttribute(a,o){this.attributes[a]=o}getAttribute(a){return this.attributes[a]}toNode(){const a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&a.setAttribute(o,this.attributes[o]);this.classes.length>0&&(a.className=bn(this.classes));for(let o=0;o<this.children.length;o++)if(this.children[o]instanceof jt&&this.children[o+1]instanceof jt){let h=this.children[o].toText()+this.children[++o].toText();for(;this.children[o+1]instanceof jt;)h+=this.children[++o].toText();a.appendChild(new jt(h).toNode())}else a.appendChild(this.children[o].toNode());return a}toMarkup(){let a="<"+this.type;for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(a+=" "+o+'="',a+=B.escape(this.attributes[o]),a+='"');this.classes.length>0&&(a+=' class ="'+B.escape(bn(this.classes))+'"'),a+=">";for(let o=0;o<this.children.length;o++)a+=this.children[o].toMarkup();return a+="</"+this.type+">",a}toText(){return this.children.map(a=>a.toText()).join("")}}class jt{constructor(a){this.text=void 0,this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return B.escape(this.toText())}toText(){return this.text}}class Yf{constructor(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character="â":a>=.1666&&a<=.1667?this.character="â":a>=.2222&&a<=.2223?this.character="â
":a>=.2777&&a<=.2778?this.character="â
â":a>=-.05556&&a<=-.05555?this.character="ââ£":a>=-.1667&&a<=-.1666?this.character="ââ£":a>=-.2223&&a<=-.2222?this.character="ââ£":a>=-.2778&&a<=-.2777?this.character="â
â£":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",ie(this.width)),a}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ie(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ne={MathNode:At,TextNode:jt,SpaceNode:Yf,newDocumentFragment:Xu};const wt=function(u,a,o){return je[a][u]&&je[a][u].replace&&u.charCodeAt(0)!==55349&&!(Hu.hasOwnProperty(u)&&o&&(o.fontFamily&&o.fontFamily.slice(4,6)==="tt"||o.font&&o.font.slice(4,6)==="tt"))&&(u=je[a][u].replace),new ne.TextNode(u)},l0=function(u){return u.length===1?u[0]:new ne.MathNode("mrow",u)},h0=function(u,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";const o=a.font;if(!o||o==="mathnormal")return null;const h=u.mode;if(o==="mathit")return"italic";if(o==="boldsymbol")return u.type==="textord"?"bold":"bold-italic";if(o==="mathbf")return"bold";if(o==="mathbb")return"double-struck";if(o==="mathsfit")return"sans-serif-italic";if(o==="mathfrak")return"fraktur";if(o==="mathscr"||o==="mathcal")return"script";if(o==="mathsf")return"sans-serif";if(o==="mathtt")return"monospace";let m=u.text;if(B.contains(["\\imath","\\jmath"],m))return null;je[h][m]&&je[h][m].replace&&(m=je[h][m].replace);const E=Y.fontMap[o].fontName;return Ji(m,E,h)?Y.fontMap[o].variant:null};function f0(u){if(!u)return!1;if(u.type==="mi"&&u.children.length===1){const a=u.children[0];return a instanceof jt&&a.text==="."}else if(u.type==="mo"&&u.children.length===1&&u.getAttribute("separator")==="true"&&u.getAttribute("lspace")==="0em"&&u.getAttribute("rspace")==="0em"){const a=u.children[0];return a instanceof jt&&a.text===","}else return!1}const pt=function(u,a,o){if(u.length===1){const E=Re(u[0],a);return o&&E instanceof At&&E.type==="mo"&&(E.setAttribute("lspace","0em"),E.setAttribute("rspace","0em")),[E]}const h=[];let m;
407for(let E=0;E<u.length;E++){const T=Re(u[E],a);if(T instanceof At&&m instanceof At){if(T.type==="mtext"&&m.type==="mtext"&&T.getAttribute("mathvariant")===m.getAttribute("mathvariant")){m.children.push(...T.children);continue}else if(T.type==="mn"&&m.type==="mn"){m.children.push(...T.children);continue}else if(f0(T)&&m.type==="mn"){m.children.push(...T.children);continue}else if(T.type==="mn"&&f0(m))T.children=[...m.children,...T.children],h.pop();else if((T.type==="msup"||T.type==="msub")&&T.children.length>=1&&(m.type==="mn"||f0(m))){const k=T.children[0];k instanceof At&&k.type==="mn"&&(k.children=[...m.children,...k.children],h.pop())}else if(m.type==="mi"&&m.children.length===1){const k=m.children[0];if(k instanceof jt&&k.text==="̸"&&(T.type==="mo"||T.type==="mi"||T.type==="mn")){const w=T.children[0];w instanceof jt&&w.text.length>0&&(w.text=w.text.slice(0,1)+"̸"+w.text.slice(1),h.pop())}}}h.push(T),m=T}return h},Tn=function(u,a,o){return l0(pt(u,a,o))},Re=function(u,a){if(!u)return new ne.MathNode("mrow");if(Nr[u.type])return Nr[u.type](u,a);throw new i("Got group of unknown type: '"+u.type+"'")};function Wu(u,a,o,h,m){const E=pt(u,o);let T;E.length===1&&E[0]instanceof At&&B.contains(["mrow","mtable"],E[0].type)?T=E[0]:T=new ne.MathNode("mrow",E);const k=new ne.MathNode("annotation",[new ne.TextNode(a)]);k.setAttribute("encoding","application/x-tex");const w=new ne.MathNode("semantics",[T,k]),R=new ne.MathNode("math",[w]);R.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&R.setAttribute("display","block");const U=m?"katex":"katex-mathml";return Y.makeSpan([U],[R])}const Qu=function(u){return new Tf({style:u.displayMode?H.DISPLAY:H.TEXT,maxSize:u.maxSize,minRuleThickness:u.minRuleThickness})},Zu=function(u,a){if(a.displayMode){const o=["katex-display"];a.leqno&&o.push("leqno"),a.fleqn&&o.push("fleqn"),u=Y.makeSpan(o,[u])}return u},jf=function(u,a,o){const h=Qu(o);let m;if(o.output==="mathml")return Wu(u,a,h,o.displayMode,!0);if(o.output==="html"){const E=c0(u,h);m=Y.makeSpan(["katex"],[E])}else{const E=Wu(u,a,h,o.displayMode,!1),T=c0(u,h);m=Y.makeSpan(["katex"],[E,T])}return Zu(m,o)},Vf=function(u,a,o){const h=Qu(o),m=c0(u,h),E=Y.makeSpan(["katex"],[m]);return Zu(E,o)},Gf={widehat:"^",widecheck:"Ë",widetilde:"~",utilde:"~",overleftarrow:"â",underleftarrow:"â",xleftarrow:"â",overrightarrow:"â",underrightarrow:"â",xrightarrow:"â",underbrace:"â",overbrace:"â",overgroup:"â ",undergroup:"â¡",overleftrightarrow:"â",underleftrightarrow:"â",xleftrightarrow:"â",Overrightarrow:"â",xRightarrow:"â",overleftharpoon:"â¼",xleftharpoonup:"â¼",overrightharpoon:"â",xrightharpoonup:"â",xLeftarrow:"â",xLeftrightarrow:"â",xhookleftarrow:"â©",xhookrightarrow:"âª",xmapsto:"â¦",xrightharpoondown:"â",xleftharpoondown:"â½",xrightleftharpoons:"â",xleftrightharpoons:"â",xtwoheadleftarrow:"â",xtwoheadrightarrow:"â ",xlongequal:"=",xtofrom:"â",xrightleftarrows:"â",xrightequilibrium:"â",xleftequilibrium:"â","\\cdrightarrow":"â","\\cdleftarrow":"â","\\cdlongequal":"="},Kf=function(u){const a=new ne.MathNode("mo",[new ne.TextNode(Gf[u.replace(/^\\/,"")])]);return a.setAttribute("stretchy","true"),a},Xf={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Wf=function(u){return u.type==="ordgroup"?u.body.length:1};var ln={encloseSpan:function(u,a,o,h,m){let E;const T=u.height+u.depth+o+h;if(/fbox|color|angl/.test(a)){if(E=Y.makeSpan(["stretchy",a],[],m),a==="fbox"){const k=m.color&&m.getColor();k&&(E.style.borderColor=k)}}
407else{const k=[];/^[bx]cancel$/.test(a)&&k.push(new s0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&k.push(new s0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const w=new an(k,{width:"100%",height:ie(T)});E=Y.makeSvgSpan([],[w],m)}return E.height=T,E.style.height=ie(T),E},mathMLnode:Kf,svgSpan:function(u,a){function o(){let T=4e5;const k=u.label.slice(1);if(B.contains(["widehat","widecheck","widetilde","utilde"],k)){const R=Wf(u.base);let U,z,V;if(R>5)k==="widehat"||k==="widecheck"?(U=420,T=2364,V=.42,z=k+"4"):(U=312,T=2340,V=.34,z="tilde4");else{const le=[1,1,2,2,3,3][R];k==="widehat"||k==="widecheck"?(T=[0,1062,2364,2364,2364][le],U=[0,239,300,360,420][le],V=[0,.24,.3,.3,.36,.42][le],z=k+le):(T=[0,600,1033,2339,2340][le],U=[0,260,286,306,312][le],V=[0,.26,.286,.3,.306,.34][le],z="tilde"+le)}const J=new En(z),oe=new an([J],{width:"100%",height:ie(V),viewBox:"0 0 "+T+" "+U,preserveAspectRatio:"none"});return{span:Y.makeSvgSpan([],[oe],a),minWidth:0,height:V}}else{const w=[],R=Xf[k],[U,z,V]=R,J=V/1e3,oe=U.length;let le,ke;if(oe===1){const Ae=R[3];le=["hide-tail"],ke=[Ae]}else if(oe===2)le=["halfarrow-left","halfarrow-right"],ke=["xMinYMin","xMaxYMin"];else if(oe===3)le=["brace-left","brace-center","brace-right"],ke=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support 408 `+oe+" children.");for(let Ae=0;Ae<oe;Ae++){const Se=new En(U[Ae]),Ie=new an([Se],{width:"400em",height:ie(J),viewBox:"0 0 "+T+" "+V,preserveAspectRatio:ke[Ae]+" slice"}),Be=Y.makeSvgSpan([le[Ae]],[Ie],a);if(oe===1)return{span:Be,minWidth:z,height:J};Be.style.height=ie(J),w.push(Be)}return{span:Y.makeSpan(["stretchy"],w,a),minWidth:z,height:J}}}const{span:h,minWidth:m,height:E}=o();return h.height=E,h.style.height=ie(E),m>0&&(h.style.minWidth=ie(m)),h}};function _e(u,a){if(!u||u.type!==a)throw new Error("Expected node of type "+a+", but got "+(u?"node of type "+u.type:String(u)));return u}function d0(u){const a=Or(u);if(!a)throw new Error("Expected node of symbol group type, but got "+(u?"node of type "+u.type:String(u)));return a}function Or(u){return u&&(u.type==="atom"||Sf.hasOwnProperty(u.type))?u:null}const m0=(u,a)=>{let o,h,m;u&&u.type==="supsub"?(h=_e(u.base,"accent"),o=h.base,u.base=o,m=xf(we(u,a)),u.base=h):(h=_e(u,"accent"),o=h.base);const E=we(o,a.havingCrampedStyle()),T=h.isShifty&&B.isCharacterBox(o);let k=0;if(T){const V=B.getBaseElem(o),J=we(V,a.havingCrampedStyle());k=Pu(J).skew}const w=h.label==="\\c";let R=w?E.height+E.depth:Math.min(E.height,a.fontMetrics().xHeight),U;if(h.isStretchy)U=ln.svgSpan(h,a),U=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:E},{type:"elem",elem:U,wrapperClasses:["svg-align"],wrapperStyle:k>0?{width:"calc(100% - "+ie(2*k)+")",marginLeft:ie(2*k)}:void 0}]},a);else{let V,J;h.label==="\\vec"?(V=Y.staticSvg("vec",a),J=Y.svgData.vec[1]):(V=Y.makeOrd({mode:h.mode,text:h.label},a,"textord"),V=Pu(V),V.italic=0,J=V.width,w&&(R+=V.depth)),U=Y.makeSpan(["accent-body"],[V]);const oe=h.label==="\\textcircled";oe&&(U.classes.push("accent-full"),R=E.height);let le=k;oe||(le-=J/2),U.style.left=ie(le),h.label==="\\textcircled"&&(U.style.top=".2em"),U=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:E},{type:"kern",size:-R},{type:"elem",elem:U}]},a)}const z=Y.makeSpan(["mord","accent"],[U],a);return m?(m.children[0]=z,m.height=Math.max(z.height,m.height),m.classes[0]="mord",m):z},Ju=(u,a)=>{const o=u.isStretchy?ln.mathMLnode(u.label):new ne.MathNode("mo",[wt(u.label,u.mode)]),h=new ne.MathNode("mover",[Re(u.base,a),o]);return h.setAttribute("accent","true"),h},Qf=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(u=>"\\"+u).join("|"));ae({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(u,a)=>{const o=Ir(a[0]),h=!Qf.test(u.funcName),m=!h||u.funcName==="\\widehat"||u.funcName==="\\widetilde"||u.funcName==="\\widecheck";return{type:"accent",mode:u.parser.mode,label:u.funcName,isStretchy:h,isShifty:m,base:o}},htmlBuilder:m0,mathmlBuilder:Ju}),ae({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(u,a)=>{const o=a[0];let h=u.parser.mode;return h==="math"&&(u.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+u.funcName+" works only in text mode"),h="text"),{type:"accent",mode:h,label:u.funcName,isStretchy:!1,isShifty:!0,base:o}},htmlBuilder:m0,mathmlBuilder:Ju}),ae({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=a[0];return{type:"accentUnder",mode:o.mode,label:h,base:m}},htmlBuilder:(u,a)=>{const o=we(u.base,a),h=ln.svgSpan(u,a),m=u.label==="\\utilde"?.12:0,E=Y.makeVList({positionType:"top",positionData:o.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:m},{type:"elem",elem:o}]},a);return Y.makeSpan(["mord","accentunder"],[E],a)},mathmlBuilder:(u,a)=>{const o=ln.mathMLnode(u.label),h=new ne.MathNode("munder",[Re(u.base,a),o]);return h.setAttribute("accentunder","true"),h}});const Mr=u=>{const a=new ne.MathNode("mpadded",u?[u]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};ae({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(u,a,o){let{parser:h,funcName:m}=u;return{type:"xArrow",mode:h.mode,label:m,body:a[0],below:o[0]}},htmlBuilder(u,a){const o=a.style;let h=a.havingStyle(o.sup());const m=Y.wrapFragment(we(u.body,h,a),a),E=u.label.slice(0,2)==="\\x"?"x":"cd";m.classes.push(E+"-arrow-pad");let T;u.below&&(h=a.havingStyle(o.sub()),T=Y.wrapFragment(we(u.below,h,a),a),T.classes.push(E+"-arrow-pad"));const k=ln.svgSpan(u,a),w=-a.fontMetrics().axisHeight+.5*k.height;let R=-a.fontMetrics().axisHeight-.5*k.height-.111;(m.depth>.25||u.label==="\\xleftequilibrium")&&(R-=m.depth);let U;if(T){const z=-a.fontMetrics().axisHeight+T.height+.5*k.height+.111;U=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:R},{type:"elem",elem:k,shift:w}
408,{type:"elem",elem:T,shift:z}]},a)}else U=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:R},{type:"elem",elem:k,shift:w}]},a);return U.children[0].children[0].children[1].classes.push("svg-align"),Y.makeSpan(["mrel","x-arrow"],[U],a)},mathmlBuilder(u,a){const o=ln.mathMLnode(u.label);o.setAttribute("minsize",u.label.charAt(0)==="x"?"1.75em":"3.0em");let h;if(u.body){const m=Mr(Re(u.body,a));if(u.below){const E=Mr(Re(u.below,a));h=new ne.MathNode("munderover",[o,E,m])}else h=new ne.MathNode("mover",[o,m])}else if(u.below){const m=Mr(Re(u.below,a));h=new ne.MathNode("munder",[o,m])}else h=Mr(),h=new ne.MathNode("mover",[o,h]);return h}});const Zf=Y.makeSpan;function eo(u,a){const o=nt(u.body,a,!0);return Zf([u.mclass],o,a)}function to(u,a){let o;const h=pt(u.body,a);return u.mclass==="minner"?o=new ne.MathNode("mpadded",h):u.mclass==="mord"?u.isCharacterBox?(o=h[0],o.type="mi"):o=new ne.MathNode("mi",h):(u.isCharacterBox?(o=h[0],o.type="mo"):o=new ne.MathNode("mo",h),u.mclass==="mbin"?(o.attributes.lspace="0.22em",o.attributes.rspace="0.22em"):u.mclass==="mpunct"?(o.attributes.lspace="0em",o.attributes.rspace="0.17em"):u.mclass==="mopen"||u.mclass==="mclose"?(o.attributes.lspace="0em",o.attributes.rspace="0em"):u.mclass==="minner"&&(o.attributes.lspace="0.0556em",o.attributes.width="+0.1111em")),o}ae({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(u,a){let{parser:o,funcName:h}=u;const m=a[0];return{type:"mclass",mode:o.mode,mclass:"m"+h.slice(5),body:We(m),isCharacterBox:B.isCharacterBox(m)}},htmlBuilder:eo,mathmlBuilder:to});const Lr=u=>{const a=u.type==="ordgroup"&&u.body.length?u.body[0]:u;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};ae({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(u,a){let{parser:o}=u;return{type:"mclass",mode:o.mode,mclass:Lr(a[0]),body:We(a[1]),isCharacterBox:B.isCharacterBox(a[1])}}}),ae({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(u,a){let{parser:o,funcName:h}=u;const m=a[1],E=a[0];let T;h!=="\\stackrel"?T=Lr(m):T="mrel";const k={type:"op",mode:m.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:We(m)},w={type:"supsub",mode:E.mode,base:k,sup:h==="\\underset"?null:E,sub:h==="\\underset"?E:null};return{type:"mclass",mode:o.mode,mclass:T,body:[w],isCharacterBox:B.isCharacterBox(w)}},htmlBuilder:eo,mathmlBuilder:to}),ae({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(u,a){let{parser:o}=u;return{type:"pmb",mode:o.mode,mclass:Lr(a[0]),body:We(a[0])}},htmlBuilder(u,a){const o=nt(u.body,a,!0),h=Y.makeSpan([u.mclass],o,a);return h.style.textShadow="0.02em 0.01em 0.04px",h},mathmlBuilder(u,a){const o=pt(u.body,a),h=new ne.MathNode("mstyle",o);return h.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),h}});const Jf={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},no=()=>({type:"styling",body:[],mode:"math",style:"display"}),so=u=>u.type==="textord"&&u.text==="@",ed=(u,a)=>(u.type==="mathord"||u.type==="atom")&&u.text===a;function td(u,a,o){const h=Jf[u];switch(h){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return o.callFunction(h,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{const m=o.callFunction("\\\\cdleft",[a[0]],[]),E={type:"atom",text:h,mode:"math",family:"rel"},T=o.callFunction("\\Big",[E],[]),k=o.callFunction("\\\\cdright",[a[1]],[]),w={type:"ordgroup",mode:"math",body:[m,T,k]};return o.callFunction("\\\\cdparent",[w],[])}case"\\\\cdlongequal":return o.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const m={type:"textord",text:"\\Vert",mode:"math"};return o.callFunction("\\Big",[m],[])}default:return{type:"textord",text:" ",mode:"math"}}}function nd(u){const a=[];for(u.gullet.beginGroup(),u.gullet.macros.set("\\cr","\\\\\\relax"),u.gullet.beginGroup();;){a.push(u.parseExpression(!1,"\\\\")),u.gullet.endGroup(),u.gullet.beginGroup();const E=u.fetch().text;if(E==="&"||E==="\\\\")u.consume();else if(E==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",u.nextToken)}let o=[];const h=[o];for(let E=0;E<a.length;E++){const T=a[E];let k=no();for(let w=0;w<T.length;w++)if(!so(T[w]))k.body.push(T[w]);else{o.push(k),w+=1;const R=d0(T[w]).text,U=new Array(2);if(U[0]={type:"ordgroup",mode:"math",body:[]},U[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(R)>-1))if("<>AV".indexOf(R)>-1)for(let J=0;J<2;J++){let oe=!0;for(let le=w+1;le<T.length;le++){if(ed(T[le],R)){oe=!1,w=le;break}if(so(T[le]))throw new i("Missing a "+R+" character to complete a CD arrow.",T[le]);U[J].body.push(T[le])}if(oe)throw new i("Missing a "+R+" character to complete a CD arrow.",T[w])}else throw new i('Expected one of "<>AV=|." after @',T[w]);const V={type:"styling",body:[td(R,U,u)],mode:"math",style:"display"};o.push(V),k=no()}E%2===0?o.push(k):o.shift(),o=[],h.push(o)}u.gullet.endGroup(),u.gullet.endGroup();const m=new Array(h[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:h,arraystretch:1,addJot:!0,rowGaps:[null],cols:m,colSeparationType:"CD",hLine
408sBeforeRow:new Array(h.length+1).fill([])}}ae({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(u,a){let{parser:o,funcName:h}=u;return{type:"cdlabel",mode:o.mode,side:h.slice(4),label:a[0]}},htmlBuilder(u,a){const o=a.havingStyle(a.style.sup()),h=Y.wrapFragment(we(u.label,o,a),a);return h.classes.push("cd-label-"+u.side),h.style.bottom=ie(.8-h.depth),h.height=0,h.depth=0,h},mathmlBuilder(u,a){let o=new ne.MathNode("mrow",[Re(u.label,a)]);return o=new ne.MathNode("mpadded",[o]),o.setAttribute("width","0"),u.side==="left"&&o.setAttribute("lspace","-1width"),o.setAttribute("voffset","0.7em"),o=new ne.MathNode("mstyle",[o]),o.setAttribute("displaystyle","false"),o.setAttribute("scriptlevel","1"),o}}),ae({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(u,a){let{parser:o}=u;return{type:"cdlabelparent",mode:o.mode,fragment:a[0]}},htmlBuilder(u,a){const o=Y.wrapFragment(we(u.fragment,a),a);return o.classes.push("cd-vert-arrow"),o},mathmlBuilder(u,a){return new ne.MathNode("mrow",[Re(u.fragment,a)])}}),ae({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(u,a){let{parser:o}=u;const m=_e(a[0],"ordgroup").body;let E="";for(let w=0;w<m.length;w++){const R=_e(m[w],"textord");E+=R.text}let T=parseInt(E),k;if(isNaN(T))throw new i("\\@char has non-numeric argument "+E);if(T<0||T>=1114111)throw new i("\\@char with invalid code point "+E);return T<=65535?k=String.fromCharCode(T):(T-=65536,k=String.fromCharCode((T>>10)+55296,(T&1023)+56320)),{type:"textord",mode:o.mode,text:k}}});const ro=(u,a)=>{const o=nt(u.body,a.withColor(u.color),!1);return Y.makeFragment(o)},io=(u,a)=>{const o=pt(u.body,a.withColor(u.color)),h=new ne.MathNode("mstyle",o);return h.setAttribute("mathcolor",u.color),h};ae({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(u,a){let{parser:o}=u;const h=_e(a[0],"color-token").color,m=a[1];return{type:"color",mode:o.mode,color:h,body:We(m)}},htmlBuilder:ro,mathmlBuilder:io}),ae({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(u,a){let{parser:o,breakOnTokenText:h}=u;const m=_e(a[0],"color-token").color;o.gullet.macros.set("\\current@color",m);const E=o.parseExpression(!0,h);return{type:"color",mode:o.mode,color:m,body:E}},htmlBuilder:ro,mathmlBuilder:io}),ae({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(u,a,o){let{parser:h}=u;const m=h.gullet.future().text==="["?h.parseSizeGroup(!0):null,E=!h.settings.displayMode||!h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:h.mode,newLine:E,size:m&&_e(m,"size").value}},htmlBuilder(u,a){const o=Y.makeSpan(["mspace"],[],a);return u.newLine&&(o.classes.push("newline"),u.size&&(o.style.marginTop=ie(Ye(u.size,a)))),o},mathmlBuilder(u,a){const o=new ne.MathNode("mspace");return u.newLine&&(o.setAttribute("linebreak","newline"),u.size&&o.setAttribute("height",ie(Ye(u.size,a)))),o}});const p0={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ao=u=>{const a=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new i("Expected a control sequence",u);return a},sd=u=>{let a=u.gullet.popToken();return a.text==="="&&(a=u.gullet.popToken(),a.text===" "&&(a=u.gullet.popToken())),a},uo=(u,a,o,h)=>{let m=u.gullet.macros.get(o.text);m==null&&(o.noexpand=!0,m={tokens:[o],numArgs:0,unexpandable:!u.gullet.isExpandable(o.text)}),u.gullet.macros.set(a,m,h)};ae({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(u){let{parser:a,funcName:o}=u;a.consumeSpaces();const h=a.fetch();if(p0[h.text])return(o==="\\global"||o==="\\\\globallong")&&(h.text=p0[h.text]),_e(a.parseFunction(),"internal");throw new i("Invalid token after macro prefix",h)}}),ae({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){let{parser:a,funcName:o}=u,h=a.gullet.popToken();const m=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(m))throw new i("Expected a control sequence",h);let E=0,T;
408const k=[[]];for(;a.gullet.future().text!=="{";)if(h=a.gullet.popToken(),h.text==="#"){if(a.gullet.future().text==="{"){T=a.gullet.future(),k[E].push("{");break}if(h=a.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new i('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==E+1)throw new i('Argument number "'+h.text+'" out of order');E++,k.push([])}else{if(h.text==="EOF")throw new i("Expected a macro definition");k[E].push(h.text)}let{tokens:w}=a.gullet.consumeArg();return T&&w.unshift(T),(o==="\\edef"||o==="\\xdef")&&(w=a.gullet.expandTokens(w),w.reverse()),a.gullet.macros.set(m,{tokens:w,numArgs:E,delimiters:k},o===p0[o]),{type:"internal",mode:a.mode}}}),ae({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){let{parser:a,funcName:o}=u;const h=ao(a.gullet.popToken());a.gullet.consumeSpaces();const m=sd(a);return uo(a,h,m,o==="\\\\globallet"),{type:"internal",mode:a.mode}}}),ae({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){let{parser:a,funcName:o}=u;const h=ao(a.gullet.popToken()),m=a.gullet.popToken(),E=a.gullet.popToken();return uo(a,h,E,o==="\\\\globalfuture"),a.gullet.pushToken(E),a.gullet.pushToken(m),{type:"internal",mode:a.mode}}});const Is=function(u,a,o){const h=je.math[u]&&je.math[u].replace,m=Ji(h||u,a,o);if(!m)throw new Error("Unsupported symbol "+u+" and font size "+a+".");return m},g0=function(u,a,o,h){const m=o.havingBaseStyle(a),E=Y.makeSpan(h.concat(m.sizingClasses(o)),[u],o),T=m.sizeMultiplier/o.sizeMultiplier;return E.height*=T,E.depth*=T,E.maxFontSize=m.sizeMultiplier,E},oo=function(u,a,o){const h=a.havingBaseStyle(o),m=(1-a.sizeMultiplier/h.sizeMultiplier)*a.fontMetrics().axisHeight;u.classes.push("delimcenter"),u.style.top=ie(m),u.height-=m,u.depth+=m},rd=function(u,a,o,h,m,E){const T=Y.makeSymbol(u,"Main-Regular",m,h),k=g0(T,a,h,E);return o&&oo(k,h,a),k},id=function(u,a,o,h){return Y.makeSymbol(u,"Size"+a+"-Regular",o,h)},co=function(u,a,o,h,m,E){const T=id(u,a,m,h),k=g0(Y.makeSpan(["delimsizing","size"+a],[T],h),H.TEXT,h,E);return o&&oo(k,h,H.TEXT),k},b0=function(u,a,o){let h;return a==="Size1-Regular"?h="delim-size1":h="delim-size4",{type:"elem",elem:Y.makeSpan(["delimsizinginner",h],[Y.makeSpan([],[Y.makeSymbol(u,a,o)])])}},E0=function(u,a,o){const h=Yt["Size4-Regular"][u.charCodeAt(0)]?Yt["Size4-Regular"][u.charCodeAt(0)][4]:Yt["Size1-Regular"][u.charCodeAt(0)][4],m=new En("inner",mf(u,Math.round(1e3*a))),E=new an([m],{width:ie(h),height:ie(a),style:"width:"+ie(h),viewBox:"0 0 "+1e3*h+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),T=Y.makeSvgSpan([],[E],o);return T.height=a,T.style.height=ie(a),T.style.width=ie(h),{type:"elem",elem:T}},T0=.008,vr={type:"kern",size:-1*T0},ad=["|","\\lvert","\\rvert","\\vert"],ud=["\\|","\\lVert","\\rVert","\\Vert"],lo=function(u,a,o,h,m,E){let T,k,w,R,U="",z=0;T=w=R=u,k=null;let V="Size1-Regular";u==="\\uparrow"?w=R="â":u==="\\Uparrow"?w=R="â":u==="\\downarrow"?T=w="â":u==="\\Downarrow"?T=w="â":u==="\\updownarrow"?(T="\\uparrow",w="â",R="\\downarrow"):u==="\\Updownarrow"?(T="\\Uparrow",w="â",R="\\Downarrow"):B.contains(ad,u)?(w="â£",U="vert",z=333):B.contains(ud,u)?(w="â¥",U="doublevert",z=556):u==="["||u==="\\lbrack"?(T="â¡",w="â¢",R="â£",V="Size4-Regular",U="lbrack",z=667):u==="]"||u==="\\rbrack"?(T="â¤",w="â¥",R="â¦",V="Size4-Regular",U="rbrack",z=667):u==="\\lfloor"||u==="â"?(w=T="â¢",R="â£",V="Size4-Regular",U="lfloor",z=667):u==="\\lceil"||u==="â"?(T="â¡",w=R="â¢",V="Size4-Regular",U="lceil",z=667):u==="\\rfloor"||u==="â"?(w=T="â¥",R="â¦",V="Size4-Regular",U="rfloor",z=667):u==="\\rceil"||u==="â"?(T="â¤",w=R="â¥",V="Size4-Regular",U="rceil",z=667):u==="("||u==="\\lparen"?(T="â",w="â",R="â",V="Size4-Regular",U="lparen",z=875):u===")"||u==="\\rparen"?(T="â",w="â",R="â ",V="Size4-Regular",U="rparen",z=875):u==="\\{"||u==="\\lbrace"?(T="â§",k="â¨",R="â©",w="âª",V="Size4-Regular"):u==="\\}"||u==="\\rbrace"?(T="â«",k="â¬",R="â",w="âª",V="Size4-Regular"):u==="\\lgroup"||u==="â®"?(T="â§",R="â©",w="âª",V="Size4-Regular"):u==="\\rgroup"||u==="â¯"?(T="â«",R="â",w="âª",V="Size4-Regular"):u==="\\lmou
408stache"||u==="â°"?(T="â§",R="â",w="âª",V="Size4-Regular"):(u==="\\rmoustache"||u==="â±")&&(T="â«",R="â©",w="âª",V="Size4-Regular");const J=Is(T,V,m),oe=J.height+J.depth,le=Is(w,V,m),ke=le.height+le.depth,Ae=Is(R,V,m),Se=Ae.height+Ae.depth;let Ie=0,Be=1;if(k!==null){const Xe=Is(k,V,m);Ie=Xe.height+Xe.depth,Be=2}const lt=oe+Se+Ie,st=Math.max(0,Math.ceil((a-lt)/(Be*ke))),It=lt+st*Be*ke;let Wn=h.fontMetrics().axisHeight;o&&(Wn*=h.sizeMultiplier);const Ne=It/2-Wn,Oe=[];if(U.length>0){const Xe=It-oe-Se,Ge=Math.round(It*1e3),Dt=pf(U,Math.round(Xe*1e3)),Ld=new En(U,Dt),tc=(z/1e3).toFixed(3)+"em",nc=(Ge/1e3).toFixed(3)+"em",vd=new an([Ld],{width:tc,height:nc,viewBox:"0 0 "+z+" "+Ge}),Hr=Y.makeSvgSpan([],[vd],h);Hr.height=Ge/1e3,Hr.style.width=tc,Hr.style.height=nc,Oe.push({type:"elem",elem:Hr})}else{if(Oe.push(b0(R,V,m)),Oe.push(vr),k===null){const Xe=It-oe-Se+2*T0;Oe.push(E0(w,Xe,h))}else{const Xe=(It-oe-Se-Ie)/2+2*T0;Oe.push(E0(w,Xe,h)),Oe.push(vr),Oe.push(b0(k,V,m)),Oe.push(vr),Oe.push(E0(w,Xe,h))}Oe.push(vr),Oe.push(b0(T,V,m))}const He=h.havingBaseStyle(H.TEXT),qe=Y.makeVList({positionType:"bottom",positionData:Ne,children:Oe},He);return g0(Y.makeSpan(["delimsizing","mult"],[qe],He),H.TEXT,h,E)},_0=80,y0=.08,A0=function(u,a,o,h,m){const E=df(u,h,o),T=new En(u,E),k=new an([T],{width:"400em",height:ie(a),viewBox:"0 0 400000 "+o,preserveAspectRatio:"xMinYMin slice"});return Y.makeSvgSpan(["hide-tail"],[k],m)},od=function(u,a){const o=a.havingBaseSizing(),h=po("\\surd",u*o.sizeMultiplier,mo,o);let m=o.sizeMultiplier;const E=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness);let T,k=0,w=0,R=0,U;return h.type==="small"?(R=1e3+1e3*E+_0,u<1?m=1:u<1.4&&(m=.7),k=(1+E+y0)/m,w=(1+E)/m,T=A0("sqrtMain",k,R,E,a),T.style.minWidth="0.853em",U=.833/m):h.type==="large"?(R=(1e3+_0)*Ds[h.size],w=(Ds[h.size]+E)/m,k=(Ds[h.size]+E+y0)/m,T=A0("sqrtSize"+h.size,k,R,E,a),T.style.minWidth="1.02em",U=1/m):(k=u+E+y0,w=u+E,R=Math.floor(1e3*u+E)+_0,T=A0("sqrtTall",k,R,E,a),T.style.minWidth="0.742em",U=1.056),T.height=w,T.style.height=ie(k),{span:T,advanceWidth:U,ruleWidth:(a.fontMetrics().sqrtRuleThickness+E)*m}},ho=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","\\surd"],cd=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±"],fo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ds=[0,1.2,1.8,2.4,3],ld=function(u,a,o,h,m){if(u==="<"||u==="\\lt"||u==="â¨"?u="\\langle":(u===">"||u==="\\gt"||u==="â©")&&(u="\\rangle"),B.contains(ho,u)||B.contains(fo,u))return co(u,a,!1,o,h,m);if(B.contains(cd,u))return lo(u,Ds[a],!1,o,h,m);throw new i("Illegal delimiter: '"+u+"'")},hd=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],fd=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],mo=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],dd=function(u){if(u.type==="small")return"Main-Regular";if(u.type==="large")return"Size"+u.size+"-Regular";if(u.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+u.type+"' here.")},po=function(u,a,o,h){const m=Math.min(2,3-h.style.size);for(let E=m;E<o.length&&o[E].type!=="stack";E++){const T=Is(u,dd(o[E]),"math");let k=T.height+T.depth;if(o[E].type==="small"){const w=h.havingBaseStyle(o[E].style);k*=w.sizeMultiplier}if(k>a)return o[E]}return o[o.length-1]},go=function(u,a,o,h,m,E){u==="<"||u==="\\lt"||u==="â¨"?u="\\langle":(u===">"||u==="\\gt"||u==="â©")&&(u="\\rangle");let T;B.contains(fo,u)?T=hd:B.contains(ho,u)?T=mo:T=fd;const k=po(u,a,T,h);return k.type==="small"?rd(u,k.style,o,h,m,E):k.type==="large"?co(u,k.size,o,h,m,E):lo(u,a,o,h,m,E)};var hn={sqrtImage:od,sizedDelim:ld,sizeToMaxHeight:Ds,customSizedDelim:go,leftRightDelim:function(u,a,o,h,m,E){const T=h.fontMetrics().axisHeight*h.sizeMultiplier,k=901,w=5/h.fontMetrics().ptPerEm,R=Math.max(a-T,o+T),U=Math.max(R/500*k,2*R-w);return go(u,U,!0,h,m,E)}};const bo={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},md=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","<",">","\\langle","â¨","\\rangle","â©","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Rr(u,a){const o=Or(u);
408if(o&&B.contains(md,o.text))return o;throw o?new i("Invalid delimiter '"+o.text+"' after '"+a.funcName+"'",u):new i("Invalid delimiter type '"+u.type+"'",u)}ae({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(u,a)=>{const o=Rr(a[0],u);return{type:"delimsizing",mode:u.parser.mode,size:bo[u.funcName].size,mclass:bo[u.funcName].mclass,delim:o.text}},htmlBuilder:(u,a)=>u.delim==="."?Y.makeSpan([u.mclass]):hn.sizedDelim(u.delim,u.size,a,u.mode,[u.mclass]),mathmlBuilder:u=>{const a=[];u.delim!=="."&&a.push(wt(u.delim,u.mode));const o=new ne.MathNode("mo",a);u.mclass==="mopen"||u.mclass==="mclose"?o.setAttribute("fence","true"):o.setAttribute("fence","false"),o.setAttribute("stretchy","true");const h=ie(hn.sizeToMaxHeight[u.size]);return o.setAttribute("minsize",h),o.setAttribute("maxsize",h),o}});function Eo(u){if(!u.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ae({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(u,a)=>{const o=u.parser.gullet.macros.get("\\current@color");
408if(o&&typeof o!="string")throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:u.parser.mode,delim:Rr(a[0],u).text,color:o}}}),ae({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(u,a)=>{const o=Rr(a[0],u),h=u.parser;++h.leftrightDepth;const m=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);const E=_e(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:m,left:o.text,right:E.delim,rightColor:E.color}},htmlBuilder:(u,a)=>{Eo(u);const o=nt(u.body,a,!0,["mopen","mclose"]);let h=0,m=0,E=!1;for(let w=0;w<o.length;w++)o[w].isMiddle?E=!0:(h=Math.max(o[w].height,h),m=Math.max(o[w].depth,m));h*=a.sizeMultiplier,m*=a.sizeMultiplier;let T;if(u.left==="."?T=Ns(a,["mopen"]):T=hn.leftRightDelim(u.left,h,m,a,u.mode,["mopen"]),o.unshift(T),E)for(let w=1;w<o.length;w++){const U=o[w].isMiddle;U&&(o[w]=hn.leftRightDelim(U.delim,h,m,U.options,u.mode,[]))}let k;if(u.right===".")k=Ns(a,["mclose"]);else{const w=u.rightColor?a.withColor(u.rightColor):a;k=hn.leftRightDelim(u.right,h,m,w,u.mode,["mclose"])}return o.push(k),Y.makeSpan(["minner"],o,a)},mathmlBuilder:(u,a)=>{Eo(u);const o=pt(u.body,a);if(u.left!=="."){const h=new ne.MathNode("mo",[wt(u.left,u.mode)]);h.setAttribute("fence","true"),o.unshift(h)}if(u.right!=="."){const h=new ne.MathNode("mo",[wt(u.right,u.mode)]);h.setAttribute("fence","true"),u.rightColor&&h.setAttribute("mathcolor",u.rightColor),o.push(h)}return l0(o)}}),ae({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(u,a)=>{const o=Rr(a[0],u);if(!u.parser.leftrightDepth)throw new i("\\middle without preceding \\left",o);return{type:"middle",mode:u.parser.mode,delim:o.text}},htmlBuilder:(u,a)=>{let o;if(u.delim===".")o=Ns(a,[]);else{o=hn.sizedDelim(u.delim,1,a,u.mode,[]);const h={delim:u.delim,options:a};o.isMiddle=h}return o},mathmlBuilder:(u,a)=>{const o=u.delim==="\\vert"||u.delim==="|"?wt("|","text"):wt(u.delim,u.mode),h=new ne.MathNode("mo",[o]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});const x0=(u,a)=>{const o=Y.wrapFragment(we(u.body,a),a),h=u.label.slice(1);let m=a.sizeMultiplier,E,T=0;const k=B.isCharacterBox(u.body);if(h==="sout")E=Y.makeSpan(["stretchy","sout"]),E.height=a.fontMetrics().defaultRuleThickness/m,T=-.5*a.fontMetrics().xHeight;else if(h==="phase"){const R=Ye({number:.6,unit:"pt"},a),U=Ye({number:.35,unit:"ex"},a),z=a.havingBaseSizing();m=m/z.sizeMultiplier;const V=o.height+o.depth+R+U;o.style.paddingLeft=ie(V/2+R);const J=Math.floor(1e3*V*m),oe=hf(J),le=new an([new En("phase",oe)],{width:"400em",height:ie(J/1e3),viewBox:"0 0 400000 "+J,preserveAspectRatio:"xMinYMin slice"});E=Y.makeSvgSpan(["hide-tail"],[le],a),E.style.height=ie(V),T=o.depth+R+U}else{/cancel/.test(h)?k||o.classes.push("cancel-pad"):h==="angl"?o.classes.push("anglpad"):o.classes.push("boxpad");let R=0,U=0,z=0;/box/.test(h)?(z=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),R=a.fontMetrics().fboxsep+(h==="colorbox"?0:z),U=R):h==="angl"?(z=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),R=4*z,U=Math.max(0,.25-o.depth)):(R=k?.2:0,U=R),E=ln.encloseSpan(o,h,R,U,a),/fbox|boxed|fcolorbox/.test(h)?(E.style.borderStyle="solid",E.style.borderWidth=ie(z)):h==="angl"&&z!==.049&&(E.style.borderTopWidth=ie(z),E.style.borderRightWidth=ie(z)),T=o.depth+U,u.backgroundColor&&(E.style.backgroundColor=u.backgroundColor,u.borderColor&&(E.style.borderColor=u.borderColor))}let w;if(u.backgroundColor)w=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:T},{type:"elem",elem:o,shift:0}]},a);else{const R=/cancel|phase/.test(h)?["svg-align"]:[];w=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:E,shift:T,wrapperClasses:R}]},a)}return/cancel/.test(h)&&(w.height=o.height,w.depth=o.depth),/cancel/.test(h)&&!k?Y.makeSpan(["mord","cancel-lap"],[w],a):Y.makeSpan(["mord"],[w],a)},k0=(u,a)=>{let o=0;const h=new ne.MathNode(u.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Re(u.body,a)]);switch(u.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\phase":h.setAttribute("notation","phasorangle");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\angl":h.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(o=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*o+"pt"),h.setAttribute("height","+"+2*o+"pt"),h.setAttribute("lspace",o+"pt"),h.setAttribute("voffset",o+"pt"),u.label==="\\fcolorbox"){const m=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);h.setAttribute("style","border: "+m+"em solid "+String(u.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return u.backgroundColor&&h.setAttribute("mathbackground",u.backgroundColor),h};ae({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(u,a,o){let{parser:h,funcName:m}=u;const E=_e(a[0],"color-token").color,T=a[1];return{type:"enclose",mode:h.mode,label:m,backgroundColor:E,body:T}},htmlBuilder:x0,mathmlBuilder:k0}),ae({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(u,a,o){let{parser:h,funcName:m}=u;const E=_e(a[0],"color-token").color,T=_e(a[1],"color-token").color,k=a[2];return{type:"enclose",mode:h.mode,label:m,backgroundColor:T,borderColor:E,body:k}},htmlBuilder:x0,mathmlBuilder:k0}),ae({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(u,a){let{parser:o}=u;return{type:"enclose",mode:o.mode,label:"\\fbox",body:a[0]}}}),ae({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(u,a){let{parser:o,funcName:h}=u;const m=a[0];return{type:"enclose",mode:o.mode,label:h,body:m}},htmlBuilder:x0,mathmlBuilder:k0}),ae({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(u,a){let{parser:o}=u;return{type:"enclose",mode:o.mode,label:"\\angl",body:a[0]}}});const To={};function Vt(u){let{type:a,names:o,props:h,handler:m,htmlBuilder:E,mathmlBuilder:T}=u;const k={type:a,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:m};for(let w=0;w<o.length;++w)To[o[w]]=k;E&&(wr[a]=E),T&&(Nr[a]=T)}const _o={};function S(u,a){_o[u]=a}class xt{constructor(a,o,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=a,this.start=o,this.end=h}static range(a,o){return o?!a||!a.loc||!o.loc||a.loc.lexer!==o.loc.lexer?null:new xt(a.loc.lexer,a.loc.start,o.loc.end):a&&a.loc}}class Nt{constructor(a,o){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=a,this.loc=o}range(a,o){return new Nt(o,xt.range(this,a))}}function yo(u){const a=[];u.consumeSpaces();let o=u.fetch().text;for(o==="\\relax"&&(u.consume(),u.consumeSpaces(),o=u.fetch().text);o==="\\hline"||o==="\\hdashline";)u.consume(),a.push(o==="\\hdashline"),u.consumeSpaces(),o=u.fetch().text;return a}const Br=u=>{if(!u.parser.settings.displayMode)throw new i("{"+u.envName+"} can be used only in display mode.")};function S0(u){if(u.indexOf("ed")===-1)return u.indexOf("*")===-1}function _n(u,a,o){let{hskipBeforeAndAfter:h,addJot:m,cols:E,arraystretch:T,colSeparationType:k,autoTag:w,singleRow:R,emptySingleRow:U,maxNumCols:z,leqno:V}
408=a;if(u.gullet.beginGroup(),R||u.gullet.macros.set("\\cr","\\\\\\relax"),!T){const Be=u.gullet.expandMacroAsText("\\arraystretch");if(Be==null)T=1;else if(T=parseFloat(Be),!T||T<0)throw new i("Invalid \\arraystretch: "+Be)}u.gullet.beginGroup();let J=[];const oe=[J],le=[],ke=[],Ae=w!=null?[]:void 0;function Se(){w&&u.gullet.macros.set("\\@eqnsw","1",!0)}function Ie(){Ae&&(u.gullet.macros.get("\\df@tag")?(Ae.push(u.subparse([new Nt("\\df@tag")])),u.gullet.macros.set("\\df@tag",void 0,!0)):Ae.push(!!w&&u.gullet.macros.get("\\@eqnsw")==="1"))}for(Se(),ke.push(yo(u));;){let Be=u.parseExpression(!1,R?"\\end":"\\\\");u.gullet.endGroup(),u.gullet.beginGroup(),Be={type:"ordgroup",mode:u.mode,body:Be},o&&(Be={type:"styling",mode:u.mode,style:o,body:[Be]}),J.push(Be);const lt=u.fetch().text;if(lt==="&"){if(z&&J.length===z){if(R||k)throw new i("Too many tab characters: &",u.nextToken);u.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}u.consume()}else if(lt==="\\end"){Ie(),J.length===1&&Be.type==="styling"&&Be.body[0].body.length===0&&(oe.length>1||!U)&&oe.pop(),ke.length<oe.length+1&&ke.push([]);break}else if(lt==="\\\\"){u.consume();let st;u.gullet.future().text!==" "&&(st=u.parseSizeGroup(!0)),le.push(st?st.value:null),Ie(),ke.push(yo(u)),J=[],oe.push(J),Se()}else throw new i("Expected & or \\\\ or \\cr or \\end",u.nextToken)}return u.gullet.endGroup(),u.gullet.endGroup(),{type:"array",mode:u.mode,addJot:m,arraystretch:T,body:oe,cols:E,rowGaps:le,hskipBeforeAndAfter:h,hLinesBeforeRow:ke,colSeparationType:k,tags:Ae,leqno:V}}function C0(u){return u.slice(0,1)==="d"?"display":"text"}const Gt=function(u,a){let o,h;const m=u.body.length,E=u.hLinesBeforeRow;let T=0,k=new Array(m);const w=[],R=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),U=1/a.fontMetrics().ptPerEm;let z=5*U;u.colSeparationType&&u.colSeparationType==="small"&&(z=.2778*(a.havingStyle(H.SCRIPT).sizeMultiplier/a.sizeMultiplier));const V=u.colSeparationType==="CD"?Ye({number:3,unit:"ex"},a):12*U,J=3*U,oe=u.arraystretch*V,le=.7*oe,ke=.3*oe;let Ae=0;function Se(Ne){for(let Oe=0;Oe<Ne.length;++Oe)Oe>0&&(Ae+=.25),w.push({pos:Ae,isDashed:Ne[Oe]})}for(Se(E[0]),o=0;o<u.body.length;++o){const Ne=u.body[o];let Oe=le,He=ke;T<Ne.length&&(T=Ne.length);const qe=new Array(Ne.length);for(h=0;h<Ne.length;++h){const Dt=we(Ne[h],a);He<Dt.depth&&(He=Dt.depth),Oe<Dt.height&&(Oe=Dt.height),qe[h]=Dt}const Xe=u.rowGaps[o];let Ge=0;Xe&&(Ge=Ye(Xe,a),Ge>0&&(Ge+=ke,He<Ge&&(He=Ge),Ge=0)),u.addJot&&(He+=J),qe.height=Oe,qe.depth=He,Ae+=Oe,qe.pos=Ae,Ae+=He+Ge,k[o]=qe,Se(E[o+1])}const Ie=Ae/2+a.fontMetrics().axisHeight,Be=u.cols||[],lt=[];let st,It;const Wn=[];if(u.tags&&u.tags.some(Ne=>Ne))for(o=0;o<m;++o){const Ne=k[o],Oe=Ne.pos-Ie,He=u.tags[o];let qe;He===!0?qe=Y.makeSpan(["eqn-num"],[],a):He===!1?qe=Y.makeSpan([],[],a):qe=Y.makeSpan([],nt(He,a,!0),a),qe.depth=Ne.depth,qe.height=Ne.height,Wn.push({type:"elem",elem:qe,shift:Oe})}for(h=0,It=0;h<T||It<Be.length;++h,++It){let Ne=Be[It]||{},Oe=!0;for(;Ne.type==="separator";){if(Oe||(st=Y.makeSpan(["arraycolsep"],[]),st.style.width=ie(a.fontMetrics().doubleRuleSep),lt.push(st)),Ne.separator==="|"||Ne.separator===":"){const Xe=Ne.separator==="|"?"solid":"dashed",Ge=Y.makeSpan(["vertical-separator"],[],a);Ge.style.height=ie(Ae),Ge.style.borderRightWidth=ie(R),Ge.style.borderRightStyle=Xe,Ge.style.margin="0 "+ie(-R/2);const Dt=Ae-Ie;Dt&&(Ge.style.verticalAlign=ie(-Dt)),lt.push(Ge)}else throw new i("Invalid separator type: "+Ne.separator);It++,Ne=Be[It]||{},Oe=!1}if(h>=T)continue;let He;(h>0||u.hskipBeforeAndAfter)&&(He=B.deflt(Ne.pregap,z),He!==0&&(st=Y.makeSpan(["arraycolsep"],[]),st.style.width=ie(He),lt.push(st)));let qe=[];for(o=0;o<m;++o){const Xe=k[o],Ge=Xe[h];if(!Ge)continue;const Dt=Xe.pos-Ie;Ge.depth=Xe.depth,Ge.height=Xe.height,qe.push({type:"elem",elem:Ge,shift:Dt})}qe=Y.makeVList({positionType:"individualShift",children:qe},a),qe=Y.makeSpan(["col-align-"+(Ne.align||"c")],[qe]),lt.push(qe),(h<T-1||u.hskipBeforeAndAfter)&&(He=B.deflt(Ne.postgap,z),He!==0&&(st=Y.makeSpan(["arraycolsep"],[]),st.style.width=ie(He),lt.push(st)))}if(k=Y.makeSpan(["mtable"],lt),w.length>0){const Ne=Y.makeLineSpan("hline",a,R),Oe=Y.makeLineSpan("hdashline",a,R),He=[{type:"elem",elem:k,shift:0}];for(;w.length>0;){const qe=w.pop(),Xe=qe.pos-Ie;qe.isDashed?He.push({type:"elem",elem:Oe,shift:Xe}):He.push({type:"elem",elem:Ne,shift:Xe})}k=Y.makeVList({positionType:"individualShift",children:He},a)}if(Wn.length===0)return Y.makeSpan(["mord"],[k],a);{let Ne=Y.makeVList({positionType:"individualShift",children:Wn},a);return Ne=Y.makeSpan(["tag"],[Ne],a),Y.makeFragment([k,Ne])}},pd={c:"center ",l:"left ",r:"right "},Kt=function(u,a){const o=[],h=new ne.MathNode("mtd",[],["mtr-glue"]),m=new ne.MathNode("mtd",[],["mml-eqn-num"]);for(let z=0;z<u.body.length;z++){const V=u.body[z],J=[];for(let oe=0;oe<V.length;oe++)J.push(new ne.MathNode("mtd",[Re(V[oe],a)]));u.tags&&u.tags[z]&&(J.unshift(h),J.push(h),u.leqno?J.unshift(m):J.push(m)),o.push(new ne.MathNode("mtr",J))}let E=new ne.MathNode("mtable",o);const T=u.arraystretch===.5?.1:.16+u.arraystretch-1+(u.addJot?.09:0);E.setAttribute("rowspacing",ie(T));let k="",w="";if(u.cols&&u.cols.length>0){const z=u.cols;let V="",J=!1,oe=0,le=z.length;z[0].type==="separator"&&(k+="top ",oe=1),z[z.length-1].type==="separator"&&(k+="bottom ",le-=1);for(let ke=oe;ke<le;ke++)z[ke].type==="align"?(w+=pd[z[ke].align],J&&(V+="none "),J=!0):z[ke].type==="separator"&&J&&(V+=z[ke].separator==="|"?"solid ":"dashed ",J=!1);E.setAttribute("columnalign",w.trim()),/[sd]/.test(V)&&E.setAttribute("columnlines",V.trim())}if(u.colSeparationType==="align"){const z=u.cols||[];let V="";for(let J=1;J<z.length;J++)V+=J%2?"0em ":"1em ";E.setAttribute("columnspacing",V.trim())}else u.colSeparationType==="alignat"||u.colSeparationType==="gather"?E.setAttribute("columnspacing","0em"):u.colSeparationType==="small"?E.setAttribute("columnspacing","0.2778em"):u.colSeparationType==="CD"?E.setAttribute("columnspacing","0.5em"):E.setAttribute("columnspacing","1em");let R="";const U=u.hLinesBeforeRow;k+=U[0].length>0?"left ":"",k+=U[U.length-1].length>0?"right ":"";for(let z=1;z<U.length-1;z++)R+=U[z].length===0?"none ":U[z][0]?"dashed ":"solid ";return/[sd]/.test(R)&&E.setAttribute("rowlines",R.trim()),k!==""&&(E=new ne.MathNode("menclose",[E]),E.setAttribute("notation",k.trim())),u.arraystretch&&u.arraystretch<1&&(E=new ne.MathNode("mstyle",[E]),E.setAttribute("scriptlevel","1")),E},Ao=function(u,a){u.envName.indexOf("ed")===-1&&Br(u);const o=[],h=u.envName.indexOf("at")>-1?"alignat":"align",m=u.envName==="split",E=_n(u.parser,{cols:o,addJot:!0,autoTag:m?void 0:S0(u.envName),emptySingleRow:!0,colSeparationType:h,maxNumCols:m?2:void 0,leqno:u.parser.settings.leqno},"display");let T,k=0;const w={type:"ordgroup",mode:u.mode,body:[]};if(a[0]&&a[0].type==="ordgroup"){let U="";for(let z=0;z<a[0].body.length;z++){const V=_e(a[0].body[z],"textord");U+=V.text}T=Number(U),k=T*2}const R=!k;E.body.forEach(function(U){for(let z=1;z<U.length;z+=2){const V=_e(U[z],"styling");_e(V.body[0],"ordgroup").body.unshift(w)}if(R)k<U.length&&(k=U.length);else{const z=U.length/2;if(T<z)throw new i("Too many math in a row: "+("expected "+T+", but got "+z),U[0])}});for(let U=0;U<k;++U){let z="r",V=0;U%2===1?z="l":U>0&&R&&(V=1),o[U]={type:"align",align:z,pregap:V,postgap:0}}return E.colSeparationType=R?"align":"alignat",E};Vt({type:"array",names:["array","darray"],props:{numArgs:1},handler(u,a){const m=(Or(a[0])?[a[0]]:_e(a[0],"ordgroup").body).map(function(T){const w=d0(T).text;if("lcr".indexOf(w)!==-1)return{type:"align",align:w};if(w==="|")return{type:"separator",separator:"|"};if(w===":")return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+w,T)}),E={cols:m,hskipBeforeAndAfter:!0,maxNumCols:m.length};return _n(u.parser,E,C0(u.envName))},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(u){const a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[u.envName.replace("*","")];let o="c";
408const h={hskipBeforeAndAfter:!1,cols:[{type:"align",align:o}]};if(u.envName.charAt(u.envName.length-1)==="*"){const T=u.parser;if(T.consumeSpaces(),T.fetch().text==="["){if(T.consume(),T.consumeSpaces(),o=T.fetch().text,"lcr".indexOf(o)===-1)throw new i("Expected l or c or r",T.nextToken);T.consume(),T.consumeSpaces(),T.expect("]"),T.consume(),h.cols=[{type:"align",align:o}]}}const m=_n(u.parser,h,C0(u.envName)),E=Math.max(0,...m.body.map(T=>T.length));return m.cols=new Array(E).fill({type:"align",align:o}),a?{type:"leftright",mode:u.mode,body:[m],left:a[0],right:a[1],rightColor:void 0}:m},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(u){const a={arraystretch:.5},o=_n(u.parser,a,"script");return o.colSeparationType="small",o},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["subarray"],props:{numArgs:1},handler(u,a){const m=(Or(a[0])?[a[0]]:_e(a[0],"ordgroup").body).map(function(T){const w=d0(T).text;if("lc".indexOf(w)!==-1)return{type:"align",align:w};throw new i("Unknown column alignment: "+w,T)});if(m.length>1)throw new i("{subarray} can contain only one column");let E={cols:m,hskipBeforeAndAfter:!1,arraystretch:.5};if(E=_n(u.parser,E,"script"),E.body.length>0&&E.body[0].length>1)throw new i("{subarray} can contain only one column");return E},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(u){const a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},o=_n(u.parser,a,C0(u.envName));return{type:"leftright",mode:u.mode,body:[o],left:u.envName.indexOf("r")>-1?".":"\\{",right:u.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ao,htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(u){B.contains(["gather","gather*"],u.envName)&&Br(u);const a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:S0(u.envName),emptySingleRow:!0,leqno:u.parser.settings.leqno};return _n(u.parser,a,"display")},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ao,htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(u){Br(u);const a={autoTag:S0(u.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:u.parser.settings.leqno};return _n(u.parser,a,"display")},htmlBuilder:Gt,mathmlBuilder:Kt}),Vt({type:"array",names:["CD"],props:{numArgs:0},handler(u){return Br(u),nd(u.parser)},htmlBuilder:Gt,mathmlBuilder:Kt}),S("\\nonumber","\\gdef\\@eqnsw{0}"),S("\\notag","\\nonumber"),ae({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(u,a){throw new i(u.funcName+" valid only within array environment")}});var xo=To;ae({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(u,a){let{parser:o,funcName:h}=u;const m=a[0];if(m.type!=="ordgroup")throw new i("Invalid environment name",m);let E="";for(let T=0;T<m.body.length;++T)E+=_e(m.body[T],"textord").text;if(h==="\\begin"){if(!xo.hasOwnProperty(E))throw new i("No such environment: "+E,m);const T=xo[E],{args:k,optArgs:w}=o.parseArguments("\\begin{"+E+"}",T),R={mode:o.mode,envName:E,parser:o},U=T.handler(R,k,w);o.expect("\\end",!1);const z=o.nextToken,V=_e(o.parseFunction(),"environment");if(V.name!==E)throw new i("Mismatch: \\begin{"+E+"} matched by \\end{"+V.name+"}",z);return U}return{type:"environment",mode:o.mode,name:E,nameGroup:m}}});const ko=(u,a)=>{const o=u.font,h=a.withFont(o);return we(u.body,h)},So=(u,a)=>{const o=u.font,h=a.withFont(o);return Re(u.body,h)},Co={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ae({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=Ir(a[0]);let E=h;return E in Co&&(E=Co[E]),{type:"font",mode:o.mode,font:E.slice(1),body:m}},htmlBuilder:ko,mathmlBuilder:So}),ae({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(u,a)=>{let{parser:o}=u;const h=a[0],m=B.isCharacterBox(h);return{type:"mclass",mode:o.mode,mclass:Lr(h),body:[{type:"font",mode:o.mode,font:"boldsymbol",body:h}],isCharacterBox:m}}}),ae({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(u,a)=>{let{parser:o,funcName:h,breakOnTokenText:m}=u;const{mode:E}
408=o,T=o.parseExpression(!0,m),k="math"+h.slice(1);return{type:"font",mode:E,font:k,body:{type:"ordgroup",mode:o.mode,body:T}}},htmlBuilder:ko,mathmlBuilder:So});const wo=(u,a)=>{let o=a;return u==="display"?o=o.id>=H.SCRIPT.id?o.text():H.DISPLAY:u==="text"&&o.size===H.DISPLAY.size?o=H.TEXT:u==="script"?o=H.SCRIPT:u==="scriptscript"&&(o=H.SCRIPTSCRIPT),o},w0=(u,a)=>{const o=wo(u.size,a.style),h=o.fracNum(),m=o.fracDen();let E;E=a.havingStyle(h);const T=we(u.numer,E,a);if(u.continued){const Se=8.5/a.fontMetrics().ptPerEm,Ie=3.5/a.fontMetrics().ptPerEm;T.height=T.height<Se?Se:T.height,T.depth=T.depth<Ie?Ie:T.depth}E=a.havingStyle(m);const k=we(u.denom,E,a);let w,R,U;u.hasBarLine?(u.barSize?(R=Ye(u.barSize,a),w=Y.makeLineSpan("frac-line",a,R)):w=Y.makeLineSpan("frac-line",a),R=w.height,U=w.height):(w=null,R=0,U=a.fontMetrics().defaultRuleThickness);let z,V,J;o.size===H.DISPLAY.size||u.size==="display"?(z=a.fontMetrics().num1,R>0?V=3*U:V=7*U,J=a.fontMetrics().denom1):(R>0?(z=a.fontMetrics().num2,V=U):(z=a.fontMetrics().num3,V=3*U),J=a.fontMetrics().denom2);let oe;if(w){const Se=a.fontMetrics().axisHeight;z-T.depth-(Se+.5*R)<V&&(z+=V-(z-T.depth-(Se+.5*R))),Se-.5*R-(k.height-J)<V&&(J+=V-(Se-.5*R-(k.height-J)));const Ie=-(Se-.5*R);oe=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:k,shift:J},{type:"elem",elem:w,shift:Ie},{type:"elem",elem:T,shift:-z}]},a)}else{const Se=z-T.depth-(k.height-J);Se<V&&(z+=.5*(V-Se),J+=.5*(V-Se)),oe=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:k,shift:J},{type:"elem",elem:T,shift:-z}]},a)}E=a.havingStyle(o),oe.height*=E.sizeMultiplier/a.sizeMultiplier,oe.depth*=E.sizeMultiplier/a.sizeMultiplier;let le;o.size===H.DISPLAY.size?le=a.fontMetrics().delim1:o.size===H.SCRIPTSCRIPT.size?le=a.havingStyle(H.SCRIPT).fontMetrics().delim2:le=a.fontMetrics().delim2;let ke,Ae;return u.leftDelim==null?ke=Ns(a,["mopen"]):ke=hn.customSizedDelim(u.leftDelim,le,!0,a.havingStyle(o),u.mode,["mopen"]),u.continued?Ae=Y.makeSpan([]):u.rightDelim==null?Ae=Ns(a,["mclose"]):Ae=hn.customSizedDelim(u.rightDelim,le,!0,a.havingStyle(o),u.mode,["mclose"]),Y.makeSpan(["mord"].concat(E.sizingClasses(a)),[ke,Y.makeSpan(["mfrac"],[oe]),Ae],a)},N0=(u,a)=>{let o=new ne.MathNode("mfrac",[Re(u.numer,a),Re(u.denom,a)]);if(!u.hasBarLine)o.setAttribute("linethickness","0px");else if(u.barSize){const m=Ye(u.barSize,a);o.setAttribute("linethickness",ie(m))}const h=wo(u.size,a.style);if(h.size!==a.style.size){o=new ne.MathNode("mstyle",[o]);const m=h.size===H.DISPLAY.size?"true":"false";o.setAttribute("displaystyle",m),o.setAttribute("scriptlevel","0")}if(u.leftDelim!=null||u.rightDelim!=null){const m=[];if(u.leftDelim!=null){const E=new ne.MathNode("mo",[new ne.TextNode(u.leftDelim.replace("\\",""))]);E.setAttribute("fence","true"),m.push(E)}if(m.push(o),u.rightDelim!=null){const E=new ne.MathNode("mo",[new ne.TextNode(u.rightDelim.replace("\\",""))]);E.setAttribute("fence","true"),m.push(E)}return l0(m)}return o};ae({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=a[0],E=a[1];let T,k=null,w=null,R="auto";switch(h){case"\\dfrac":case"\\frac":case"\\tfrac":T=!0;break;case"\\\\atopfrac":T=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":T=!1,k="(",w=")";break;case"\\\\bracefrac":T=!1,k="\\{",w="\\}";break;case"\\\\brackfrac":T=!1,k="[",w="]";break;default:throw new Error("Unrecognized genfrac command")}switch(h){case"\\dfrac":case"\\dbinom":R="display";break;case"\\tfrac":case"\\tbinom":R="text";break}return{type:"genfrac",mode:o.mode,continued:!1,numer:m,denom:E,hasBarLine:T,leftDelim:k,rightDelim:w,size:R,barSize:null}},htmlBuilder:w0,mathmlBuilder:N0}),ae({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=a[0],E=a[1];return{type:"genfrac",mode:o.mode,continued:!0,numer:m,denom:E,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ae({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(u){let{parser:a,funcName:o,token:h}=u,m;switch(o){case"\\over":m="\\frac";break;case"\\choose":m="\\binom";break;case"\\atop":m="\\\\atopfrac";break;case"\\brace":m="\\\\bracefrac";break;case"\\brack":m="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:m,token:h}}});const No=["display","text","script","scriptscript"],Io=function(u){let a=null;return u.length>0&&(a=u,a=a==="."?null:a),a};ae({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(u,a){let{parser:o}=u;const h=a[4],m=a[5],E=Ir(a[0]),T=E.type==="atom"&&E.family==="open"?Io(E.text):null,k=Ir(a[1]),w=k.type==="atom"&&k.family==="close"?Io(k.text):null,R=_e(a[2],"size");let U,z=null;R.isBlank?U=!0:(z=R.value,U=z.number>0);let V="auto",J=a[3];if(J.type==="ordgroup"){if(J.body.length>0){const oe=_e(J.body[0],"textord");V=No[Number(oe.text)]}}else J=_e(J,"textord"),V=No[Number(J.text)];return{type:"genfrac",mode:o.mode,numer:h,denom:m,continued:!1,hasBarLine:U,barSize:z,leftDelim:T,rightDelim:w,size:V}},htmlBuilder:w0,mathmlBuilder:N0}
408),ae({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(u,a){let{parser:o,funcName:h,token:m}=u;return{type:"infix",mode:o.mode,replaceWith:"\\\\abovefrac",size:_e(a[0],"size").value,token:m}}}),ae({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=a[0],E=D(_e(a[1],"infix").size),T=a[2],k=E.number>0;return{type:"genfrac",mode:o.mode,numer:m,denom:T,continued:!1,hasBarLine:k,barSize:E,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:w0,mathmlBuilder:N0});const Do=(u,a)=>{const o=a.style;let h,m;u.type==="supsub"?(h=u.sup?we(u.sup,a.havingStyle(o.sup()),a):we(u.sub,a.havingStyle(o.sub()),a),m=_e(u.base,"horizBrace")):m=_e(u,"horizBrace");const E=we(m.base,a.havingBaseStyle(H.DISPLAY)),T=ln.svgSpan(m,a);let k;if(m.isOver?(k=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:E},{type:"kern",size:.1},{type:"elem",elem:T}]},a),k.children[0].children[0].children[1].classes.push("svg-align")):(k=Y.makeVList({positionType:"bottom",positionData:E.depth+.1+T.height,children:[{type:"elem",elem:T},{type:"kern",size:.1},{type:"elem",elem:E}]},a),k.children[0].children[0].children[0].classes.push("svg-align")),h){const w=Y.makeSpan(["mord",m.isOver?"mover":"munder"],[k],a);m.isOver?k=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"kern",size:.2},{type:"elem",elem:h}]},a):k=Y.makeVList({positionType:"bottom",positionData:w.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:w}]},a)}return Y.makeSpan(["mord",m.isOver?"mover":"munder"],[k],a)};ae({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(u,a){let{parser:o,funcName:h}=u;return{type:"horizBrace",mode:o.mode,label:h,isOver:/^\\over/.test(h),base:a[0]}},htmlBuilder:Do,mathmlBuilder:(u,a)=>{const o=ln.mathMLnode(u.label);return new ne.MathNode(u.isOver?"mover":"munder",[Re(u.base,a),o])}}),ae({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(u,a)=>{let{parser:o}=u;const h=a[1],m=_e(a[0],"url").url;return o.settings.isTrusted({command:"\\href",url:m})?{type:"href",mode:o.mode,href:m,body:We(h)}:o.formatUnsupportedCmd("\\href")},htmlBuilder:(u,a)=>{const o=nt(u.body,a,!1);return Y.makeAnchor(u.href,[],o,a)},mathmlBuilder:(u,a)=>{let o=Tn(u.body,a);return o instanceof At||(o=new At("mrow",[o])),o.setAttribute("href",u.href),o}}),ae({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(u,a)=>{let{parser:o}=u;const h=_e(a[0],"url").url;if(!o.settings.isTrusted({command:"\\url",url:h}))return o.formatUnsupportedCmd("\\url");const m=[];for(let T=0;T<h.length;T++){let k=h[T];k==="~"&&(k="\\textasciitilde"),m.push({type:"textord",mode:"text",text:k})}const E={type:"text",mode:o.mode,font:"\\texttt",body:m};return{type:"href",mode:o.mode,href:h,body:We(E)}}}),ae({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(u,a){let{parser:o}=u;return{type:"hbox",mode:o.mode,body:We(a[0])}},htmlBuilder(u,a){const o=nt(u.body,a,!1);return Y.makeFragment(o)},mathmlBuilder(u,a){return new ne.MathNode("mrow",pt(u.body,a))}}),ae({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(u,a)=>{let{parser:o,funcName:h,token:m}=u;const E=_e(a[0],"raw").string,T=a[1];o.settings.strict&&o.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let k;const w={};switch(h){case"\\htmlClass":w.class=E,k={command:"\\htmlClass",class:E};break;case"\\htmlId":w.id=E,k={command:"\\htmlId",id:E};break;case"\\htmlStyle":w.style=E,k={command:"\\htmlStyle",style:E};break;case"\\htmlData":{const R=E.split(",");for(let U=0;U<R.length;U++){const z=R[U].split("=");if(z.length!==2)throw new i("Error parsing key-value for \\htmlData");w["data-"+z[0].trim()]=z[1].trim()}k={command:"\\htmlData",attributes:w};break}default:throw new Error("Unrecognized html command")}return o.settings.isTrusted(k)?{type:"html",mode:o.mode,attributes:w,body:We(T)}:o.formatUnsupportedCmd(h)},htmlBuilder:(u,a)=>{const o=nt(u.body,a,!1),h=["enclosing"];u.attributes.class&&h.push(...u.attributes.class.trim().split(/\s+/));const m=Y.makeSpan(h,o,a);for(const E in u.attributes)E!=="class"&&u.attributes.hasOwnProperty(E)&&m.setAttribute(E,u.attributes[E]);return m},mathmlBuilder:(u,a)=>Tn(u.body,a)}),ae({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(u,a)=>{let{parser:o}=u;return{type:"htmlmathml",mode:o.mode,html:We(a[0]),mathml:We(a[1])}},htmlBuilder:(u,a)=>{const o=nt(u.html,a,!1);return Y.makeFragment(o)},mathmlBuilder:(u,a)=>Tn(u.mathml,a)});const I0=function(u){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(u))return{number:+u,unit:"bp"};{const a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(u);if(!a)throw new i("Invalid size: '"+u+"' in \\includegraphics");const o={number:+(a[1]+a[2]),unit:a[3]};if(!vu(o))throw new i("Invalid unit: '"+o.unit+"' in \\includegraphics.");return o}};ae({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(u,a,o)=>{let{parser:h}=u,m={number:0,unit:"em"},E={number:.9,unit:"em"},T={number:0,unit:"em"},k="";if(o[0]){const U=_e(o[0],"raw").string.split(",");for(let z=0;z<U.length;z++){const V=U[z].split("=");if(V.length===2){const J=V[1].trim();switch(V[0].trim()){case"alt":k=J;break;case"width":m=I0(J);break;case"height":E=I0(J);break;case"totalheight":T=I0(J);break;default:throw new i("Invalid key: '"+V[0]+"' in \\includegraphics.")}}}}const w=_e(a[0],"url").url;return k===""&&(k=w,k=k.replace(/^.*[\\/]/,""),k=k.substring(0,k.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:w})?{type:"includegraphics",mode:h.mode,alt:k,width:m,height:E,totalheight:T,src:w}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(u,a)=>{const o=Ye(u.height,a);let h=0;u.totalheight.number>0&&(h=Ye(u.totalheight,a)-o);let m=0;u.width.number>0&&(m=Ye(u.width,a));const E={height:ie(o+h)};m>0&&(E.width=ie(m)),h>0&&(E.verticalAlign=ie(-h));const T=new yf(u.src,u.alt,E);return T.height=o,T.depth=h,T},mathmlBuilder:(u,a)=>{const o=new ne.MathNode("mglyph",[]);o.setAttribute("alt",u.alt);const h=Ye(u.height,a);let m=0;if(u.totalheight.number>0&&(m=Ye(u.totalheight,a)-h,o.setAttribute("valign",ie(-m))),o.setAttribute("height",ie(h+m)),u.width.number>0){const E=Ye(u.width,a);o.setAttribute("width",ie(E))}return o.setAttribute("src",u.src),o}}),ae({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(u,a){let{parser:o,funcName:h}=u;
408const m=_e(a[0],"size");if(o.settings.strict){const E=h[1]==="m",T=m.value.unit==="mu";E?(T||o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+m.value.unit+" units")),o.mode!=="math"&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):T&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:o.mode,dimension:m.value}},htmlBuilder(u,a){return Y.makeGlue(u.dimension,a)},mathmlBuilder(u,a){const o=Ye(u.dimension,a);return new ne.SpaceNode(o)}}),ae({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=a[0];return{type:"lap",mode:o.mode,alignment:h.slice(5),body:m}},htmlBuilder:(u,a)=>{let o;u.alignment==="clap"?(o=Y.makeSpan([],[we(u.body,a)]),o=Y.makeSpan(["inner"],[o],a)):o=Y.makeSpan(["inner"],[we(u.body,a)]);const h=Y.makeSpan(["fix"],[]);let m=Y.makeSpan([u.alignment],[o,h],a);const E=Y.makeSpan(["strut"]);return E.style.height=ie(m.height+m.depth),m.depth&&(E.style.verticalAlign=ie(-m.depth)),m.children.unshift(E),m=Y.makeSpan(["thinbox"],[m],a),Y.makeSpan(["mord","vbox"],[m],a)},mathmlBuilder:(u,a)=>{const o=new ne.MathNode("mpadded",[Re(u.body,a)]);if(u.alignment!=="rlap"){const h=u.alignment==="llap"?"-1":"-0.5";o.setAttribute("lspace",h+"width")}return o.setAttribute("width","0px"),o}}),ae({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,a){let{funcName:o,parser:h}=u;const m=h.mode;h.switchMode("math");const E=o==="\\("?"\\)":"$",T=h.parseExpression(!1,E);return h.expect(E),h.switchMode(m),{type:"styling",mode:h.mode,style:"text",body:T}}}),ae({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,a){throw new i("Mismatched "+u.funcName)}});const Oo=(u,a)=>{switch(a.style.size){case H.DISPLAY.size:return u.display;case H.TEXT.size:return u.text;case H.SCRIPT.size:return u.script;case H.SCRIPTSCRIPT.size:return u.scriptscript;default:return u.text}};ae({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(u,a)=>{let{parser:o}=u;return{type:"mathchoice",mode:o.mode,display:We(a[0]),text:We(a[1]),script:We(a[2]),scriptscript:We(a[3])}},htmlBuilder:(u,a)=>{const o=Oo(u,a),h=nt(o,a,!1);return Y.makeFragment(h)},mathmlBuilder:(u,a)=>{const o=Oo(u,a);return Tn(o,a)}});const Mo=(u,a,o,h,m,E,T)=>{u=Y.makeSpan([],[u]);const k=o&&B.isCharacterBox(o);let w,R;if(a){const V=we(a,h.havingStyle(m.sup()),h);R={elem:V,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-V.depth)}}if(o){const V=we(o,h.havingStyle(m.sub()),h);w={elem:V,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-V.height)}}let U;if(R&&w){const V=h.fontMetrics().bigOpSpacing5+w.elem.height+w.elem.depth+w.kern+u.depth+T;U=Y.makeVList({positionType:"bottom",positionData:V,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:ie(-E)},{type:"kern",size:w.kern},{type:"elem",elem:u},{type:"kern",size:R.kern},{type:"elem",elem:R.elem,marginLeft:ie(E)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(w){const V=u.height-T;U=Y.makeVList({positionType:"top",positionData:V,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:ie(-E)},{type:"kern",size:w.kern},{type:"elem",elem:u}]},h)}else if(R){const V=u.depth+T;U=Y.makeVList({positionType:"bottom",positionData:V,children:[{type:"elem",elem:u},{type:"kern",size:R.kern},{type:"elem",elem:R.elem,marginLeft:ie(E)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return u;const z=[U];if(w&&E!==0&&!k){const V=Y.makeSpan(["mspace"],[],h);V.style.marginRight=ie(E),z.unshift(V)}return Y.makeSpan(["mop","op-limits"],z,h)},Lo=["\\smallint"],Xn=(u,a)=>{let o,h,m=!1,E;u.type==="supsub"?(o=u.sup,h=u.sub,E=_e(u.base,"op"),m=!0):E=_e(u,"op");const T=a.style;let k=!1;T.size===H.DISPLAY.size&&E.symbol&&!B.contains(Lo,E.name)&&(k=!0);let w;if(E.symbol){const z=k?"Size2-Regular":"Size1-Regular";let V="";if((E.name==="\\oiint"||E.name==="\\oiiint")&&(V=E.name.slice(1),E.name=V==="oiint"?"\\iint":"\\iiint"),w=Y.makeSymbol(E.name,z,"math",a,["mop","op-symbol",k?"large-op":"small-op"]),V.length>0){const J=w.italic,oe=Y.staticSvg(V+"Size"+(k?"2":"1"),a);w=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:w,shift:0},{type:"elem",elem:oe,shift:k?.08:0}]},a),E.name="\\"+V,w.classes.unshift("mop"),w.italic=J}}else if(E.body){const z=nt(E.body,a,!0);z.length===1&&z[0]instanceof Ct?(w=z[0],w.classes[0]="mop"):w=Y.makeSpan(["mop"],z,a)}else{const z=[];for(let V=1;V<E.name.length;V++)z.push(Y.mathsym(E.name[V],E.mode,a));w=Y.makeSpan(["mop"],z,a)}let R=0,U=0;return(w instanceof Ct||E.name==="\\oiint"||E.name==="\\oiiint")&&!E.suppressBaseShift&&(R=(w.height-w.depth)/2-a.fontMetrics().axisHeight,U=w.italic),m?Mo(w,o,h,a,T,U,R):(R&&(w.style.position="relative",w.style.top=ie(R)),w)},Os=(u,a)=>{let o;if(u.symbol)o=new At("mo",[wt(u.name,u.mode)]),B.contains(Lo,u.name)&&o.setAttribute("largeop","false");else if(u.body)o=new At("mo",pt(u.body,a));else{o=new At("mi",[new jt(u.name.slice(1))]);const h=new At("mo",[wt("â¡","text")]);u.parentIsSupSub?o=new At("mrow",[o,h]):o=Xu([o,h])}return o},gd={"â":"\\prod","â":"\\coprod","â":"\\sum","â":"\\bigwedge","â":"\\bigvee","â":"\\bigcap","â":"\\bigcup","â¨":"\\bigodot","â¨":"\\bigoplus","â¨":"\\bigotimes","â¨":"\\biguplus","â¨":"\\bigsqcup"};ae({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","â","â","â","â","â","â","â","â¨","â¨","â¨","â¨","â¨"],props:{numArgs:0},handler:(u,a)=>{let{parser:o,funcName:h}=u,m=h;return m.length===1&&(m=gd[m]),{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:m}},htmlBuilder:Xn,mathmlBuilder:Os}),ae({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(u,a)=>{let{parser:o}=u;const h=a[0];return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:We(h)}},htmlBuilder:Xn,mathmlBuilder:Os});const bd={"â«":"\\int","â¬":"\\iint","â":"\\iiint","â®":"\\oint","â¯":"\\oiint","â°":"\\oiiint"};ae({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(u){let{parser:a,funcName:o}=u;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:Xn,mathmlBuilder:Os}),ae({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(u){let{parser:a,funcName:o}=u;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:Xn,mathmlBuilder:Os}),ae({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","â«","â¬","â","â®","â¯","â°"],props:{numArgs:0},handler(u){let{parser:a,funcName:o}=u,h=o;return h.length===1&&(h=bd[h]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:Xn,mathmlBuilder:Os});const vo=(u,a)=>{let o,h,m=!1,E;u.type==="supsub"?(o=u.sup,h=u.sub,E=_e(u.base,"operatorname"),m=!0):E=_e(u,"o
408peratorname");let T;if(E.body.length>0){const k=E.body.map(R=>{const U=R.text;return typeof U=="string"?{type:"textord",mode:R.mode,text:U}:R}),w=nt(k,a.withFont("mathrm"),!0);for(let R=0;R<w.length;R++){const U=w[R];U instanceof Ct&&(U.text=U.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}T=Y.makeSpan(["mop"],w,a)}else T=Y.makeSpan(["mop"],[],a);return m?Mo(T,o,h,a,a.style,0,0):T};ae({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(u,a)=>{let{parser:o,funcName:h}=u;const m=a[0];return{type:"operatorname",mode:o.mode,body:We(m),alwaysHandleSupSub:h==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:vo,mathmlBuilder:(u,a)=>{let o=pt(u.body,a.withFont("mathrm")),h=!0;for(let T=0;T<o.length;T++){const k=o[T];if(!(k instanceof ne.SpaceNode))if(k instanceof ne.MathNode)switch(k.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const w=k.children[0];k.children.length===1&&w instanceof ne.TextNode?w.text=w.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){const T=o.map(k=>k.toText()).join("");o=[new ne.TextNode(T)]}const m=new ne.MathNode("mi",o);m.setAttribute("mathvariant","normal");const E=new ne.MathNode("mo",[wt("â¡","text")]);return u.parentIsSupSub?new ne.MathNode("mrow",[m,E]):ne.newDocumentFragment([m,E])}}),S("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),On({type:"ordgroup",htmlBuilder(u,a){return u.semisimple?Y.makeFragment(nt(u.body,a,!1)):Y.makeSpan(["mord"],nt(u.body,a,!0),a)},mathmlBuilder(u,a){return Tn(u.body,a,!0)}}),ae({type:"overline",names:["\\overline"],props:{numArgs:1},handler(u,a){let{parser:o}=u;const h=a[0];return{type:"overline",mode:o.mode,body:h}},htmlBuilder(u,a){const o=we(u.body,a.havingCrampedStyle()),h=Y.makeLineSpan("overline-line",a),m=a.fontMetrics().defaultRuleThickness,E=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:3*m},{type:"elem",elem:h},{type:"kern",size:m}]},a);return Y.makeSpan(["mord","overline"],[E],a)},mathmlBuilder(u,a){const o=new ne.MathNode("mo",[new ne.TextNode("â¾")]);o.setAttribute("stretchy","true");const h=new ne.MathNode("mover",[Re(u.body,a),o]);return h.setAttribute("accent","true"),h}}),ae({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(u,a)=>{let{parser:o}=u;const h=a[0];return{type:"phantom",mode:o.mode,body:We(h)}},htmlBuilder:(u,a)=>{const o=nt(u.body,a.withPhantom(),!1);return Y.makeFragment(o)},mathmlBuilder:(u,a)=>{const o=pt(u.body,a);return new ne.MathNode("mphantom",o)}}),ae({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,a)=>{let{parser:o}=u;const h=a[0];return{type:"hphantom",mode:o.mode,body:h}},htmlBuilder:(u,a)=>{let o=Y.makeSpan([],[we(u.body,a.withPhantom())]);if(o.height=0,o.depth=0,o.children)for(let h=0;h<o.children.length;h++)o.children[h].height=0,o.children[h].depth=0;return o=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},a),Y.makeSpan(["mord"],[o],a)},mathmlBuilder:(u,a)=>{const o=pt(We(u.body),a),h=new ne.MathNode("mphantom",o),m=new ne.MathNode("mpadded",[h]);return m.setAttribute("height","0px"),m.setAttribute("depth","0px"),m}}),ae({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,a)=>{let{parser:o}=u;const h=a[0];return{type:"vphantom",mode:o.mode,body:h}},htmlBuilder:(u,a)=>{const o=Y.makeSpan(["inner"],[we(u.body,a.withPhantom())]),h=Y.makeSpan(["fix"],[]);return Y.makeSpan(["mord","rlap"],[o,h],a)},mathmlBuilder:(u,a)=>{const o=pt(We(u.body),a),h=new ne.MathNode("mphantom",o),m=new ne.MathNode("mpadded",[h]);return m.setAttribute("width","0px"),m}}),ae({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(u,a){let{parser:o}=u;const h=_e(a[0],"size").value,m=a[1];return{type:"raisebox",mode:o.mode,dy:h,body:m}},htmlBuilder(u,a){const o=we(u.body,a),h=Ye(u.dy,a);return Y.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o}]},a)},mathmlBuilder(u,a){const o=new ne.MathNode("mpadded",[Re(u.body,a)]),h=u.dy.number+u.dy.unit;return o.setAttribute("voffset",h),o}}),ae({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(u){let{parser:a}=u;return{type:"internal",mode:a.mode}}}),ae({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(u,a,o){let{parser:h}=u;const m=o[0],E=_e(a[0],"size"),T=_e(a[1],"size");return{type:"rule",mode:h.mode,shift:m&&_e(m,"size").value,width:E.value,height:T.value}},htmlBuilder(u,a){const o=Y.makeSpan(["mord","rule"],[],a),h=Ye(u.width,a),m=Ye(u.height,a),E=u.shift?Ye(u.shift,a):0;return o.style.borderRightWidth=ie(h),o.style.borderTopWidth=ie(m),o.style.bottom=ie(E),o.width=h,o.height=m+E,o.depth=-E,o.maxFontSize=m*1.125*a.sizeMultiplier,o},mathmlBuilder(u,a){const o=Ye(u.width,a),h=Ye(u.height,a),m=u.shift?Ye(u.shift,a):0,E=a.color&&a.getColor()||"black",T=new ne.MathNode("mspace");T.setAttribute("mathbackground",E),T.setAttribute("width",ie(o)),T.setAttribute("height",ie(h));const k=new ne.MathNode("mpadded",[T]);return m>=0?k.setAttribute("height",ie(m)):(k.setAttribute("height",ie(m)),k.setAttribute("depth",ie(-m))),k.setAttribute("voffset",ie(m)),k}});function Ro(u,a,o){const h=nt(u,a,!1),m=a.sizeMultiplier/o.sizeMultiplier;for(let E=0;E<h.length;E++){const T=h[E].classes.indexOf("sizing");T<0?Array.prototype.push.apply(h[E].classes,a.sizingClasses(o)):h[E].classes[T+1]==="reset-size"+a.size&&(h[E].classes[T+1]="reset-size"+o.size),h[E].height*=m,h[E].depth*=m}return Y.makeFragment(h)}const Bo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ae({type:"sizing",names:Bo,props:{numArgs:0,allowedInText:!0},handler:(u,a)=>{let{breakOnTokenText:o,funcName:h,parser:m}=u;const E=m.parseExpression(!1,o);return{type:"sizing",mode:m.mode,size:Bo.indexOf(h)+1,body:E}},htmlBuilder:(u,a)=>{const o=a.havingSize(u.size);return Ro(u.body,o,a)},mathmlBuilder:(u,a)=>{const o=a.havingSize(u.size),h=pt(u.body,o),m=new ne.MathNode("mstyle",h);return m.setAttribute("mathsize",ie(o.sizeMultiplier)),m}}),ae({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(u,a,o)=>{let{parser:h}=u,m=!1,E=!1;const T=o[0]&&_e(o[0],"ordgroup");if(T){let w="";for(let R=0;R<T.body.length;++R)if(w=T.body[R].text,w==="t")m=!0;else if(w==="b")E=!0;else{m=!1,E=!1;break}}else m=!0,E=!0;const k=a[0];return{type:"smash",mode:h.mode,body:k,smashHeight:m,smashDepth:E}},htmlBuilder:(u,a)=>{const o=Y.makeSpan([],[we(u.body,a)]);if(!u.smashHeight&&!u.smashDepth)return o;if(u.smashHeight&&(o.height=0,o.children))for(let m=0;m<o.children.length;m++)o.children[m].height=0;if(u.smashDepth&&(o.depth=0,o.children))for(let m=0;m<o.children.length;m++)o.children[m].depth=0;const h=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},a);return Y.makeSpan(["mord"],[h],a)},mathmlBuilder:(u,a)=>{const o=new ne.MathNode("mpadded",[Re(u.body,a)]);return u.smashHeight&&o.setAttribute("height","0px"),u.smashDepth&&o.setAttribute("depth","0px"),o}}),ae({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(u,a,o){let{parser:h}=u;const m=o[0],E=a[0];return{type:"sqrt",mode:h.mode,body:E,index:m}},htmlBuilder(u,a){let o=we(u.body,a.havingCrampedStyle());o.height===0&&(o.height=a.fontMetrics().xHeight),o=Y.wrapFragment(o,a);const m=a.fontMetrics().defaultRuleThickness;let E=m;
408a.style.id<H.TEXT.id&&(E=a.fontMetrics().xHeight);let T=m+E/4;const k=o.height+o.depth+T+m,{span:w,ruleWidth:R,advanceWidth:U}=hn.sqrtImage(k,a),z=w.height-R;z>o.height+o.depth+T&&(T=(T+z-o.height-o.depth)/2);const V=w.height-o.height-T-R;o.style.paddingLeft=ie(U);const J=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:-(o.height+V)},{type:"elem",elem:w},{type:"kern",size:R}]},a);if(u.index){const oe=a.havingStyle(H.SCRIPTSCRIPT),le=we(u.index,oe,a),ke=.6*(J.height-J.depth),Ae=Y.makeVList({positionType:"shift",positionData:-ke,children:[{type:"elem",elem:le}]},a),Se=Y.makeSpan(["root"],[Ae]);return Y.makeSpan(["mord","sqrt"],[Se,J],a)}else return Y.makeSpan(["mord","sqrt"],[J],a)},mathmlBuilder(u,a){const{body:o,index:h}=u;return h?new ne.MathNode("mroot",[Re(o,a),Re(h,a)]):new ne.MathNode("msqrt",[Re(o,a)])}});const Fo={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};ae({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u,a){let{breakOnTokenText:o,funcName:h,parser:m}=u;const E=m.parseExpression(!0,o),T=h.slice(1,h.length-5);return{type:"styling",mode:m.mode,style:T,body:E}},htmlBuilder(u,a){const o=Fo[u.style],h=a.havingStyle(o).withFont("");return Ro(u.body,h,a)},mathmlBuilder(u,a){const o=Fo[u.style],h=a.havingStyle(o),m=pt(u.body,h),E=new ne.MathNode("mstyle",m),k={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[u.style];return E.setAttribute("scriptlevel",k[0]),E.setAttribute("displaystyle",k[1]),E}});const Ed=function(u,a){const o=u.base;return o?o.type==="op"?o.limits&&(a.style.size===H.DISPLAY.size||o.alwaysHandleSupSub)?Xn:null:o.type==="operatorname"?o.alwaysHandleSupSub&&(a.style.size===H.DISPLAY.size||o.limits)?vo:null:o.type==="accent"?B.isCharacterBox(o.base)?m0:null:o.type==="horizBrace"&&!u.sub===o.isOver?Do:null:null};On({type:"supsub",htmlBuilder(u,a){const o=Ed(u,a);if(o)return o(u,a);const{base:h,sup:m,sub:E}=u,T=we(h,a);let k,w;const R=a.fontMetrics();let U=0,z=0;const V=h&&B.isCharacterBox(h);if(m){const Ie=a.havingStyle(a.style.sup());k=we(m,Ie,a),V||(U=T.height-Ie.fontMetrics().supDrop*Ie.sizeMultiplier/a.sizeMultiplier)}if(E){const Ie=a.havingStyle(a.style.sub());w=we(E,Ie,a),V||(z=T.depth+Ie.fontMetrics().subDrop*Ie.sizeMultiplier/a.sizeMultiplier)}let J;a.style===H.DISPLAY?J=R.sup1:a.style.cramped?J=R.sup3:J=R.sup2;const oe=a.sizeMultiplier,le=ie(.5/R.ptPerEm/oe);let ke=null;if(w){const Ie=u.base&&u.base.type==="op"&&u.base.name&&(u.base.name==="\\oiint"||u.base.name==="\\oiiint");(T instanceof Ct||Ie)&&(ke=ie(-T.italic))}let Ae;if(k&&w){U=Math.max(U,J,k.depth+.25*R.xHeight),z=Math.max(z,R.sub2);const Be=4*R.defaultRuleThickness;if(U-k.depth-(w.height-z)<Be){z=Be-(U-k.depth)+w.height;const st=.8*R.xHeight-(U-k.depth);st>0&&(U+=st,z-=st)}const lt=[{type:"elem",elem:w,shift:z,marginRight:le,marginLeft:ke},{type:"elem",elem:k,shift:-U,marginRight:le}];Ae=Y.makeVList({positionType:"individualShift",children:lt},a)}else if(w){z=Math.max(z,R.sub1,w.height-.8*R.xHeight);const Ie=[{type:"elem",elem:w,marginLeft:ke,marginRight:le}];Ae=Y.makeVList({positionType:"shift",positionData:z,children:Ie},a)}else if(k)U=Math.max(U,J,k.depth+.25*R.xHeight),Ae=Y.makeVList({positionType:"shift",positionData:-U,children:[{type:"elem",elem:k,marginRight:le}]},a);else throw new Error("supsub must have either sup or sub.");const Se=o0(T,"right")||"mord";return Y.makeSpan([Se],[T,Y.makeSpan(["msupsub"],[Ae])],a)},mathmlBuilder(u,a){let o=!1,h,m;u.base&&u.base.type==="horizBrace"&&(m=!!u.sup,m===u.base.isOver&&(o=!0,h=u.base.isOver)),u.base&&(u.base.type==="op"||u.base.type==="operatorname")&&(u.base.parentIsSupSub=!0);const E=[Re(u.base,a)];u.sub&&E.push(Re(u.sub,a)),u.sup&&E.push(Re(u.sup,a));let T;if(o)T=h?"mover":"munder";else if(u.sub)if(u.sup){const k=u.base;k&&k.type==="op"&&k.limits&&a.style===H.DISPLAY||k&&k.type==="operatorname"&&k.alwaysHandleSupSub&&(a.style===H.DISPLAY||k.limits)?T="munderover":T="msubsup"}
408else{const k=u.base;k&&k.type==="op"&&k.limits&&(a.style===H.DISPLAY||k.alwaysHandleSupSub)||k&&k.type==="operatorname"&&k.alwaysHandleSupSub&&(k.limits||a.style===H.DISPLAY)?T="munder":T="msub"}else{const k=u.base;k&&k.type==="op"&&k.limits&&(a.style===H.DISPLAY||k.alwaysHandleSupSub)||k&&k.type==="operatorname"&&k.alwaysHandleSupSub&&(k.limits||a.style===H.DISPLAY)?T="mover":T="msup"}return new ne.MathNode(T,E)}}),On({type:"atom",htmlBuilder(u,a){return Y.mathsym(u.text,u.mode,a,["m"+u.family])},mathmlBuilder(u,a){const o=new ne.MathNode("mo",[wt(u.text,u.mode)]);if(u.family==="bin"){const h=h0(u,a);h==="bold-italic"&&o.setAttribute("mathvariant",h)}else u.family==="punct"?o.setAttribute("separator","true"):(u.family==="open"||u.family==="close")&&o.setAttribute("stretchy","false");return o}});const Po={mi:"italic",mn:"normal",mtext:"normal"};On({type:"mathord",htmlBuilder(u,a){return Y.makeOrd(u,a,"mathord")},mathmlBuilder(u,a){const o=new ne.MathNode("mi",[wt(u.text,u.mode,a)]),h=h0(u,a)||"italic";return h!==Po[o.type]&&o.setAttribute("mathvariant",h),o}}),On({type:"textord",htmlBuilder(u,a){return Y.makeOrd(u,a,"textord")},mathmlBuilder(u,a){const o=wt(u.text,u.mode,a),h=h0(u,a)||"normal";let m;return u.mode==="text"?m=new ne.MathNode("mtext",[o]):/[0-9]/.test(u.text)?m=new ne.MathNode("mn",[o]):u.text==="\\prime"?m=new ne.MathNode("mo",[o]):m=new ne.MathNode("mi",[o]),h!==Po[m.type]&&m.setAttribute("mathvariant",h),m}});const D0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},O0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};On({type:"spacing",htmlBuilder(u,a){if(O0.hasOwnProperty(u.text)){const o=O0[u.text].className||"";if(u.mode==="text"){const h=Y.makeOrd(u,a,"textord");return h.classes.push(o),h}else return Y.makeSpan(["mspace",o],[Y.mathsym(u.text,u.mode,a)],a)}else{if(D0.hasOwnProperty(u.text))return Y.makeSpan(["mspace",D0[u.text]],[],a);throw new i('Unknown type of space "'+u.text+'"')}},mathmlBuilder(u,a){let o;if(O0.hasOwnProperty(u.text))o=new ne.MathNode("mtext",[new ne.TextNode("Â ")]);else{if(D0.hasOwnProperty(u.text))return new ne.MathNode("mspace");throw new i('Unknown type of space "'+u.text+'"')}return o}});const Ho=()=>{const u=new ne.MathNode("mtd",[]);return u.setAttribute("width","50%"),u};On({type:"tag",mathmlBuilder(u,a){const o=new ne.MathNode("mtable",[new ne.MathNode("mtr",[Ho(),new ne.MathNode("mtd",[Tn(u.body,a)]),Ho(),new ne.MathNode("mtd",[Tn(u.tag,a)])])]);return o.setAttribute("width","100%"),o}});const Uo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},zo={"\\textbf":"textbf","\\textmd":"textmd"},Td={"\\textit":"textit","\\textup":"textup"},qo=(u,a)=>{const o=u.font;if(o){if(Uo[o])return a.withTextFontFamily(Uo[o]);if(zo[o])return a.withTextFontWeight(zo[o]);if(o==="\\emph")return a.fontShape==="textit"?a.withTextFontShape("textup"):a.withTextFontShape("textit")}else return a;return a.withTextFontShape(Td[o])};ae({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(u,a){let{parser:o,funcName:h}=u;const m=a[0];return{type:"text",mode:o.mode,body:We(m),font:h}},htmlBuilder(u,a){const o=qo(u,a),h=nt(u.body,o,!0);return Y.makeSpan(["mord","text"],h,o)},mathmlBuilder(u,a){const o=qo(u,a);return Tn(u.body,o)}}),ae({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(u,a){let{parser:o}=u;return{type:"underline",mode:o.mode,body:a[0]}},htmlBuilder(u,a){const o=we(u.body,a),h=Y.makeLineSpan("underline-line",a),m=a.fontMetrics().defaultRuleThickness,E=Y.makeVList({positionType:"top",positionData:o.height,children:[{type:"kern",size:m},{type:"elem",elem:h},{type:"kern",size:3*m},{type:"elem",elem:o}]},a);return Y.makeSpan(["mord","underline"],[E],a)},mathmlBuilder(u,a){const o=new ne.MathNode("mo",[new ne.TextNode("â¾")]);o.setAttribute("stretchy","true");const h=new ne.MathNode("munder",[Re(u.body,a),o]);return h.setAttribute("accentunder","true"),h}}
408),ae({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(u,a){let{parser:o}=u;return{type:"vcenter",mode:o.mode,body:a[0]}},htmlBuilder(u,a){const o=we(u.body,a),h=a.fontMetrics().axisHeight,m=.5*(o.height-h-(o.depth+h));return Y.makeVList({positionType:"shift",positionData:m,children:[{type:"elem",elem:o}]},a)},mathmlBuilder(u,a){return new ne.MathNode("mpadded",[Re(u.body,a)],["vcenter"])}}),ae({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(u,a,o){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(u,a){const o=$o(u),h=[],m=a.havingStyle(a.style.text());for(let E=0;E<o.length;E++){let T=o[E];T==="~"&&(T="\\textasciitilde"),h.push(Y.makeSymbol(T,"Typewriter-Regular",u.mode,m,["mord","texttt"]))}return Y.makeSpan(["mord","text"].concat(m.sizingClasses(a)),Y.tryCombineChars(h),m)},mathmlBuilder(u,a){const o=new ne.TextNode($o(u)),h=new ne.MathNode("mtext",[o]);return h.setAttribute("mathvariant","monospace"),h}});const $o=u=>u.body.replace(/ /g,u.star?"â£":" ");var yn=Gu;const Yo=`[ \r 409 ]`,_d="\\\\[a-zA-Z@]+",yd="\\\\[^\uD800-\uDFFF]",Ad="("+_d+")"+Yo+"*",xd=`\\\\( 410|[ \r ]+ 411?)[ \r ]*`,M0="[Ì-ͯ]",kd=new RegExp(M0+"+$"),Sd="("+Yo+"+)|"+(xd+"|")+"([!-\\[\\]-â§âª-í¿ï¤-ï¿¿]"+(M0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(M0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Ad)+("|"+yd+")");class jo{constructor(a,o){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=o,this.tokenRegex=new RegExp(Sd,"g"),this.catcodes={"%":14,"~":13}}
411setCatcode(a,o){this.catcodes[a]=o}lex(){const a=this.input,o=this.tokenRegex.lastIndex;if(o===a.length)return new Nt("EOF",new xt(this,o,o));const h=this.tokenRegex.exec(a);if(h===null||h.index!==o)throw new i("Unexpected character: '"+a[o]+"'",new Nt(a[o],new xt(this,o,o+1)));const m=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[m]===14){const E=a.indexOf(` 412`,this.tokenRegex.lastIndex);return E===-1?(this.tokenRegex.lastIndex=a.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=E+1,this.lex()}return new Nt(m,new xt(this,o,this.tokenRegex.lastIndex))}}class Cd{constructor(a,o){a===void 0&&(a={}),o===void 0&&(o={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=o,this.builtins=a,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const a=this.undefStack.pop();for(const o in a)a.hasOwnProperty(o)&&(a[o]==null?delete this.current[o]:this.current[o]=a[o])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(a){return this.current.hasOwnProperty(a)||this.builtins.hasOwnProperty(a)}get(a){return this.current.hasOwnProperty(a)?this.current[a]:this.builtins[a]}set(a,o,h){if(h===void 0&&(h=!1),h){for(let m=0;m<this.undefStack.length;m++)delete this.undefStack[m][a];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][a]=o)}else{const m=this.undefStack[this.undefStack.length-1];m&&!m.hasOwnProperty(a)&&(m[a]=this.current[a])}o==null?delete this.current[a]:this.current[a]=o}}var wd=_o;S("\\noexpand",function(u){const a=u.popToken();return u.isExpandable(a.text)&&(a.noexpand=!0,a.treatAsRelax=!0),{tokens:[a],numArgs:0}}),S("\\expandafter",function(u){const a=u.popToken();return u.expandOnce(!0),{tokens:[a],numArgs:0}}),S("\\@firstoftwo",function(u){return{tokens:u.consumeArgs(2)[0],numArgs:0}}),S("\\@secondoftwo",function(u){return{tokens:u.consumeArgs(2)[1],numArgs:0}}),S("\\@ifnextchar",function(u){const a=u.consumeArgs(3);u.consumeSpaces();const o=u.future();return a[0].length===1&&a[0][0].text===o.text?{tokens:a[1],numArgs:0}:{tokens:a[2],numArgs:0}}),S("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),S("\\TextOrMath",function(u){const a=u.consumeArgs(2);return u.mode==="text"?{tokens:a[0],numArgs:0}:{tokens:a[1],numArgs:0}});const Vo={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};S("\\char",function(u){let a=u.popToken(),o,h="";if(a.text==="'")o=8,a=u.popToken();else if(a.text==='"')o=16,a=u.popToken();else if(a.text==="`")if(a=u.popToken(),a.text[0]==="\\")h=a.text.charCodeAt(1);else{if(a.text==="EOF")throw new i("\\char` missing argument");h=a.text.charCodeAt(0)}else o=10;if(o){if(h=Vo[a.text],h==null||h>=o)throw new i("Invalid base-"+o+" digit "+a.text);let m;for(;(m=Vo[u.future().text])!=null&&m<o;)h*=o,h+=m,u.popToken()}return"\\@char{"+h+"}"});const L0=(u,a,o)=>{let h=u.consumeArg().tokens;if(h.length!==1)throw new i("\\newcommand's first argument must be a macro name");const m=h[0].text,E=u.isDefined(m);if(E&&!a)throw new i("\\newcommand{"+m+"} attempting to redefine "+(m+"; use \\renewcommand"));if(!E&&!o)throw new i("\\renewcommand{"+m+"} when command "+m+" does not yet exist; use \\newcommand");let T=0;if(h=u.consumeArg().tokens,h.length===1&&h[0].text==="["){let k="",w=u.expandNextToken();for(;w.text!=="]"&&w.text!=="EOF";)k+=w.text,w=u.expandNextToken();if(!k.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+k);T=parseInt(k),h=u.consumeArg().tokens}return u.macros.set(m,{tokens:h,numArgs:T}),""};S("\\newcommand",u=>L0(u,!1,!0)),S("\\renewcommand",u=>L0(u,!0,!1)),S("\\providecommand",u=>L0(u,!0,!0)),S("\\message",u=>{const a=u.consumeArgs(1)[0];return console.log(a.reverse().map(o=>o.text).join("")),""}),S("\\errmessage",u=>{const a=u.consumeArgs(1)[0];return console.error(a.reverse().map(o=>o.text).join("")),""}),S("\\show",u=>{const a=u.popToken(),o=a.text;return console.log(a,u.macros.get(o),yn[o],je.math[o],je.text[o]),""}),S("\\bgroup","{"),S("\\egroup","}
412"),S("~","\\nobreakspace"),S("\\lq","`"),S("\\rq","'"),S("\\aa","\\r a"),S("\\AA","\\r A"),S("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),S("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),S("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),S("â¬","\\mathscr{B}"),S("â°","\\mathscr{E}"),S("â±","\\mathscr{F}"),S("â","\\mathscr{H}"),S("â","\\mathscr{I}"),S("â","\\mathscr{L}"),S("â³","\\mathscr{M}"),S("â","\\mathscr{R}"),S("â","\\mathfrak{C}"),S("â","\\mathfrak{H}"),S("â¨","\\mathfrak{Z}"),S("\\Bbbk","\\Bbb{k}"),S("·","\\cdotp"),S("\\llap","\\mathllap{\\textrm{#1}}"),S("\\rlap","\\mathrlap{\\textrm{#1}}"),S("\\clap","\\mathclap{\\textrm{#1}}"),S("\\mathstrut","\\vphantom{(}"),S("\\underbar","\\underline{\\text{#1}}"),S("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),S("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`â }}"),S("\\ne","\\neq"),S("â ","\\neq"),S("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`â}}"),S("â","\\notin"),S("â","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`â}}"),S("â","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`â}}"),S("â","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`â}}"),S("â","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`â}}"),S("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`â}}"),S("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`â}}"),S("â","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`â}}"),S("â","\\perp"),S("â¼","\\mathclose{!\\mkern-0.8mu!}"),S("â","\\notni"),S("â","\\ulcorner"),S("â","\\urcorner"),S("â","\\llcorner"),S("â","\\lrcorner"),S("©","\\copyright"),S("®","\\textregistered"),S("ï¸","\\textregistered"),S("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),S("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),S("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),S("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),S("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),S("â®","\\vdots"),S("\\varGamma","\\mathit{\\Gamma}"),S("\\varDelta","\\mathit{\\Delta}"),S("\\varTheta","\\mathit{\\Theta}"),S("\\varLambda","\\mathit{\\Lambda}"),S("\\varXi","\\mathit{\\Xi}"),S("\\varPi","\\mathit{\\Pi}"),S("\\varSigma","\\mathit{\\Sigma}"),S("\\varUpsilon","\\mathit{\\Upsilon}"),S("\\varPhi","\\mathit{\\Phi}"),S("\\varPsi","\\mathit{\\Psi}"),S("\\varOmega","\\mathit{\\Omega}"),S("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),S("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),S("\\boxed","\\fbox{$\\displaystyle{#1}$}"),S("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),S("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),S("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),S("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),S("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Go={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};S("\\dots",function(u){let a="\\dotso";const o=u.expandAfterFuture().text;return o in Go?a=Go[o]:(o.slice(0,4)==="\\not"||o in je.math&&B.contains(["bin","rel"],je.math[o].group))&&(a="\\dotsb"),a});const v0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};S("\\dotso",function(u){return u.future().text in v0?"\\ldots\\,":"\\ldots"}),S("\\dotsc",function(u){const a=u.future().text;return a in v0&&a!==","?"\\ldots\\,":"\\ldots"}),S("\\cdots",function(u){return u.future().text in v0?"\\@cdots\\,":"\\@cdots"}),S("\\dotsb","\\cdots"),S("\\dotsm","\\cdots"),S("\\dotsi","\\!\\cdots"),S("\\dotsx","\\ldots\\,"),S("\\DOTSI","\\relax"),S("\\DOTSB","\\relax"),S("\\DOTSX","\\relax"),S("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),S("\\,","\\tmspace+{3mu}{.1667em}"),S("\\thinspace","\\,"),S("\\>","\\mskip{4mu}"),S("\\:","\\tmspace+{4mu}{.2222em}"),S("\\medspace","\\:"),S("\\;","\\tmspace+{5mu}{.2777em}"),S("\\thickspace","\\;"),S("\\!","\\tmspace-{3mu}{.1667em}"),S("\\negthinspace","\\!"),S("\\negmedspace","\\tmspace-{4mu}{.2222em}"),S("\\negthickspace","\\tmspace-{5mu}{.277em}"),S("\\enspace","\\kern.5em "),S("\\enskip","\\hskip.5em\\relax"),S("\\quad","\\hskip1em\\relax"),S("\\qquad","\\hskip2em\\relax"),S("\\tag","\\@ifstar\\tag@literal\\tag@paren"),S("\\tag@paren","\\tag@literal{({#1})}"),S("\\tag@literal",u=>{if(u.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),S("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),S("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),S("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),S("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),S("\\newline","\\\\\\relax"),S("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Ko=ie(Yt["Main-Regular"][84][1]-.7*Yt["Main-Regular"][65][1]);S("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ko+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}
412"),S("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ko+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),S("\\hspace","\\@ifstar\\@hspacer\\@hspace"),S("\\@hspace","\\hskip #1\\relax"),S("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),S("\\ordinarycolon",":"),S("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),S("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),S("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),S("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),S("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),S("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),S("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),S("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),S("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),S("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),S("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),S("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),S("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),S("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),S("â·","\\dblcolon"),S("â¹","\\eqcolon"),S("â","\\coloneqq"),S("â","\\eqqcolon"),S("â©´","\\Coloneqq"),S("\\ratio","\\vcentcolon"),S("\\coloncolon","\\dblcolon"),S("\\colonequals","\\coloneqq"),S("\\coloncolonequals","\\Coloneqq"),S("\\equalscolon","\\eqqcolon"),S("\\equalscoloncolon","\\Eqqcolon"),S("\\colonminus","\\coloneq"),S("\\coloncolonminus","\\Coloneq"),S("\\minuscolon","\\eqcolon"),S("\\minuscoloncolon","\\Eqcolon"),S("\\coloncolonapprox","\\Colonapprox"),S("\\coloncolonsim","\\Colonsim"),S("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),S("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),S("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),S("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),S("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`â}}"),S("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),S("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),S("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),S("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),S("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),S("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),S("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),S("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),S("\\gvertneqq","\\html@mathml{\\@gvertneqq}{â©}"),S("\\lvertneqq","\\html@mathml{\\@lvertneqq}{â¨}"),S("\\ngeqq","\\html@mathml{\\@ngeqq}{â±}"),S("\\ngeqslant","\\html@mathml{\\@ngeqslant}{â±}"),S("\\nleqq","\\html@mathml{\\@nleqq}{â°}"),S("\\nleqslant","\\html@mathml{\\@nleqslant}{â°}"),S("\\nshortmid","\\html@mathml{\\@nshortmid}{â¤}"),S("\\nshortparallel","\\html@mathml{\\@nshortparallel}{â¦}"),S("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{â}"),S("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{â}"),S("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{â}"),S("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{â«}"),S("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{â}"),S("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{â«}"),S("\\imath","\\html@mathml{\\@imath}{ı}"),S("\\jmath","\\html@mathml{\\@jmath}{È·}"),S("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}"),S("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`â§}}"),S("â¦","\\llbracket"),S("â§","\\rrbracket"),S("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
412{\\mathopen{\\char`â¦}}"),S("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`â¦}}"),S("â¦","\\lBrace"),S("â¦","\\rBrace"),S("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),S("⦵","\\minuso"),S("\\darr","\\downarrow"),S("\\dArr","\\Downarrow"),S("\\Darr","\\Downarrow"),S("\\lang","\\langle"),S("\\rang","\\rangle"),S("\\uarr","\\uparrow"),S("\\uArr","\\Uparrow"),S("\\Uarr","\\Uparrow"),S("\\N","\\mathbb{N}"),S("\\R","\\mathbb{R}"),S("\\Z","\\mathbb{Z}"),S("\\alef","\\aleph"),S("\\alefsym","\\aleph"),S("\\Alpha","\\mathrm{A}"),S("\\Beta","\\mathrm{B}"),S("\\bull","\\bullet"),S("\\Chi","\\mathrm{X}"),S("\\clubs","\\clubsuit"),S("\\cnums","\\mathbb{C}"),S("\\Complex","\\mathbb{C}"),S("\\Dagger","\\ddagger"),S("\\diamonds","\\diamondsuit"),S("\\empty","\\emptyset"),S("\\Epsilon","\\mathrm{E}"),S("\\Eta","\\mathrm{H}"),S("\\exist","\\exists"),S("\\harr","\\leftrightarrow"),S("\\hArr","\\Leftrightarrow"),S("\\Harr","\\Leftrightarrow"),S("\\hearts","\\heartsuit"),S("\\image","\\Im"),S("\\infin","\\infty"),S("\\Iota","\\mathrm{I}"),S("\\isin","\\in"),S("\\Kappa","\\mathrm{K}"),S("\\larr","\\leftarrow"),S("\\lArr","\\Leftarrow"),S("\\Larr","\\Leftarrow"),S("\\lrarr","\\leftrightarrow"),S("\\lrArr","\\Leftrightarrow"),S("\\Lrarr","\\Leftrightarrow"),S("\\Mu","\\mathrm{M}"),S("\\natnums","\\mathbb{N}"),S("\\Nu","\\mathrm{N}"),S("\\Omicron","\\mathrm{O}"),S("\\plusmn","\\pm"),S("\\rarr","\\rightarrow"),S("\\rArr","\\Rightarrow"),S("\\Rarr","\\Rightarrow"),S("\\real","\\Re"),S("\\reals","\\mathbb{R}"),S("\\Reals","\\mathbb{R}"),S("\\Rho","\\mathrm{P}"),S("\\sdot","\\cdot"),S("\\sect","\\S"),S("\\spades","\\spadesuit"),S("\\sub","\\subset"),S("\\sube","\\subseteq"),S("\\supe","\\supseteq"),S("\\Tau","\\mathrm{T}"),S("\\thetasym","\\vartheta"),S("\\weierp","\\wp"),S("\\Zeta","\\mathrm{Z}"),S("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),S("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),S("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),S("\\bra","\\mathinner{\\langle{#1}|}"),S("\\ket","\\mathinner{|{#1}\\rangle}"),S("\\braket","\\mathinner{\\langle{#1}\\rangle}"),S("\\Bra","\\left\\langle#1\\right|"),S("\\Ket","\\left|#1\\right\\rangle");const Xo=u=>a=>{const o=a.consumeArg().tokens,h=a.consumeArg().tokens,m=a.consumeArg().tokens,E=a.consumeArg().tokens,T=a.macros.get("|"),k=a.macros.get("\\|");a.macros.beginGroup();const w=z=>V=>{u&&(V.macros.set("|",T),m.length&&V.macros.set("\\|",k));let J=z;return!z&&m.length&&V.future().text==="|"&&(V.popToken(),J=!0),{tokens:J?m:h,numArgs:0}};a.macros.set("|",w(!1)),m.length&&a.macros.set("\\|",w(!0));const R=a.consumeArg().tokens,U=a.expandTokens([...E,...R,...o]);return a.macros.endGroup(),{tokens:U.reverse(),numArgs:0}};S("\\bra@ket",Xo(!1)),S("\\bra@set",Xo(!0)),S("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),S("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),S("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),S("\\angln","{\\angl n}"),S("\\blue","\\textcolor{##6495ed}{#1}"),S("\\orange","\\textcolor{##ffa500}{#1}"),S("\\pink","\\textcolor{##ff00af}{#1}"),S("\\red","\\textcolor{##df0030}{#1}"),S("\\green","\\textcolor{##28ae7b}{#1}"),S("\\gray","\\textcolor{gray}{#1}"),S("\\purple","\\textcolor{##9d38bd}{#1}"),S("\\blueA","\\textcolor{##ccfaff}{#1}"),S("\\blueB","\\textcolor{##80f6ff}{#1}"),S("\\blueC","\\textcolor{##63d9ea}{#1}"),S("\\blueD","\\textcolor{##11accd}{#1}"),S("\\blueE","\\textcolor{##0c7f99}{#1}"),S("\\tealA","\\textcolor{##94fff5}{#1}"),S("\\tealB","\\textcolor{##26edd5}{#1}"),S("\\tealC","\\textcolor{##01d1c1}{#1}"),S("\\tealD","\\textcolor{##01a995}{#1}"),S("\\tealE","\\textcolor{##208170}{#1}"),S("\\greenA","\\textcolor{##b6ffb0}{#1}"),S("\\greenB","\\textcolor{##8af281}{#1}"),S("\\greenC","\\textcolor{##74cf70}{#1}"),S("\\greenD","\\textcolor{##1fab54}{#1}"),S("\\greenE","\\textcolor{##0d923f}{#1}"),S("\\goldA","\\textcolor{##ffd0a9}{#1}"),S("\\goldB","\\textcolor{##ffbb71}{#1}"),S("\\goldC","\\textcolor{##ff9c39}{#1}"),S("\\goldD","\\textcolor{##e07d10}{#1}"),S("\\goldE","\\textcolor{##a75a05}{#1}"),S("\\redA","\\textcolor{##fca9a9}{#1}"),S("\\redB","\\textcolor{##ff8482}{#1}"),S("\\redC","\\textcolor{##f9685d}{#1}"),S("\\redD","\\textcolor{##e84d39}{#1}
412"),S("\\redE","\\textcolor{##bc2612}{#1}"),S("\\maroonA","\\textcolor{##ffbde0}{#1}"),S("\\maroonB","\\textcolor{##ff92c6}{#1}"),S("\\maroonC","\\textcolor{##ed5fa6}{#1}"),S("\\maroonD","\\textcolor{##ca337c}{#1}"),S("\\maroonE","\\textcolor{##9e034e}{#1}"),S("\\purpleA","\\textcolor{##ddd7ff}{#1}"),S("\\purpleB","\\textcolor{##c6b9fc}{#1}"),S("\\purpleC","\\textcolor{##aa87ff}{#1}"),S("\\purpleD","\\textcolor{##7854ab}{#1}"),S("\\purpleE","\\textcolor{##543b78}{#1}"),S("\\mintA","\\textcolor{##f5f9e8}{#1}"),S("\\mintB","\\textcolor{##edf2df}{#1}"),S("\\mintC","\\textcolor{##e0e5cc}{#1}"),S("\\grayA","\\textcolor{##f6f7f7}{#1}"),S("\\grayB","\\textcolor{##f0f1f2}{#1}"),S("\\grayC","\\textcolor{##e3e5e6}{#1}"),S("\\grayD","\\textcolor{##d6d8da}{#1}"),S("\\grayE","\\textcolor{##babec2}{#1}"),S("\\grayF","\\textcolor{##888d93}{#1}"),S("\\grayG","\\textcolor{##626569}{#1}"),S("\\grayH","\\textcolor{##3b3e40}{#1}"),S("\\grayI","\\textcolor{##21242c}{#1}"),S("\\kaBlue","\\textcolor{##314453}{#1}"),S("\\kaGreen","\\textcolor{##71B307}{#1}");const Wo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Nd{constructor(a,o,h){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=o,this.expansionCount=0,this.feed(a),this.macros=new Cd(wd,o.macros),this.mode=h,this.stack=[]}feed(a){this.lexer=new jo(a,this.settings)}switchMode(a){this.mode=a}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(a){this.stack.push(a)}pushTokens(a){this.stack.push(...a)}scanArgument(a){let o,h,m;if(a){if(this.consumeSpaces(),this.future().text!=="[")return null;o=this.popToken(),{tokens:m,end:h}=this.consumeArg(["]"])}else({tokens:m,start:o,end:h}=this.consumeArg());return this.pushToken(new Nt("EOF",h.loc)),this.pushTokens(m),o.range(h,"")}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(a){const o=[],h=a&&a.length>0;h||this.consumeSpaces();const m=this.future();let E,T=0,k=0;do{if(E=this.popToken(),o.push(E),E.text==="{")++T;else if(E.text==="}"){if(--T,T===-1)throw new i("Extra }",E)}else if(E.text==="EOF")throw new i("Unexpected end of input in a macro argument, expected '"+(a&&h?a[k]:"}")+"'",E);if(a&&h)if((T===0||T===1&&a[k]==="{")&&E.text===a[k]){if(++k,k===a.length){o.splice(-k,k);break}}else k=0}while(T!==0||h);return m.text==="{"&&o[o.length-1].text==="}"&&(o.pop(),o.shift()),o.reverse(),{tokens:o,start:m,end:E}}consumeArgs(a,o){if(o){if(o.length!==a+1)throw new i("The length of delimiters doesn't match the number of args!");const m=o[0];for(let E=0;E<m.length;E++){const T=this.popToken();if(m[E]!==T.text)throw new i("Use of the macro doesn't match its definition",T)}}const h=[];for(let m=0;m<a;m++)h.push(this.consumeArg(o&&o[m+1]).tokens);return h}countExpansion(a){if(this.expansionCount+=a,this.expansionCount>this.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(a){const o=this.popToken(),h=o.text,m=o.noexpand?null:this._getExpansion(h);if(m==null||a&&m.unexpandable){if(a&&m==null&&h[0]==="\\"&&!this.isDefined(h))throw new i("Undefined control sequence: "+h);return this.pushToken(o),!1}this.countExpansion(1);let E=m.tokens;const T=this.consumeArgs(m.numArgs,m.delimiters);if(m.numArgs){E=E.slice();for(let k=E.length-1;k>=0;--k){let w=E[k];if(w.text==="#"){if(k===0)throw new i("Incomplete placeholder at end of macro body",w);if(w=E[--k],w.text==="#")E.splice(k+1,1);else if(/^[1-9]$/.test(w.text))E.splice(k,2,...T[+w.text-1]);else throw new i("Not a valid argument number",w)}}}return this.pushTokens(E),E.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const a=this.stack.pop();return a.treatAsRelax&&(a.text="\\relax"),a}throw new Error}expandMacro(a){return this.macros.has(a)?this.expandTokens([new Nt(a)]):void 0}expandTokens(a){const o=[],h=this.stack.length;for(this.pushTokens(a);this.stack.length>h;)if(this.expandOnce(!0)===!1){const m=this.stack.pop();m.treatAsRelax&&(m.noexpand=!1,m.treatAsRelax=!1),o.push(m)}return this.countExpansion(o.length),o}expandMacroAsText(a){const o=this.expandMacro(a);return o&&o.map(h=>h.text).join("")}_getExpansion(a){const o=this.macros.get(a);if(o==null)return o;if(a.length===1){const m=this.lexer.catcodes[a];if(m!=null&&m!==13)return}const h=typeof o=="function"?o(this):o;if(typeof h=="string"){let m=0;if(h.indexOf("#")!==-1){const R=h.replace(/##/g,"");for(;R.indexOf("#"+(m+1))!==-1;)++m}const E=new jo(h,this.settings),T=[];let k=E.lex();for(;k.text!=="EOF";)T.push(k),k=E.lex();return T.reverse(),{tokens:T,numArgs:m}}return h}isDefined(a){return this.macros.has(a)||yn.hasOwnProperty(a)||je.math.hasOwnProperty(a)||je.text.hasOwnProperty(a)||Wo.hasOwnProperty(a)}isExpandable(a){const o=this.macros.get(a);
412return o!=null?typeof o=="string"||typeof o=="function"||!o.unexpandable:yn.hasOwnProperty(a)&&!yn[a].primitive}}const Qo=/^[âââââââââââ
âââââââᵢⱼââââââáµ£ââᵤᵥâᵦᵧᵨᵩᵪ]/,Fr=Object.freeze({"â":"+","â":"-","â":"=","â":"(","â":")","â":"0","â":"1","â":"2","â":"3","â":"4","â
":"5","â":"6","â":"7","â":"8","â":"9","â":"a","â":"e","â":"h","áµ¢":"i","â±¼":"j","â":"k","â":"l","â":"m","â":"n","â":"o","â":"p","áµ£":"r","â":"s","â":"t","ᵤ":"u","áµ¥":"v","â":"x","ᵦ":"β","áµ§":"γ","ᵨ":"Ï","ᵩ":"Ï","ᵪ":"Ï","âº":"+","â»":"-","â¼":"=","â½":"(","â¾":")","â°":"0","¹":"1","²":"2","³":"3","â´":"4","âµ":"5","â¶":"6","â·":"7","â¸":"8","â¹":"9","á´¬":"A","á´®":"B","á´°":"D","á´±":"E","á´³":"G","á´´":"H","á´µ":"I","á´¶":"J","á´·":"K","á´¸":"L","á´¹":"M","á´º":"N","á´¼":"O","á´¾":"P","á´¿":"R","áµ":"T","áµ":"U","â±½":"V","áµ":"W","áµ":"a","áµ":"b","á¶":"c","áµ":"d","áµ":"e","á¶ ":"f","áµ":"g",ʰ:"h","â±":"i",ʲ:"j","áµ":"k",Ë¡:"l","áµ":"m",â¿:"n","áµ":"o","áµ":"p",ʳ:"r",Ë¢:"s","áµ":"t","áµ":"u","áµ":"v",Ê·:"w",Ë£:"x",ʸ:"y","á¶»":"z","áµ":"β","áµ":"γ","áµ":"δ","áµ ":"Ï","ᵡ":"Ï","á¶¿":"θ"}),R0={"Ì":{text:"\\'",math:"\\acute"},"Ì":{text:"\\`",math:"\\grave"},"Ì":{text:'\\"',math:"\\ddot"},"Ì":{text:"\\~",math:"\\tilde"},"Ì":{text:"\\=",math:"\\bar"},"Ì":{text:"\\u",math:"\\breve"},"Ì":{text:"\\v",math:"\\check"},"Ì":{text:"\\^",math:"\\hat"},"Ì":{text:"\\.",math:"\\dot"},"Ì":{text:"\\r",math:"\\mathring"},"Ì":{text:"\\H"},"̧":{text:"\\c"}},Zo={á:"aÌ",à :"aÌ",ä:"aÌ",Ç:"aÌÌ",ã:"aÌ",Ä:"aÌ",Ä:"aÌ",ắ:"aÌÌ",ằ:"aÌÌ",ẵ:"aÌÌ",Ç:"aÌ",â:"aÌ",ấ:"aÌÌ",ầ:"aÌÌ",ẫ:"aÌÌ",ȧ:"aÌ",Ç¡:"aÌÌ",Ã¥:"aÌ",Ç»:"aÌÌ",á¸:"bÌ",Ä:"cÌ",á¸:"çÌ",Ä:"cÌ",Ä:"cÌ",Ä:"cÌ",ç:"ç",Ä:"dÌ",á¸:"dÌ",á¸:"ḑ",é:"eÌ",è:"eÌ",ë:"eÌ",ẽ:"eÌ",Ä:"eÌ",á¸:"eÌÌ",á¸:"eÌÌ",Ä:"eÌ",á¸:"ȩÌ",Ä:"eÌ",ê:"eÌ",ế:"eÌÌ",á»:"eÌÌ",á»
:"eÌÌ",Ä:"eÌ",È©:"ȩ",á¸:"fÌ",ǵ:"gÌ",ḡ:"gÌ",Ä:"gÌ",ǧ:"gÌ",Ä:"gÌ",Ä¡:"gÌ",Ä£:"ģ",ḧ:"hÌ",È:"hÌ",Ä¥:"hÌ",ḣ:"hÌ",ḩ:"ḩ",Ã:"iÌ",ì:"iÌ",ï:"iÌ",ḯ:"iÌÌ",Ä©:"iÌ",Ä«:"iÌ",Ä:"iÌ",Ç:"iÌ",î:"iÌ",ǰ:"jÌ",ĵ:"jÌ",ḱ:"kÌ",Ç©:"kÌ",Ä·:"ķ",ĺ:"lÌ",ľ:"lÌ",ļ:"ļ",ḿ:"mÌ",á¹:"mÌ",Å:"nÌ",ǹ:"nÌ",ñ:"nÌ",Å:"nÌ",á¹
:"nÌ",Å:"ņ",ó:"oÌ",ò:"oÌ",ö:"oÌ",È«:"oÌÌ",õ:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",È:"oÌÌ",Å:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",Å:"oÌ",Ç:"oÌ",ô:"oÌ",á»:"oÌÌ",á»:"oÌÌ",á»:"oÌÌ",ȯ:"oÌ",ȱ:"oÌÌ",Å:"oÌ",á¹:"pÌ",á¹:"pÌ",Å:"rÌ",Å:"rÌ",á¹:"rÌ",Å:"ŗ",Å:"sÌ",á¹¥:"sÌÌ",Å¡:"sÌ",á¹§:"sÌÌ",Å:"sÌ",ṡ:"sÌ",Å:"ş",áº:"tÌ",Å¥:"tÌ",ṫ:"tÌ",Å£:"ţ",ú:"uÌ",ù:"uÌ",ü:"uÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Å©:"uÌ",á¹¹:"uÌÌ",Å«:"uÌ",á¹»:"uÌÌ",Å:"uÌ",Ç:"uÌ",û:"uÌ",ů:"uÌ",ű:"uÌ",á¹½:"vÌ",áº:"wÌ",áº:"wÌ",áº
:"wÌ",ŵ:"wÌ",áº:"wÌ",áº:"wÌ",áº:"xÌ",áº:"xÌ",ý:"yÌ",ỳ:"yÌ",ÿ:"yÌ",ỹ:"yÌ",ȳ:"yÌ",Å·:"yÌ",áº:"yÌ",áº:"yÌ",ź:"zÌ",ž:"zÌ",áº:"zÌ",ż:"zÌ",Ã:"AÌ",Ã:"AÌ",Ã:"AÌ",Ç:"AÌÌ",Ã:"AÌ",Ä:"AÌ",Ä:"AÌ",Ắ:"AÌÌ",Ằ:"AÌÌ",Ẵ:"AÌÌ",Ç:"AÌ",Ã:"AÌ",Ấ:"AÌÌ",Ầ:"AÌÌ",Ẫ:"AÌÌ",Ȧ:"AÌ",Ç :"AÌÌ",Ã
:"AÌ",Ǻ:"AÌÌ",á¸:"BÌ",Ä:"CÌ",á¸:"ÇÌ",Ä:"CÌ",Ä:"CÌ",Ä:"CÌ",Ã:"Ç",Ä:"DÌ",á¸:"DÌ",á¸:"Ḑ",Ã:"EÌ",Ã:"EÌ",Ã:"EÌ",Ẽ:"EÌ",Ä:"EÌ",á¸:"EÌÌ",á¸:"EÌÌ",Ä:"EÌ",á¸:"ȨÌ",Ä:"EÌ",Ã:"EÌ",Ế:"EÌÌ",á»:"EÌÌ",á»:"EÌÌ",Ä:"EÌ",Ȩ:"Ȩ",á¸:"FÌ",Ç´:"GÌ",Ḡ:"GÌ",Ä:"GÌ",Ǧ:"GÌ",Ä:"GÌ",Ä :"GÌ",Ä¢:"Ģ",Ḧ:"HÌ",È:"HÌ",Ĥ:"HÌ",Ḣ:"HÌ",Ḩ:"Ḩ",Ã:"IÌ",Ã:"IÌ",Ã:"IÌ",Ḯ:"IÌÌ",Ĩ:"IÌ",Ī:"IÌ",Ĭ:"IÌ",Ç:"IÌ",Ã:"IÌ",İ:"IÌ",Ä´:"JÌ",Ḱ:"KÌ",Ǩ:"KÌ",Ķ:"Ķ",Ĺ:"LÌ",Ľ:"LÌ",Ä»:"Ļ",Ḿ:"MÌ",á¹:"MÌ",Å:"NÌ",Ǹ:"NÌ",Ã:"NÌ",Å:"NÌ",á¹:"NÌ",Å
:"Ņ",Ã:"OÌ",Ã:"OÌ",Ã:"OÌ",Ȫ:"OÌÌ",Ã:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Ȭ:"OÌÌ",Å:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Å:"OÌ",Ç:"OÌ",Ã:"OÌ",á»:"OÌÌ",á»:"OÌÌ",á»:"OÌÌ",È®:"OÌ",Ȱ:"OÌÌ",Å:"OÌ",á¹:"PÌ",á¹:"PÌ",Å:"RÌ",Å:"RÌ",á¹:"RÌ",Å:"Ŗ",Å:"SÌ",Ṥ:"SÌÌ",Å :"SÌ",Ṧ:"SÌÌ",Å:"SÌ",á¹ :"SÌ",Å:"Ş",Ť:"TÌ",Ṫ:"TÌ",Å¢:"Ţ",Ã:"UÌ",Ã:"UÌ",Ã:"UÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ũ:"UÌ",Ṹ:"UÌÌ",Ū:"UÌ",Ṻ:"UÌÌ",Ŭ:"UÌ",Ç:"UÌ",Ã:"UÌ",Å®:"UÌ",Ű:"UÌ",á¹¼:"VÌ",áº:"WÌ",áº:"WÌ",áº:"WÌ",Å´:"WÌ",áº:"WÌ",áº:"XÌ",áº:"XÌ",Ã:"YÌ",Ỳ:"YÌ",Ÿ:"YÌ",Ỹ:"YÌ",Ȳ
412:"YÌ",Ŷ:"YÌ",áº:"YÌ",Ź:"ZÌ",Ž:"ZÌ",áº:"ZÌ",Å»:"ZÌ",ά:"αÌ",á½°:"αÌ",á¾±:"αÌ",á¾°:"αÌ",Î:"εÌ",á½²:"εÌ",ή:"ηÌ",á½´:"ηÌ",ί:"ιÌ",á½¶:"ιÌ",Ï:"ιÌ",Î:"ιÌÌ",á¿:"ιÌÌ",á¿:"ιÌ",á¿:"ιÌ",Ï:"οÌ",ὸ:"οÌ",Ï:"Ï
Ì",ὺ:"Ï
Ì",Ï:"Ï
Ì",ΰ:"Ï
ÌÌ",á¿¢:"Ï
ÌÌ",á¿¡:"Ï
Ì",á¿ :"Ï
Ì",Ï:"ÏÌ",á½¼:"ÏÌ",Î:"Î¥Ì",Ὺ:"Î¥Ì",Ϋ:"Î¥Ì",á¿©:"Î¥Ì",Ῠ:"Î¥Ì",Î:"ΩÌ",Ὼ:"ΩÌ"};class Pr{constructor(a,o){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Nd(a,o,this.mode),this.settings=o,this.leftrightDepth=0}expect(a,o){if(o===void 0&&(o=!0),this.fetch().text!==a)throw new i("Expected '"+a+"', got '"+this.fetch().text+"'",this.fetch());o&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(a){this.mode=a,this.gullet.switchMode(a)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const a=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),a}finally{this.gullet.endGroups()}}subparse(a){const o=this.nextToken;this.consume(),this.gullet.pushToken(new Nt("}")),this.gullet.pushTokens(a);const h=this.parseExpression(!1);return this.expect("}"),this.nextToken=o,h}parseExpression(a,o){const h=[];for(;;){this.mode==="math"&&this.consumeSpaces();const m=this.fetch();if(Pr.endOfExpression.indexOf(m.text)!==-1||o&&m.text===o||a&&yn[m.text]&&yn[m.text].infix)break;const E=this.parseAtom(o);if(E){if(E.type==="internal")continue}else break;h.push(E)}return this.mode==="text"&&this.formLigatures(h),this.handleInfixNodes(h)}handleInfixNodes(a){let o=-1,h;for(let m=0;m<a.length;m++)if(a[m].type==="infix"){if(o!==-1)throw new i("only one infix operator per group",a[m].token);o=m,h=a[m].replaceWith}if(o!==-1&&h){let m,E;const T=a.slice(0,o),k=a.slice(o+1);T.length===1&&T[0].type==="ordgroup"?m=T[0]:m={type:"ordgroup",mode:this.mode,body:T},k.length===1&&k[0].type==="ordgroup"?E=k[0]:E={type:"ordgroup",mode:this.mode,body:k};let w;return h==="\\\\abovefrac"?w=this.callFunction(h,[m,a[o],E],[]):w=this.callFunction(h,[m,E],[]),[w]}else return a}handleSupSubscript(a){const o=this.fetch(),h=o.text;this.consume(),this.consumeSpaces();const m=this.parseGroup(a);if(!m)throw new i("Expected group after '"+h+"'",o);return m}formatUnsupportedCmd(a){const o=[];for(let E=0;E<a.length;E++)o.push({type:"textord",mode:"text",text:a[E]});const h={type:"text",mode:this.mode,body:o};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[h]}}parseAtom(a){const o=this.parseGroup("atom",a);if(this.mode==="text")return o;let h,m;for(;;){this.consumeSpaces();const E=this.fetch();if(E.text==="\\limits"||E.text==="\\nolimits"){if(o&&o.type==="op"){const T=E.text==="\\limits";o.limits=T,o.alwaysHandleSupSub=!0}else if(o&&o.type==="operatorname")o.alwaysHandleSupSub&&(o.limits=E.text==="\\limits");else throw new i("Limit controls must follow a math operator",E);this.consume()}else if(E.text==="^"){if(h)throw new i("Double superscript",E);h=this.handleSupSubscript("superscript")}
412else if(E.text==="_"){if(m)throw new i("Double subscript",E);m=this.handleSupSubscript("subscript")}else if(E.text==="'"){if(h)throw new i("Double superscript",E);const T={type:"textord",mode:this.mode,text:"\\prime"},k=[T];for(this.consume();this.fetch().text==="'";)k.push(T),this.consume();this.fetch().text==="^"&&k.push(this.handleSupSubscript("superscript")),h={type:"ordgroup",mode:this.mode,body:k}}else if(Fr[E.text]){const T=Qo.test(E.text),k=[];for(k.push(new Nt(Fr[E.text])),this.consume();;){const R=this.fetch().text;if(!Fr[R]||Qo.test(R)!==T)break;k.unshift(new Nt(Fr[R])),this.consume()}const w=this.subparse(k);T?m={type:"ordgroup",mode:"math",body:w}:h={type:"ordgroup",mode:"math",body:w}}else break}return h||m?{type:"supsub",mode:this.mode,base:o,sup:h,sub:m}:o}parseFunction(a,o){const h=this.fetch(),m=h.text,E=yn[m];if(!E)return null;if(this.consume(),o&&o!=="atom"&&!E.allowedInArgument)throw new i("Got function '"+m+"' with no arguments"+(o?" as "+o:""),h);if(this.mode==="text"&&!E.allowedInText)throw new i("Can't use function '"+m+"' in text mode",h);if(this.mode==="math"&&E.allowedInMath===!1)throw new i("Can't use function '"+m+"' in math mode",h);const{args:T,optArgs:k}=this.parseArguments(m,E);return this.callFunction(m,T,k,h,a)}callFunction(a,o,h,m,E){const T={funcName:a,parser:this,token:m,breakOnTokenText:E},k=yn[a];if(k&&k.handler)return k.handler(T,o,h);throw new i("No function handler for "+a)}parseArguments(a,o){const h=o.numArgs+o.numOptionalArgs;if(h===0)return{args:[],optArgs:[]};const m=[],E=[];for(let T=0;T<h;T++){let k=o.argTypes&&o.argTypes[T];const w=T<o.numOptionalArgs;(o.primitive&&k==null||o.type==="sqrt"&&T===1&&E[0]==null)&&(k="primitive");const R=this.parseGroupOfType("argument to '"+a+"'",k,w);if(w)E.push(R);else if(R!=null)m.push(R);else throw new i("Null argument, please report this as a bug")}return{args:m,optArgs:E}}parseGroupOfType(a,o,h){switch(o){case"color":return this.parseColorGroup(h);case"size":return this.parseSizeGroup(h);case"url":return this.parseUrlGroup(h);case"math":case"text":return this.parseArgumentGroup(h,o);case"hbox":{const m=this.parseArgumentGroup(h,"text");return m!=null?{type:"styling",mode:m.mode,body:[m],style:"text"}:null}case"raw":{const m=this.parseStringGroup("raw",h);return m!=null?{type:"raw",mode:"text",string:m.text}:null}case"primitive":{if(h)throw new i("A primitive argument cannot be optional");const m=this.parseGroup(a);if(m==null)throw new i("Expected group as "+a,this.fetch());return m}case"original":case null:case void 0:return this.parseArgumentGroup(h);default:throw new i("Unknown group type as "+a,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(a,o){const h=this.gullet.scanArgument(o);if(h==null)return null;let m="",E;for(;(E=this.fetch()).text!=="EOF";)m+=E.text,this.consume();return this.consume(),h.text=m,h}parseRegexGroup(a,o){const h=this.fetch();let m=h,E="",T;for(;(T=this.fetch()).text!=="EOF"&&a.test(E+T.text);)m=T,E+=m.text,this.consume();if(E==="")throw new i("Invalid "+o+": '"+h.text+"'",h);return h.range(m,E)}parseColorGroup(a){const o=this.parseStringGroup("color",a);if(o==null)return null;const h=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(o.text);if(!h)throw new i("Invalid color: '"+o.text+"'",o);let m=h[0];return/^[0-9a-f]{6}$/i.test(m)&&(m="#"+m),{type:"color-token",mode:this.mode,color:m}}parseSizeGroup(a){let o,h=!1;if(this.gullet.consumeSpaces(),!a&&this.gullet.future().text!=="{"?o=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):o=this.parseStringGroup("size",a),!o)return null;!a&&o.text.length===0&&(o.text="0pt",h=!0);const m=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(o.text);if(!m)throw new i("Invalid size: '"+o.text+"'",o);const E={number:+(m[1]+m[2]),unit:m[3]};if(!vu(E))throw new i("Invalid unit: '"+E.unit+"'",o);return{type:"size",mode:this.mode,value:E,isBlank:h}}parseUrlGroup(a){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const o=this.parseStringGroup("url",a);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),o==null)return null;const h=o.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:h}}parseArgumentGroup(a,o){const h=this.gullet.scanArgument(a);if(h==null)return null;const m=this.mode;o&&this.switchMode(o),this.gullet.beginGroup();const E=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const T={type:"ordgroup",mode:this.mode,loc:h.loc,body:E};return o&&this.switchMode(m),T}parseGroup(a,o){const h=this.fetch(),m=h.text;let E;if(m==="{"||m==="\\begingroup"){this.consume();const T=m==="{"?"}":"\\endgroup";this.gullet.beginGroup();const k=this.parseExpression(!1,T),w=this.fetch();this.expect(T),this.gullet.endGroup(),E={type:"ordgroup",mode:this.mode,loc:xt.range(h,w),body:k,semisimple:m==="\\begingroup"||void 0}}else if(E=this.parseFunction(o,a)||this.parseSymbol(),E==null&&m[0]==="\\"&&!Wo.hasOwnProperty(m)){if(this.settings.throwOnError)throw new i("Undefined control sequence: "+m,h);E=this.formatUnsupportedCmd(m),this.consume()}return E}formLigatures(a){let o=a.length-1;for(let h=0;h<o;++h){const m=a[h],E=m.text;E==="-"&&a[h+1].text==="-"&&(h+1<o&&a[h+2].text==="-"?(a.splice(h,3,{type:"textord",mode:"text",loc:xt.range(m,a[h+2]),text:"---"}),o-=2):(a.splice(h,2,{type:"textord",mode:"text",loc:xt.range(m,a[h+1]),text:"--"}),o-=1)),(E==="'"||E==="`")&&a[h+1].text===E&&(a.splice(h,2,{type:"textord",mode:"text",loc:xt.range(m,a[h+1]),text:E+E}),o-=1)}}parseSymbol(){const a=this.fetch();let o=a.text;if(/^\\verb[^a-zA-Z]/.test(o)){this.consume();let E=o.slice(5);const T=E.charAt(0)==="*";if(T&&(E=E.slice(1)),E.length<2||E.charAt(0)!==E.slice(-1))throw new i(`\\verb assertion failed -- 413 please report what input caused this bug`);return E=E.slice(1,-1),{type:"verb",mode:"text",body:E,star:T}}Zo.hasOwnProperty(o[0])&&!je[this.mode][o[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+o[0]+'" used in math mode',a),o=Zo[o[0]]+o.slice(1));const h=kd.exec(o);h&&(o=o.substring(0,h.index),o==="i"?o="ı":o==="j"&&(o="ȷ"));let m;
413if(je[this.mode][o]){this.settings.strict&&this.mode==="math"&&r0.indexOf(o)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+o[0]+'" used in math mode',a);const E=je[this.mode][o].group,T=xt.range(a);let k;if(kf.hasOwnProperty(E)){const w=E;k={type:"atom",mode:this.mode,family:w,loc:T,text:o}}else k={type:E,mode:this.mode,loc:T,text:o};m=k}else if(o.charCodeAt(0)>=128)this.settings.strict&&(Tr(o.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+o[0]+'" used in math mode',a):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+o[0]+'"'+(" ("+o.charCodeAt(0)+")"),a)),m={type:"textord",mode:"text",loc:xt.range(a),text:o};else return null;if(this.consume(),h)for(let E=0;E<h[0].length;E++){const T=h[0][E];if(!R0[T])throw new i("Unknown accent ' "+T+"'",a);const k=R0[T][this.mode]||R0[T].text;if(!k)throw new i("Accent "+T+" unsupported in "+this.mode+" mode",a);m={type:"accent",mode:this.mode,loc:xt.range(a),label:k,isStretchy:!1,isShifty:!0,base:m}}return m}}Pr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var B0=function(u,a){if(!(typeof u=="string"||u instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const o=new Pr(u,a);delete o.gullet.macros.current["\\df@tag"];let h=o.parse();if(delete o.gullet.macros.current["\\current@color"],delete o.gullet.macros.current["\\color"],o.gullet.macros.get("\\df@tag")){if(!a.displayMode)throw new i("\\tag works only in display equations");h=[{type:"tag",mode:"text",body:h,tag:o.subparse([new Nt("\\df@tag")])}]}return h};let Jo=function(u,a,o){a.textContent="";const h=F0(u,o).toNode();a.appendChild(h)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Jo=function(){throw new i("KaTeX doesn't work in quirks mode.")});const Id=function(u,a){return F0(u,a).toMarkup()},Dd=function(u,a){const o=new G(a);return B0(u,o)},ec=function(u,a,o){if(o.throwOnError||!(u instanceof i))throw u;const h=Y.makeSpan(["katex-error"],[new Ct(a)]);return h.setAttribute("title",u.toString()),h.setAttribute("style","color:"+o.errorColor),h},F0=function(u,a){const o=new G(a);try{const h=B0(u,o);return jf(h,u,o)}catch(h){return ec(h,u,o)}};var Od={version:"0.16.19",render:Jo,renderToString:Id,ParseError:i,SETTINGS_SCHEMA:$,__parse:Dd,__renderToDomTree:F0,__renderToHTMLTree:function(u,a){const o=new G(a);try{const h=B0(u,o);return Vf(h,u,o)}catch(h){return ec(h,u,o)}},__setFontMetrics:gf,__defineSymbol:p,__defineFunction:ae,__defineMacro:S,__domTree:{Span:ws,Anchor:n0,SymbolNode:Ct,SvgNode:an,PathNode:En,LineNode:s0}},Md=Od;return s=s.default,s})()})})(oi)),oi.exports}var ml;function Lb(){if(ml)return ts;ml=1;var e=ts&&ts.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(ts,"__esModule",{value:!0});const t=e(Mb());function n(x,D){const F=x.src[D-1],B=x.src[D],$=x.src[D+1];if(B!=="$")return{can_open:!1,can_close:!1};let j=!1,G=!1;return F!=="$"&&F!=="\\"&&(F===void 0||s(F)||!r(F))&&(j=!0),$!=="$"&&($==null||s($)||!r($))&&(G=!0),{can_open:j,can_close:G}}function s(x){return/^\s$/u.test(x)}function r(x){return/^[\w\d]$/u.test(x)}function i(x,D){const F=x.src[D-1],B=x.src[D],$=x.src[D+1],j=x.src[D+2];return B==="$"&&F!=="$"&&F!=="\\"&&$==="$"&&j!=="$"?{can_open:!0,can_close:!0}:{can_open:!1,can_close:!1}}function c(x,D){if(x.src[x.pos]!=="$")return!1;const F=x.tokens.at(-1);if(F?.type==="html_inline"&&/^<\w+.+[^/]>$/.test(F.content))return!1;let B=n(x,x.pos);if(!B.can_open)return D||(x.pending+="$"),x.pos+=1,!0;let $=x.pos+1,j=$,G;for(;(j=x.src.indexOf("$",j))!==-1;){for(G=j-1;x.src[G]==="\\";)G-=1;if((j-G)%2==1)break;j+=1}if(j===-1)return D||(x.pending+="$"),x.pos=$,!0;if(j-$===0)return D||(x.pending+="$$"),x.pos=$+1,!0;if(B=n(x,j),!B.can_close)return D||(x.pending+="$"),x.pos=$,!0;if(!D){const X=x.push("math_inline","math",0);X.markup="$",X.content=x.src.slice($,j)}return x.pos=j+1,!0}function l(x,D,F,B){var $,j,G,X=!1,Q,re=x.bMarks[D]+x.tShift[D],Z=x.eMarks[D];if(re+2>Z||x.src.slice(re,re+2)!=="$$")return!1;re+=2;let ce=x.src.slice(re,Z);if(B)return!0;
413for(ce.trim().slice(-2)==="$$"&&(ce=ce.trim().slice(0,-2),X=!0),j=D;!X&&(j++,!(j>=F||(re=x.bMarks[j]+x.tShift[j],Z=x.eMarks[j],re<Z&&x.tShift[j]<x.blkIndent)));)x.src.slice(re,Z).trim().slice(-2)==="$$"?(G=x.src.slice(0,Z).lastIndexOf("$$"),$=x.src.slice(re,G),X=!0):x.src.slice(re,Z).trim().includes("$$")&&(G=x.src.slice(0,Z).trim().indexOf("$$"),$=x.src.slice(re,G),X=!0);return x.line=j+1,Q=x.push("math_block","math",0),Q.block=!0,Q.content=(ce&&ce.trim()?ce+` 414`:"")+x.getLines(D+1,j,x.tShift[D],!0)+($&&$.trim()?$:""),Q.map=[D,x.line],Q.markup="$$",!0}function d(x,D,F,B){const $=x.bMarks[D]+x.tShift[D],j=x.eMarks[D];if(!x.src.slice($,j).match(/^\s*\\begin\s*\{([^{}]+)\}/))return!1;if(D>0){const he=x.bMarks[D-1]+x.tShift[D-1],fe=x.eMarks[D-1],Ee=x.src.slice(he,fe);if(!/^\s*$/.test(Ee))return!1}if(B)return!0;const Q=[];let re=D,Z,ce=!1;e:for(;!ce&&!(re>=F);re++){const he=x.bMarks[re]+x.tShift[re],fe=x.eMarks[re];if(he<fe&&x.tShift[re]<x.blkIndent)break;const Ee=x.src.slice(he,fe);for(const ve of Ee.matchAll(/(\\begin|\\end)\s*\{([^{}]+)\}/g))if(ve[1]==="\\begin")Q.push(ve[2].trim());else if(ve[1]==="\\end"&&(Q.pop(),!Q.length)){Z=x.src.slice(he,fe),ce=!0;break e}}x.line=re+1;const ye=x.push("math_block","math",0);return ye.block=!0,ye.content=(x.getLines(D,re,x.tShift[D],!0)+(Z??"")).trim(),ye.map=[D,x.line],ye.markup="$$",!0}function g(x,D){var F,B,$,j,G;if(x.src.slice(x.pos,x.pos+2)!=="$$")return!1;if(j=i(x,x.pos),!j.can_open)return D||(x.pending+="$$"),x.pos+=2,!0;for(F=x.pos+2,B=F;(B=x.src.indexOf("$$",B))!==-1;){for(G=B-1;x.src[G]==="\\";)G-=1;if((B-G)%2==1)break;B+=2}return B===-1?(D||(x.pending+="$$"),x.pos=F,!0):B-F===0?(D||(x.pending+="$$$$"),x.pos=F+2,!0):(j=i(x,B),j.can_close?(D||($=x.push("math_block","math",0),$.block=!0,$.markup="$$",$.content=x.src.slice(F,B)),x.pos=B+2,!0):(D||(x.pending+="$$"),x.pos=F,!0))}function _(x,D){const F=x.src.slice(x.pos);if(!/^\n\\begin/.test(F))return!1;if(x.pos+=1,D)return!0;const B=F.split(/\n/g).slice(1);let $;const j=[];e:for(var G=0;G<B.length;++G){const re=B[G];for(const Z of re.matchAll(/(\\begin|\\end)\s*\{([^{}]+)\}/g))if(Z[1]==="\\begin")j.push(Z[2].trim());else if(Z[1]==="\\end"&&(j.pop(),!j.length)){$=G;break e}}if(typeof $>"u")return!1;const X=B.slice(0,$+1).reduce((re,Z)=>re+Z.length,0)+$+1,Q=x.push("math_inline_bare_block","math",0);return Q.block=!0,Q.markup="$$",Q.content=F.slice(1,X),x.pos=x.pos+X,!0}function A(x,D,F,B){const $=x.tokens;for(let j=$.length-1;j>=0;j--){const G=$[j],X=[];if(G.type!=="html_block")continue;const Q=G.content;for(const re of Q.matchAll(B)){if(!re.groups)continue;const Z=re.groups.html_before_math,ce=re.groups.math,ye=re.groups.html_after_math;Z&&X.push({...G,type:"html_block",map:null,content:Z}),ce&&X.push({...G,type:D,map:null,content:ce,markup:F,block:!0,tag:"math"}),ye&&X.push({...G,type:"html_block",map:null,content:ye})}X.length>0&&$.splice(j,1,...X)}return!0}function N(x){return x.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function O(x,D){const F=D?.katex??t.default,B=D?.enableBareBlocks,$=D?.enableMathBlockInHtml,j=D?.enableMathInlineInHtml,G=D?.enableFencedBlocks;x.inline.ruler.after("escape","math_inline",c),x.inline.ruler.after("escape","math_inline_block",g),B&&x.inline.ruler.before("text","math_inline_bare_block",_),x.block.ruler.after("blockquote","math_block",(he,fe,Ee,ve)=>B&&d(he,fe,Ee,ve)?!0:l(he,fe,Ee,ve),{alt:["paragraph","reference","blockquote","list"]});const X=/(?<html_before_math>[\s\S]*?)\$\$(?<math>[\s\S]+?)\$\$(?<html_after_math>(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,Q=/(?<html_before_math>[\s\S]*?)\$(?<math>.*?)\$(?<html_after_math>(?:(?!\$.*?\$)[\s\S])*)/gm;$&&x.core.ruler.push("math_block_in_html_block",he=>A(he,"math_block","$$",X)),j&&x.core.ruler.push("math_inline_in_html_block",he=>A(he,"math_inline","$",Q));const re=he=>{const fe=/\\begin\{(align|equation|gather|cd|alignat)\}/ig.test(he);try{return F.renderToString(he,{...D,displayMode:fe})}catch(Ee){return D?.throwOnError&&console.log(Ee),`<span class="katex-error" title="${N(he)}">${N(Ee+"")}</span>`}},Z=(he,fe)=>{const Ee=he[fe].content,dt=Ee.length>2&&Ee[0]==="`"&&Ee[Ee.length-1]==="`"?Ee.slice(1,-1):Ee;return re(dt)},ce=he=>{try{return`<p class="katex-block">${F.renderToString(he,{...D,displayMode:!0})}</p>`}
414catch(fe){return D?.throwOnError&&console.log(fe),`<p class="katex-block katex-error" title="${N(he)}">${N(fe+"")}</p>`}},ye=(he,fe)=>ce(he[fe].content)+` 415`;if(x.renderer.rules.math_inline=Z,x.renderer.rules.math_inline_block=ye,x.renderer.rules.math_inline_bare_block=ye,x.renderer.rules.math_block=ye,G){const he="math",fe=x.renderer.rules.fence;x.renderer.rules.fence=function(Ee,ve,dt,sn,Ss){const Vn=Ee[ve];return Vn.info.trim().toLowerCase()===he&&G?ce(Vn.content)+` 416`:fe?.call(this,Ee,ve,dt,sn,Ss)||""}}}return ts.default=O,ts}var vb=Lb();const Rb=Tl(vb);function Bb(){const e=vt({html:!0,breaks:!0});return e.use(f7).use(d7).use(g7).use(T7),e}function Fb(e){return{transformer:e,parser:new Bs,beforeParse:new Bs,afterParse:new Bs,retransform:new Bs}}const Pb=`<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> 417`,Hb=`<svg width="16" height="16" viewBox="0 -3 24 24"><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> 418`,Ub="checkbox",pl={" ":Hb.trim(),x:Pb.trim()},zb={name:Ub,transform(e){return e.parser.tap(t=>{t.core.ruler.before("inline","checkbox",n=>{for(let s=2;s<n.tokens.length;s+=1){const r=n.tokens[s];if(r.type==="inline"&&r.content){const i=n.tokens[s-1].type,c=n.tokens[s-2].type;(i==="heading_open"||i==="paragraph_open"&&c==="list_item_open")&&(r.content=r.content.replace(/^\[(.)\] /,(l,d)=>pl[d]?`${pl[d]} `:l))}}return!1})}),{}}},qb="frontmatter",$b={name:qb,transform(e){return e.beforeParse.tap((t,n)=>{var s;const{content:r}=n;if(!/^---\r?\n/.test(r))return;const i=/\n---\r?\n/.exec(r);if(!i)return;const c=r.slice(4,i.index).trimEnd();let l;try{l=Db(c.replace(/\r?\n|\r/g,` 419`)),l?.markmap&&(l.markmap=Yb(l.markmap))}catch{return}n.frontmatter=l,n.parserOptions={...n.parserOptions,...(s=l?.markmap)==null?void 0:s.htmlParser},n.frontmatterInfo={lines:r.slice(0,i.index).split(` 420`).length+1,offset:i.index+i[0].length}}),{}}};function Yb(e){if(e)return["color","extraJs","extraCss"].forEach(t=>{e[t]!=null&&(e[t]=jb(e[t]))}),["duration","maxWidth","initialExpandLevel"].forEach(t=>{e[t]!=null&&(e[t]=Vb(e[t]))}),e}function jb(e){let t;return typeof e=="string"?t=[e]:Array.isArray(e)&&(t=e.filter(n=>n&&typeof n=="string")),t?.length?t:void 0}function Vb(e){if(!isNaN(+e))return+e}function wu(e,t){return t.type==="script"&&t.data.src?{...t,data:{...t.data,src:e.getFullUrl(t.data.src)}}:t}function Gb(e,t){return t.type==="stylesheet"&&t.data.href?{...t,data:{...t.data,href:e.getFullUrl(t.data.href)}}:t}const gl="hljs",Kb=["@highlightjs/[email protected]/highlight.min.js"].map(e=>Ba(e)),Xb=["@highlightjs/[email protected]/styles/default.min.css"].map(e=>kl(e)),Wb={versions:{hljs:"11.11.1"},preloadScripts:Kb,styles:Xb},La={name:gl,config:Wb,transform(e){var t,n,s;let r;const i=((n=(t=La.config)==null?void 0:t.preloadScripts)==null?void 0:n.map(d=>wu(e.transformer.urlBuilder,d)))||[],c=()=>(r||(r=xl(i)),r);let l=ns;return e.parser.tap(d=>{d.set({highlight:(g,_)=>{l();const{hljs:A}=window;return A?A.highlightAuto(g,_?[_]:void 0).value:(c().then(()=>{e.retransform.call()}),g)}})}),e.beforeParse.tap((d,g)=>{l=()=>{g.features[gl]=!0}}),{styles:(s=La.config)==null?void 0:s.styles}}};function Qb(e,t,n){return e.map(s=>{if(typeof s=="string"&&!s.includes("://")){s.startsWith("npm:")||(s=`npm:${s}`);const r=4+t.length;s.startsWith(`npm:${t}/`)&&(s=`${s.slice(0,r)}@${n}${s.slice(r)}`)}return s})}var Zb=["[email protected]/dist/fonts/KaTeX_AMS-Regular.woff2","[email protected]/dist/fonts/KaTeX_Caligraphic-Bold.woff2","[email protected]/dist/fonts/KaTeX_Caligraphic-Regular.woff2","[email protected]/dist/fonts/KaTeX_Fraktur-Bold.woff2","[email protected]/dist/fonts/KaTeX_Fraktur-Regular.woff2","[email protected]/dist/fonts/KaTeX_Main-Bold.woff2","[email protected]/dist/fonts/KaTeX_Main-BoldItalic.woff2","[email protected]/dist/fonts/KaTeX_Main-Italic.woff2","[email protected]/dist/fonts/KaTeX_Main-Regular.woff2","[email protected]/dist/fonts/KaTeX_Math-BoldItalic.woff2","[email protected]/dist/fonts/KaTeX_Math-Italic.woff2","[email protected]/dist/fonts/KaTeX_SansSerif-Bold.woff2","[email protected]/dist/fonts/KaTeX_SansSerif-Italic.woff2","[email protected]/dist/fonts/KaTeX_SansSerif-Regular.woff2","[email protected]/dist/fonts/KaTeX_Script-Regular.woff2","[email protected]/dist/fonts/KaTeX_Size1-Regular.woff2","[email protected]/dist/fonts/KaTeX_Size2-Regular.woff2","[email protected]/dist/fonts/KaTeX_Size3-Regular.woff2","[email protected]/dist/fonts/KaTeX_Size4-Regular.woff2","[email protected]/dist/fonts/KaTeX_Typewriter-Regular.woff2"];const ua="katex",Jb=["[email protected]/dist/katex.min.js"].map(e=>Ba(e)),Z1=Ba("[email protected]/webfontloader.js");Z1.data.defer=!0;const e9=["[email protected]/dist/katex.min.css"].map(e=>
420kl(e)),t9={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:Jb,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}){return[e]}}},Z1],styles:e9,resources:Zb};function n9(e){return e.default||e}const s9=n9(Rb),zs={name:ua,config:t9,transform(e){var t,n,s,r;let i;const c=((n=(t=zs.config)==null?void 0:t.preloadScripts)==null?void 0:n.map(_=>wu(e.transformer.urlBuilder,_)))||[],l=()=>(i||(i=xl(c)),i),d=(_,A)=>{const{katex:N}=window;return N?N.renderToString(_,{displayMode:A,throwOnError:!1}):(l().then(()=>{e.retransform.call()}),_)};let g=ns;return e.parser.tap(_=>{_.use(s9),["math_block","math_inline"].forEach(A=>{const N=(O,x)=>(g(),d(O[x].content,!!O[x].block));_.renderer.rules[A]=N})}),e.beforeParse.tap((_,A)=>{g=()=>{A.features[ua]=!0}}),e.afterParse.tap((_,A)=>{var N;const O=(N=A.frontmatter)==null?void 0:N.markmap;O&&["extraJs","extraCss"].forEach(x=>{var D,F;const B=O[x];B&&(O[x]=Qb(B,ua,((F=(D=zs.config)==null?void 0:D.versions)==null?void 0:F.katex)||""))})}),{styles:(s=zs.config)==null?void 0:s.styles,scripts:(r=zs.config)==null?void 0:r.scripts}}},r9="npmUrl",i9={name:r9,transform(e){return e.afterParse.tap((t,n)=>{const{frontmatter:s}=n,r=s?.markmap;r&&["extraJs","extraCss"].forEach(i=>{const c=r[i];c&&(r[i]=c.map(l=>l.startsWith("npm:")?e.transformer.urlBuilder.getFullUrl(l.slice(4)):l))})}),{}}},a9="sourceLines",u9={name:a9,transform(e){let t=0;return e.beforeParse.tap((n,s)=>{var r;t=((r=s.frontmatterInfo)==null?void 0:r.lines)||0}),e.parser.tap(n=>
420{n.renderer.renderAttrs=ac(n.renderer.renderAttrs,(s,r)=>{if(r.block&&r.map){const i=r.map.map(c=>c+t);r.attrSet("data-lines",i.join(","))}return s(r)}),n.renderer.rules.fence&&(n.renderer.rules.fence=ac(n.renderer.rules.fence,(s,r,i,...c)=>{let l=s(r,i,...c);const d=r[i];if(l.startsWith("<pre>")&&d.map){const g=d.map.map(_=>_+t);l=l.slice(0,4)+` data-lines="${g.join(",")}"`+l.slice(4)}return l}))}),{}}},o9=[$b,zs,La,i9,zb,u9],c9=o9;function J1(e){for(;!e.content&&e.children.length===1;)e=e.children[0];for(;e.children.length===1&&!e.children[0].content;)e={...e,children:e.children[0].children};return{...e,children:e.children.map(J1)}}class l9{constructor(t=c9){this.assetsMap={},this.urlBuilder=new nm,this.hooks=Fb(this),this.plugins=t.map(r=>typeof r=="function"?r():r);const n={};for(const{name:r,transform:i}of this.plugins)n[r]=i(this.hooks);this.assetsMap=n;const s=Bb();this.md=s,this.hooks.parser.call(s)}transform(t,n){var s;const r={content:t,features:{},parserOptions:n};this.hooks.beforeParse.call(this.md,r);let{content:i}=r;r.frontmatterInfo&&(i=i.slice(r.frontmatterInfo.offset));const c=this.md.render(i,{});this.hooks.afterParse.call(this.md,r);const l=J1(P5(c,r.parserOptions));return l.content||(l.content=`${((s=r.frontmatter)==null?void 0:s.title)||""}`),{...r,root:l}}resolveJS(t){return wu(this.urlBuilder,t)}resolveCSS(t){return Gb(this.urlBuilder,t)}getAssets(t){const n=[],s=[];t??(t=this.plugins.map(r=>r.name));for(const r of t.map(i=>this.assetsMap[i]))r&&(r.styles&&n.push(...r.styles),r.scripts&&s.push(...r.scripts));return{styles:n.map(r=>this.resolveCSS(r)),scripts:s.map(r=>this.resolveJS(r))}}getUsedAssets(t){const n=this.plugins.map(s=>s.name).filter(s=>t[s]);return this.getAssets(n)}}const ef=typeof navigator<"u"&&navigator.userAgent.includes("Macintosh"),h9=zd(qd),f9={autoFit:!1,color:e=>{var t;return h9(`${((t=e.state)==null?void 0:t.path)||""}`)},duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:ef,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1};function d9(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return(t>>>0).toString(36)}function kt(e){if(typeof e=="string"){const n=e;e=s=>s.matches(n)}const t=e;return function(){let n=Array.from(this.childNodes);return t&&(n=n.filter(s=>t(s))),n}}function m9(e){var t=0,n=e.children,s=n&&n.length;if(!s)t=1;else for(;--s>=0;)t+=n[s].value;e.value=t}function p9(){return this.eachAfter(m9)}function g9(e){var t=this,n,s=[t],r,i,c;do for(n=s.reverse(),s=[];t=n.pop();)if(e(t),r=t.children,r)for(i=0,c=r.length;i<c;++i)s.push(r[i]);while(s.length);return this}function b9(e){for(var t=this,n=[t],s,r;t=n.pop();)if(e(t),s=t.children,s)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function E9(e){for(var t=this,n=[t],s=[],r,i,c;t=n.pop();)if(s.push(t),r=t.children,r)for(i=0,c=r.length;i<c;++i)n.push(r[i]);for(;t=s.pop();)e(t);return this}function T9(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,s=t.children,r=s&&s.length;--r>=0;)n+=s[r].value;t.value=n})}function _9(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function y9(e){for(var t=this,n=A9(t,e),s=[t];t!==n;)t=t.parent,s.push(t);for(var r=s.length;e!==n;)s.splice(r,0,e),e=e.parent;return s}function A9(e,t){if(e===t)return e;var n=e.ancestors(),s=t.ancestors(),r=null;for(e=n.pop(),t=s.pop();e===t;)r=e,e=n.pop(),t=s.pop();return r}function x9(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function k9(){var e=[];return this.each(function(t){e.push(t)}),e}function S9(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function C9(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function Nu(e,t){var n=new ki(e),s=+e.value&&(n.value=e.value),r,i=[n],c,l,d,g;for(t==null&&(t=N9);r=i.pop();)if(s&&(r.value=+r.data.value),(l=t(r.data))&&(g=l.length))for(r.children=new Array(g),d=g-1;d>=0;--d)i.push(c=r.children[d]=new ki(l[d])),c.parent=r,c.depth=r.depth+1;return n.eachBefore(D9)}function w9(){return Nu(this).eachBefore(I9)}function N9(e){return e.children}function I9(e){e.data=e.data.data}function D9(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function ki(e){this.data=e,this.depth=this.height=0,this.parent=null}ki.prototype=Nu.prototype={constructor:ki,count:p9,each:g9,eachAfter:E9,eachBefore:b9,sum:T9,sort:_9,path:y9,ancestors:x9,descendants:k9,leaves:S9,links:C9,copy:w9};const O9="2.1.2",M9={version:O9},{version:L9}=M9,v9=Object.freeze({children:e=>e.children,nodeSize:e=>e.data.size,spacing:0});function nf(e){const t=Object.assign({},v9,e);function n(l){const d=t[l];return typeof d=="function"?d:()=>d}function s(l){const d=c(i(),l,g=>g.children);return d.update(),d.data}function r(){const l=n("nodeSize"),d=n("spacing");return class tf extends Nu.prototype.constructor{constructor(_){super(_)}copy(){const _=c(this.constructor,this,A=>A.children);return _.each(A=>A.data=A.data.data),_}get size(){return l(this)}spacing(_){return d(this,_)}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(){const _=this.ancestors();return _[_.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}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((_,A)=>tf.maxExtents(_,A.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}
420static maxExtents(_,A){return{top:Math.min(_.top,A.top),bottom:Math.max(_.bottom,A.bottom),left:Math.min(_.left,A.left),right:Math.max(_.right,A.right)}}}}function i(){const l=r(),d=n("nodeSize"),g=n("spacing");return class extends l{constructor(_){super(_),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 d(this.data)}spacing(_){return g(this.data,_.data)}get x(){return this.data.x}set x(_){this.data.x=_}get y(){return this.data.y}set y(_){this.data.y=_}update(){return sf(this),rf(this),this}}}function c(l,d,g){const _=(A,N)=>{const O=new l(A);Object.assign(O,{parent:N,depth:N===null?0:N.depth+1,height:0,length:1});const x=g(A)||[];return O.children=x.length===0?null:x.map(D=>_(D,O)),O.children&&Object.assign(O,O.children.reduce((D,F)=>({height:Math.max(D.height,F.height+1),length:D.length+F.length}),O)),O};return _(d,null)}return Object.assign(s,{nodeSize(l){return arguments.length?(t.nodeSize=l,s):t.nodeSize},spacing(l){return arguments.length?(t.spacing=l,s):t.spacing},children(l){return arguments.length?(t.children=l,s):t.children},hierarchy(l,d){const g=typeof d>"u"?t.children:d;return c(r(),l,g)},dump(l){const d=n("nodeSize"),g=_=>A=>{const N=_+" ",O=_+" ",{x,y:D}=A,F=d(A),B=A.children||[],$=B.length===0?" ":`,${N}children: [${O}${B.map(g(O)).join(O)}${N}],${_}`;return`{ size: [${F.join(", ")}],${N}x: ${x}, y: ${D}${$}},`};return g(` 421`)(l)}}),s}nf.version=L9;const sf=(e,t=0)=>(e.y=t,(e.children||[]).reduce((n,s)=>{const[r,i]=n;sf(s,e.y+e.ySize);const c=(r===0?s.lExt:s.rExt).bottom;r!==0&&B9(e,r,i);const l=Y9(c,r,i);return[r+1,l]},[0,null]),R9(e),$9(e),e),rf=(e,t,n)=>{typeof t>"u"&&(t=-e.relX-e.prelim,n=0);const s=t+e.relX;return e.relX=s+e.prelim-n,e.prelim=0,e.x=n+e.relX,(e.children||[]).forEach(r=>rf(r,s,e.x)),e},R9=e=>{(e.children||[]).reduce((t,n)=>{const[s,r]=t,i=s+n.shift,c=r+i+n.change;return n.relX+=c,[i,c]},[0,0])},B9=(e,t,n)=>{const s=e.children[t-1],r=e.children[t];let i=s,c=s.relX,l=r,d=r.relX,g=!0;for(;i&&l;){i.bottom>n.lowY&&(n=n.next);const _=c+i.prelim-(d+l.prelim)+i.xSize/2+l.xSize/2+i.spacing(l);(_>0||_<0&&g)&&(d+=_,F9(r,_),P9(e,t,n.index,_)),g=!1;const A=i.bottom,N=l.bottom;A<=N&&(i=U9(i),i&&(c+=i.relX)),A>=N&&(l=H9(l),l&&(d+=l.relX))}!i&&l?z9(e,t,l,d):i&&!l&&q9(e,t,i,c)},F9=(e,t)=>{e.relX+=t,e.lExtRelX+=t,e.rExtRelX+=t},P9=(e,t,n,s)=>{const r=e.children[t],i=t-n;if(i>1){const c=s/i;e.children[n+1].shift+=c,r.shift-=c,r.change-=s-c}},H9=e=>e.hasChildren?e.firstChild:e.lThr,U9=e=>e.hasChildren?e.lastChild:e.rThr,z9=(e,t,n,s)=>{const r=e.firstChild,i=r.lExt,c=e.children[t];i.lThr=n;const l=s-n.relX-r.lExtRelX;i.relX+=l,i.prelim-=l,r.lExt=c.lExt,r.lExtRelX=c.lExtRelX},q9=(e,t,n,s)=>{const r=e.children[t],i=r.rExt,c=e.children[t-1];i.rThr=n;const l=s-n.relX-r.rExtRelX;i.relX+=l,i.prelim-=l,r.rExt=c.rExt,r.rExtRelX=c.rExtRelX},$9=e=>{if(e.hasChildren){const t=e.firstChild,n=e.lastChild,s=(t.prelim+t.relX-t.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(e,{prelim:s,lExt:t.lExt,lExtRelX:t.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},Y9=(e,t,n)=>{for(;n!==null&&e>=n.lowY;)n=n.next;return{lowY:e,index:t,next:n}},j9=".markmap{--markmap-max-width: 9999px;--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;--markmap-highlight-node-bg: #ff02;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>div{width:var(--markmap-max-width);text-align:left}.markmap-foreign>div>div{display:inline-block}
421.markmap-highlight rect{fill:var(--markmap-highlight-node-bg)}.markmap-dark .markmap{--markmap-code-bg: #1a1b26;--markmap-code-color: #ddd;--markmap-circle-open-bg: #444;--markmap-text-color: #eee}",oa="g.markmap-node",V9="path.markmap-link",G9="g.markmap-highlight",ca=Hd();function bl(e){return Math.max(4-2*e.state.depth,1.5)}function El(e,t){const n=Ud(e,t);return e[n]}function la(e){e.stopPropagation()}const K9=new Bs;class Iu{constructor(t,n){this.options=f9,this._disposeList=[],this.handleZoom=s=>{const{transform:r}=s;this.g.attr("transform",r)},this.handlePan=s=>{s.preventDefault();const r=Ms(this.svg.node()),i=r.translate(-s.deltaX/r.k,-s.deltaY/r.k);this.svg.call(this.zoom.transform,i)},this.handleClick=(s,r)=>{let i=this.options.toggleRecursively;(ef?s.metaKey:s.ctrlKey)&&(i=!i),this.toggleNode(r,i)},this.ensureView=this.ensureVisible,this.svg=t.datum?t:Bd(t),this.styleNode=this.svg.append("style"),this.zoom=Fd().filter(s=>this.options.scrollForPan&&s.type==="wheel"?s.ctrlKey&&!s.button:(!s.ctrlKey||s.type==="wheel")&&!s.button).on("zoom",this.handleZoom),this.setOptions(n),this.state={id:this.options.id||this.svg.attr("id")||rm(),rect:{x1:0,y1:0,x2:0,y2:0}},this.g=this.svg.append("g"),this.g.append("g").attr("class","markmap-highlight"),this._observer=new ResizeObserver(om(()=>{this.renderData()},100)),this._disposeList.push(K9.tap(()=>{this.setData()}),()=>this._observer.disconnect())}getStyleContent(){const{style:t}=this.options,{id:n}=this.state,s=typeof t=="function"?t(n):"";return[this.options.embedGlobalCSS&&j9,s].filter(Boolean).join(` 422`)}updateStyle(){this.svg.attr("class",im(this.svg.attr("class"),"markmap",this.state.id));const t=this.getStyleContent();this.styleNode.text(t)}async toggleNode(t,n=!1){var s,r;const i=(s=t.payload)!=null&&s.fold?0:1;n?Fs(t,(c,l)=>{c.payload={...c.payload,fold:i},l()}):t.payload={...t.payload,fold:(r=t.payload)!=null&&r.fold?0:1},await this.renderData(t)}_initializeData(t){let n=0;const{color:s,initialExpandLevel:r}=this.options;let i=0,c=0;return Fs(t,(l,d,g)=>{var _,A,N,O;c+=1,l.children=(_=l.children)==null?void 0:_.map(D=>({...D})),n+=1,l.state={...l.state,depth:c,id:n,rect:{x:0,y:0,width:0,height:0},size:[0,0]},l.state.key=[(A=g?.state)==null?void 0:A.id,l.state.id].filter(Boolean).join(".")+d9(l.content),l.state.path=[(N=g?.state)==null?void 0:N.path,l.state.id].filter(Boolean).join("."),s(l);const x=((O=l.payload)==null?void 0:O.fold)===2;x?i+=1:(i||r>=0&&l.state.depth>=r)&&(l.payload={...l.payload,fold:1}),d(),x&&(i-=1),c-=1}),t}_relayout(){if(!this.state.data)return;this.g.selectAll(kt(oa)).selectAll(kt("foreignObject")).each(function(l){var d;const g=(d=this.firstChild)==null?void 0:d.firstChild,_=[g.scrollWidth,g.scrollHeight];l.state.size=_});const{spacingHorizontal:t,paddingX:n,spacingVertical:s}=this.options,r=nf({}).children(l=>{var d;if(!((d=l.payload)!=null&&d.fold))return l.children}).nodeSize(l=>{const[d,g]=l.data.state.size;return[g,d+(d?n*2:0)+t]}).spacing((l,d)=>l.parent===d.parent?s:s*2),i=r.hierarchy(this.state.data);r(i);const c=i.descendants();c.forEach(l=>{const d=l.data;d.state.rect={x:l.y,y:l.x-l.xSize/2,width:l.ySize-t,height:l.xSize}}),this.state.rect={x1:rc(c,l=>l.data.state.rect.x)||0,y1:rc(c,l=>l.data.state.rect.y)||0,x2:sc(c,l=>l.data.state.rect.x+l.data.state.rect.width)||0,y2:sc(c,l=>l.data.state.rect.y+l.data.state.rect.height)||0}}setOptions(t){this.options={...this.options,...t},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)}async setData(t,n){n&&this.setOptions(n),t&&(this.state.data=this._initializeData(t)),this.state.data&&(this.updateStyle(),await this.renderData())}async setHighlight(t){this.state.highlight=t||void 0,await this.renderData()}_getHighlightRect(t){const n=this.svg.node(),s=4/Ms(n).k,r={...t.state.rect};return r.x-=s,r.y-=s,r.width+=2*s,r.height+=2*s,r}async renderData(t){const{paddingX:n,autoFit:s,color:r,maxWidth:i}=this.options,c=this.state.data;if(!c)return;const l={},d={},g=[];Fs(c,(H,pe,et)=>{var Bt;(Bt=H.payload)!=null&&Bt.fold||pe(),l[H.state.id]=H,et&&(d[H.state.id]=et.state.id),g.push(H)});const _={},A={},N=H=>{!H||_[H.state.id]||Fs(H,(pe,et)=>{_[pe.state.id]=H.state.id,et()})},O=H=>A[_[H.state.id]]||c.state.rect,x=H=>(l[_[H.state.id]]||c).state.rect;A[c.state.id]=c.state.rect,t&&N(t);const{highlight:D}=this.state;let F=this.g.selectAll(kt(G9)).selectAll(kt("rect")).data(D?[this._getHighlightRect(D)]:[]).join("rect").attr("x",H=>H.x).attr("y",H=>H.y).attr("width",H=>H.width).attr("height",H=>H.height);const B=this.g.selectAll(kt(oa)).each(H=>{A[H.state.id]=H.state.rect}).data(g,H=>H.state.key),$=B.enter().append("g").attr("data-depth",H=>H.state.depth).attr("data-path",H=>H.state.path).each(H=>{N(l[d[H.state.id]])}),j=B.exit().each(H=>{N(l[d[H.state.id]])}),G=B.merge($).attr("class",H=>{var pe;return["markmap-node",((pe=H.payload)==null?void 0:pe.fold)&&"markmap-fold"].filter(
422Boolean).join(" ")}),X=G.selectAll(kt("line")).data(H=>[H],H=>H.state.key),Q=X.enter().append("line").attr("stroke",H=>r(H)).attr("stroke-width",0),re=X.merge(Q),Z=G.selectAll(kt("circle")).data(H=>{var pe;return(pe=H.children)!=null&&pe.length?[H]:[]},H=>H.state.key),ce=Z.enter().append("circle").attr("stroke-width",0).attr("r",0).on("click",(H,pe)=>this.handleClick(H,pe)).on("mousedown",la).merge(Z).attr("stroke",H=>r(H)).attr("fill",H=>{var pe;return(pe=H.payload)!=null&&pe.fold&&H.children?r(H):"var(--markmap-circle-open-bg)"}),ye=this._observer,he=G.selectAll(kt("foreignObject")).data(H=>[H],H=>H.state.key),fe=he.enter().append("foreignObject").attr("class","markmap-foreign").attr("x",n).attr("y",0).style("opacity",0).on("mousedown",la).on("dblclick",la);fe.append("xhtml:div").append("xhtml:div").html(H=>H.content).attr("xmlns","http://www.w3.org/1999/xhtml"),fe.each(function(){var H;const pe=(H=this.firstChild)==null?void 0:H.firstChild;ye.observe(pe)});const Ee=j.selectAll(kt("foreignObject"));Ee.each(function(){var H;const pe=(H=this.firstChild)==null?void 0:H.firstChild;ye.unobserve(pe)});const ve=fe.merge(he),dt=g.flatMap(H=>{var pe;return(pe=H.payload)!=null&&pe.fold?[]:H.children.map(et=>({source:H,target:et}))}),sn=this.g.selectAll(kt(V9)).data(dt,H=>H.target.state.key),Ss=sn.exit(),Vn=sn.enter().insert("path","g").attr("class","markmap-link").attr("data-depth",H=>H.target.state.depth).attr("data-path",H=>H.target.state.path).attr("d",H=>{const pe=O(H.target),et=[pe.x+pe.width,pe.y+pe.height];return ca({source:et,target:et})}).attr("stroke-width",0).merge(sn);this.svg.style("--markmap-max-width",i?`${i}px`:null),await new Promise(requestAnimationFrame),this._relayout(),F=F.data(D?[this._getHighlightRect(D)]:[]).join("rect"),this.transition(F).attr("x",H=>H.x).attr("y",H=>H.y).attr("width",H=>H.width).attr("height",H=>H.height),$.attr("transform",H=>{const pe=O(H);return`translate(${pe.x+pe.width-H.state.rect.width},${pe.y+pe.height-H.state.rect.height})`}),this.transition(j).attr("transform",H=>{const pe=x(H),et=pe.x+pe.width-H.state.rect.width,Bt=pe.y+pe.height-H.state.rect.height;return`translate(${et},${Bt})`}).remove(),this.transition(G).attr("transform",H=>`translate(${H.state.rect.x},${H.state.rect.y})`);const Qi=j.selectAll(kt("line"));this.transition(Qi).attr("x1",H=>H.state.rect.width).attr("stroke-width",0),Q.attr("x1",H=>H.state.rect.width).attr("x2",H=>H.state.rect.width),re.attr("y1",H=>H.state.rect.height).attr("y2",H=>H.state.rect.height),this.transition(re).attr("x1",-1).attr("x2",H=>H.state.rect.width+2).attr("stroke",H=>r(H)).attr("stroke-width",bl);const Zi=j.selectAll(kt("circle"));this.transition(Zi).attr("r",0).attr("stroke-width",0),ce.attr("cx",H=>H.state.rect.width).attr("cy",H=>H.state.rect.height),this.transition(ce).attr("r",6).attr("stroke-width","1.5"),this.transition(Ee).style("opacity",0),ve.attr("width",H=>Math.max(0,H.state.rect.width-n*2)).attr("height",H=>H.state.rect.height),this.transition(ve).style("opacity",1),this.transition(Ss).attr("d",H=>{const pe=x(H.target),et=[pe.x+pe.width,pe.y+pe.height];return ca({source:et,target:et})}).attr("stroke-width",0).remove(),this.transition(Vn).attr("stroke",H=>r(H.target)).attr("stroke-width",H=>bl(H.target)).attr("d",H=>{const pe=H.source,et=H.target,Bt=[pe.state.rect.x+pe.state.rect.width,pe.state.rect.y+pe.state.rect.height],Tr=[et.state.rect.x,et.state.rect.y+et.state.rect.height];return ca({source:Bt,target:Tr})}),s&&this.fit()}transition(t){const{duration:n}=this.options;return t.transition().duration(n)}async fit(t=this.options.maxInitialScale){const n=this.svg.node(),{width:s,height:r}=n.getBoundingClientRect(),{fitRatio:i}=this.options,{x1:c,y1:l,x2:d,y2:g}=this.state.rect,_=d-c,A=g-l,N=Math.min(s/_*i,r/A*i,t),O=Pd.translate((s-_*N)/2-c*N,(r-A*N)/2-l*N).scale(N);return this.transition(this.svg).call(this.zoom.transform,O).end().catch(ns)}findElement(t){let n;return this.g.selectAll(kt(oa)).each(function(s){s===t&&(n={data:s,g:this})}),n}async ensureVisible(t,n){var s;const r=(s=this.findElement(t))==null?void 0:s.data;if(!r)return;const i=this.svg.node(),c=i.getBoundingClientRect(),l=Ms(i),[d,g]=[r.state.rect.x,r.state.rect.x+r.state.rect.width+2].map(B=>B*l.k+l.x),[_,A]=[r.state.rect.y,r.state.rect.y+r.state.rect.height].map(B=>B*l.k+l.y),N={left:0,right:0,top:0,bottom:0,...n},O=[N.left-d,c.width-N.right-g],x=[N.top-_,c.height-N.bottom-A],D=O[0]*O[1]>0?El(O,Math.abs)/l.k:0,F=x[0]*x[1]>0?El(x,Math.abs)/l.k:0;if(D||F){const B=l.translate(D,F);return this.transition(this.svg).call(this.zoom.transform,B).end().catch(ns)}}async centerNode(t,n){var s;const r=(s=this.findElement(t))==null?void 0:s.data;if(!r)return;const i=this.svg.node(),c=i.getBoundingClientRect(),l=Ms(i),d=(r.state.rect.x+r.state.rect.width/2)*l.k+l.x,g=(r.state.rect.y+r.state.rect.height/2)*l.k+l.y,_={left:0,right:0,top:0,bottom:0,...n},A=(_.left+c.width-_.right)/2,N=(_.top+c.height-_.bottom)/2,O=(A-d)/l.k,x=(N-g)/l.k;if(O||x){const D=l.translate(O,x);return this.transition(this.svg).call(this.zoom.transform,D).end().catch(ns)}}async rescale(t){const n=this.svg.node(),{width:s,height:r}=n.getBoundingClientRect(),i=s/2,c=r/2,l=Ms(n),d=l.translate((i-l.x)*(1-t)/l.k,(c-l.
422y)*(1-t)/l.k).scale(t);return this.transition(this.svg).call(this.zoom.transform,d).end().catch(ns)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this._disposeList.forEach(t=>{t()})}static create(t,n,s=null){const r=new Iu(t,n);return s&&r.setData(s).then(()=>{r.fit()}),r}}function X9(e){const t=$d(),{markmap:n}=e,s=Yd(!1);return Ue.jsxs("div",{className:"flex flex-row gap-2 p-3",children:[Ue.jsxs(Ur,{children:[Ue.jsx(zr,{render:Ue.jsx(qr,{variant:"ghost",size:"icon",onClick:()=>n.current?.rescale(1.5)}),children:Ue.jsx(Wd,{size:20})}),Ue.jsx($r,{children:t.formatMessage({id:"general.zoomIn"})})]}),Ue.jsxs(Ur,{children:[Ue.jsx(zr,{render:Ue.jsx(qr,{variant:"ghost",size:"icon",onClick:()=>n.current?.rescale(.75)}),children:Ue.jsx(Zd,{size:20})}),Ue.jsx($r,{children:t.formatMessage({id:"general.zoomOut"})})]}),Ue.jsxs(Ur,{children:[Ue.jsx(zr,{render:Ue.jsx(qr,{variant:"ghost",size:"icon",onClick:()=>n.current?.fit()}),children:Ue.jsx(Kd,{size:20})}),Ue.jsx($r,{children:t.formatMessage({id:"general.fitScreen"})})]}),Ue.jsxs(Ur,{children:[Ue.jsx(zr,{render:Ue.jsx(qr,{variant:"ghost",size:"icon",className:jd({"bg-muted":s.isOpen}),onClick:()=>{s.toggle();const r=!s.isOpen;n.current?.setOptions({toggleRecursively:r})}}),children:Ue.jsx(Vd,{size:20})}),Ue.jsx($r,{children:t.formatMessage({id:"general.toggleRecursively"})})]})]})}const W9=new l9;function eT(e){const{value:t}=e,n=P0.useRef(null),s=P0.useRef(null);return P0.useEffect(()=>{const r=n.current;if(r&&!s.current){const i=Iu.create(r,{initialExpandLevel:3,paddingX:10,nodeMinHeight:10}),{root:c}=W9.transform(t);i.setData(c,{autoFit:!0}),s.current=i}},[t]),Ue.jsxs("div",{className:"relative h-[800px] w-full rounded-lg",children:[Ue.jsx("svg",{ref:n,className:"size-full"}),Ue.jsx("div",{className:"absolute top-0 left-0 z-10",children:Ue.jsx(X9,{markmap:s})})]})}export{eT as MarkMap,W9 as transformer};
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.