Files
docker-invoiceninja/docker/app/public/bundle.159ac362.js
2024-10-19 18:17:42 +00:00

16 lines
290 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{p as Ji,R as wt,P as Ft,o as sr,n as Zi,H as ea,c as oe,j as Ue,u as pu,a as ta,z as na,c7 as ra,bk as ua,c8 as ia,O as aa,c0 as sa,T as oa,c9 as ca,ca as la}from"./bundle.2fc363c8.js";function An(){return An=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},An.apply(this,arguments)}function ha(e,t){if(e==null)return{};var n=da(e,t),r,u;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(u=0;u<a.length;u++)r=a[u],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function da(e,t){if(e==null)return{};var n={},r=Object.keys(e),u,a;for(a=0;a<r.length;a++)u=r[a],!(t.indexOf(u)>=0)&&(n[u]=e[u]);return n}var wn=Ji.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,u=e.size,a=u===void 0?24:u,s=ha(e,["color","size"]);return wt.createElement("svg",An({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),wt.createElement("polygon",{points:"12 2 2 7 12 12 22 7 12 2"}),wt.createElement("polyline",{points:"2 17 12 22 22 17"}),wt.createElement("polyline",{points:"2 12 12 17 22 12"}))});wn.propTypes={color:Ft.string,size:Ft.oneOfType([Ft.string,Ft.number])};wn.displayName="Layers";const fa=wn;function or(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const s=n.slice(u,r).trim();(s||!a)&&t.push(s),u=r+1,r=n.indexOf(",",u)}return t}function Tu(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ea=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ma=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,pa={};function cr(e,t){return((t||pa).jsx?ma:Ea).test(e)}const Ta=/[ \t\n\f\r]/g;function ba(e){return typeof e=="object"?e.type==="text"?lr(e.value):!1:lr(e)}function lr(e){return e.replace(Ta,"")===""}class yt{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}yt.prototype.property={};yt.prototype.normal={};yt.prototype.space=null;function bu(e,t){const n={},r={};let u=-1;for(;++u<e.length;)Object.assign(n,e[u].property),Object.assign(r,e[u].normal);return new yt(n,r,t)}function Lt(e){return e.toLowerCase()}class ge{constructor(t,n){this.property=t,this.attribute=n}}ge.prototype.space=null;ge.prototype.boolean=!1;ge.prototype.booleanish=!1;ge.prototype.overloadedBoolean=!1;ge.prototype.number=!1;ge.prototype.commaSeparated=!1;ge.prototype.spaceSeparated=!1;ge.prototype.commaOrSpaceSeparated=!1;ge.prototype.mustUseProperty=!1;ge.prototype.defined=!1;let ga=0;const H=Xe(),ne=Xe(),gu=Xe(),L=Xe(),X=Xe(),nt=Xe(),me=Xe();function Xe(){return 2**++ga}const Cn=Object.freeze(Object.defineProperty({__proto__:null,boolean:H,booleanish:ne,commaOrSpaceSeparated:me,commaSeparated:nt,number:L,overloadedBoolean:gu,spaceSeparated:X},Symbol.toStringTag,{value:"Module"})),sn=Object.keys(Cn);class Fn extends ge{constructor(t,n,r,u){let a=-1;if(super(t,n),hr(this,"space",u),typeof r=="number")for(;++a<sn.length;){const s=sn[a];hr(this,sn[a],(r&Cn[s])===Cn[s])}}}Fn.prototype.defined=!0;function hr(e,t,n){n&&(e[t]=n)}const _a={}.hasOwnProperty;function at(e){const t={},n={};let r;for(r in e.properties)if(_a.call(e.properties,r)){const u=e.properties[r],a=new Fn(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Lt(r)]=r,n[Lt(a.attribute)]=r}return new yt(t,n,e.space)}const _u=at({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Au=at({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Cu(e,t){return t in e?e[t]:t}function Iu(e,t){return Cu(e,t.toLowerCase())}const Nu=at({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Iu,properties:{xmlns:null,xmlnsXLink:null}}),Su=at({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ne,ariaAutoComplete:null,ariaBusy:ne,ariaChecked:ne,ariaColCount:L,ariaColIndex:L,ariaColSpan:L,ariaControls:X,ariaCurrent:null,ariaDescribedBy:X,ariaDetails:null,ariaDisabled:ne,ariaDropEffect:X,ariaErrorMessage:null,ariaExpanded:ne,ariaFlowTo:X,ariaGrabbed:ne,ariaHasPopup:null,ariaHidden:ne,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:X,ariaLevel:L,ariaLive:null,ariaModal:ne,ariaMultiLine:ne,ariaMultiSelectable:ne,ariaOrientation:null,ariaOwns:X,ariaPlaceholder:null,ariaPosInSet:L,ariaPressed:ne,ariaReadOnly:ne,ariaRelevant:null,ariaRequired:ne,ariaRoleDescription:X,ariaRowCount:L,ariaRowIndex:L,ariaRowSpan:L,ariaSelected:ne,ariaSetSize:L,ariaSort:null,ariaValueMax:L,ariaValueMin:L,ariaValueNow:L,ariaValueText:null,role:null}}),Aa=at({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Iu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nt,acceptCharset:X,accessKey:X,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:X,autoFocus:H,autoPlay:H,blocking:X,capture:null,charSet:null,checked:H,cite:null,className:X,cols:L,colSpan:null,content:null,contentEditable:ne,controls:H,controlsList:X,coords:L|nt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:gu,draggable:ne,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:X,height:L,hidden:H,high:L,href:null,hrefLang:null,htmlFor:X,httpEquiv:X,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:X,itemRef:X,itemScope:H,itemType:X,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:L,manifest:null,max:null,maxLength:L,media:null,method:null,min:null,minLength:L,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:L,pattern:null,ping:X,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:X,required:H,reversed:H,rows:L,rowSpan:L,sandbox:X,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:L,sizes:null,slot:null,span:L,spellCheck:ne,src:null,srcDoc:null,srcLang:null,srcSet:null,start:L,step:null,style:null,tabIndex:L,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:ne,width:L,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:X,axis:null,background:null,bgColor:null,border:L,borderColor:null,bottomMargin:L,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:L,leftMargin:L,link:null,longDesc:null,lowSrc:null,marginHeight:L,marginWidth:L,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:L,rules:null,scheme:null,scrolling:ne,standby:null,summary:null,text:null,topMargin:L,valueType:null,version:null,vAlign:null,vLink:null,vSpace:L,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:L,security:null,unselectable:null}}),Ca=at({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Cu,properties:{about:me,accentHeight:L,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:L,amplitude:L,arabicForm:null,ascent:L,attributeName:null,attributeType:null,azimuth:L,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:L,by:null,calcMode:null,capHeight:L,className:X,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:L,diffuseConstant:L,direction:null,display:null,dur:null,divisor:L,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:L,enableBackground:null,end:null,event:null,exponent:L,externalResourcesRequired:null,fill:null,fillOpacity:L,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nt,g2:nt,glyphName:nt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:L,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:L,horizOriginX:L,horizOriginY:L,id:null,ideographic:L,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:L,k:L,k1:L,k2:L,k3:L,k4:L,kernelMatrix:me,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:L,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:L,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:L,overlineThickness:L,paintOrder:null,panose1:null,path:null,pathLength:L,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:X,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:L,pointsAtY:L,pointsAtZ:L,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:me,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:me,rev:me,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:me,requiredFeatures:me,requiredFonts:me,requiredFormats:me,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:L,specularExponent:L,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:L,strikethroughThickness:L,string:null,stroke:null,strokeDashArray:me,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:L,strokeOpacity:L,strokeWidth:null,style:null,surfaceScale:L,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:me,tabIndex:L,tableValues:null,target:null,targetX:L,targetY:L,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:me,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:L,underlineThickness:L,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:L,values:null,vAlphabetic:L,vMathematical:L,vectorEffect:null,vHanging:L,vIdeographic:L,version:null,vertAdvY:L,vertOriginX:L,vertOriginY:L,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:L,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Ia=/^data[-\w.:]+$/i,dr=/-[a-z]/g,Na=/[A-Z]/g;function $t(e,t){const n=Lt(t);let r=t,u=ge;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Ia.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(dr,Ra);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!dr.test(a)){let s=a.replace(Na,Sa);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}u=Fn}return new u(r,t)}function Sa(e){return"-"+e.toLowerCase()}function Ra(e){return e.charAt(1).toUpperCase()}const La={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Dt=bu([Au,_u,Nu,Su,Aa],"html"),Ye=bu([Au,_u,Nu,Su,Ca],"svg");function fr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ru(e){return e.join(" ").trim()}var Lu={},Er=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,xa=/\n/g,Oa=/^\s*/,ya=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Da=/^:\s*/,ka=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Pa=/^[;\s]*/,Ma=/^\s+|\s+$/g,Ba=`
`,mr="/",pr="*",Qe="",wa="comment",Fa="declaration",Ha=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function u(N){var x=N.match(xa);x&&(n+=x.length);var P=N.lastIndexOf(Ba);r=~P?N.length-P:r+N.length}function a(){var N={line:n,column:r};return function(x){return x.position=new s(N),h(),x}}function s(N){this.start=N,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function o(N){var x=new Error(t.source+":"+n+":"+r+": "+N);if(x.reason=N,x.filename=t.source,x.line=n,x.column=r,x.source=e,!t.silent)throw x}function c(N){var x=N.exec(e);if(x){var P=x[0];return u(P),e=e.slice(P.length),x}}function h(){c(Oa)}function f(N){var x;for(N=N||[];x=p();)x!==!1&&N.push(x);return N}function p(){var N=a();if(!(mr!=e.charAt(0)||pr!=e.charAt(1))){for(var x=2;Qe!=e.charAt(x)&&(pr!=e.charAt(x)||mr!=e.charAt(x+1));)++x;if(x+=2,Qe===e.charAt(x-1))return o("End of comment missing");var P=e.slice(2,x-2);return r+=2,u(P),e=e.slice(x),r+=2,N({type:wa,comment:P})}}function g(){var N=a(),x=c(ya);if(x){if(p(),!c(Da))return o("property missing ':'");var P=c(ka),O=N({type:Fa,property:Tr(x[0].replace(Er,Qe)),value:P?Tr(P[0].replace(Er,Qe)):Qe});return c(Pa),O}}function m(){var N=[];f(N);for(var x;x=g();)x!==!1&&(N.push(x),f(N));return N}return h(),m()};function Tr(e){return e?e.replace(Ma,Qe):Qe}var Ua=sr&&sr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Lu,"__esModule",{value:!0});var br=Lu.default=Ya,va=Ua(Ha);function Ya(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,va.default)(e),u=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var s=a.property,o=a.value;u?t(s,o,a):o&&(n=n||{},n[s]=o)}}),n}const za=br.default||br,Jt=xu("end"),Oe=xu("start");function xu(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function qa(e){const t=Oe(e),n=Jt(e);if(t&&n)return{start:t,end:n}}function gt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?gr(e.position):"start"in e||"end"in e?gr(e):"line"in e||"column"in e?In(e):""}function In(e){return _r(e&&e.line)+":"+_r(e&&e.column)}function gr(e){return In(e&&e.start)+"-"+In(e&&e.end)}function _r(e){return e&&typeof e=="number"?e:1}class ce extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",a={},s=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?u=t:!a.cause&&t&&(s=!0,u=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=o?o.line:void 0,this.name=gt(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}ce.prototype.file="";ce.prototype.name="";ce.prototype.reason="";ce.prototype.message="";ce.prototype.stack="";ce.prototype.column=void 0;ce.prototype.line=void 0;ce.prototype.ancestors=void 0;ce.prototype.cause=void 0;ce.prototype.fatal=void 0;ce.prototype.place=void 0;ce.prototype.ruleId=void 0;ce.prototype.source=void 0;const Hn={}.hasOwnProperty,Va=new Map,Qa=/[A-Z]/g,Wa=/-([a-z])/g,Ga=new Set(["table","tbody","thead","tfoot","tr"]),Xa=new Set(["td","th"]),Ou="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ja(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=rs(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=ns(n,t.jsx,t.jsxs)}const u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ye:Dt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=yu(u,e,void 0);return a&&typeof a!="string"?a:u.create(e,u.Fragment,{children:a||void 0},void 0)}function yu(e,t,n){if(t.type==="element")return Ka(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return $a(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Za(e,t,n);if(t.type==="mdxjsEsm")return Ja(e,t);if(t.type==="root")return es(e,t,n);if(t.type==="text")return ts(e,t)}function Ka(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=Ye,e.schema=u),e.ancestors.push(t);const a=ku(e,t.tagName,!1),s=us(e,t);let o=vn(e,t);return Ga.has(t.tagName)&&(o=o.filter(function(c){return typeof c=="string"?!ba(c):!0})),Du(e,s,a,t),Un(s,o),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function $a(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}xt(e,t.position)}function Ja(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);xt(e,t.position)}function Za(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=Ye,e.schema=u),e.ancestors.push(t);const a=t.name===null?e.Fragment:ku(e,t.name,!0),s=is(e,t),o=vn(e,t);return Du(e,s,a,t),Un(s,o),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function es(e,t,n){const r={};return Un(r,vn(e,t)),e.create(t,e.Fragment,r,n)}function ts(e,t){return t.value}function Du(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Un(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ns(e,t,n){return r;function r(u,a,s,o){const h=Array.isArray(s.children)?n:t;return o?h(a,s,o):h(a,s)}}function rs(e,t){return n;function n(r,u,a,s){const o=Array.isArray(a.children),c=Oe(r);return t(u,a,s,o,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function us(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Hn.call(t.properties,u)){const a=as(e,u,t.properties[u]);if(a){const[s,o]=a;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&Xa.has(t.tagName)?r=o:n[s]=o}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function is(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const s=a.expression;s.type;const o=s.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else xt(e,t.position);else{const u=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,a=e.evaluater.evaluateExpression(o.expression)}else xt(e,t.position);else a=r.value===null?!0:r.value;n[u]=a}return n}function vn(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:Va;for(;++r<t.children.length;){const a=t.children[r];let s;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const h=u.get(c)||0;s=c+"-"+h,u.set(c,h+1)}}const o=yu(e,a,s);o!==void 0&&n.push(o)}return n}function as(e,t,n){const r=$t(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Tu(n):Ru(n)),r.property==="style"){let u=typeof n=="object"?n:ss(e,String(n));return e.stylePropertyNameCase==="css"&&(u=os(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?La[r.property]||r.property:r.attribute,n]}}function ss(e,t){const n={};try{za(t,r)}catch(u){if(!e.ignoreInvalidStyle){const a=u,s=new ce("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=Ou+"#cannot-parse-style-attribute",s}}return n;function r(u,a){let s=u;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(Wa,ls)),n[s]=a}}function ku(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let a=-1,s;for(;++a<u.length;){const o=cr(u[a])?{type:"Identifier",name:u[a]}:{type:"Literal",value:u[a]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}r=s}else r=cr(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Hn.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);xt(e)}function xt(e,t){const n=new ce("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ou+"#cannot-handle-mdx-estrees-without-createevaluater",n}function os(e){const t={};let n;for(n in e)Hn.call(e,n)&&(t[cs(n)]=e[n]);return t}function cs(e){let t=e.replace(Qa,hs);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ls(e,t){return t.toUpperCase()}function hs(e){return"-"+e.toLowerCase()}const on={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},ds={};function fs(e,t){const n=t||ds,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Pu(e,r,u)}function Pu(e,t,n){if(Es(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ar(e.children,t,n)}return Array.isArray(e)?Ar(e,t,n):""}function Ar(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Pu(e[u],t,n);return r.join("")}function Es(e){return!!(e&&typeof e=="object")}const Cr=document.createElement("i");function Yn(e){const t="&"+e+";";Cr.innerHTML=t;const n=Cr.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Me(e,t,n,r){const u=e.length;let a=0,s;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<r.length;)s=r.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function be(e,t){return e.length>0?(Me(e,e.length,0,t),e):t}const Ir={}.hasOwnProperty;function ms(e){const t={};let n=-1;for(;++n<e.length;)ps(t,e[n]);return t}function ps(e,t){let n;for(n in t){const u=(Ir.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){Ir.call(u,s)||(u[s]=[]);const o=a[s];Ts(u[s],Array.isArray(o)?o:o?[o]:[])}}}function Ts(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Me(e,0,0,r)}function Mu(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"<22>":String.fromCodePoint(n)}function rt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Le=ze(/[A-Za-z]/),Te=ze(/[\dA-Za-z]/),bs=ze(/[#-'*+\--9=?A-Z^-~]/);function Nn(e){return e!==null&&(e<32||e===127)}const Sn=ze(/\d/),gs=ze(/[\dA-Fa-f]/),_s=ze(/[!-/:-@[-`{-~]/);function w(e){return e!==null&&e<-2}function fe(e){return e!==null&&(e<0||e===32)}function Q(e){return e===-2||e===-1||e===32}const As=ze(/\p{P}|\p{S}/u),Cs=ze(/\s/);function ze(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function st(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&Te(e.charCodeAt(n+1))&&Te(e.charCodeAt(n+2)))u=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(s=String.fromCharCode(a,o),u=1):s="<22>"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+u+1,s=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function j(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(c){return Q(c)?(e.enter(n),o(c)):t(c)}function o(c){return Q(c)&&a++<u?(e.consume(c),o):(e.exit(n),t(c))}}const Is={tokenize:Ns};function Ns(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),j(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),a(o)}function a(o){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return w(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const Ss={tokenize:Rs},Nr={tokenize:Ls};function Rs(e){const t=this,n=[];let r=0,u,a,s;return o;function o(D){if(r<n.length){const q=n[r];return t.containerState=q[1],e.attempt(q[0].continuation,c,h)(D)}return h(D)}function c(D){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&k();const q=t.events.length;let v=q,S;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){S=t.events[v][1].end;break}O(r);let V=q;for(;V<t.events.length;)t.events[V][1].end=Object.assign({},S),V++;return Me(t.events,v+1,0,t.events.slice(q)),t.events.length=V,h(D)}return o(D)}function h(D){if(r===n.length){if(!u)return g(D);if(u.currentConstruct&&u.currentConstruct.concrete)return N(D);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Nr,f,p)(D)}function f(D){return u&&k(),O(r),g(D)}function p(D){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,N(D)}function g(D){return t.containerState={},e.attempt(Nr,m,N)(D)}function m(D){return r++,n.push([t.currentConstruct,t.containerState]),g(D)}function N(D){if(D===null){u&&k(),O(0),e.consume(D);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:u}),x(D)}function x(D){if(D===null){P(e.exit("chunkFlow"),!0),O(0),e.consume(D);return}return w(D)?(e.consume(D),P(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(D),x)}function P(D,q){const v=t.sliceStream(D);if(q&&v.push(null),D.previous=a,a&&(a.next=D),a=D,u.defineSkip(D.start),u.write(v),t.parser.lazy[D.start.line]){let S=u.events.length;for(;S--;)if(u.events[S][1].start.offset<s&&(!u.events[S][1].end||u.events[S][1].end.offset>s))return;const V=t.events.length;let ee=V,W,K;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(W){K=t.events[ee][1].end;break}W=!0}for(O(r),S=V;S<t.events.length;)t.events[S][1].end=Object.assign({},K),S++;Me(t.events,ee+1,0,t.events.slice(V)),t.events.length=S}}function O(D){let q=n.length;for(;q-- >D;){const v=n[q];t.containerState=v[1],v[0].exit.call(t,e)}n.length=D}function k(){u.write([null]),a=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Ls(e,t,n){return j(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Sr(e){if(e===null||fe(e)||Cs(e))return 1;if(As(e))return 2}function zn(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const a=e[u].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Rn={name:"attention",tokenize:Os,resolveAll:xs};function xs(e,t){let n=-1,r,u,a,s,o,c,h,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p=Object.assign({},e[r][1].end),g=Object.assign({},e[n][1].start);Rr(p,-c),Rr(g,c),s={type:c>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[r][1].end)},o={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:g},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},u={type:c>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},s.start),e[n][1].start=Object.assign({},o.end),h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=be(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=be(h,[["enter",u,t],["enter",s,t],["exit",s,t],["enter",a,t]]),h=be(h,zn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=be(h,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,h=be(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Me(e,r-1,n-r+3,h),n=r+h.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Os(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Sr(r);let a;return s;function s(c){return a=c,e.enter("attentionSequence"),o(c)}function o(c){if(c===a)return e.consume(c),o;const h=e.exit("attentionSequence"),f=Sr(c),p=!f||f===2&&u||n.includes(c),g=!u||u===2&&f||n.includes(r);return h._open=!!(a===42?p:p&&(u||!g)),h._close=!!(a===42?g:g&&(f||!p)),t(c)}}function Rr(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ys={name:"autolink",tokenize:Ds};function Ds(e,t,n){let r=0;return u;function u(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return Le(m)?(e.consume(m),s):m===64?n(m):h(m)}function s(m){return m===43||m===45||m===46||Te(m)?(r=1,o(m)):h(m)}function o(m){return m===58?(e.consume(m),r=0,c):(m===43||m===45||m===46||Te(m))&&r++<32?(e.consume(m),o):(r=0,h(m))}function c(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Nn(m)?n(m):(e.consume(m),c)}function h(m){return m===64?(e.consume(m),f):bs(m)?(e.consume(m),h):n(m)}function f(m){return Te(m)?p(m):n(m)}function p(m){return m===46?(e.consume(m),r=0,f):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Te(m))&&r++<63){const N=m===45?g:p;return e.consume(m),N}return n(m)}}const Zt={tokenize:ks,partial:!0};function ks(e,t,n){return r;function r(a){return Q(a)?j(e,u,"linePrefix")(a):u(a)}function u(a){return a===null||w(a)?t(a):n(a)}}const Bu={name:"blockQuote",tokenize:Ps,continuation:{tokenize:Ms},exit:Bs};function Ps(e,t,n){const r=this;return u;function u(s){if(s===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return Q(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Ms(e,t,n){const r=this;return u;function u(s){return Q(s)?j(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Bu,t,n)(s)}}function Bs(e){e.exit("blockQuote")}const wu={name:"characterEscape",tokenize:ws};function ws(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),u}function u(a){return _s(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Fu={name:"characterReference",tokenize:Fs};function Fs(e,t,n){const r=this;let u=0,a,s;return o;function o(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),a=31,s=Te,f(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=gs,f):(e.enter("characterReferenceValue"),a=7,s=Sn,f(p))}function f(p){if(p===59&&u){const g=e.exit("characterReferenceValue");return s===Te&&!Yn(r.sliceSerialize(g))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(p)&&u++<a?(e.consume(p),f):n(p)}}const Lr={tokenize:Us,partial:!0},xr={name:"codeFenced",tokenize:Hs,concrete:!0};function Hs(e,t,n){const r=this,u={tokenize:v,partial:!0};let a=0,s=0,o;return c;function c(S){return h(S)}function h(S){const V=r.events[r.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,o=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(S)}function f(S){return S===o?(s++,e.consume(S),f):s<3?n(S):(e.exit("codeFencedFenceSequence"),Q(S)?j(e,p,"whitespace")(S):p(S))}function p(S){return S===null||w(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(Lr,x,q)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||w(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(S)):Q(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),j(e,m,"whitespace")(S)):S===96&&S===o?n(S):(e.consume(S),g)}function m(S){return S===null||w(S)?p(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),N(S))}function N(S){return S===null||w(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(S)):S===96&&S===o?n(S):(e.consume(S),N)}function x(S){return e.attempt(u,q,P)(S)}function P(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),O}function O(S){return a>0&&Q(S)?j(e,k,"linePrefix",a+1)(S):k(S)}function k(S){return S===null||w(S)?e.check(Lr,x,q)(S):(e.enter("codeFlowValue"),D(S))}function D(S){return S===null||w(S)?(e.exit("codeFlowValue"),k(S)):(e.consume(S),D)}function q(S){return e.exit("codeFenced"),t(S)}function v(S,V,ee){let W=0;return K;function K(z){return S.enter("lineEnding"),S.consume(z),S.exit("lineEnding"),B}function B(z){return S.enter("codeFencedFence"),Q(z)?j(S,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):M(z)}function M(z){return z===o?(S.enter("codeFencedFenceSequence"),$(z)):ee(z)}function $(z){return z===o?(W++,S.consume(z),$):W>=s?(S.exit("codeFencedFenceSequence"),Q(z)?j(S,te,"whitespace")(z):te(z)):ee(z)}function te(z){return z===null||w(z)?(S.exit("codeFencedFence"),V(z)):ee(z)}}}function Us(e,t,n){const r=this;return u;function u(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const cn={name:"codeIndented",tokenize:Ys},vs={tokenize:zs,partial:!0};function Ys(e,t,n){const r=this;return u;function u(h){return e.enter("codeIndented"),j(e,a,"linePrefix",4+1)(h)}function a(h){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?s(h):n(h)}function s(h){return h===null?c(h):w(h)?e.attempt(vs,s,c)(h):(e.enter("codeFlowValue"),o(h))}function o(h){return h===null||w(h)?(e.exit("codeFlowValue"),s(h)):(e.consume(h),o)}function c(h){return e.exit("codeIndented"),t(h)}}function zs(e,t,n){const r=this;return u;function u(s){return r.parser.lazy[r.now().line]?n(s):w(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),u):j(e,a,"linePrefix",4+1)(s)}function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):w(s)?u(s):n(s)}}const qs={name:"codeText",tokenize:Ws,resolve:Vs,previous:Qs};function Vs(e){let t=e.length-4,n=3,r,u;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function Qs(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ws(e,t,n){let r=0,u,a;return s;function s(p){return e.enter("codeText"),e.enter("codeTextSequence"),o(p)}function o(p){return p===96?(e.consume(p),r++,o):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(a=e.enter("codeTextSequence"),u=0,f(p)):w(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||w(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),h)}function f(p){return p===96?(e.consume(p),u++,f):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(a.type="codeTextData",h(p))}}class Gs{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const u=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&Et(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Et(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Et(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Et(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Et(this.left,n.reverse())}}}function Et(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Hu(e){const t={};let n=-1,r,u,a,s,o,c,h;const f=new Gs(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Xs(f,n)),n=t[n],h=!0);else if(r[1]._container){for(a=n,u=void 0;a--&&(s=f.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(u&&(f.get(u)[1].type="lineEndingBlank"),s[1].type="lineEnding",u=a);u&&(r[1].end=Object.assign({},f.get(u)[1].start),o=f.slice(u,n),o.unshift(r),f.splice(u,n-u+1,o))}}return Me(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!h}function Xs(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const a=[],s=n._tokenizer||r.parser[n.contentType](n.start),o=s.events,c=[],h={};let f,p,g=-1,m=n,N=0,x=0;const P=[x];for(;m;){for(;e.get(++u)[1]!==m;);a.push(u),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),p&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=m,m=m.next}for(m=n;++g<o.length;)o[g][0]==="exit"&&o[g-1][0]==="enter"&&o[g][1].type===o[g-1][1].type&&o[g][1].start.line!==o[g][1].end.line&&(x=g+1,P.push(x),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):P.pop(),g=P.length;g--;){const O=o.slice(P[g],P[g+1]),k=a.pop();c.push([k,k+O.length-1]),e.splice(k,2,O)}for(c.reverse(),g=-1;++g<c.length;)h[N+c[g][0]]=N+c[g][1],N+=c[g][1]-c[g][0]-1;return h}const js={tokenize:Js,resolve:$s},Ks={tokenize:Zs,partial:!0};function $s(e){return Hu(e),e}function Js(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?a(o):w(o)?e.check(Ks,s,a)(o):(e.consume(o),u)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function Zs(e,t,n){const r=this;return u;function u(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),j(e,a,"linePrefix")}function a(s){if(s===null||w(s))return n(s);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Uu(e,t,n,r,u,a,s,o,c){const h=c||Number.POSITIVE_INFINITY;let f=0;return p;function p(O){return O===60?(e.enter(r),e.enter(u),e.enter(a),e.consume(O),e.exit(a),g):O===null||O===32||O===41||Nn(O)?n(O):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),x(O))}function g(O){return O===62?(e.enter(a),e.consume(O),e.exit(a),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(O))}function m(O){return O===62?(e.exit("chunkString"),e.exit(o),g(O)):O===null||O===60||w(O)?n(O):(e.consume(O),O===92?N:m)}function N(O){return O===60||O===62||O===92?(e.consume(O),m):m(O)}function x(O){return!f&&(O===null||O===41||fe(O))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(O)):f<h&&O===40?(e.consume(O),f++,x):O===41?(e.consume(O),f--,x):O===null||O===32||O===40||Nn(O)?n(O):(e.consume(O),O===92?P:x)}function P(O){return O===40||O===41||O===92?(e.consume(O),x):x(O)}}function vu(e,t,n,r,u,a){const s=this;let o=0,c;return h;function h(m){return e.enter(r),e.enter(u),e.consume(m),e.exit(u),e.enter(a),f}function f(m){return o>999||m===null||m===91||m===93&&!c||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?n(m):m===93?(e.exit(a),e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):w(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===null||m===91||m===93||w(m)||o++>999?(e.exit("chunkString"),f(m)):(e.consume(m),c||(c=!Q(m)),m===92?g:p)}function g(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}}function Yu(e,t,n,r,u,a){let s;return o;function o(g){return g===34||g===39||g===40?(e.enter(r),e.enter(u),e.consume(g),e.exit(u),s=g===40?41:g,c):n(g)}function c(g){return g===s?(e.enter(u),e.consume(g),e.exit(u),e.exit(r),t):(e.enter(a),h(g))}function h(g){return g===s?(e.exit(a),c(s)):g===null?n(g):w(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),j(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===s||g===null||w(g)?(e.exit("chunkString"),h(g)):(e.consume(g),g===92?p:f)}function p(g){return g===s||g===92?(e.consume(g),f):f(g)}}function _t(e,t){let n;return r;function r(u){return w(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):Q(u)?j(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const eo={name:"definition",tokenize:no},to={tokenize:ro,partial:!0};function no(e,t,n){const r=this;let u;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return vu.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return u=rt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),c):n(m)}function c(m){return fe(m)?_t(e,h)(m):h(m)}function h(m){return Uu(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return e.attempt(to,p,p)(m)}function p(m){return Q(m)?j(e,g,"whitespace")(m):g(m)}function g(m){return m===null||w(m)?(e.exit("definition"),r.parser.defined.push(u),t(m)):n(m)}}function ro(e,t,n){return r;function r(o){return fe(o)?_t(e,u)(o):n(o)}function u(o){return Yu(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return Q(o)?j(e,s,"whitespace")(o):s(o)}function s(o){return o===null||w(o)?t(o):n(o)}}const uo={name:"hardBreakEscape",tokenize:io};function io(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),u}function u(a){return w(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const ao={name:"headingAtx",tokenize:oo,resolve:so};function so(e,t){let n=e.length-2,r=3,u,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Me(e,r,n-r+1,[["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t]])),e}function oo(e,t,n){let r=0;return u;function u(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),s(f)}function s(f){return f===35&&r++<6?(e.consume(f),s):f===null||fe(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),c(f)):f===null||w(f)?(e.exit("atxHeading"),t(f)):Q(f)?j(e,o,"whitespace")(f):(e.enter("atxHeadingText"),h(f))}function c(f){return f===35?(e.consume(f),c):(e.exit("atxHeadingSequence"),o(f))}function h(f){return f===null||f===35||fe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),h)}}const co=["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"],Or=["pre","script","style","textarea"],lo={name:"htmlFlow",tokenize:mo,resolveTo:Eo,concrete:!0},ho={tokenize:To,partial:!0},fo={tokenize:po,partial:!0};function Eo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function mo(e,t,n){const r=this;let u,a,s,o,c;return h;function h(b){return f(b)}function f(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),p}function p(b){return b===33?(e.consume(b),g):b===47?(e.consume(b),a=!0,x):b===63?(e.consume(b),u=3,r.interrupt?t:T):Le(b)?(e.consume(b),s=String.fromCharCode(b),P):n(b)}function g(b){return b===45?(e.consume(b),u=2,m):b===91?(e.consume(b),u=5,o=0,N):Le(b)?(e.consume(b),u=4,r.interrupt?t:T):n(b)}function m(b){return b===45?(e.consume(b),r.interrupt?t:T):n(b)}function N(b){const Ce="CDATA[";return b===Ce.charCodeAt(o++)?(e.consume(b),o===Ce.length?r.interrupt?t:M:N):n(b)}function x(b){return Le(b)?(e.consume(b),s=String.fromCharCode(b),P):n(b)}function P(b){if(b===null||b===47||b===62||fe(b)){const Ce=b===47,qe=s.toLowerCase();return!Ce&&!a&&Or.includes(qe)?(u=1,r.interrupt?t(b):M(b)):co.includes(s.toLowerCase())?(u=6,Ce?(e.consume(b),O):r.interrupt?t(b):M(b)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):a?k(b):D(b))}return b===45||Te(b)?(e.consume(b),s+=String.fromCharCode(b),P):n(b)}function O(b){return b===62?(e.consume(b),r.interrupt?t:M):n(b)}function k(b){return Q(b)?(e.consume(b),k):K(b)}function D(b){return b===47?(e.consume(b),K):b===58||b===95||Le(b)?(e.consume(b),q):Q(b)?(e.consume(b),D):K(b)}function q(b){return b===45||b===46||b===58||b===95||Te(b)?(e.consume(b),q):v(b)}function v(b){return b===61?(e.consume(b),S):Q(b)?(e.consume(b),v):D(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),c=b,V):Q(b)?(e.consume(b),S):ee(b)}function V(b){return b===c?(e.consume(b),c=null,W):b===null||w(b)?n(b):(e.consume(b),V)}function ee(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||fe(b)?v(b):(e.consume(b),ee)}function W(b){return b===47||b===62||Q(b)?D(b):n(b)}function K(b){return b===62?(e.consume(b),B):n(b)}function B(b){return b===null||w(b)?M(b):Q(b)?(e.consume(b),B):n(b)}function M(b){return b===45&&u===2?(e.consume(b),se):b===60&&u===1?(e.consume(b),ie):b===62&&u===4?(e.consume(b),Ae):b===63&&u===3?(e.consume(b),T):b===93&&u===5?(e.consume(b),ye):w(b)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(ho,De,$)(b)):b===null||w(b)?(e.exit("htmlFlowData"),$(b)):(e.consume(b),M)}function $(b){return e.check(fo,te,De)(b)}function te(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),z}function z(b){return b===null||w(b)?$(b):(e.enter("htmlFlowData"),M(b))}function se(b){return b===45?(e.consume(b),T):M(b)}function ie(b){return b===47?(e.consume(b),s="",_e):M(b)}function _e(b){if(b===62){const Ce=s.toLowerCase();return Or.includes(Ce)?(e.consume(b),Ae):M(b)}return Le(b)&&s.length<8?(e.consume(b),s+=String.fromCharCode(b),_e):M(b)}function ye(b){return b===93?(e.consume(b),T):M(b)}function T(b){return b===62?(e.consume(b),Ae):b===45&&u===2?(e.consume(b),T):M(b)}function Ae(b){return b===null||w(b)?(e.exit("htmlFlowData"),De(b)):(e.consume(b),Ae)}function De(b){return e.exit("htmlFlow"),t(b)}}function po(e,t,n){const r=this;return u;function u(s){return w(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function To(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Zt,t,n)}}const bo={name:"htmlText",tokenize:go};function go(e,t,n){const r=this;let u,a,s;return o;function o(T){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(T),c}function c(T){return T===33?(e.consume(T),h):T===47?(e.consume(T),v):T===63?(e.consume(T),D):Le(T)?(e.consume(T),ee):n(T)}function h(T){return T===45?(e.consume(T),f):T===91?(e.consume(T),a=0,N):Le(T)?(e.consume(T),k):n(T)}function f(T){return T===45?(e.consume(T),m):n(T)}function p(T){return T===null?n(T):T===45?(e.consume(T),g):w(T)?(s=p,ie(T)):(e.consume(T),p)}function g(T){return T===45?(e.consume(T),m):p(T)}function m(T){return T===62?se(T):T===45?g(T):p(T)}function N(T){const Ae="CDATA[";return T===Ae.charCodeAt(a++)?(e.consume(T),a===Ae.length?x:N):n(T)}function x(T){return T===null?n(T):T===93?(e.consume(T),P):w(T)?(s=x,ie(T)):(e.consume(T),x)}function P(T){return T===93?(e.consume(T),O):x(T)}function O(T){return T===62?se(T):T===93?(e.consume(T),O):x(T)}function k(T){return T===null||T===62?se(T):w(T)?(s=k,ie(T)):(e.consume(T),k)}function D(T){return T===null?n(T):T===63?(e.consume(T),q):w(T)?(s=D,ie(T)):(e.consume(T),D)}function q(T){return T===62?se(T):D(T)}function v(T){return Le(T)?(e.consume(T),S):n(T)}function S(T){return T===45||Te(T)?(e.consume(T),S):V(T)}function V(T){return w(T)?(s=V,ie(T)):Q(T)?(e.consume(T),V):se(T)}function ee(T){return T===45||Te(T)?(e.consume(T),ee):T===47||T===62||fe(T)?W(T):n(T)}function W(T){return T===47?(e.consume(T),se):T===58||T===95||Le(T)?(e.consume(T),K):w(T)?(s=W,ie(T)):Q(T)?(e.consume(T),W):se(T)}function K(T){return T===45||T===46||T===58||T===95||Te(T)?(e.consume(T),K):B(T)}function B(T){return T===61?(e.consume(T),M):w(T)?(s=B,ie(T)):Q(T)?(e.consume(T),B):W(T)}function M(T){return T===null||T===60||T===61||T===62||T===96?n(T):T===34||T===39?(e.consume(T),u=T,$):w(T)?(s=M,ie(T)):Q(T)?(e.consume(T),M):(e.consume(T),te)}function $(T){return T===u?(e.consume(T),u=void 0,z):T===null?n(T):w(T)?(s=$,ie(T)):(e.consume(T),$)}function te(T){return T===null||T===34||T===39||T===60||T===61||T===96?n(T):T===47||T===62||fe(T)?W(T):(e.consume(T),te)}function z(T){return T===47||T===62||fe(T)?W(T):n(T)}function se(T){return T===62?(e.consume(T),e.exit("htmlTextData"),e.exit("htmlText"),t):n(T)}function ie(T){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),_e}function _e(T){return Q(T)?j(e,ye,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):ye(T)}function ye(T){return e.enter("htmlTextData"),s(T)}}const qn={name:"labelEnd",tokenize:So,resolveTo:No,resolveAll:Io},_o={tokenize:Ro},Ao={tokenize:Lo},Co={tokenize:xo};function Io(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function No(e,t){let n=e.length,r=0,u,a,s,o;for(;n--;)if(u=e[n][1],a){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(a=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(s=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},h={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[s][1].end)},f={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[s-2][1].start)};return o=[["enter",c,t],["enter",h,t]],o=be(o,e.slice(a+1,a+r+3)),o=be(o,[["enter",f,t]]),o=be(o,zn(t.parser.constructs.insideSpan.null,e.slice(a+r+4,s-3),t)),o=be(o,[["exit",f,t],e[s-2],e[s-1],["exit",h,t]]),o=be(o,e.slice(s+1)),o=be(o,[["exit",c,t]]),Me(e,a,e.length,o),e}function So(e,t,n){const r=this;let u=r.events.length,a,s;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){a=r.events[u][1];break}return o;function o(g){return a?a._inactive?p(g):(s=r.parser.defined.includes(rt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(_o,f,s?f:p)(g):g===91?e.attempt(Ao,f,s?h:p)(g):s?f(g):p(g)}function h(g){return e.attempt(Co,f,p)(g)}function f(g){return t(g)}function p(g){return a._balanced=!0,n(g)}}function Ro(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),u}function u(p){return fe(p)?_t(e,a)(p):a(p)}function a(p){return p===41?f(p):Uu(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function s(p){return fe(p)?_t(e,c)(p):f(p)}function o(p){return n(p)}function c(p){return p===34||p===39||p===40?Yu(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function h(p){return fe(p)?_t(e,f)(p):f(p)}function f(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function Lo(e,t,n){const r=this;return u;function u(o){return vu.call(r,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(rt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function s(o){return n(o)}}function xo(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),u}function u(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const Oo={name:"labelStartImage",tokenize:yo,resolveAll:qn.resolveAll};function yo(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):n(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Do={name:"labelStartLink",tokenize:ko,resolveAll:qn.resolveAll};function ko(e,t,n){const r=this;return u;function u(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const ln={name:"lineEnding",tokenize:Po};function Po(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),j(e,t,"linePrefix")}}const qt={name:"thematicBreak",tokenize:Mo};function Mo(e,t,n){let r=0,u;return a;function a(h){return e.enter("thematicBreak"),s(h)}function s(h){return u=h,o(h)}function o(h){return h===u?(e.enter("thematicBreakSequence"),c(h)):r>=3&&(h===null||w(h))?(e.exit("thematicBreak"),t(h)):n(h)}function c(h){return h===u?(e.consume(h),r++,c):(e.exit("thematicBreakSequence"),Q(h)?j(e,o,"whitespace")(h):o(h))}}const de={name:"list",tokenize:Fo,continuation:{tokenize:Ho},exit:vo},Bo={tokenize:Yo,partial:!0},wo={tokenize:Uo,partial:!0};function Fo(e,t,n){const r=this,u=r.events[r.events.length-1];let a=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,s=0;return o;function o(m){const N=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(N==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Sn(m)){if(r.containerState.type||(r.containerState.type=N,e.enter(N,{_container:!0})),N==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(qt,n,h)(m):h(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(m)}return n(m)}function c(m){return Sn(m)&&++s<10?(e.consume(m),c):(!r.interrupt||s<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),h(m)):n(m)}function h(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Zt,r.interrupt?n:f,e.attempt(Bo,g,p))}function f(m){return r.containerState.initialBlankLine=!0,a++,g(m)}function p(m){return Q(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function Ho(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Zt,u,a);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,j(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!Q(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(wo,t,s)(o))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,j(e,e.attempt(de,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Uo(e,t,n){const r=this;return j(e,u,"listItemIndent",r.containerState.size+1);function u(a){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(a):n(a)}}function vo(e){e.exit(this.containerState.type)}function Yo(e,t,n){const r=this;return j(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function u(a){const s=r.events[r.events.length-1];return!Q(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const yr={name:"setextUnderline",tokenize:qo,resolveTo:zo};function zo(e,t){let n=e.length,r,u,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const s={type:"setextHeading",start:Object.assign({},e[u][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[u][1].type="setextHeadingText",a?(e.splice(u,0,["enter",s,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=s,e.push(["exit",s,t]),e}function qo(e,t,n){const r=this;let u;return a;function a(h){let f=r.events.length,p;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){p=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),u=h,s(h)):n(h)}function s(h){return e.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===u?(e.consume(h),o):(e.exit("setextHeadingLineSequence"),Q(h)?j(e,c,"lineSuffix")(h):c(h))}function c(h){return h===null||w(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const Vo={tokenize:Qo};function Qo(e){const t=this,n=e.attempt(Zt,r,e.attempt(this.parser.constructs.flowInitial,u,j(e,e.attempt(this.parser.constructs.flow,u,e.attempt(js,u)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Wo={resolveAll:qu()},Go=zu("string"),Xo=zu("text");function zu(e){return{tokenize:t,resolveAll:qu(e==="text"?jo:void 0)};function t(n){const r=this,u=this.parser.constructs[e],a=n.attempt(u,s,o);return s;function s(f){return h(f)?a(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),c}function c(f){return h(f)?(n.exit("data"),a(f)):(n.consume(f),c)}function h(f){if(f===null)return!0;const p=u[f];let g=-1;if(p)for(;++g<p.length;){const m=p[g];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function qu(e){return t;function t(n,r){let u=-1,a;for(;++u<=n.length;)a===void 0?n[u]&&n[u][1].type==="data"&&(a=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==a+2&&(n[a][1].end=n[u-1][1].end,n.splice(a+2,u-a-2),u=a+2),a=void 0);return e?e(n,r):n}}function jo(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],u=t.sliceStream(r);let a=u.length,s=-1,o=0,c;for(;a--;){const h=u[a];if(typeof h=="string"){for(s=h.length;h.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(h===-2)c=!0,o++;else if(h!==-1){a++;break}}if(o){const h={type:n===e.length||c||o<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-o,offset:r.end.offset-o,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},h.start),r.start.offset===r.end.offset?Object.assign(r,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}function Ko(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const u={},a=[];let s=[],o=[];const c={consume:k,enter:D,exit:q,attempt:V(v),check:V(S),interrupt:V(S,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:g,now:N,defineSkip:x,write:p};let f=t.tokenize.call(h,c);return t.resolveAll&&a.push(t),h;function p(B){return s=be(s,B),P(),s[s.length-1]!==null?[]:(ee(t,0),h.events=zn(a,h.events,h),h.events)}function g(B,M){return Jo(m(B),M)}function m(B){return $o(s,B)}function N(){const{line:B,column:M,offset:$,_index:te,_bufferIndex:z}=r;return{line:B,column:M,offset:$,_index:te,_bufferIndex:z}}function x(B){u[B.line]=B.column,K()}function P(){let B;for(;r._index<s.length;){const M=s[r._index];if(typeof M=="string")for(B=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===B&&r._bufferIndex<M.length;)O(M.charCodeAt(r._bufferIndex));else O(M)}}function O(B){f=f(B)}function k(B){w(B)?(r.line++,r.column=1,r.offset+=B===-3?2:1,K()):B!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),h.previous=B}function D(B,M){const $=M||{};return $.type=B,$.start=N(),h.events.push(["enter",$,h]),o.push($),$}function q(B){const M=o.pop();return M.end=N(),h.events.push(["exit",M,h]),M}function v(B,M){ee(B,M.from)}function S(B,M){M.restore()}function V(B,M){return $;function $(te,z,se){let ie,_e,ye,T;return Array.isArray(te)?De(te):"tokenize"in te?De([te]):Ae(te);function Ae(ae){return ht;function ht(Be){const Ke=Be!==null&&ae[Be],$e=Be!==null&&ae.null,Bt=[...Array.isArray(Ke)?Ke:Ke?[Ke]:[],...Array.isArray($e)?$e:$e?[$e]:[]];return De(Bt)(Be)}}function De(ae){return ie=ae,_e=0,ae.length===0?se:b(ae[_e])}function b(ae){return ht;function ht(Be){return T=W(),ye=ae,ae.partial||(h.currentConstruct=ae),ae.name&&h.parser.constructs.disable.null.includes(ae.name)?qe():ae.tokenize.call(M?Object.assign(Object.create(h),M):h,c,Ce,qe)(Be)}}function Ce(ae){return B(ye,T),z}function qe(ae){return T.restore(),++_e<ie.length?b(ie[_e]):se}}}function ee(B,M){B.resolveAll&&!a.includes(B)&&a.push(B),B.resolve&&Me(h.events,M,h.events.length-M,B.resolve(h.events.slice(M),h)),B.resolveTo&&(h.events=B.resolveTo(h.events,h))}function W(){const B=N(),M=h.previous,$=h.currentConstruct,te=h.events.length,z=Array.from(o);return{restore:se,from:te};function se(){r=B,h.previous=M,h.currentConstruct=$,h.events.length=te,o=z,K()}}function K(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function $o(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,a=t.end._bufferIndex;let s;if(n===u)s=[e[n].slice(r,a)];else{if(s=e.slice(n,u),r>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(r):s.shift()}a>0&&s.push(e[u].slice(0,a))}return s}function Jo(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
`;break}case-3:{s=`\r
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&u)continue;s=" ";break}default:s=String.fromCharCode(a)}u=a===-2,r.push(s)}return r.join("")}const Zo={42:de,43:de,45:de,48:de,49:de,50:de,51:de,52:de,53:de,54:de,55:de,56:de,57:de,62:Bu},ec={91:eo},tc={[-2]:cn,[-1]:cn,32:cn},nc={35:ao,42:qt,45:[yr,qt],60:lo,61:yr,95:qt,96:xr,126:xr},rc={38:Fu,92:wu},uc={[-5]:ln,[-4]:ln,[-3]:ln,33:Oo,38:Fu,42:Rn,60:[ys,bo],91:Do,92:[uo,wu],93:qn,95:Rn,96:qs},ic={null:[Rn,Wo]},ac={null:[42,95]},sc={null:[]},oc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:ac,contentInitial:ec,disable:sc,document:Zo,flow:nc,flowInitial:tc,insideSpan:ic,string:rc,text:uc},Symbol.toStringTag,{value:"Module"}));function cc(e){const n=ms([oc,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:u(Is),document:u(Ss),flow:u(Vo),string:u(Go),text:u(Xo)};return r;function u(a){return s;function s(o){return Ko(r,a,o)}}}function lc(e){for(;!Hu(e););return e}const Dr=/[\0\t\n\r]/g;function hc(){let e=1,t="",n=!0,r;return u;function u(a,s,o){const c=[];let h,f,p,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),p=0,t="",n&&(a.charCodeAt(0)===65279&&p++,n=void 0);p<a.length;){if(Dr.lastIndex=p,h=Dr.exec(a),g=h&&h.index!==void 0?h.index:a.length,m=a.charCodeAt(g),!h){t=a.slice(p);break}if(m===10&&p===g&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<g&&(c.push(a.slice(p,g)),e+=g-p),m){case 0:{c.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,c.push(-2);e++<f;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=g+1}return o&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const dc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fc(e){return e.replace(dc,Ec)}function Ec(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),a=u===120||u===88;return Mu(n.slice(a?2:1),a?16:10)}return Yn(n)||e}const Vu={}.hasOwnProperty;function mc(e,t,n){return typeof t!="string"&&(n=t,t=void 0),pc(n)(lc(cc(n).document().write(hc()(e,t,!0))))}function pc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(ir),autolinkProtocol:W,autolinkEmail:W,atxHeading:a(nr),blockQuote:a($e),characterEscape:W,characterReference:W,codeFenced:a(Bt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Bt,s),codeText:a(qi,s),codeTextData:W,data:W,codeFlowValue:W,definition:a(Vi),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Qi),hardBreakEscape:a(rr),hardBreakTrailing:a(rr),htmlFlow:a(ur,s),htmlFlowData:W,htmlText:a(ur,s),htmlTextData:W,image:a(Wi),label:s,link:a(ir),listItem:a(Gi),listItemValue:g,listOrdered:a(ar,p),listUnordered:a(ar),paragraph:a(Xi),reference:b,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(nr),strong:a(ji),thematicBreak:a($i)},exit:{atxHeading:c(),atxHeadingSequence:v,autolink:c(),autolinkEmail:Ke,autolinkProtocol:Be,blockQuote:c(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:qe,characterReferenceMarkerNumeric:qe,characterReferenceValue:ae,characterReference:ht,codeFenced:c(P),codeFencedFence:x,codeFencedFenceInfo:m,codeFencedFenceMeta:N,codeFlowValue:K,codeIndented:c(O),codeText:c(z),codeTextData:K,data:K,definition:c(),definitionDestinationString:q,definitionLabelString:k,definitionTitleString:D,emphasis:c(),hardBreakEscape:c(M),hardBreakTrailing:c(M),htmlFlow:c($),htmlFlowData:K,htmlText:c(te),htmlTextData:K,image:c(ie),label:ye,labelText:_e,lineEnding:B,link:c(se),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Ce,resourceDestinationString:T,resourceTitleString:Ae,resource:De,setextHeading:c(ee),setextHeadingLineSequence:V,setextHeadingText:S,strong:c(),thematicBreak:c()}};Qu(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(I){let y={type:"root",children:[]};const F={stack:[y],tokenStack:[],config:t,enter:o,exit:h,buffer:s,resume:f,data:n},Y=[];let G=-1;for(;++G<I.length;)if(I[G][1].type==="listOrdered"||I[G][1].type==="listUnordered")if(I[G][0]==="enter")Y.push(G);else{const Ie=Y.pop();G=u(I,Ie,G)}for(G=-1;++G<I.length;){const Ie=t[I[G][0]];Vu.call(Ie,I[G][1].type)&&Ie[I[G][1].type].call(Object.assign({sliceSerialize:I[G][2].sliceSerialize},F),I[G][1])}if(F.tokenStack.length>0){const Ie=F.tokenStack[F.tokenStack.length-1];(Ie[1]||kr).call(F,void 0,Ie[0])}for(y.position={start:we(I.length>0?I[0][1].start:{line:1,column:1,offset:0}),end:we(I.length>0?I[I.length-2][1].end:{line:1,column:1,offset:0})},G=-1;++G<t.transforms.length;)y=t.transforms[G](y)||y;return y}function u(I,y,F){let Y=y-1,G=-1,Ie=!1,Ve,ke,dt,ft;for(;++Y<=F;){const Ee=I[Y];switch(Ee[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ee[0]==="enter"?G++:G--,ft=void 0;break}case"lineEndingBlank":{Ee[0]==="enter"&&(Ve&&!ft&&!G&&!dt&&(dt=Y),ft=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ft=void 0}if(!G&&Ee[0]==="enter"&&Ee[1].type==="listItemPrefix"||G===-1&&Ee[0]==="exit"&&(Ee[1].type==="listUnordered"||Ee[1].type==="listOrdered")){if(Ve){let Je=Y;for(ke=void 0;Je--;){const Pe=I[Je];if(Pe[1].type==="lineEnding"||Pe[1].type==="lineEndingBlank"){if(Pe[0]==="exit")continue;ke&&(I[ke][1].type="lineEndingBlank",Ie=!0),Pe[1].type="lineEnding",ke=Je}else if(!(Pe[1].type==="linePrefix"||Pe[1].type==="blockQuotePrefix"||Pe[1].type==="blockQuotePrefixWhitespace"||Pe[1].type==="blockQuoteMarker"||Pe[1].type==="listItemIndent"))break}dt&&(!ke||dt<ke)&&(Ve._spread=!0),Ve.end=Object.assign({},ke?I[ke][1].start:Ee[1].end),I.splice(ke||Y,0,["exit",Ve,Ee[2]]),Y++,F++}if(Ee[1].type==="listItemPrefix"){const Je={type:"listItem",_spread:!1,start:Object.assign({},Ee[1].start),end:void 0};Ve=Je,I.splice(Y,0,["enter",Je,Ee[2]]),Y++,F++,dt=void 0,ft=!0}}}return I[y][1]._spread=Ie,F}function a(I,y){return F;function F(Y){o.call(this,I(Y),Y),y&&y.call(this,Y)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(I,y,F){this.stack[this.stack.length-1].children.push(I),this.stack.push(I),this.tokenStack.push([y,F]),I.position={start:we(y.start),end:void 0}}function c(I){return y;function y(F){I&&I.call(this,F),h.call(this,F)}}function h(I,y){const F=this.stack.pop(),Y=this.tokenStack.pop();if(Y)Y[0].type!==I.type&&(y?y.call(this,I,Y[0]):(Y[1]||kr).call(this,I,Y[0]));else throw new Error("Cannot close `"+I.type+"` ("+gt({start:I.start,end:I.end})+"): its not open");F.position.end=we(I.end)}function f(){return fs(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function g(I){if(this.data.expectingFirstListItemValue){const y=this.stack[this.stack.length-2];y.start=Number.parseInt(this.sliceSerialize(I),10),this.data.expectingFirstListItemValue=void 0}}function m(){const I=this.resume(),y=this.stack[this.stack.length-1];y.lang=I}function N(){const I=this.resume(),y=this.stack[this.stack.length-1];y.meta=I}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function P(){const I=this.resume(),y=this.stack[this.stack.length-1];y.value=I.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function O(){const I=this.resume(),y=this.stack[this.stack.length-1];y.value=I.replace(/(\r?\n|\r)$/g,"")}function k(I){const y=this.resume(),F=this.stack[this.stack.length-1];F.label=y,F.identifier=rt(this.sliceSerialize(I)).toLowerCase()}function D(){const I=this.resume(),y=this.stack[this.stack.length-1];y.title=I}function q(){const I=this.resume(),y=this.stack[this.stack.length-1];y.url=I}function v(I){const y=this.stack[this.stack.length-1];if(!y.depth){const F=this.sliceSerialize(I).length;y.depth=F}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function V(I){const y=this.stack[this.stack.length-1];y.depth=this.sliceSerialize(I).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function W(I){const F=this.stack[this.stack.length-1].children;let Y=F[F.length-1];(!Y||Y.type!=="text")&&(Y=Ki(),Y.position={start:we(I.start),end:void 0},F.push(Y)),this.stack.push(Y)}function K(I){const y=this.stack.pop();y.value+=this.sliceSerialize(I),y.position.end=we(I.end)}function B(I){const y=this.stack[this.stack.length-1];if(this.data.atHardBreak){const F=y.children[y.children.length-1];F.position.end=we(I.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(y.type)&&(W.call(this,I),K.call(this,I))}function M(){this.data.atHardBreak=!0}function $(){const I=this.resume(),y=this.stack[this.stack.length-1];y.value=I}function te(){const I=this.resume(),y=this.stack[this.stack.length-1];y.value=I}function z(){const I=this.resume(),y=this.stack[this.stack.length-1];y.value=I}function se(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const y=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=y,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function ie(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const y=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=y,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function _e(I){const y=this.sliceSerialize(I),F=this.stack[this.stack.length-2];F.label=fc(y),F.identifier=rt(y).toLowerCase()}function ye(){const I=this.stack[this.stack.length-1],y=this.resume(),F=this.stack[this.stack.length-1];if(this.data.inReference=!0,F.type==="link"){const Y=I.children;F.children=Y}else F.alt=y}function T(){const I=this.resume(),y=this.stack[this.stack.length-1];y.url=I}function Ae(){const I=this.resume(),y=this.stack[this.stack.length-1];y.title=I}function De(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function Ce(I){const y=this.resume(),F=this.stack[this.stack.length-1];F.label=y,F.identifier=rt(this.sliceSerialize(I)).toLowerCase(),this.data.referenceType="full"}function qe(I){this.data.characterReferenceType=I.type}function ae(I){const y=this.sliceSerialize(I),F=this.data.characterReferenceType;let Y;F?(Y=Mu(y,F==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Y=Yn(y);const G=this.stack[this.stack.length-1];G.value+=Y}function ht(I){const y=this.stack.pop();y.position.end=we(I.end)}function Be(I){K.call(this,I);const y=this.stack[this.stack.length-1];y.url=this.sliceSerialize(I)}function Ke(I){K.call(this,I);const y=this.stack[this.stack.length-1];y.url="mailto:"+this.sliceSerialize(I)}function $e(){return{type:"blockquote",children:[]}}function Bt(){return{type:"code",lang:null,meta:null,value:""}}function qi(){return{type:"inlineCode",value:""}}function Vi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qi(){return{type:"emphasis",children:[]}}function nr(){return{type:"heading",depth:0,children:[]}}function rr(){return{type:"break"}}function ur(){return{type:"html",value:""}}function Wi(){return{type:"image",title:null,url:"",alt:null}}function ir(){return{type:"link",title:null,url:"",children:[]}}function ar(I){return{type:"list",ordered:I.type==="listOrdered",start:null,spread:I._spread,children:[]}}function Gi(I){return{type:"listItem",spread:I._spread,checked:null,children:[]}}function Xi(){return{type:"paragraph",children:[]}}function ji(){return{type:"strong",children:[]}}function Ki(){return{type:"text",value:""}}function $i(){return{type:"thematicBreak"}}}function we(e){return{line:e.line,column:e.column,offset:e.offset}}function Qu(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Qu(e,r):Tc(e,r)}}function Tc(e,t){let n;for(n in t)if(Vu.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function kr(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+gt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+gt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+gt({start:t.start,end:t.end})+") is still open")}function bc(e){const t=this;t.parser=n;function n(r){return mc(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function gc(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function _c(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
`}]}function Ac(e,t){const n=t.value?t.value+`
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let u={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u=e.applyData(t,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(t,u),u}function Cc(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ic(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Nc(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=st(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let s,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=a+1,o+=1,e.footnoteCounts.set(r,o);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,c);const h={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,h),e.applyData(t,h)}function Sc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Rc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Wu(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const u=e.all(t),a=u[0];a&&a.type==="text"?a.value="["+a.value:u.unshift({type:"text",value:"["});const s=u[u.length-1];return s&&s.type==="text"?s.value+=r:u.push({type:"text",value:r}),u}function Lc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Wu(e,t);const u={src:st(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(u.title=r.title);const a={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,a),e.applyData(t,a)}function xc(e,t){const n={src:st(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Oc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function yc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Wu(e,t);const u={href:st(r.url||"")};r.title!==null&&r.title!==void 0&&(u.title=r.title);const a={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Dc(e,t){const n={href:st(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function kc(e,t,n){const r=e.all(t),u=n?Pc(n):Gu(t),a={},s=[];if(typeof t.checked=="boolean"){const f=r[0];let p;f&&f.type==="element"&&f.tagName==="p"?p=f:(p={type:"element",tagName:"p",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const f=r[o];(u||o!==0||f.type!=="element"||f.tagName!=="p")&&s.push({type:"text",value:`
`}),f.type==="element"&&f.tagName==="p"&&!u?s.push(...f.children):s.push(f)}const c=r[r.length-1];c&&(u||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
`});const h={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,h),e.applyData(t,h)}function Pc(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Gu(n[r])}return t}function Gu(e){const t=e.spread;return t??e.children.length>1}function Mc(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const s=r[u];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Bc(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wc(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Fc(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hc(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),u.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Oe(t.children[1]),c=Jt(t.children[t.children.length-1]);o&&c&&(s.position={start:o,end:c}),u.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,a),e.applyData(t,a)}function Uc(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,o=s?s.length:t.children.length;let c=-1;const h=[];for(;++c<o;){const p=t.children[c],g={},m=s?s[c]:void 0;m&&(g.align=m);let N={type:"element",tagName:a,properties:g,children:[]};p&&(N.children=e.all(p),e.patch(p,N),N=e.applyData(p,N)),h.push(N)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,f),e.applyData(t,f)}function vc(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Pr=9,Mr=32;function Yc(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const a=[];for(;r;)a.push(Br(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return a.push(Br(t.slice(u),u>0,!1)),a.join("")}function Br(e,t,n){let r=0,u=e.length;if(t){let a=e.codePointAt(r);for(;a===Pr||a===Mr;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(u-1);for(;a===Pr||a===Mr;)u--,a=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function zc(e,t){const n={type:"text",value:Yc(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function qc(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Vc={blockquote:gc,break:_c,code:Ac,delete:Cc,emphasis:Ic,footnoteReference:Nc,heading:Sc,html:Rc,imageReference:Lc,image:xc,inlineCode:Oc,linkReference:yc,link:Dc,listItem:kc,list:Mc,paragraph:Bc,root:wc,strong:Fc,table:Hc,tableCell:vc,tableRow:Uc,text:zc,thematicBreak:qc,toml:Ht,yaml:Ht,definition:Ht,footnoteDefinition:Ht};function Ht(){}const Xu=-1,en=0,Gt=1,Xt=2,Vn=3,Qn=4,Wn=5,Gn=6,ju=7,Ku=8,wr=typeof self=="object"?self:globalThis,Qc=(e,t)=>{const n=(u,a)=>(e.set(a,u),u),r=u=>{if(e.has(u))return e.get(u);const[a,s]=t[u];switch(a){case en:case Xu:return n(s,u);case Gt:{const o=n([],u);for(const c of s)o.push(r(c));return o}case Xt:{const o=n({},u);for(const[c,h]of s)o[r(c)]=r(h);return o}case Vn:return n(new Date(s),u);case Qn:{const{source:o,flags:c}=s;return n(new RegExp(o,c),u)}case Wn:{const o=n(new Map,u);for(const[c,h]of s)o.set(r(c),r(h));return o}case Gn:{const o=n(new Set,u);for(const c of s)o.add(r(c));return o}case ju:{const{name:o,message:c}=s;return n(new wr[o](c),u)}case Ku:return n(BigInt(s),u);case"BigInt":return n(Object(BigInt(s)),u)}return n(new wr[a](s),u)};return r},Fr=e=>Qc(new Map,e)(0),Ze="",{toString:Wc}={},{keys:Gc}=Object,mt=e=>{const t=typeof e;if(t!=="object"||!e)return[en,t];const n=Wc.call(e).slice(8,-1);switch(n){case"Array":return[Gt,Ze];case"Object":return[Xt,Ze];case"Date":return[Vn,Ze];case"RegExp":return[Qn,Ze];case"Map":return[Wn,Ze];case"Set":return[Gn,Ze]}return n.includes("Array")?[Gt,n]:n.includes("Error")?[ju,n]:[Xt,n]},Ut=([e,t])=>e===en&&(t==="function"||t==="symbol"),Xc=(e,t,n,r)=>{const u=(s,o)=>{const c=r.push(s)-1;return n.set(o,c),c},a=s=>{if(n.has(s))return n.get(s);let[o,c]=mt(s);switch(o){case en:{let f=s;switch(c){case"bigint":o=Ku,f=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);f=null;break;case"undefined":return u([Xu],s)}return u([o,f],s)}case Gt:{if(c)return u([c,[...s]],s);const f=[],p=u([o,f],s);for(const g of s)f.push(a(g));return p}case Xt:{if(c)switch(c){case"BigInt":return u([c,s.toString()],s);case"Boolean":case"Number":case"String":return u([c,s.valueOf()],s)}if(t&&"toJSON"in s)return a(s.toJSON());const f=[],p=u([o,f],s);for(const g of Gc(s))(e||!Ut(mt(s[g])))&&f.push([a(g),a(s[g])]);return p}case Vn:return u([o,s.toISOString()],s);case Qn:{const{source:f,flags:p}=s;return u([o,{source:f,flags:p}],s)}case Wn:{const f=[],p=u([o,f],s);for(const[g,m]of s)(e||!(Ut(mt(g))||Ut(mt(m))))&&f.push([a(g),a(m)]);return p}case Gn:{const f=[],p=u([o,f],s);for(const g of s)(e||!Ut(mt(g)))&&f.push(a(g));return p}}const{message:h}=s;return u([o,{name:c,message:h}],s)};return a},Hr=(e,{json:t,lossy:n}={})=>{const r=[];return Xc(!(t||n),!!t,new Map,r)(e),r},ut=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Fr(Hr(e,t)):structuredClone(e):(e,t)=>Fr(Hr(e,t));function jc(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Kc(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function $c(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||jc,r=e.options.footnoteBackLabel||Kc,u=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let c=-1;for(;++c<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[c]);if(!h)continue;const f=e.all(h),p=String(h.identifier).toUpperCase(),g=st(p.toLowerCase());let m=0;const N=[],x=e.footnoteCounts.get(p);for(;x!==void 0&&++m<=x;){N.length>0&&N.push({type:"text",value:" "});let k=typeof n=="string"?n:n(c,m);typeof k=="string"&&(k={type:"text",value:k}),N.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,m),className:["data-footnote-backref"]},children:Array.isArray(k)?k:[k]})}const P=f[f.length-1];if(P&&P.type==="element"&&P.tagName==="p"){const k=P.children[P.children.length-1];k&&k.type==="text"?k.value+=" ":P.children.push({type:"text",value:" "}),P.children.push(...N)}else f.push(...N);const O={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(f,!0)};e.patch(h,O),o.push(O)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...ut(s),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
`}]}}const $u=function(e){if(e==null)return tl;if(typeof e=="function")return tn(e);if(typeof e=="object")return Array.isArray(e)?Jc(e):Zc(e);if(typeof e=="string")return el(e);throw new Error("Expected function, string, or object as test")};function Jc(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=$u(e[n]);return tn(r);function r(...u){let a=-1;for(;++a<t.length;)if(t[a].apply(this,u))return!0;return!1}}function Zc(e){const t=e;return tn(n);function n(r){const u=r;let a;for(a in e)if(u[a]!==t[a])return!1;return!0}}function el(e){return tn(t);function t(n){return n&&n.type===e}}function tn(e){return t;function t(n,r,u){return!!(nl(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function tl(){return!0}function nl(e){return e!==null&&typeof e=="object"&&"type"in e}const Ju=[],rl=!0,Ur=!1,ul="skip";function il(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const a=$u(u),s=r?-1:1;o(e,void 0,[])();function o(c,h,f){const p=c&&typeof c=="object"?c:{};if(typeof p.type=="string"){const m=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(c.type+(m?"<"+m+">":""))+")"})}return g;function g(){let m=Ju,N,x,P;if((!t||a(c,h,f[f.length-1]||void 0))&&(m=al(n(c,f)),m[0]===Ur))return m;if("children"in c&&c.children){const O=c;if(O.children&&m[0]!==ul)for(x=(r?O.children.length:-1)+s,P=f.concat(O);x>-1&&x<O.children.length;){const k=O.children[x];if(N=o(k,x,P)(),N[0]===Ur)return N;x=typeof N[1]=="number"?N[1]:x+s}}return m}}}function al(e){return Array.isArray(e)?e:typeof e=="number"?[rl,e]:e==null?Ju:[e]}function Xn(e,t,n,r){let u,a,s;typeof t=="function"&&typeof n!="function"?(a=void 0,s=t,u=n):(a=t,s=n,u=r),il(e,a,o,u);function o(c,h){const f=h[h.length-1],p=f?f.children.indexOf(c):void 0;return s(c,p,f)}}const Ln={}.hasOwnProperty,sl={};function ol(e,t){const n=t||sl,r=new Map,u=new Map,a=new Map,s={...Vc,...n.handlers},o={all:h,applyData:ll,definitionById:r,footnoteById:u,footnoteCounts:a,footnoteOrder:[],handlers:s,one:c,options:n,patch:cl,wrap:dl};return Xn(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const p=f.type==="definition"?r:u,g=String(f.identifier).toUpperCase();p.has(g)||p.set(g,f)}}),o;function c(f,p){const g=f.type,m=o.handlers[g];if(Ln.call(o.handlers,g)&&m)return m(o,f,p);if(o.options.passThrough&&o.options.passThrough.includes(g)){if("children"in f){const{children:x,...P}=f,O=ut(P);return O.children=o.all(f),O}return ut(f)}return(o.options.unknownHandler||hl)(o,f,p)}function h(f){const p=[];if("children"in f){const g=f.children;let m=-1;for(;++m<g.length;){const N=o.one(g[m],f);if(N){if(m&&g[m-1].type==="break"&&(!Array.isArray(N)&&N.type==="text"&&(N.value=vr(N.value)),!Array.isArray(N)&&N.type==="element")){const x=N.children[0];x&&x.type==="text"&&(x.value=vr(x.value))}Array.isArray(N)?p.push(...N):p.push(N)}}}return p}}function cl(e,t){e.position&&(t.position=qa(e))}function ll(e,t){let n=t;if(e&&e.data){const r=e.data.hName,u=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&a&&Object.assign(n.properties,ut(a)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function hl(e,t){const n=t.data||{},r="value"in t&&!(Ln.call(n,"hProperties")||Ln.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function dl(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
`});++r<e.length;)r&&n.push({type:"text",value:`
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
`}),n}function vr(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Yr(e,t){const n=ol(e,t),r=n.one(e,void 0),u=$c(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&a.children.push({type:"text",value:`
`},u),a}function fl(e,t){return e&&"run"in e?async function(n,r){const u=Yr(n,{file:r,...t});await e.run(u,r)}:function(n,r){return Yr(n,{file:r,...e||t})}}function zr(e){if(e)throw e}var Vt=Object.prototype.hasOwnProperty,Zu=Object.prototype.toString,qr=Object.defineProperty,Vr=Object.getOwnPropertyDescriptor,Qr=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Zu.call(t)==="[object Array]"},Wr=function(t){if(!t||Zu.call(t)!=="[object Object]")return!1;var n=Vt.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Vt.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var u;for(u in t);return typeof u>"u"||Vt.call(t,u)},Gr=function(t,n){qr&&n.name==="__proto__"?qr(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Xr=function(t,n){if(n==="__proto__")if(Vt.call(t,n)){if(Vr)return Vr(t,n).value}else return;return t[n]},El=function e(){var t,n,r,u,a,s,o=arguments[0],c=1,h=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},c=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});c<h;++c)if(t=arguments[c],t!=null)for(n in t)r=Xr(o,n),u=Xr(t,n),o!==u&&(f&&u&&(Wr(u)||(a=Qr(u)))?(a?(a=!1,s=r&&Qr(r)?r:[]):s=r&&Wr(r)?r:{},Gr(o,{name:n,newValue:e(f,s,u)})):typeof u<"u"&&Gr(o,{name:n,newValue:u}));return o};const hn=Zi(El);function xn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ml(){const e=[],t={run:n,use:r};return t;function n(...u){let a=-1;const s=u.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...u);function o(c,...h){const f=e[++a];let p=-1;if(c){s(c);return}for(;++p<u.length;)(h[p]===null||h[p]===void 0)&&(h[p]=u[p]);u=h,f?pl(f,o)(...h):s(null,...h)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function pl(e,t){let n;return r;function r(...s){const o=e.length>s.length;let c;o&&s.push(u);try{c=e.apply(this,s)}catch(h){const f=h;if(o&&n)throw f;return u(f)}o||(c&&c.then&&typeof c.then=="function"?c.then(a,u):c instanceof Error?u(c):a(c))}function u(s,...o){n||(n=!0,t(s,...o))}function a(s){u(null,s)}}const Re={basename:Tl,dirname:bl,extname:gl,join:_l,sep:"/"};function Tl(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');kt(e);let n=0,r=-1,u=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(a){n=u+1;break}}else r<0&&(a=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(a){n=u+1;break}}else s<0&&(a=!0,s=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function bl(e){if(kt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function gl(e){kt(e);let t=e.length,n=-1,r=0,u=-1,a=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),o===46?u<0?u=t:a!==1&&(a=1):u>-1&&(a=-1)}return u<0||n<0||a===0||a===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function _l(...e){let t=-1,n;for(;++t<e.length;)kt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Al(n)}function Al(e){kt(e);const t=e.codePointAt(0)===47;let n=Cl(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Cl(e,t){let n="",r=0,u=-1,a=0,s=-1,o,c;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(u===s-1||a===1))if(u!==s-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),u=s,a=0;continue}}else if(n.length>0){n="",r=0,u=s,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,s):n=e.slice(u+1,s),r=s-u-1;u=s,a=0}else o===46&&a>-1?a++:a=-1}return n}function kt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Il={cwd:Nl};function Nl(){return"/"}function On(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Sl(e){if(typeof e=="string")e=new URL(e);else if(!On(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Rl(e)}function Rl(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const dn=["history","path","basename","stem","extname","dirname"];class ei{constructor(t){let n;t?On(t)?n={path:t}:typeof t=="string"||Ll(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Il.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<dn.length;){const a=dn[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let u;for(u in n)dn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Re.basename(this.path):void 0}set basename(t){En(t,"basename"),fn(t,"basename"),this.path=Re.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Re.dirname(this.path):void 0}set dirname(t){jr(this.basename,"dirname"),this.path=Re.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Re.extname(this.path):void 0}set extname(t){if(fn(t,"extname"),jr(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Re.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){On(t)&&(t=Sl(t)),En(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Re.basename(this.path,this.extname):void 0}set stem(t){En(t,"stem"),fn(t,"stem"),this.path=Re.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new ce(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function fn(e,t){if(e&&e.includes(Re.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Re.sep+"`")}function En(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function jr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Ll(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const xl=function(e){const r=this.constructor.prototype,u=r[e],a=function(){return u.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},Ol={}.hasOwnProperty;class jn extends xl{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ml()}copy(){const t=new jn;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(hn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Tn("data",this.frozen),this.namespace[t]=n,this):Ol.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Tn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=vt(t),r=this.parser||this.Parser;return mn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),mn("process",this.parser||this.Parser),pn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(a,s){const o=vt(t),c=r.parse(o);r.run(c,o,function(f,p,g){if(f||!p||!g)return h(f);const m=p,N=r.stringify(m,g);kl(N)?g.value=N:g.result=N,h(f,g)});function h(f,p){f||!p?s(f):a?a(p):n(void 0,p)}}}processSync(t){let n=!1,r;return this.freeze(),mn("processSync",this.parser||this.Parser),pn("processSync",this.compiler||this.Compiler),this.process(t,u),$r("processSync","process",n),r;function u(a,s){n=!0,zr(a),r=s}}run(t,n,r){Kr(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(s,o){const c=vt(n);u.run(t,c,h);function h(f,p,g){const m=p||t;f?o(f):s?s(m):r(void 0,m,g)}}}runSync(t,n){let r=!1,u;return this.run(t,n,a),$r("runSync","run",r),u;function a(s,o){zr(s),u=o,r=!0}}stringify(t,n){this.freeze();const r=vt(n),u=this.compiler||this.Compiler;return pn("stringify",u),Kr(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Tn("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(h){if(typeof h=="function")c(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[f,...p]=h;c(f,p)}else s(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function s(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(h.plugins),h.settings&&(u.settings=hn(!0,u.settings,h.settings))}function o(h){let f=-1;if(h!=null)if(Array.isArray(h))for(;++f<h.length;){const p=h[f];a(p)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function c(h,f){let p=-1,g=-1;for(;++p<r.length;)if(r[p][0]===h){g=p;break}if(g===-1)r.push([h,...f]);else if(f.length>0){let[m,...N]=f;const x=r[g][1];xn(x)&&xn(m)&&(m=hn(!0,x,m)),r[g]=[h,m,...N]}}}}const yl=new jn().freeze();function mn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function pn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Tn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Kr(e){if(!xn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function $r(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vt(e){return Dl(e)?e:new ei(e)}function Dl(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function kl(e){return typeof e=="string"||Pl(e)}function Pl(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Ml="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Jr=[],Zr={allowDangerousHtml:!0},Bl=/^(https?|ircs?|mailto|xmpp)$/i,wl=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Fl(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",u=e.className,a=e.components,s=e.disallowedElements,o=e.rehypePlugins||Jr,c=e.remarkPlugins||Jr,h=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Zr}:Zr,f=e.skipHtml,p=e.unwrapDisallowed,g=e.urlTransform||Hl,m=yl().use(bc).use(c).use(fl,h).use(o),N=new ei;typeof r=="string"&&(N.value=r);for(const k of wl)Object.hasOwn(e,k.from)&&(""+k.from+(k.to?"use `"+k.to+"` instead":"remove it")+Ml+k.id,void 0);const x=m.parse(N);let P=m.runSync(x,N);return u&&(P={type:"element",tagName:"div",properties:{className:u},children:P.type==="root"?P.children:[P]}),Xn(P,O),ja(P,{Fragment:ea,components:a,ignoreInvalidStyle:!0,jsx:oe,jsxs:Ue,passKeys:!0,passNode:!0});function O(k,D,q){if(k.type==="raw"&&q&&typeof D=="number")return f?q.children.splice(D,1):q.children[D]={type:"text",value:k.value},D;if(k.type==="element"){let v;for(v in on)if(Object.hasOwn(on,v)&&Object.hasOwn(k.properties,v)){const S=k.properties[v],V=on[v];(V===null||V.includes(k.tagName))&&(k.properties[v]=g(String(S||""),v,k))}}if(k.type==="element"){let v=t?!t.includes(k.tagName):s?s.includes(k.tagName):!1;if(!v&&n&&typeof D=="number"&&(v=!n(k,D,q)),v&&q&&typeof D=="number")return p&&k.children?q.children.splice(D,1,...k.children):q.children.splice(D,1),D}}}function Hl(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),u=e.indexOf("/");return t<0||u>-1&&t>u||n>-1&&t>n||r>-1&&t>r||Bl.test(e.slice(0,t))?e:""}const eu=/[#.]/g;function Ul(e,t){const n=e||"",r={};let u=0,a,s;for(;u<n.length;){eu.lastIndex=u;const o=eu.exec(n),c=n.slice(u,o?o.index:n.length);c&&(a?a==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:s=c,u+=c.length),o&&(a=o[0],u++)}return{type:"element",tagName:s||t||"div",properties:r,children:[]}}const vl=new Set(["button","menu","reset","submit"]),yn={}.hasOwnProperty;function ti(e,t,n){const r=n&&Vl(n);function u(a,s,...o){let c=-1,h;if(a==null){h={type:"root",children:[]};const f=s;o.unshift(f)}else if(h=Ul(a,t),h.tagName=h.tagName.toLowerCase(),r&&yn.call(r,h.tagName)&&(h.tagName=r[h.tagName]),Yl(s,h.tagName)){let f;for(f in s)yn.call(s,f)&&zl(e,h.properties,f,s[f])}else o.unshift(s);for(;++c<o.length;)Dn(h.children,o[c]);return h.type==="element"&&h.tagName==="template"&&(h.content={type:"root",children:h.children},h.children=[]),h}return u}function Yl(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?vl.has(e.type.toLowerCase()):!("value"in e)}function zl(e,t,n,r){const u=$t(e,n);let a=-1,s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?u.spaceSeparated?s=fr(r):u.commaSeparated?s=or(r):u.commaOrSpaceSeparated?s=fr(or(r).join(" ")):s=tu(u,u.property,r):Array.isArray(r)?s=r.concat():s=u.property==="style"?ql(r):String(r);if(Array.isArray(s)){const o=[];for(;++a<s.length;){const c=tu(u,u.property,s[a]);o[a]=c}s=o}if(u.property==="className"&&Array.isArray(t.className)){const o=s;s=t.className.concat(o)}t[u.property]=s}}function Dn(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Dn(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Dn(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function tu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Lt(n)===Lt(t)))return!0}return n}function ql(e){const t=[];let n;for(n in e)yn.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function Vl(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const Ql=["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","solidColor","textArea","textPath"],Wl=ti(Dt,"div"),Gl=ti(Ye,"g",Ql);function Xl(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let s=0;for(;;){let o=n[s];if(o===void 0){const c=nu(t,n[s-1]);o=c===-1?t.length+1:c+1,n[s]=o}if(o>a)return{line:s+1,column:a-(s>0?n[s-1]:0)+1,offset:a};s++}}}function u(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const o=n[n.length-1],c=nu(t,o),h=c===-1?t.length+1:c+1;if(o===h)break;n.push(h)}const s=(a.line>1?n[a.line-2]:0)+a.column-1;if(s<n[a.line-1])return s}}}function nu(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Ge={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ni={}.hasOwnProperty,jl=Object.prototype;function Kl(e,t){const n=t||{};return Kn({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ye:Dt,verbose:n.verbose||!1},e)}function Kn(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Qt(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:ri(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const a=String(e.file),s=Xl(a),o=s.toPoint(0),c=s.toPoint(a.length);n.position={start:o,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Qt(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Qt(e,r,n),n}default:return n=$l(e,t),n}}function ri(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=Kn(e,t[n]);r.push(u)}return r}function $l(e,t){const n=e.schema;e.schema=t.namespaceURI===Ge.svg?Ye:Dt;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],c=(o.prefix?o.prefix+":":"")+o.name;ni.call(jl,c)||(u[c]=o.value)}const s=(e.schema.space==="svg"?Gl:Wl)(t.tagName,u,ri(e,t.childNodes));if(Qt(e,t,s),s.tagName==="template"){const o=t,c=o.sourceCodeLocation,h=c&&c.startTag&&tt(c.startTag),f=c&&c.endTag&&tt(c.endTag),p=Kn(e,o.content);h&&f&&e.file&&(p.position={start:h.end,end:f.start}),s.content=p}return e.schema=n,s}function Qt(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Jl(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Jl(e,t,n){const r=tt(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const a={};let s;if(n.attrs)for(s in n.attrs)ni.call(n.attrs,s)&&(a[$t(e.schema,s).property]=tt(n.attrs[s]));n.startTag;const o=tt(n.startTag),c=n.endTag?tt(n.endTag):void 0,h={opening:o};c&&(h.closing=c),h.properties=a,t.data={position:h}}}return r}function tt(e){const t=ru({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=ru({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function ru(e){return e.line&&e.column?e:void 0}const uu={}.hasOwnProperty;function ui(e,t){const n=t||{};function r(u,...a){let s=r.invalid;const o=r.handlers;if(u&&uu.call(u,e)){const c=String(u[e]);s=uu.call(o,c)?o[c]:r.unknown}if(s)return s.call(this,u,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Zl={},e0={}.hasOwnProperty,ii=ui("type",{handlers:{root:n0,element:s0,text:i0,comment:a0,doctype:u0}});function t0(e,t){const r=(t||Zl).space;return ii(e,r==="svg"?Ye:Dt)}function n0(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=$n(e.children,n,t),ot(e,n),n}function r0(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=$n(e.children,n,t),ot(e,n),n}function u0(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ot(e,t),t}function i0(e){const t={nodeName:"#text",value:e.value,parentNode:null};return ot(e,t),t}function a0(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return ot(e,t),t}function s0(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ye);const u=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&e0.call(e.properties,a)){const c=o0(r,a,e.properties[a]);c&&u.push(c)}}const s=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:Ge[s],childNodes:[],parentNode:null};return o.childNodes=$n(e.children,o,r),ot(e,o),e.tagName==="template"&&e.content&&(o.content=r0(e.content,r)),o}function o0(e,t,n){const r=$t(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Tu(n):Ru(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=u.name.indexOf(":");a<0?u.prefix="":(u.name=u.name.slice(a+1),u.prefix=r.attribute.slice(0,a)),u.namespace=Ge[r.space]}return u}function $n(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const a=ii(e[r],n);a.parentNode=t,u.push(a)}return u}function ot(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const c0=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],l0=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]),J="<22>";var l;(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"})(l=l||(l={}));const he={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ai(e){return e>=55296&&e<=57343}function h0(e){return e>=56320&&e<=57343}function d0(e,t){return(e-55296)*1024+9216+t}function si(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function oi(e){return e>=64976&&e<=65007||l0.has(e)}var A;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.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"})(A=A||(A={}));const f0=65536;class E0{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=f0,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:r,offset:u}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:u,endOffset:u}}_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(h0(n))return this.pos++,this._addGap(),d0(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,l.EOF;return this._err(A.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 r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,l.EOF;const r=this.html.charCodeAt(n);return r===l.CARRIAGE_RETURN?l.LINE_FEED:r}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,l.EOF;let t=this.html.charCodeAt(this.pos);return t===l.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,l.LINE_FEED):t===l.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ai(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===l.LINE_FEED||t===l.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){si(t)?this._err(A.controlCharacterInInputStream):oi(t)&&this._err(A.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var U;(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"})(U=U||(U={}));function ci(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}const Fe=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\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ȀDMPTLJNjǑǖ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;扐blè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;戥ǹ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;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\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;ẝẤijạả;怄;怅怃Ā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ῦῪ \0llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱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檈Ā;qim;拧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⧓ସdz⧟\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᪠ⵒⵗLjⵚ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㚆㚝㚵㚼Dz㚋\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(e=>e.charCodeAt(0))),m0=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var bn;const p0=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]]),T0=(bn=String.fromCodePoint)!==null&&bn!==void 0?bn: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 b0(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=p0.get(e))!==null&&t!==void 0?t:e}var ue;(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"})(ue||(ue={}));const g0=32;var xe;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(xe||(xe={}));function kn(e){return e>=ue.ZERO&&e<=ue.NINE}function _0(e){return e>=ue.UPPER_A&&e<=ue.UPPER_F||e>=ue.LOWER_A&&e<=ue.LOWER_F}function A0(e){return e>=ue.UPPER_A&&e<=ue.UPPER_Z||e>=ue.LOWER_A&&e<=ue.LOWER_Z||kn(e)}function C0(e){return e===ue.EQUALS||A0(e)}var re;(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"})(re||(re={}));var We;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(We||(We={}));class I0{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=re.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=We.Strict}startEntity(t){this.decodeMode=t,this.state=re.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case re.EntityStart:return t.charCodeAt(n)===ue.NUM?(this.state=re.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=re.NamedEntity,this.stateNamedEntity(t,n));case re.NumericStart:return this.stateNumericStart(t,n);case re.NumericDecimal:return this.stateNumericDecimal(t,n);case re.NumericHex:return this.stateNumericHex(t,n);case re.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|g0)===ue.LOWER_X?(this.state=re.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=re.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const a=r-n;this.result=this.result*Math.pow(u,a)+parseInt(t.substr(n,a),u),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(kn(u)||_0(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(kn(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ue.SEMI)this.consumed+=1;else if(this.decodeMode===We.Strict)return 0;return this.emitCodePoint(b0(this.result),this.consumed),this.errors&&(t!==ue.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],a=(u&xe.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=hi(r,u,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===We.Attribute&&(a===0||C0(s))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],a=(u&xe.VALUE_LENGTH)>>14,a!==0){if(s===ue.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==We.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&xe.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~xe.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case re.NamedEntity:return this.result!==0&&(this.decodeMode!==We.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case re.NumericDecimal:return this.emitNumericEntity(0,2);case re.NumericHex:return this.emitNumericEntity(0,3);case re.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case re.EntityStart:return 0}}}function li(e){let t="";const n=new I0(e,r=>t+=T0(r));return function(u,a){let s=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(s,o),n.startEntity(a);const h=n.write(u,o+1);if(h<0){s=o+n.end();break}s=o+h,o=h===0?s+1:s}const c=t+u.slice(s);return t="",c}}function hi(e,t,n,r){const u=(t&xe.BRANCH_LENGTH)>>7,a=t&xe.JUMP_TABLE;if(u===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=u?-1:e[n+c]-1}let s=n,o=s+u-1;for(;s<=o;){const c=s+o>>>1,h=e[c];if(h<r)s=c+1;else if(h>r)o=c-1;else return e[c+u]}return-1}li(Fe);li(m0);var C;(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/"})(C=C||(C={}));var ve;(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"})(ve=ve||(ve={}));var pe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(pe=pe||(pe={}));var _;(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="strike",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"})(_=_||(_={}));var i;(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"})(i=i||(i={}));const N0=new Map([[_.A,i.A],[_.ADDRESS,i.ADDRESS],[_.ANNOTATION_XML,i.ANNOTATION_XML],[_.APPLET,i.APPLET],[_.AREA,i.AREA],[_.ARTICLE,i.ARTICLE],[_.ASIDE,i.ASIDE],[_.B,i.B],[_.BASE,i.BASE],[_.BASEFONT,i.BASEFONT],[_.BGSOUND,i.BGSOUND],[_.BIG,i.BIG],[_.BLOCKQUOTE,i.BLOCKQUOTE],[_.BODY,i.BODY],[_.BR,i.BR],[_.BUTTON,i.BUTTON],[_.CAPTION,i.CAPTION],[_.CENTER,i.CENTER],[_.CODE,i.CODE],[_.COL,i.COL],[_.COLGROUP,i.COLGROUP],[_.DD,i.DD],[_.DESC,i.DESC],[_.DETAILS,i.DETAILS],[_.DIALOG,i.DIALOG],[_.DIR,i.DIR],[_.DIV,i.DIV],[_.DL,i.DL],[_.DT,i.DT],[_.EM,i.EM],[_.EMBED,i.EMBED],[_.FIELDSET,i.FIELDSET],[_.FIGCAPTION,i.FIGCAPTION],[_.FIGURE,i.FIGURE],[_.FONT,i.FONT],[_.FOOTER,i.FOOTER],[_.FOREIGN_OBJECT,i.FOREIGN_OBJECT],[_.FORM,i.FORM],[_.FRAME,i.FRAME],[_.FRAMESET,i.FRAMESET],[_.H1,i.H1],[_.H2,i.H2],[_.H3,i.H3],[_.H4,i.H4],[_.H5,i.H5],[_.H6,i.H6],[_.HEAD,i.HEAD],[_.HEADER,i.HEADER],[_.HGROUP,i.HGROUP],[_.HR,i.HR],[_.HTML,i.HTML],[_.I,i.I],[_.IMG,i.IMG],[_.IMAGE,i.IMAGE],[_.INPUT,i.INPUT],[_.IFRAME,i.IFRAME],[_.KEYGEN,i.KEYGEN],[_.LABEL,i.LABEL],[_.LI,i.LI],[_.LINK,i.LINK],[_.LISTING,i.LISTING],[_.MAIN,i.MAIN],[_.MALIGNMARK,i.MALIGNMARK],[_.MARQUEE,i.MARQUEE],[_.MATH,i.MATH],[_.MENU,i.MENU],[_.META,i.META],[_.MGLYPH,i.MGLYPH],[_.MI,i.MI],[_.MO,i.MO],[_.MN,i.MN],[_.MS,i.MS],[_.MTEXT,i.MTEXT],[_.NAV,i.NAV],[_.NOBR,i.NOBR],[_.NOFRAMES,i.NOFRAMES],[_.NOEMBED,i.NOEMBED],[_.NOSCRIPT,i.NOSCRIPT],[_.OBJECT,i.OBJECT],[_.OL,i.OL],[_.OPTGROUP,i.OPTGROUP],[_.OPTION,i.OPTION],[_.P,i.P],[_.PARAM,i.PARAM],[_.PLAINTEXT,i.PLAINTEXT],[_.PRE,i.PRE],[_.RB,i.RB],[_.RP,i.RP],[_.RT,i.RT],[_.RTC,i.RTC],[_.RUBY,i.RUBY],[_.S,i.S],[_.SCRIPT,i.SCRIPT],[_.SECTION,i.SECTION],[_.SELECT,i.SELECT],[_.SOURCE,i.SOURCE],[_.SMALL,i.SMALL],[_.SPAN,i.SPAN],[_.STRIKE,i.STRIKE],[_.STRONG,i.STRONG],[_.STYLE,i.STYLE],[_.SUB,i.SUB],[_.SUMMARY,i.SUMMARY],[_.SUP,i.SUP],[_.TABLE,i.TABLE],[_.TBODY,i.TBODY],[_.TEMPLATE,i.TEMPLATE],[_.TEXTAREA,i.TEXTAREA],[_.TFOOT,i.TFOOT],[_.TD,i.TD],[_.TH,i.TH],[_.THEAD,i.THEAD],[_.TITLE,i.TITLE],[_.TR,i.TR],[_.TRACK,i.TRACK],[_.TT,i.TT],[_.U,i.U],[_.UL,i.UL],[_.SVG,i.SVG],[_.VAR,i.VAR],[_.WBR,i.WBR],[_.XMP,i.XMP]]);function ct(e){var t;return(t=N0.get(e))!==null&&t!==void 0?t:i.UNKNOWN}const R=i,S0={[C.HTML]:new Set([R.ADDRESS,R.APPLET,R.AREA,R.ARTICLE,R.ASIDE,R.BASE,R.BASEFONT,R.BGSOUND,R.BLOCKQUOTE,R.BODY,R.BR,R.BUTTON,R.CAPTION,R.CENTER,R.COL,R.COLGROUP,R.DD,R.DETAILS,R.DIR,R.DIV,R.DL,R.DT,R.EMBED,R.FIELDSET,R.FIGCAPTION,R.FIGURE,R.FOOTER,R.FORM,R.FRAME,R.FRAMESET,R.H1,R.H2,R.H3,R.H4,R.H5,R.H6,R.HEAD,R.HEADER,R.HGROUP,R.HR,R.HTML,R.IFRAME,R.IMG,R.INPUT,R.LI,R.LINK,R.LISTING,R.MAIN,R.MARQUEE,R.MENU,R.META,R.NAV,R.NOEMBED,R.NOFRAMES,R.NOSCRIPT,R.OBJECT,R.OL,R.P,R.PARAM,R.PLAINTEXT,R.PRE,R.SCRIPT,R.SECTION,R.SELECT,R.SOURCE,R.STYLE,R.SUMMARY,R.TABLE,R.TBODY,R.TD,R.TEMPLATE,R.TEXTAREA,R.TFOOT,R.TH,R.THEAD,R.TITLE,R.TR,R.TRACK,R.UL,R.WBR,R.XMP]),[C.MATHML]:new Set([R.MI,R.MO,R.MN,R.MS,R.MTEXT,R.ANNOTATION_XML]),[C.SVG]:new Set([R.TITLE,R.FOREIGN_OBJECT,R.DESC]),[C.XLINK]:new Set,[C.XML]:new Set,[C.XMLNS]:new Set};function di(e){return e===R.H1||e===R.H2||e===R.H3||e===R.H4||e===R.H5||e===R.H6}_.STYLE,_.SCRIPT,_.XMP,_.IFRAME,_.NOEMBED,_.NOFRAMES,_.PLAINTEXT;const R0=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 d;(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.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(d||(d={}));const Z={DATA:d.DATA,RCDATA:d.RCDATA,RAWTEXT:d.RAWTEXT,SCRIPT_DATA:d.SCRIPT_DATA,PLAINTEXT:d.PLAINTEXT,CDATA_SECTION:d.CDATA_SECTION};function At(e){return e>=l.DIGIT_0&&e<=l.DIGIT_9}function bt(e){return e>=l.LATIN_CAPITAL_A&&e<=l.LATIN_CAPITAL_Z}function L0(e){return e>=l.LATIN_SMALL_A&&e<=l.LATIN_SMALL_Z}function He(e){return L0(e)||bt(e)}function Pn(e){return He(e)||At(e)}function fi(e){return e>=l.LATIN_CAPITAL_A&&e<=l.LATIN_CAPITAL_F}function Ei(e){return e>=l.LATIN_SMALL_A&&e<=l.LATIN_SMALL_F}function x0(e){return At(e)||fi(e)||Ei(e)}function Yt(e){return e+32}function mi(e){return e===l.SPACE||e===l.LINE_FEED||e===l.TABULATION||e===l.FORM_FEED}function O0(e){return e===l.EQUALS_SIGN||Pn(e)}function iu(e){return mi(e)||e===l.SOLIDUS||e===l.GREATER_THAN_SIGN}class y0{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=d.DATA,this.returnState=d.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new E0(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.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==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}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:U.START_TAG,tagName:"",tagID:i.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:U.END_TAG,tagName:"",tagID:i.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:U.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:U.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 r=this.currentToken;if(ci(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(A.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=ct(t.tagName),t.type===U.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(A.endTagWithAttributes),t.selfClosing&&this._err(A.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 U.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case U.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case U.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:U.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=mi(t)?U.WHITESPACE_CHARACTER:t===l.NULL?U.NULL_CHARACTER:U.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(U.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,u=!1;for(let a=0,s=Fe[0];a>=0&&(a=hi(Fe,s,a+1,t),!(a<0));t=this._consume()){r+=1,s=Fe[a];const o=s&xe.VALUE_LENGTH;if(o){const c=(o>>14)-1;if(t!==l.SEMICOLON&&this._isCharacterReferenceInAttribute()&&O0(this.preprocessor.peek(1))?(n=[l.AMPERSAND],a+=c):(n=c===0?[Fe[a]&~xe.VALUE_LENGTH]:c===1?[Fe[++a]]:[Fe[++a],Fe[++a]],r=0,u=t!==l.SEMICOLON),c===0){this._consume();break}}}return this._unconsume(r),u&&!this.preprocessor.endOfChunkHit&&this._err(A.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===d.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===d.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===d.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case d.DATA:{this._stateData(t);break}case d.RCDATA:{this._stateRcdata(t);break}case d.RAWTEXT:{this._stateRawtext(t);break}case d.SCRIPT_DATA:{this._stateScriptData(t);break}case d.PLAINTEXT:{this._statePlaintext(t);break}case d.TAG_OPEN:{this._stateTagOpen(t);break}case d.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case d.TAG_NAME:{this._stateTagName(t);break}case d.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case d.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case d.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case d.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case d.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case d.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case d.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case d.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case d.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case d.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case d.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case d.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case d.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case d.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case d.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case d.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case d.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case d.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case d.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case d.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case d.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case d.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case d.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case d.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case d.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case d.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case d.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case d.BOGUS_COMMENT:{this._stateBogusComment(t);break}case d.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case d.COMMENT_START:{this._stateCommentStart(t);break}case d.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case d.COMMENT:{this._stateComment(t);break}case d.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case d.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case d.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case d.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case d.COMMENT_END:{this._stateCommentEnd(t);break}case d.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case d.DOCTYPE:{this._stateDoctype(t);break}case d.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case d.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case d.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case d.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case d.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case d.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case d.CDATA_SECTION:{this._stateCdataSection(t);break}case d.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case d.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case d.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case d.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case d.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case d.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case d.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case d.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case d.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case d.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case l.LESS_THAN_SIGN:{this.state=d.TAG_OPEN;break}case l.AMPERSAND:{this.returnState=d.DATA,this.state=d.CHARACTER_REFERENCE;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitCodePoint(t);break}case l.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case l.AMPERSAND:{this.returnState=d.RCDATA,this.state=d.CHARACTER_REFERENCE;break}case l.LESS_THAN_SIGN:{this.state=d.RCDATA_LESS_THAN_SIGN;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitChars(J);break}case l.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case l.LESS_THAN_SIGN:{this.state=d.RAWTEXT_LESS_THAN_SIGN;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitChars(J);break}case l.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_LESS_THAN_SIGN;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitChars(J);break}case l.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitChars(J);break}case l.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(He(t))this._createStartTagToken(),this.state=d.TAG_NAME,this._stateTagName(t);else switch(t){case l.EXCLAMATION_MARK:{this.state=d.MARKUP_DECLARATION_OPEN;break}case l.SOLIDUS:{this.state=d.END_TAG_OPEN;break}case l.QUESTION_MARK:{this._err(A.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=d.BOGUS_COMMENT,this._stateBogusComment(t);break}case l.EOF:{this._err(A.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(A.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=d.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(He(t))this._createEndTagToken(),this.state=d.TAG_NAME,this._stateTagName(t);else switch(t){case l.GREATER_THAN_SIGN:{this._err(A.missingEndTagName),this.state=d.DATA;break}case l.EOF:{this._err(A.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(A.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=d.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this.state=d.BEFORE_ATTRIBUTE_NAME;break}case l.SOLIDUS:{this.state=d.SELF_CLOSING_START_TAG;break}case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentTagToken();break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.tagName+=J;break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(bt(t)?Yt(t):t)}}_stateRcdataLessThanSign(t){t===l.SOLIDUS?this.state=d.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=d.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){He(t)?(this.state=d.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=d.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 l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=d.BEFORE_ATTRIBUTE_NAME,!1;case l.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=d.SELF_CLOSING_START_TAG,!1;case l.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=d.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=d.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===l.SOLIDUS?this.state=d.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=d.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){He(t)?(this.state=d.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=d.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=d.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case l.SOLIDUS:{this.state=d.SCRIPT_DATA_END_TAG_OPEN;break}case l.EXCLAMATION_MARK:{this.state=d.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=d.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){He(t)?(this.state=d.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=d.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=d.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===l.HYPHEN_MINUS?(this.state=d.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=d.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===l.HYPHEN_MINUS?(this.state=d.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=d.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case l.HYPHEN_MINUS:{this.state=d.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitChars(J);break}case l.EOF:{this._err(A.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case l.HYPHEN_MINUS:{this.state=d.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.state=d.SCRIPT_DATA_ESCAPED,this._emitChars(J);break}case l.EOF:{this._err(A.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=d.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case l.HYPHEN_MINUS:{this._emitChars("-");break}case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case l.GREATER_THAN_SIGN:{this.state=d.SCRIPT_DATA,this._emitChars(">");break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.state=d.SCRIPT_DATA_ESCAPED,this._emitChars(J);break}case l.EOF:{this._err(A.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=d.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===l.SOLIDUS?this.state=d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:He(t)?(this._emitChars("<"),this.state=d.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=d.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){He(t)?(this.state=d.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=d.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=d.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(he.SCRIPT,!1)&&iu(this.preprocessor.peek(he.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<he.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=d.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case l.HYPHEN_MINUS:{this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case l.NULL:{this._err(A.unexpectedNullCharacter),this._emitChars(J);break}case l.EOF:{this._err(A.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case l.HYPHEN_MINUS:{this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(J);break}case l.EOF:{this._err(A.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case l.HYPHEN_MINUS:{this._emitChars("-");break}case l.LESS_THAN_SIGN:{this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case l.GREATER_THAN_SIGN:{this.state=d.SCRIPT_DATA,this._emitChars(">");break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(J);break}case l.EOF:{this._err(A.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===l.SOLIDUS?(this.state=d.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(he.SCRIPT,!1)&&iu(this.preprocessor.peek(he.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<he.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=d.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=d.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.SOLIDUS:case l.GREATER_THAN_SIGN:case l.EOF:{this.state=d.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case l.EQUALS_SIGN:{this._err(A.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=d.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=d.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:case l.SOLIDUS:case l.GREATER_THAN_SIGN:case l.EOF:{this._leaveAttrName(),this.state=d.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case l.EQUALS_SIGN:{this._leaveAttrName(),this.state=d.BEFORE_ATTRIBUTE_VALUE;break}case l.QUOTATION_MARK:case l.APOSTROPHE:case l.LESS_THAN_SIGN:{this._err(A.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.currentAttr.name+=J;break}default:this.currentAttr.name+=String.fromCodePoint(bt(t)?Yt(t):t)}}_stateAfterAttributeName(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.SOLIDUS:{this.state=d.SELF_CLOSING_START_TAG;break}case l.EQUALS_SIGN:{this.state=d.BEFORE_ATTRIBUTE_VALUE;break}case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentTagToken();break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=d.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.QUOTATION_MARK:{this.state=d.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case l.APOSTROPHE:{this.state=d.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case l.GREATER_THAN_SIGN:{this._err(A.missingAttributeValue),this.state=d.DATA,this.emitCurrentTagToken();break}default:this.state=d.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case l.QUOTATION_MARK:{this.state=d.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case l.AMPERSAND:{this.returnState=d.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=d.CHARACTER_REFERENCE;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.currentAttr.value+=J;break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case l.APOSTROPHE:{this.state=d.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case l.AMPERSAND:{this.returnState=d.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=d.CHARACTER_REFERENCE;break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.currentAttr.value+=J;break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this._leaveAttrValue(),this.state=d.BEFORE_ATTRIBUTE_NAME;break}case l.AMPERSAND:{this.returnState=d.ATTRIBUTE_VALUE_UNQUOTED,this.state=d.CHARACTER_REFERENCE;break}case l.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=d.DATA,this.emitCurrentTagToken();break}case l.NULL:{this._err(A.unexpectedNullCharacter),this.currentAttr.value+=J;break}case l.QUOTATION_MARK:case l.APOSTROPHE:case l.LESS_THAN_SIGN:case l.EQUALS_SIGN:case l.GRAVE_ACCENT:{this._err(A.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this._leaveAttrValue(),this.state=d.BEFORE_ATTRIBUTE_NAME;break}case l.SOLIDUS:{this._leaveAttrValue(),this.state=d.SELF_CLOSING_START_TAG;break}case l.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=d.DATA,this.emitCurrentTagToken();break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:this._err(A.missingWhitespaceBetweenAttributes),this.state=d.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case l.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=d.DATA,this.emitCurrentTagToken();break}case l.EOF:{this._err(A.eofInTag),this._emitEOFToken();break}default:this._err(A.unexpectedSolidusInTag),this.state=d.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentComment(n);break}case l.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.data+=J;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(he.DASH_DASH,!0)?(this._createCommentToken(he.DASH_DASH.length+1),this.state=d.COMMENT_START):this._consumeSequenceIfMatch(he.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(he.DOCTYPE.length+1),this.state=d.DOCTYPE):this._consumeSequenceIfMatch(he.CDATA_START,!0)?this.inForeignNode?this.state=d.CDATA_SECTION:(this._err(A.cdataInHtmlContent),this._createCommentToken(he.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=d.BOGUS_COMMENT):this._ensureHibernation()||(this._err(A.incorrectlyOpenedComment),this._createCommentToken(2),this.state=d.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case l.HYPHEN_MINUS:{this.state=d.COMMENT_START_DASH;break}case l.GREATER_THAN_SIGN:{this._err(A.abruptClosingOfEmptyComment),this.state=d.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=d.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case l.HYPHEN_MINUS:{this.state=d.COMMENT_END;break}case l.GREATER_THAN_SIGN:{this._err(A.abruptClosingOfEmptyComment),this.state=d.DATA,this.emitCurrentComment(n);break}case l.EOF:{this._err(A.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=d.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case l.HYPHEN_MINUS:{this.state=d.COMMENT_END_DASH;break}case l.LESS_THAN_SIGN:{n.data+="<",this.state=d.COMMENT_LESS_THAN_SIGN;break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.data+=J;break}case l.EOF:{this._err(A.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case l.EXCLAMATION_MARK:{n.data+="!",this.state=d.COMMENT_LESS_THAN_SIGN_BANG;break}case l.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=d.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===l.HYPHEN_MINUS?this.state=d.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=d.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===l.HYPHEN_MINUS?this.state=d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=d.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==l.GREATER_THAN_SIGN&&t!==l.EOF&&this._err(A.nestedComment),this.state=d.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case l.HYPHEN_MINUS:{this.state=d.COMMENT_END;break}case l.EOF:{this._err(A.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=d.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentComment(n);break}case l.EXCLAMATION_MARK:{this.state=d.COMMENT_END_BANG;break}case l.HYPHEN_MINUS:{n.data+="-";break}case l.EOF:{this._err(A.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=d.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case l.HYPHEN_MINUS:{n.data+="--!",this.state=d.COMMENT_END_DASH;break}case l.GREATER_THAN_SIGN:{this._err(A.incorrectlyClosedComment),this.state=d.DATA,this.emitCurrentComment(n);break}case l.EOF:{this._err(A.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=d.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this.state=d.BEFORE_DOCTYPE_NAME;break}case l.GREATER_THAN_SIGN:{this.state=d.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case l.EOF:{this._err(A.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingWhitespaceBeforeDoctypeName),this.state=d.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(bt(t))this._createDoctypeToken(String.fromCharCode(Yt(t))),this.state=d.DOCTYPE_NAME;else switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.NULL:{this._err(A.unexpectedNullCharacter),this._createDoctypeToken(J),this.state=d.DOCTYPE_NAME;break}case l.GREATER_THAN_SIGN:{this._err(A.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.EOF:{this._err(A.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=d.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this.state=d.AFTER_DOCTYPE_NAME;break}case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.name+=J;break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(bt(t)?Yt(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(he.PUBLIC,!1)?this.state=d.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(he.SYSTEM,!1)?this.state=d.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(A.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this.state=d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case l.QUOTATION_MARK:{this._err(A.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case l.APOSTROPHE:{this._err(A.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case l.GREATER_THAN_SIGN:{this._err(A.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.QUOTATION_MARK:{n.publicId="",this.state=d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case l.APOSTROPHE:{n.publicId="",this.state=d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case l.GREATER_THAN_SIGN:{this._err(A.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case l.QUOTATION_MARK:{this.state=d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.publicId+=J;break}case l.GREATER_THAN_SIGN:{this._err(A.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.EOF:{this._err(A.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 l.APOSTROPHE:{this.state=d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.publicId+=J;break}case l.GREATER_THAN_SIGN:{this._err(A.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.EOF:{this._err(A.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 l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this.state=d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case l.GREATER_THAN_SIGN:{this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.QUOTATION_MARK:{this._err(A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case l.APOSTROPHE:{this._err(A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.QUOTATION_MARK:{n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case l.APOSTROPHE:{n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:{this.state=d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case l.QUOTATION_MARK:{this._err(A.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case l.APOSTROPHE:{this._err(A.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case l.GREATER_THAN_SIGN:{this._err(A.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.QUOTATION_MARK:{n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case l.APOSTROPHE:{n.systemId="",this.state=d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case l.GREATER_THAN_SIGN:{this._err(A.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=d.DATA,this.emitCurrentDoctype(n);break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case l.QUOTATION_MARK:{this.state=d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.systemId+=J;break}case l.GREATER_THAN_SIGN:{this._err(A.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.EOF:{this._err(A.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 l.APOSTROPHE:{this.state=d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case l.NULL:{this._err(A.unexpectedNullCharacter),n.systemId+=J;break}case l.GREATER_THAN_SIGN:{this._err(A.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.EOF:{this._err(A.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 l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.EOF:{this._err(A.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(A.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=d.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case l.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=d.DATA;break}case l.NULL:{this._err(A.unexpectedNullCharacter);break}case l.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case l.RIGHT_SQUARE_BRACKET:{this.state=d.CDATA_SECTION_BRACKET;break}case l.EOF:{this._err(A.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===l.RIGHT_SQUARE_BRACKET?this.state=d.CDATA_SECTION_END:(this._emitChars("]"),this.state=d.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case l.GREATER_THAN_SIGN:{this.state=d.DATA;break}case l.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=d.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===l.NUMBER_SIGN?this.state=d.NUMERIC_CHARACTER_REFERENCE:Pn(t)?(this.state=d.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const n=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(n){for(let r=0;r<n.length;r++)this._flushCodePointConsumedAsCharacterReference(n[r]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND),this.state=d.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){Pn(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===l.SEMICOLON&&this._err(A.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===l.LATIN_SMALL_X||t===l.LATIN_CAPITAL_X?this.state=d.HEXADEMICAL_CHARACTER_REFERENCE_START:At(t)?(this.state=d.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(A.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(l.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){x0(t)?(this.state=d.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(A.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(l.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){fi(t)?this.charRefCode=this.charRefCode*16+t-55:Ei(t)?this.charRefCode=this.charRefCode*16+t-87:At(t)?this.charRefCode=this.charRefCode*16+t-48:t===l.SEMICOLON?this.state=d.NUMERIC_CHARACTER_REFERENCE_END:(this._err(A.missingSemicolonAfterCharacterReference),this.state=d.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){At(t)?this.charRefCode=this.charRefCode*10+t-48:t===l.SEMICOLON?this.state=d.NUMERIC_CHARACTER_REFERENCE_END:(this._err(A.missingSemicolonAfterCharacterReference),this.state=d.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===l.NULL)this._err(A.nullCharacterReference),this.charRefCode=l.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(A.characterReferenceOutsideUnicodeRange),this.charRefCode=l.REPLACEMENT_CHARACTER;else if(ai(this.charRefCode))this._err(A.surrogateCharacterReference),this.charRefCode=l.REPLACEMENT_CHARACTER;else if(oi(this.charRefCode))this._err(A.noncharacterCharacterReference);else if(si(this.charRefCode)||this.charRefCode===l.CARRIAGE_RETURN){this._err(A.controlCharacterReference);const n=R0.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const pi=new Set([i.DD,i.DT,i.LI,i.OPTGROUP,i.OPTION,i.P,i.RB,i.RP,i.RT,i.RTC]),au=new Set([...pi,i.CAPTION,i.COLGROUP,i.TBODY,i.TD,i.TFOOT,i.TH,i.THEAD,i.TR]),zt=new Map([[i.APPLET,C.HTML],[i.CAPTION,C.HTML],[i.HTML,C.HTML],[i.MARQUEE,C.HTML],[i.OBJECT,C.HTML],[i.TABLE,C.HTML],[i.TD,C.HTML],[i.TEMPLATE,C.HTML],[i.TH,C.HTML],[i.ANNOTATION_XML,C.MATHML],[i.MI,C.MATHML],[i.MN,C.MATHML],[i.MO,C.MATHML],[i.MS,C.MATHML],[i.MTEXT,C.MATHML],[i.DESC,C.SVG],[i.FOREIGN_OBJECT,C.SVG],[i.TITLE,C.SVG]]),D0=[i.H1,i.H2,i.H3,i.H4,i.H5,i.H6],k0=[i.TR,i.TEMPLATE,i.HTML],P0=[i.TBODY,i.TFOOT,i.THEAD,i.TEMPLATE,i.HTML],M0=[i.TABLE,i.TEMPLATE,i.HTML],B0=[i.TD,i.TH];class w0{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=i.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===C.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 r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,u===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])!==C.HTML);this.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 r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(D0,C.HTML)}popUntilTableCellPopped(){this.popUntilPopped(B0,C.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(M0,C.HTML)}clearBackToTableBodyContext(){this.clearBackTo(P0,C.HTML)}clearBackToTableRowContext(){this.clearBackTo(k0,C.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]===i.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]===i.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===C.HTML)return!0;if(zt.get(r)===u)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(di(n)&&r===C.HTML)return!0;if(zt.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===C.HTML)return!0;if((r===i.UL||r===i.OL)&&u===C.HTML||zt.get(r)===u)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===C.HTML)return!0;if(r===i.BUTTON&&u===C.HTML||zt.get(r)===u)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===C.HTML){if(r===t)return!0;if(r===i.TABLE||r===i.TEMPLATE||r===i.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])===C.HTML){if(n===i.TBODY||n===i.THEAD||n===i.TFOOT)return!0;if(n===i.TABLE||n===i.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===C.HTML){if(r===t)return!0;if(r!==i.OPTION&&r!==i.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;pi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;au.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&au.has(this.currentTagId);)this.pop()}}const gn=3;var Ne;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ne=Ne||(Ne={}));const su={type:Ne.Marker};class F0{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,a=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const c=this.entries[o];if(c.type===Ne.Marker)break;const{element:h}=c;if(this.treeAdapter.getTagName(h)===a&&this.treeAdapter.getNamespaceURI(h)===s){const f=this.treeAdapter.getAttrList(h);f.length===u&&r.push({idx:o,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<gn)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<gn)return;const u=new Map(n.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<r.length;s++){const o=r[s];o.attrs.every(c=>u.get(c.name)===c.value)&&(a+=1,a>=gn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(su)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ne.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Ne.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(su);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Ne.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Ne.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Ne.Element&&n.element===t)}}function ou(e){return{nodeName:"#text",value:e,parentNode:null}}const et={createDocument(){return{nodeName:"#document",mode:pe.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 r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(a=>a.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};et.appendChild(e,a)}},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(et.isTextNode(n)){n.value+=t;return}}et.appendChild(e,ou(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&et.isTextNode(r)?r.value+=t:et.insertBefore(e,ou(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},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},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}}},Ti="html",H0="about:legacy-compat",U0="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",bi=["+//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//"],v0=[...bi,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Y0=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),gi=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],z0=[...gi,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function cu(e,t){return t.some(n=>e.startsWith(n))}function q0(e){return e.name===Ti&&e.publicId===null&&(e.systemId===null||e.systemId===H0)}function V0(e){if(e.name!==Ti)return pe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===U0)return pe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Y0.has(n))return pe.QUIRKS;let r=t===null?v0:bi;if(cu(n,r))return pe.QUIRKS;if(r=t===null?gi:z0,cu(n,r))return pe.LIMITED_QUIRKS}return pe.NO_QUIRKS}const lu={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Q0="definitionurl",W0="definitionURL",G0=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])),X0=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:C.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:C.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:C.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:C.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:C.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:C.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:C.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:C.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:C.XML}],["xml:space",{prefix:"xml",name:"space",namespace:C.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:C.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:C.XMLNS}]]),j0=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])),K0=new Set([i.B,i.BIG,i.BLOCKQUOTE,i.BODY,i.BR,i.CENTER,i.CODE,i.DD,i.DIV,i.DL,i.DT,i.EM,i.EMBED,i.H1,i.H2,i.H3,i.H4,i.H5,i.H6,i.HEAD,i.HR,i.I,i.IMG,i.LI,i.LISTING,i.MENU,i.META,i.NOBR,i.OL,i.P,i.PRE,i.RUBY,i.S,i.SMALL,i.SPAN,i.STRONG,i.STRIKE,i.SUB,i.SUP,i.TABLE,i.TT,i.U,i.UL,i.VAR]);function $0(e){const t=e.tagID;return t===i.FONT&&e.attrs.some(({name:r})=>r===ve.COLOR||r===ve.SIZE||r===ve.FACE)||K0.has(t)}function _i(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Q0){e.attrs[t].name=W0;break}}function Ai(e){for(let t=0;t<e.attrs.length;t++){const n=G0.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Jn(e){for(let t=0;t<e.attrs.length;t++){const n=X0.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 J0(e){const t=j0.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=ct(e.tagName))}function Z0(e,t){return t===C.MATHML&&(e===i.MI||e===i.MO||e===i.MN||e===i.MS||e===i.MTEXT)}function eh(e,t,n){if(t===C.MATHML&&e===i.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===ve.ENCODING){const u=n[r].value.toLowerCase();return u===lu.TEXT_HTML||u===lu.APPLICATION_XML}}return t===C.SVG&&(e===i.FOREIGN_OBJECT||e===i.DESC||e===i.TITLE)}function th(e,t,n,r){return(!r||r===C.HTML)&&eh(e,t,n)||(!r||r===C.MATHML)&&Z0(e,t)}const nh="hidden",rh=8,uh=3;var E;(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"})(E||(E={}));const ih={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Ci=new Set([i.TABLE,i.TBODY,i.TFOOT,i.THEAD,i.TR]),hu={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:et,onParseError:null};class du{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=E.INITIAL,this.originalInsertionMode=E.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={...hu,...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 y0(this.options,this),this.activeFormattingElements=new F0(this.treeAdapter),this.fragmentContextID=r?ct(this.treeAdapter.getTagName(r)):i.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new w0(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...hu,...n};t??(t=r.treeAdapter.createElement(_.TEMPLATE,C.HTML,[]));const u=r.treeAdapter.createElement("documentmock",C.HTML,[]),a=new this(r,u,t);return a.fragmentContextID===i.TEMPLATE&&a.tmplInsertionModeStack.unshift(E.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const a=(u=t.location)!==null&&u!==void 0?u:ih,s={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(t,n,r){var u,a;(a=(u=this.treeAdapter).onItemPush)===null||a===void 0||a.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===C.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,C.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=E.TEXT}switchToPlaintextParsing(){this.insertionMode=E.TEXT,this.originalInsertionMode=E.IN_BODY,this.tokenizer.state=Z.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===_.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==C.HTML))switch(this.fragmentContextID){case i.TITLE:case i.TEXTAREA:{this.tokenizer.state=Z.RCDATA;break}case i.STYLE:case i.XMP:case i.IFRAME:case i.NOEMBED:case i.NOFRAMES:case i.NOSCRIPT:{this.tokenizer.state=Z.RAWTEXT;break}case i.SCRIPT:{this.tokenizer.state=Z.SCRIPT_DATA;break}case i.PLAINTEXT:{this.tokenizer.state=Z.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,C.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,C.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(_.HTML,C.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,i.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),a=r?u.lastIndexOf(r):u.length,s=u[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:c,endCol:h,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:c,endCol:h,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),a=n.type===U.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===i.SVG&&this.treeAdapter.getTagName(n)===_.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===C.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===i.MGLYPH||t.tagID===i.MALIGNMARK)&&!this._isIntegrationPoint(r,n,C.HTML)}_processToken(t){switch(t.type){case U.CHARACTER:{this.onCharacter(t);break}case U.NULL_CHARACTER:{this.onNullCharacter(t);break}case U.COMMENT:{this.onComment(t);break}case U.DOCTYPE:{this.onDoctype(t);break}case U.START_TAG:{this._processStartTag(t);break}case U.END_TAG:{this.onEndTag(t);break}case U.EOF:{this.onEof(t);break}case U.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return th(t,u,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Ne.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const a=this.activeFormattingElements.entries[u];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=E.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(i.P),this.openElements.popUntilTagNamePopped(i.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case i.TR:{this.insertionMode=E.IN_ROW;return}case i.TBODY:case i.THEAD:case i.TFOOT:{this.insertionMode=E.IN_TABLE_BODY;return}case i.CAPTION:{this.insertionMode=E.IN_CAPTION;return}case i.COLGROUP:{this.insertionMode=E.IN_COLUMN_GROUP;return}case i.TABLE:{this.insertionMode=E.IN_TABLE;return}case i.BODY:{this.insertionMode=E.IN_BODY;return}case i.FRAMESET:{this.insertionMode=E.IN_FRAMESET;return}case i.SELECT:{this._resetInsertionModeForSelect(t);return}case i.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case i.HTML:{this.insertionMode=this.headElement?E.AFTER_HEAD:E.BEFORE_HEAD;return}case i.TD:case i.TH:{if(t>0){this.insertionMode=E.IN_CELL;return}break}case i.HEAD:{if(t>0){this.insertionMode=E.IN_HEAD;return}break}}this.insertionMode=E.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===i.TEMPLATE)break;if(r===i.TABLE){this.insertionMode=E.IN_SELECT_IN_TABLE;return}}this.insertionMode=E.IN_SELECT}_isElementCausesFosterParenting(t){return Ci.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 i.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===C.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case i.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,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 r=this.treeAdapter.getNamespaceURI(t);return S0[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Bd(this,t);return}switch(this.insertionMode){case E.INITIAL:{pt(this,t);break}case E.BEFORE_HTML:{Ct(this,t);break}case E.BEFORE_HEAD:{It(this,t);break}case E.IN_HEAD:{Nt(this,t);break}case E.IN_HEAD_NO_SCRIPT:{St(this,t);break}case E.AFTER_HEAD:{Rt(this,t);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:{Ni(this,t);break}case E.TEXT:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{_n(this,t);break}case E.IN_TABLE_TEXT:{yi(this,t);break}case E.IN_COLUMN_GROUP:{jt(this,t);break}case E.AFTER_BODY:{Kt(this,t);break}case E.AFTER_AFTER_BODY:{Wt(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Md(this,t);return}switch(this.insertionMode){case E.INITIAL:{pt(this,t);break}case E.BEFORE_HTML:{Ct(this,t);break}case E.BEFORE_HEAD:{It(this,t);break}case E.IN_HEAD:{Nt(this,t);break}case E.IN_HEAD_NO_SCRIPT:{St(this,t);break}case E.AFTER_HEAD:{Rt(this,t);break}case E.TEXT:{this._insertCharacters(t);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{_n(this,t);break}case E.IN_COLUMN_GROUP:{jt(this,t);break}case E.AFTER_BODY:{Kt(this,t);break}case E.AFTER_AFTER_BODY:{Wt(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Mn(this,t);return}switch(this.insertionMode){case E.INITIAL:case E.BEFORE_HTML:case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_TEMPLATE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{Mn(this,t);break}case E.IN_TABLE_TEXT:{Tt(this,t);break}case E.AFTER_BODY:{dh(this,t);break}case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{fh(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case E.INITIAL:{Eh(this,t);break}case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:{this._err(t,A.misplacedDoctype);break}case E.IN_TABLE_TEXT:{Tt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,A.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?wd(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case E.INITIAL:{pt(this,t);break}case E.BEFORE_HTML:{mh(this,t);break}case E.BEFORE_HEAD:{Th(this,t);break}case E.IN_HEAD:{Se(this,t);break}case E.IN_HEAD_NO_SCRIPT:{_h(this,t);break}case E.AFTER_HEAD:{Ch(this,t);break}case E.IN_BODY:{le(this,t);break}case E.IN_TABLE:{it(this,t);break}case E.IN_TABLE_TEXT:{Tt(this,t);break}case E.IN_CAPTION:{bd(this,t);break}case E.IN_COLUMN_GROUP:{tr(this,t);break}case E.IN_TABLE_BODY:{un(this,t);break}case E.IN_ROW:{an(this,t);break}case E.IN_CELL:{Ad(this,t);break}case E.IN_SELECT:{Pi(this,t);break}case E.IN_SELECT_IN_TABLE:{Id(this,t);break}case E.IN_TEMPLATE:{Sd(this,t);break}case E.AFTER_BODY:{Ld(this,t);break}case E.IN_FRAMESET:{xd(this,t);break}case E.AFTER_FRAMESET:{yd(this,t);break}case E.AFTER_AFTER_BODY:{kd(this,t);break}case E.AFTER_AFTER_FRAMESET:{Pd(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Fd(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case E.INITIAL:{pt(this,t);break}case E.BEFORE_HTML:{ph(this,t);break}case E.BEFORE_HEAD:{bh(this,t);break}case E.IN_HEAD:{gh(this,t);break}case E.IN_HEAD_NO_SCRIPT:{Ah(this,t);break}case E.AFTER_HEAD:{Ih(this,t);break}case E.IN_BODY:{rn(this,t);break}case E.TEXT:{od(this,t);break}case E.IN_TABLE:{Ot(this,t);break}case E.IN_TABLE_TEXT:{Tt(this,t);break}case E.IN_CAPTION:{gd(this,t);break}case E.IN_COLUMN_GROUP:{_d(this,t);break}case E.IN_TABLE_BODY:{Bn(this,t);break}case E.IN_ROW:{ki(this,t);break}case E.IN_CELL:{Cd(this,t);break}case E.IN_SELECT:{Mi(this,t);break}case E.IN_SELECT_IN_TABLE:{Nd(this,t);break}case E.IN_TEMPLATE:{Rd(this,t);break}case E.AFTER_BODY:{wi(this,t);break}case E.IN_FRAMESET:{Od(this,t);break}case E.AFTER_FRAMESET:{Dd(this,t);break}case E.AFTER_AFTER_BODY:{Wt(this,t);break}}}onEof(t){switch(this.insertionMode){case E.INITIAL:{pt(this,t);break}case E.BEFORE_HTML:{Ct(this,t);break}case E.BEFORE_HEAD:{It(this,t);break}case E.IN_HEAD:{Nt(this,t);break}case E.IN_HEAD_NO_SCRIPT:{St(this,t);break}case E.AFTER_HEAD:{Rt(this,t);break}case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{xi(this,t);break}case E.TEXT:{cd(this,t);break}case E.IN_TABLE_TEXT:{Tt(this,t);break}case E.IN_TEMPLATE:{Bi(this,t);break}case E.AFTER_BODY:case E.IN_FRAMESET:case E.AFTER_FRAMESET:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{er(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===l.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 E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.TEXT:case E.IN_COLUMN_GROUP:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{this._insertCharacters(t);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:case E.AFTER_BODY:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{Ii(this,t);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{_n(this,t);break}case E.IN_TABLE_TEXT:{Oi(this,t);break}}}}function ah(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):Li(e,t),n}function sh(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function oh(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let a=0,s=u;s!==n;a++,s=u){u=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),c=o&&a>=uh;!o||c?(c&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=ch(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function ch(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function lh(e,t,n){const r=e.treeAdapter.getTagName(t),u=ct(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);u===i.TEMPLATE&&a===C.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function hh(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,a=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,u.tagID)}function Zn(e,t){for(let n=0;n<rh;n++){const r=ah(e,t);if(!r)break;const u=sh(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const a=oh(e,u,r.element),s=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),s&&lh(e,s,a),hh(e,u,r)}}function Mn(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function dh(e,t){e._appendCommentNode(t,e.openElements.items[0])}function fh(e,t){e._appendCommentNode(t,e.document)}function er(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&e._setEndLocation(a,t)}}}}function Eh(e,t){e._setDocumentType(t);const n=t.forceQuirks?pe.QUIRKS:V0(t);q0(t)||e._err(t,A.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=E.BEFORE_HTML}function pt(e,t){e._err(t,A.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,pe.QUIRKS),e.insertionMode=E.BEFORE_HTML,e._processToken(t)}function mh(e,t){t.tagID===i.HTML?(e._insertElement(t,C.HTML),e.insertionMode=E.BEFORE_HEAD):Ct(e,t)}function ph(e,t){const n=t.tagID;(n===i.HTML||n===i.HEAD||n===i.BODY||n===i.BR)&&Ct(e,t)}function Ct(e,t){e._insertFakeRootElement(),e.insertionMode=E.BEFORE_HEAD,e._processToken(t)}function Th(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.HEAD:{e._insertElement(t,C.HTML),e.headElement=e.openElements.current,e.insertionMode=E.IN_HEAD;break}default:It(e,t)}}function bh(e,t){const n=t.tagID;n===i.HEAD||n===i.BODY||n===i.HTML||n===i.BR?It(e,t):e._err(t,A.endTagWithoutMatchingOpenElement)}function It(e,t){e._insertFakeElement(_.HEAD,i.HEAD),e.headElement=e.openElements.current,e.insertionMode=E.IN_HEAD,e._processToken(t)}function Se(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:{e._appendElement(t,C.HTML),t.ackSelfClosing=!0;break}case i.TITLE:{e._switchToTextParsing(t,Z.RCDATA);break}case i.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Z.RAWTEXT):(e._insertElement(t,C.HTML),e.insertionMode=E.IN_HEAD_NO_SCRIPT);break}case i.NOFRAMES:case i.STYLE:{e._switchToTextParsing(t,Z.RAWTEXT);break}case i.SCRIPT:{e._switchToTextParsing(t,Z.SCRIPT_DATA);break}case i.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=E.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(E.IN_TEMPLATE);break}case i.HEAD:{e._err(t,A.misplacedStartTagForHeadElement);break}default:Nt(e,t)}}function gh(e,t){switch(t.tagID){case i.HEAD:{e.openElements.pop(),e.insertionMode=E.AFTER_HEAD;break}case i.BODY:case i.BR:case i.HTML:{Nt(e,t);break}case i.TEMPLATE:{je(e,t);break}default:e._err(t,A.endTagWithoutMatchingOpenElement)}}function je(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==i.TEMPLATE&&e._err(t,A.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(i.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,A.endTagWithoutMatchingOpenElement)}function Nt(e,t){e.openElements.pop(),e.insertionMode=E.AFTER_HEAD,e._processToken(t)}function _h(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.BASEFONT:case i.BGSOUND:case i.HEAD:case i.LINK:case i.META:case i.NOFRAMES:case i.STYLE:{Se(e,t);break}case i.NOSCRIPT:{e._err(t,A.nestedNoscriptInHead);break}default:St(e,t)}}function Ah(e,t){switch(t.tagID){case i.NOSCRIPT:{e.openElements.pop(),e.insertionMode=E.IN_HEAD;break}case i.BR:{St(e,t);break}default:e._err(t,A.endTagWithoutMatchingOpenElement)}}function St(e,t){const n=t.type===U.EOF?A.openElementsLeftAfterEof:A.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=E.IN_HEAD,e._processToken(t)}function Ch(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.BODY:{e._insertElement(t,C.HTML),e.framesetOk=!1,e.insertionMode=E.IN_BODY;break}case i.FRAMESET:{e._insertElement(t,C.HTML),e.insertionMode=E.IN_FRAMESET;break}case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:case i.NOFRAMES:case i.SCRIPT:case i.STYLE:case i.TEMPLATE:case i.TITLE:{e._err(t,A.abandonedHeadElementChild),e.openElements.push(e.headElement,i.HEAD),Se(e,t),e.openElements.remove(e.headElement);break}case i.HEAD:{e._err(t,A.misplacedStartTagForHeadElement);break}default:Rt(e,t)}}function Ih(e,t){switch(t.tagID){case i.BODY:case i.HTML:case i.BR:{Rt(e,t);break}case i.TEMPLATE:{je(e,t);break}default:e._err(t,A.endTagWithoutMatchingOpenElement)}}function Rt(e,t){e._insertFakeElement(_.BODY,i.BODY),e.insertionMode=E.IN_BODY,nn(e,t)}function nn(e,t){switch(t.type){case U.CHARACTER:{Ni(e,t);break}case U.WHITESPACE_CHARACTER:{Ii(e,t);break}case U.COMMENT:{Mn(e,t);break}case U.START_TAG:{le(e,t);break}case U.END_TAG:{rn(e,t);break}case U.EOF:{xi(e,t);break}}}function Ii(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ni(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Nh(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Sh(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Rh(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,C.HTML),e.insertionMode=E.IN_FRAMESET)}function Lh(e,t){e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._insertElement(t,C.HTML)}function xh(e,t){e.openElements.hasInButtonScope(i.P)&&e._closePElement(),di(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,C.HTML)}function Oh(e,t){e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._insertElement(t,C.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function yh(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._insertElement(t,C.HTML),n||(e.formElement=e.openElements.current))}function Dh(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===i.LI&&u===i.LI||(n===i.DD||n===i.DT)&&(u===i.DD||u===i.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==i.ADDRESS&&u!==i.DIV&&u!==i.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._insertElement(t,C.HTML)}function kh(e,t){e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._insertElement(t,C.HTML),e.tokenizer.state=Z.PLAINTEXT}function Ph(e,t){e.openElements.hasInScope(i.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML),e.framesetOk=!1}function Mh(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(_.A);n&&(Zn(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Bh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wh(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(i.NOBR)&&(Zn(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,C.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Fh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Hh(e,t){e.treeAdapter.getDocumentMode(e.document)!==pe.QUIRKS&&e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._insertElement(t,C.HTML),e.framesetOk=!1,e.insertionMode=E.IN_TABLE}function Si(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,C.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ri(e){const t=ci(e,ve.TYPE);return t!=null&&t.toLowerCase()===nh}function Uh(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,C.HTML),Ri(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function vh(e,t){e._appendElement(t,C.HTML),t.ackSelfClosing=!0}function Yh(e,t){e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._appendElement(t,C.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function zh(e,t){t.tagName=_.IMG,t.tagID=i.IMG,Si(e,t)}function qh(e,t){e._insertElement(t,C.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Z.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=E.TEXT}function Vh(e,t){e.openElements.hasInButtonScope(i.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Z.RAWTEXT)}function Qh(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Z.RAWTEXT)}function fu(e,t){e._switchToTextParsing(t,Z.RAWTEXT)}function Wh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===E.IN_TABLE||e.insertionMode===E.IN_CAPTION||e.insertionMode===E.IN_TABLE_BODY||e.insertionMode===E.IN_ROW||e.insertionMode===E.IN_CELL?E.IN_SELECT_IN_TABLE:E.IN_SELECT}function Gh(e,t){e.openElements.currentTagId===i.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML)}function Xh(e,t){e.openElements.hasInScope(i.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,C.HTML)}function jh(e,t){e.openElements.hasInScope(i.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(i.RTC),e._insertElement(t,C.HTML)}function Kh(e,t){e._reconstructActiveFormattingElements(),_i(t),Jn(t),t.selfClosing?e._appendElement(t,C.MATHML):e._insertElement(t,C.MATHML),t.ackSelfClosing=!0}function $h(e,t){e._reconstructActiveFormattingElements(),Ai(t),Jn(t),t.selfClosing?e._appendElement(t,C.SVG):e._insertElement(t,C.SVG),t.ackSelfClosing=!0}function Eu(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,C.HTML)}function le(e,t){switch(t.tagID){case i.I:case i.S:case i.B:case i.U:case i.EM:case i.TT:case i.BIG:case i.CODE:case i.FONT:case i.SMALL:case i.STRIKE:case i.STRONG:{Bh(e,t);break}case i.A:{Mh(e,t);break}case i.H1:case i.H2:case i.H3:case i.H4:case i.H5:case i.H6:{xh(e,t);break}case i.P:case i.DL:case i.OL:case i.UL:case i.DIV:case i.DIR:case i.NAV:case i.MAIN:case i.MENU:case i.ASIDE:case i.CENTER:case i.FIGURE:case i.FOOTER:case i.HEADER:case i.HGROUP:case i.DIALOG:case i.DETAILS:case i.ADDRESS:case i.ARTICLE:case i.SECTION:case i.SUMMARY:case i.FIELDSET:case i.BLOCKQUOTE:case i.FIGCAPTION:{Lh(e,t);break}case i.LI:case i.DD:case i.DT:{Dh(e,t);break}case i.BR:case i.IMG:case i.WBR:case i.AREA:case i.EMBED:case i.KEYGEN:{Si(e,t);break}case i.HR:{Yh(e,t);break}case i.RB:case i.RTC:{Xh(e,t);break}case i.RT:case i.RP:{jh(e,t);break}case i.PRE:case i.LISTING:{Oh(e,t);break}case i.XMP:{Vh(e,t);break}case i.SVG:{$h(e,t);break}case i.HTML:{Nh(e,t);break}case i.BASE:case i.LINK:case i.META:case i.STYLE:case i.TITLE:case i.SCRIPT:case i.BGSOUND:case i.BASEFONT:case i.TEMPLATE:{Se(e,t);break}case i.BODY:{Sh(e,t);break}case i.FORM:{yh(e,t);break}case i.NOBR:{wh(e,t);break}case i.MATH:{Kh(e,t);break}case i.TABLE:{Hh(e,t);break}case i.INPUT:{Uh(e,t);break}case i.PARAM:case i.TRACK:case i.SOURCE:{vh(e,t);break}case i.IMAGE:{zh(e,t);break}case i.BUTTON:{Ph(e,t);break}case i.APPLET:case i.OBJECT:case i.MARQUEE:{Fh(e,t);break}case i.IFRAME:{Qh(e,t);break}case i.SELECT:{Wh(e,t);break}case i.OPTION:case i.OPTGROUP:{Gh(e,t);break}case i.NOEMBED:{fu(e,t);break}case i.FRAMESET:{Rh(e,t);break}case i.TEXTAREA:{qh(e,t);break}case i.NOSCRIPT:{e.options.scriptingEnabled?fu(e,t):Eu(e,t);break}case i.PLAINTEXT:{kh(e,t);break}case i.COL:case i.TH:case i.TD:case i.TR:case i.HEAD:case i.FRAME:case i.TBODY:case i.TFOOT:case i.THEAD:case i.CAPTION:case i.COLGROUP:break;default:Eu(e,t)}}function Jh(e,t){if(e.openElements.hasInScope(i.BODY)&&(e.insertionMode=E.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Zh(e,t){e.openElements.hasInScope(i.BODY)&&(e.insertionMode=E.AFTER_BODY,wi(e,t))}function ed(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function td(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(i.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(i.FORM):n&&e.openElements.remove(n))}function nd(e){e.openElements.hasInButtonScope(i.P)||e._insertFakeElement(_.P,i.P),e._closePElement()}function rd(e){e.openElements.hasInListItemScope(i.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(i.LI),e.openElements.popUntilTagNamePopped(i.LI))}function ud(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function id(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function ad(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function sd(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(_.BR,i.BR),e.openElements.pop(),e.framesetOk=!1}function Li(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const a=e.openElements.items[u],s=e.openElements.tagIDs[u];if(r===s&&(r!==i.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(a,s))break}}function rn(e,t){switch(t.tagID){case i.A:case i.B:case i.I:case i.S:case i.U:case i.EM:case i.TT:case i.BIG:case i.CODE:case i.FONT:case i.NOBR:case i.SMALL:case i.STRIKE:case i.STRONG:{Zn(e,t);break}case i.P:{nd(e);break}case i.DL:case i.UL:case i.OL:case i.DIR:case i.DIV:case i.NAV:case i.PRE:case i.MAIN:case i.MENU:case i.ASIDE:case i.BUTTON:case i.CENTER:case i.FIGURE:case i.FOOTER:case i.HEADER:case i.HGROUP:case i.DIALOG:case i.ADDRESS:case i.ARTICLE:case i.DETAILS:case i.SECTION:case i.SUMMARY:case i.LISTING:case i.FIELDSET:case i.BLOCKQUOTE:case i.FIGCAPTION:{ed(e,t);break}case i.LI:{rd(e);break}case i.DD:case i.DT:{ud(e,t);break}case i.H1:case i.H2:case i.H3:case i.H4:case i.H5:case i.H6:{id(e);break}case i.BR:{sd(e);break}case i.BODY:{Jh(e,t);break}case i.HTML:{Zh(e,t);break}case i.FORM:{td(e);break}case i.APPLET:case i.OBJECT:case i.MARQUEE:{ad(e,t);break}case i.TEMPLATE:{je(e,t);break}default:Li(e,t)}}function xi(e,t){e.tmplInsertionModeStack.length>0?Bi(e,t):er(e,t)}function od(e,t){var n;t.tagID===i.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function cd(e,t){e._err(t,A.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function _n(e,t){if(Ci.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=E.IN_TABLE_TEXT,t.type){case U.CHARACTER:{yi(e,t);break}case U.WHITESPACE_CHARACTER:{Oi(e,t);break}}else Pt(e,t)}function ld(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,C.HTML),e.insertionMode=E.IN_CAPTION}function hd(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,C.HTML),e.insertionMode=E.IN_COLUMN_GROUP}function dd(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.COLGROUP,i.COLGROUP),e.insertionMode=E.IN_COLUMN_GROUP,tr(e,t)}function fd(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,C.HTML),e.insertionMode=E.IN_TABLE_BODY}function Ed(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.TBODY,i.TBODY),e.insertionMode=E.IN_TABLE_BODY,un(e,t)}function md(e,t){e.openElements.hasInTableScope(i.TABLE)&&(e.openElements.popUntilTagNamePopped(i.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function pd(e,t){Ri(t)?e._appendElement(t,C.HTML):Pt(e,t),t.ackSelfClosing=!0}function Td(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,C.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function it(e,t){switch(t.tagID){case i.TD:case i.TH:case i.TR:{Ed(e,t);break}case i.STYLE:case i.SCRIPT:case i.TEMPLATE:{Se(e,t);break}case i.COL:{dd(e,t);break}case i.FORM:{Td(e,t);break}case i.TABLE:{md(e,t);break}case i.TBODY:case i.TFOOT:case i.THEAD:{fd(e,t);break}case i.INPUT:{pd(e,t);break}case i.CAPTION:{ld(e,t);break}case i.COLGROUP:{hd(e,t);break}default:Pt(e,t)}}function Ot(e,t){switch(t.tagID){case i.TABLE:{e.openElements.hasInTableScope(i.TABLE)&&(e.openElements.popUntilTagNamePopped(i.TABLE),e._resetInsertionMode());break}case i.TEMPLATE:{je(e,t);break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TBODY:case i.TD:case i.TFOOT:case i.TH:case i.THEAD:case i.TR:break;default:Pt(e,t)}}function Pt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,nn(e,t),e.fosterParentingEnabled=n}function Oi(e,t){e.pendingCharacterTokens.push(t)}function yi(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Tt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Pt(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Di=new Set([i.CAPTION,i.COL,i.COLGROUP,i.TBODY,i.TD,i.TFOOT,i.TH,i.THEAD,i.TR]);function bd(e,t){const n=t.tagID;Di.has(n)?e.openElements.hasInTableScope(i.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=E.IN_TABLE,it(e,t)):le(e,t)}function gd(e,t){const n=t.tagID;switch(n){case i.CAPTION:case i.TABLE:{e.openElements.hasInTableScope(i.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=E.IN_TABLE,n===i.TABLE&&Ot(e,t));break}case i.BODY:case i.COL:case i.COLGROUP:case i.HTML:case i.TBODY:case i.TD:case i.TFOOT:case i.TH:case i.THEAD:case i.TR:break;default:rn(e,t)}}function tr(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.COL:{e._appendElement(t,C.HTML),t.ackSelfClosing=!0;break}case i.TEMPLATE:{Se(e,t);break}default:jt(e,t)}}function _d(e,t){switch(t.tagID){case i.COLGROUP:{e.openElements.currentTagId===i.COLGROUP&&(e.openElements.pop(),e.insertionMode=E.IN_TABLE);break}case i.TEMPLATE:{je(e,t);break}case i.COL:break;default:jt(e,t)}}function jt(e,t){e.openElements.currentTagId===i.COLGROUP&&(e.openElements.pop(),e.insertionMode=E.IN_TABLE,e._processToken(t))}function un(e,t){switch(t.tagID){case i.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,C.HTML),e.insertionMode=E.IN_ROW;break}case i.TH:case i.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(_.TR,i.TR),e.insertionMode=E.IN_ROW,an(e,t);break}case i.CAPTION:case i.COL:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE,it(e,t));break}default:it(e,t)}}function Bn(e,t){const n=t.tagID;switch(t.tagID){case i.TBODY:case i.TFOOT:case i.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE);break}case i.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE,Ot(e,t));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TD:case i.TH:case i.TR:break;default:Ot(e,t)}}function an(e,t){switch(t.tagID){case i.TH:case i.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,C.HTML),e.insertionMode=E.IN_CELL,e.activeFormattingElements.insertMarker();break}case i.CAPTION:case i.COL:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:case i.TR:{e.openElements.hasInTableScope(i.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY,un(e,t));break}default:it(e,t)}}function ki(e,t){switch(t.tagID){case i.TR:{e.openElements.hasInTableScope(i.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY);break}case i.TABLE:{e.openElements.hasInTableScope(i.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY,Bn(e,t));break}case i.TBODY:case i.TFOOT:case i.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(i.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY,Bn(e,t));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TD:case i.TH:break;default:Ot(e,t)}}function Ad(e,t){const n=t.tagID;Di.has(n)?(e.openElements.hasInTableScope(i.TD)||e.openElements.hasInTableScope(i.TH))&&(e._closeTableCell(),an(e,t)):le(e,t)}function Cd(e,t){const n=t.tagID;switch(n){case i.TD:case i.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=E.IN_ROW);break}case i.TABLE:case i.TBODY:case i.TFOOT:case i.THEAD:case i.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),ki(e,t));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:break;default:rn(e,t)}}function Pi(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.OPTION:{e.openElements.currentTagId===i.OPTION&&e.openElements.pop(),e._insertElement(t,C.HTML);break}case i.OPTGROUP:{e.openElements.currentTagId===i.OPTION&&e.openElements.pop(),e.openElements.currentTagId===i.OPTGROUP&&e.openElements.pop(),e._insertElement(t,C.HTML);break}case i.INPUT:case i.KEYGEN:case i.TEXTAREA:case i.SELECT:{e.openElements.hasInSelectScope(i.SELECT)&&(e.openElements.popUntilTagNamePopped(i.SELECT),e._resetInsertionMode(),t.tagID!==i.SELECT&&e._processStartTag(t));break}case i.SCRIPT:case i.TEMPLATE:{Se(e,t);break}}}function Mi(e,t){switch(t.tagID){case i.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===i.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===i.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===i.OPTGROUP&&e.openElements.pop();break}case i.OPTION:{e.openElements.currentTagId===i.OPTION&&e.openElements.pop();break}case i.SELECT:{e.openElements.hasInSelectScope(i.SELECT)&&(e.openElements.popUntilTagNamePopped(i.SELECT),e._resetInsertionMode());break}case i.TEMPLATE:{je(e,t);break}}}function Id(e,t){const n=t.tagID;n===i.CAPTION||n===i.TABLE||n===i.TBODY||n===i.TFOOT||n===i.THEAD||n===i.TR||n===i.TD||n===i.TH?(e.openElements.popUntilTagNamePopped(i.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Pi(e,t)}function Nd(e,t){const n=t.tagID;n===i.CAPTION||n===i.TABLE||n===i.TBODY||n===i.TFOOT||n===i.THEAD||n===i.TR||n===i.TD||n===i.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(i.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Mi(e,t)}function Sd(e,t){switch(t.tagID){case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:case i.NOFRAMES:case i.SCRIPT:case i.STYLE:case i.TEMPLATE:case i.TITLE:{Se(e,t);break}case i.CAPTION:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:{e.tmplInsertionModeStack[0]=E.IN_TABLE,e.insertionMode=E.IN_TABLE,it(e,t);break}case i.COL:{e.tmplInsertionModeStack[0]=E.IN_COLUMN_GROUP,e.insertionMode=E.IN_COLUMN_GROUP,tr(e,t);break}case i.TR:{e.tmplInsertionModeStack[0]=E.IN_TABLE_BODY,e.insertionMode=E.IN_TABLE_BODY,un(e,t);break}case i.TD:case i.TH:{e.tmplInsertionModeStack[0]=E.IN_ROW,e.insertionMode=E.IN_ROW,an(e,t);break}default:e.tmplInsertionModeStack[0]=E.IN_BODY,e.insertionMode=E.IN_BODY,le(e,t)}}function Rd(e,t){t.tagID===i.TEMPLATE&&je(e,t)}function Bi(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(i.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):er(e,t)}function Ld(e,t){t.tagID===i.HTML?le(e,t):Kt(e,t)}function wi(e,t){var n;if(t.tagID===i.HTML){if(e.fragmentContext||(e.insertionMode=E.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===i.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Kt(e,t)}function Kt(e,t){e.insertionMode=E.IN_BODY,nn(e,t)}function xd(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.FRAMESET:{e._insertElement(t,C.HTML);break}case i.FRAME:{e._appendElement(t,C.HTML),t.ackSelfClosing=!0;break}case i.NOFRAMES:{Se(e,t);break}}}function Od(e,t){t.tagID===i.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==i.FRAMESET&&(e.insertionMode=E.AFTER_FRAMESET))}function yd(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.NOFRAMES:{Se(e,t);break}}}function Dd(e,t){t.tagID===i.HTML&&(e.insertionMode=E.AFTER_AFTER_FRAMESET)}function kd(e,t){t.tagID===i.HTML?le(e,t):Wt(e,t)}function Wt(e,t){e.insertionMode=E.IN_BODY,nn(e,t)}function Pd(e,t){switch(t.tagID){case i.HTML:{le(e,t);break}case i.NOFRAMES:{Se(e,t);break}}}function Md(e,t){t.chars=J,e._insertCharacters(t)}function Bd(e,t){e._insertCharacters(t),e.framesetOk=!1}function Fi(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==C.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function wd(e,t){if($0(t))Fi(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===C.MATHML?_i(t):r===C.SVG&&(J0(t),Ai(t)),Jn(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Fd(e,t){if(t.tagID===i.P||t.tagID===i.BR){Fi(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===C.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}_.AREA,_.BASE,_.BASEFONT,_.BGSOUND,_.BR,_.COL,_.EMBED,_.FRAME,_.HR,_.IMG,_.INPUT,_.KEYGEN,_.LINK,_.META,_.PARAM,_.SOURCE,_.TRACK,_.WBR;const Hd=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),mu={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Hi(e,t){const n=Xd(e),r=ui("type",{handlers:{root:Ud,element:vd,text:Yd,comment:vi,doctype:zd,raw:Vd},unknown:Qd}),u={parser:n?new du(mu):du.getFragmentParser(void 0,mu),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),lt(u,Oe());const a=n?u.parser.document:u.parser.getFragment(),s=Kl(a,{file:u.options.file});return u.stitches&&Xn(s,"comment",function(o,c,h){const f=o;if(f.value.stitch&&h&&c!==void 0){const p=h.children;return p[c]=f.value.stitch,c}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function Ui(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Ud(e,t){Ui(e.children,t)}function vd(e,t){Wd(e,t),Ui(e.children,t),Gd(e,t)}function Yd(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:U.CHARACTER,chars:e.value,location:Mt(e)};lt(t,Oe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function zd(e,t){const n={type:U.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Mt(e)};lt(t,Oe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function qd(e,t){t.stitches=!0;const n=jd(e);if("children"in e&&"children"in n){const r=Hi({type:"root",children:e.children},t.options);n.children=r.children}vi({type:"comment",value:{stitch:n}},t)}function vi(e,t){const n=e.value,r={type:U.COMMENT,data:n,location:Mt(e)};lt(t,Oe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Vd(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Yi(t,Oe(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Qd(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))qd(n,t);else{let r="";throw Hd.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function lt(e,t){Yi(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Z.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Yi(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Wd(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Z.PLAINTEXT)return;lt(t,Oe(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:Ge.html;u===Ge.html&&n==="svg"&&(u=Ge.svg);const a=t0({...e,children:[]},{space:u===Ge.svg?"svg":"html"}),s={type:U.START_TAG,tagName:n,tagID:ct(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Mt(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Gd(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&c0.includes(n)||t.parser.tokenizer.state===Z.PLAINTEXT)return;lt(t,Jt(e));const r={type:U.END_TAG,tagName:n,tagID:ct(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Mt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Z.RCDATA||t.parser.tokenizer.state===Z.RAWTEXT||t.parser.tokenizer.state===Z.SCRIPT_DATA)&&(t.parser.tokenizer.state=Z.DATA)}function Xd(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Mt(e){const t=Oe(e)||{line:void 0,column:void 0,offset:void 0},n=Jt(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function jd(e){return"children"in e?ut({...e,children:[]}):ut(e)}function Kd(e){return function(t,n){return Hi(t,{...e,file:n})}}function $d(e){return e.replace(/^<x-next.*$/gm,"").replace(/---[\s\S]*?---/g,"").replace(/!\[.*?\]\((\/[^)]+)\)/g,(t,n)=>{const r=t.match(/!\[(.*?)\]/);return`![${r?r[1]:"An image"}](https://raw.githubusercontent.com/invoiceninja/invoiceninja.github.io/refs/heads/v5-rework/source${n})`}).trim()}function Jd({id:e,url:t}){const{t:n}=pu(),{data:r}=ta({queryKey:["help-widget",e,t],queryFn:()=>fetch(t).then(s=>s.text().then($d))}),[,u]=t.split("v5-rework/source"),a=na();return Ue("div",{id:`help-widget-${e}`,className:"hidden fixed top-0 right-0 w-full md:w-1/2 lg:w-1/3 xl:w-1/4 h-full shadow-xl border rounded-l-lg z-50 overflow-y-auto",style:{backgroundColor:a.$1,color:a.$3,borderColor:a.$4},children:[Ue("div",{className:"flex justify-between items-center sticky px-5 py-3 top-0",style:{backgroundColor:a.$1},children:[oe("div",{}),Ue("div",{className:"flex items-center space-x-2",children:[oe("button",{className:"hidden md:block",type:"button",onClick:()=>{const s=document.getElementById(`help-widget-${e}`);s&&(s.classList.toggle("right-0"),s.classList.toggle("left-0"))},children:oe(fa,{size:18})}),oe("button",{children:oe(ra,{size:20,onClick:()=>zi(e)})})]})]}),Ue("div",{className:"prose-sm p-5",children:[oe(Fl,{rehypePlugins:[Kd],children:r}),oe("div",{className:"flex justify-center",children:Ue(ua,{to:`https://invoiceninja.github.io/${u.replace(".md","")}`,external:!0,className:"flex items-center space-x-2",children:[oe("span",{children:n("view_docs")})," ",oe(ia,{size:16})]})})]})]})}function zi(e){const t=document.querySelector(`div#help-widget-${e}`);t&&t.classList.toggle("hidden")}function ef(){const{t:e}=pu(),{documentTitle:t}=aa("import"),n=[{name:e("invoices"),href:"/invoices"},{name:e("import"),href:"/invoices/import"}],r=sa();return oe(oa,{title:t,breadcrumbs:n,children:oe("div",{className:"grid grid-cols-12",children:Ue("div",{className:"col-span-12 xl:col-span-8",children:[oe(ca,{entity:"invoice",onSuccess:!1,type:"csv",postWidgetSlot:Ue("button",{type:"button",style:{color:r},onClick:()=>zi("import-and-export"),className:"inline-flex items-center space-x-1 mt-4",children:[oe(la,{size:18}),oe("span",{children:e("how_to_import_data")})]}),exampleUrl:"https://invoiceninja.github.io/assets/example-imports/invoices.csv"}),oe(Jd,{id:"import-and-export",url:"https://raw.githubusercontent.com/invoiceninja/invoiceninja.github.io/refs/heads/v5-rework/source/en/import-and-export.md"})]})})})}export{ef as default};