From b892bb73294d5916fd4a3757492f7b855808b50d Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 27 Nov 2024 19:02:48 +0300 Subject: [PATCH] v0.2.5 --- build/admin.asset.php | 2 +- build/admin.js | 2 +- languages/redirect-txt.pot | 4 ++-- package.json | 2 +- readme.txt | 9 +++++++-- redirect-txt.php | 4 ++-- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/build/admin.asset.php b/build/admin.asset.php index afff261..4786840 100644 --- a/build/admin.asset.php +++ b/build/admin.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '3b66fd5f9683b200f198'); + array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'e1411be9dc8b2ad37bef'); diff --git a/build/admin.js b/build/admin.js index c342a8a..4777457 100644 --- a/build/admin.js +++ b/build/admin.js @@ -1 +1 @@ -(()=>{var e,t={342:(e,t,n)=>{"use strict";var a={};n.r(a),n.d(a,{boolean:()=>ne,booleanish:()=>ae,commaOrSpaceSeparated:()=>le,commaSeparated:()=>se,number:()=>ie,overloadedBoolean:()=>re,spaceSeparated:()=>oe});var r={};n.r(r),n.d(r,{setActivePage:()=>Qg});var i={};n.r(i),n.d(i,{getActivePage:()=>Jg});var o={};n.r(o),n.d(o,{updateSettings:()=>cf});var s={};n.r(s),n.d(s,{getError:()=>mf,getSetting:()=>df,getSettings:()=>uf,getUpdating:()=>pf});var l={};n.r(l),n.d(l,{updateRules:()=>Af});var c={};n.r(c),n.d(c,{getError:()=>yf,getRules:()=>Sf,getUpdating:()=>_f});var u={};function d(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tRf});const p=function(){for(var e,t,n=0,a="",r=arguments.length;n=0||(r[n]=e[n]);return r}const h=window.ReactDOM;var T=n.n(h);const A=E().createContext(null);var S=function(e){return e.scrollTop},_="unmounted",y="exited",N="entering",I="entered",R="exiting",O=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?i?(r=y,a.appearStatus=N):r=I:r=t.unmountOnExit||t.mountOnEnter?_:y,a.state={status:r},a.nextCallback=null,a}g(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===_?{status:y}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==N&&n!==I&&(t=N):n!==N&&n!==I||(t=R)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!=typeof a&&(e=a.exit,t=a.enter,n=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===N){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:T().findDOMNode(this);n&&S(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===y&&this.setState({status:_})},n.performEnter=function(e){var t=this,n=this.props.enter,a=this.context?this.context.isMounting:e,r=this.props.nodeRef?[a]:[T().findDOMNode(this),a],i=r[0],o=r[1],s=this.getTimeouts(),l=a?s.appear:s.enter;e||n?(this.props.onEnter(i,o),this.safeSetState({status:N},(function(){t.props.onEntering(i,o),t.onTransitionEnd(l,(function(){t.safeSetState({status:I},(function(){t.props.onEntered(i,o)}))}))}))):this.safeSetState({status:I},(function(){t.props.onEntered(i)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),a=this.props.nodeRef?void 0:T().findDOMNode(this);t?(this.props.onExit(a),this.safeSetState({status:R},(function(){e.props.onExiting(a),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:y},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:y},(function(){e.props.onExited(a)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:T().findDOMNode(this),a=null==e&&!this.props.addEndListener;if(n&&!a){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],o=r[1];this.props.addEndListener(i,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===_)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,b(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return E().createElement(A.Provider,{value:null},"function"==typeof n?n(e,a):E().cloneElement(E().Children.only(n),a))},t}(E().Component);function C(){}O.contextType=A,O.propTypes={},O.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:C,onEntering:C,onEntered:C,onExit:C,onExiting:C,onExited:C},O.UNMOUNTED=_,O.EXITED=y,O.ENTERING=N,O.ENTERED=I,O.EXITING=R;const k=O;var w,v,D="out-in",L="in-out",P=function(e,t,n){return function(){var a;e.props[t]&&(a=e.props)[t].apply(a,arguments),n()}},x=((w={})[D]=function(e){var t=e.current,n=e.changeState;return E().cloneElement(t,{in:!1,onExited:P(t,"onExited",(function(){n(N,null)}))})},w[L]=function(e){var t=e.current,n=e.changeState,a=e.children;return[t,E().cloneElement(a,{in:!0,onEntered:P(a,"onEntered",(function(){n(N)}))})]},w),M=((v={})[D]=function(e){var t=e.children,n=e.changeState;return E().cloneElement(t,{in:!0,onEntered:P(t,"onEntered",(function(){n(I,E().cloneElement(t,{in:!0}))}))})},v[L]=function(e){var t=e.current,n=e.children,a=e.changeState;return[E().cloneElement(t,{in:!1,onExited:P(t,"onExited",(function(){a(I,E().cloneElement(n,{in:!0}))}))}),E().cloneElement(n,{in:!0})]},v),F=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ee=ge({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function be(e,t){return t in e?e[t]:t}function he(e,t){return be(e,t.toLowerCase())}const Te=ge({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:he,properties:{xmlns:null,xmlnsXLink:null}}),Ae=ge({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:ae,ariaAutoComplete:null,ariaBusy:ae,ariaChecked:ae,ariaColCount:ie,ariaColIndex:ie,ariaColSpan:ie,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:ae,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:ae,ariaFlowTo:oe,ariaGrabbed:ae,ariaHasPopup:null,ariaHidden:ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:ie,ariaLive:null,ariaModal:ae,ariaMultiLine:ae,ariaMultiSelectable:ae,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:ie,ariaPressed:ae,ariaReadOnly:ae,ariaRelevant:null,ariaRequired:ae,ariaRoleDescription:oe,ariaRowCount:ie,ariaRowIndex:ie,ariaRowSpan:ie,ariaSelected:ae,ariaSetSize:ie,ariaSort:null,ariaValueMax:ie,ariaValueMin:ie,ariaValueNow:ie,ariaValueText:null,role:null}}),Se=ge({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:he,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:se,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:oe,autoFocus:ne,autoPlay:ne,blocking:oe,capture:null,charSet:null,checked:ne,cite:null,className:oe,cols:ie,colSpan:null,content:null,contentEditable:ae,controls:ne,controlsList:oe,coords:ie|se,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:re,draggable:ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:oe,height:ie,hidden:ne,high:ie,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:oe,itemRef:oe,itemScope:ne,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:ie,manifest:null,max:null,maxLength:ie,media:null,method:null,min:null,minLength:ie,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,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:ne,optimum:ie,pattern:null,ping:oe,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:oe,required:ne,reversed:ne,rows:ie,rowSpan:ie,sandbox:oe,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:ie,sizes:null,slot:null,span:ie,spellCheck:ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ie,step:null,style:null,tabIndex:ie,target:null,title:null,translate:null,type:null,typeMustMatch:ne,useMap:null,value:ae,width:ie,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:ie,borderColor:null,bottomMargin:ie,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:ie,leftMargin:ie,link:null,longDesc:null,lowSrc:null,marginHeight:ie,marginWidth:ie,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:ie,rules:null,scheme:null,scrolling:ae,standby:null,summary:null,text:null,topMargin:ie,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ie,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ne,disableRemotePlayback:ne,prefix:null,property:null,results:ie,security:null,unselectable:null}}),_e=ge({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:be,properties:{about:le,accentHeight:ie,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ie,amplitude:ie,arabicForm:null,ascent:ie,attributeName:null,attributeType:null,azimuth:ie,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ie,by:null,calcMode:null,capHeight:ie,className:oe,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:ie,diffuseConstant:ie,direction:null,display:null,dur:null,divisor:ie,dominantBaseline:null,download:ne,dx:null,dy:null,edgeMode:null,editable:null,elevation:ie,enableBackground:null,end:null,event:null,exponent:ie,externalResourcesRequired:null,fill:null,fillOpacity:ie,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:se,g2:se,glyphName:se,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ie,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ie,horizOriginX:ie,horizOriginY:ie,id:null,ideographic:ie,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ie,k:ie,k1:ie,k2:ie,k3:ie,k4:ie,kernelMatrix:le,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ie,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:ie,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:ie,overlineThickness:ie,paintOrder:null,panose1:null,path:null,pathLength:ie,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ie,pointsAtY:ie,pointsAtZ:ie,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:le,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:le,rev:le,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:le,requiredFeatures:le,requiredFonts:le,requiredFormats:le,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:ie,specularExponent:ie,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ie,strikethroughThickness:ie,string:null,stroke:null,strokeDashArray:le,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ie,strokeOpacity:ie,strokeWidth:null,style:null,surfaceScale:ie,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:le,tabIndex:ie,tableValues:null,target:null,targetX:ie,targetY:ie,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:le,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ie,underlineThickness:ie,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ie,values:null,vAlphabetic:ie,vMathematical:ie,vectorEffect:null,vHanging:ie,vIdeographic:ie,version:null,vertAdvY:ie,vertOriginX:ie,vertOriginY:ie,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ie,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ye=Q([Ee,fe,Te,Ae,Se],"html"),Ne=Q([Ee,fe,Te,Ae,_e],"svg");function Ie(e){const t=[],n=String(e||"");let a=n.indexOf(","),r=0,i=!1;for(;!i;){-1===a&&(a=n.length,i=!0);const e=n.slice(r,a).trim();!e&&i||t.push(e),r=a+1,a=n.indexOf(",",r)}return t}function Re(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const Oe=/[#.]/g,Ce=/^data[-\w.:]+$/i,ke=/-[a-z]/g,we=/[A-Z]/g;function ve(e,t){const n=J(t);let a=t,r=ee;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Ce.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(ke,Le);a="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!ke.test(e)){let n=e.replace(we,De);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}r=de}return new r(a,t)}function De(e){return"-"+e.toLowerCase()}function Le(e){return e.charAt(1).toUpperCase()}function Pe(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function xe(e){return e.join(" ").trim()}const Me=new Set(["button","menu","reset","submit"]),Fe={}.hasOwnProperty;function Ue(e,t,n){const a=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,a=e&&e.column;if("number"==typeof t&&"number"==typeof a&&!Number.isNaN(t)&&!Number.isNaN(a)&&t-1 in n){const e=(n[t-2]||0)+a-1||0;if(e>-1&&e=55296&&e<=57343}function st(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function lt(e){return e>=64976&&e<=65007||et.has(e)}var ct,ut;!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"}(ct=ct||(ct={}));class dt{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:a}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:a,endOffset:a}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,nt.EOF;return this._err(ct.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,nt.EOF;const n=this.html.charCodeAt(t);return n===nt.CARRIAGE_RETURN?nt.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,nt.EOF;let e=this.html.charCodeAt(this.pos);return e===nt.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,nt.LINE_FEED):e===nt.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ot(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===nt.LINE_FEED||e===nt.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){st(e)?this._err(ct.controlCharacterInInputStream):lt(e)&&this._err(ct.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(ut=ut||(ut={}));const mt=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ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀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℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସ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)))),gt=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var ft;const Et=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]]),bt=null!==(ft=String.fromCodePoint)&&void 0!==ft?ft:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var ht,Tt,At,St,_t,yt,Nt,It,Rt,Ot;function Ct(e){return e>=ht.ZERO&&e<=ht.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(ht||(ht={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Tt||(Tt={})),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"}(At||(At={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(St||(St={}));class kt{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=At.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=St.Strict}startEntity(e){this.decodeMode=e,this.state=At.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case At.EntityStart:return e.charCodeAt(t)===ht.NUM?(this.state=At.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=At.NamedEntity,this.stateNamedEntity(e,t));case At.NumericStart:return this.stateNumericStart(e,t);case At.NumericDecimal:return this.stateNumericDecimal(e,t);case At.NumericHex:return this.stateNumericHex(e,t);case At.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===ht.LOWER_X?(this.state=At.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=At.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,a){if(t!==n){const r=n-t;this.result=this.result*Math.pow(a,r)+parseInt(e.substr(t,r),a),this.consumed+=r}}stateNumericHex(e,t){const n=t;for(;t=ht.UPPER_A&&a<=ht.UPPER_F||a>=ht.LOWER_A&&a<=ht.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}var a;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=Et.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==ht.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let a=n[this.treeIndex],r=(a&Tt.VALUE_LENGTH)>>14;for(;t=ht.UPPER_A&&e<=ht.UPPER_Z||e>=ht.LOWER_A&&e<=ht.LOWER_Z||Ct(e)}(i)))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],r=(a&Tt.VALUE_LENGTH)>>14,0!==r){if(o===ht.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==St.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var i;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,a=(n[t]&Tt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,a,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:a}=this;return this.emitCodePoint(1===t?a[e]&~Tt.VALUE_LENGTH:a[e+1],n),3===t&&this.emitCodePoint(a[e+2],n),n}end(){var e;switch(this.state){case At.NamedEntity:return 0===this.result||this.decodeMode===St.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case At.NumericDecimal:return this.emitNumericEntity(0,2);case At.NumericHex:return this.emitNumericEntity(0,3);case At.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case At.EntityStart:return 0}}}function wt(e){let t="";const n=new kt(e,(e=>t+=bt(e)));return function(e,a){let r=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(r,i),n.startEntity(a);const o=n.write(e,i+1);if(o<0){r=i+n.end();break}r=i+o,i=0===o?r+1:r}const o=t+e.slice(r);return t="",o}}function vt(e,t,n,a){const r=(t&Tt.BRANCH_LENGTH)>>7,i=t&Tt.JUMP_TABLE;if(0===r)return 0!==i&&a===i?n:-1;if(i){const t=a-i;return t<0||t>=r?-1:e[n+t]-1}let o=n,s=o+r-1;for(;o<=s;){const t=o+s>>>1,n=e[t];if(na))return e[t+r];s=t-1}}return-1}wt(mt),wt(gt),(Ot=_t=_t||(_t={})).HTML="http://www.w3.org/1999/xhtml",Ot.MATHML="http://www.w3.org/1998/Math/MathML",Ot.SVG="http://www.w3.org/2000/svg",Ot.XLINK="http://www.w3.org/1999/xlink",Ot.XML="http://www.w3.org/XML/1998/namespace",Ot.XMLNS="http://www.w3.org/2000/xmlns/",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"}(yt=yt||(yt={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(Nt=Nt||(Nt={})),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"}(It=It||(It={})),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"}(Rt=Rt||(Rt={}));const Dt=new Map([[It.A,Rt.A],[It.ADDRESS,Rt.ADDRESS],[It.ANNOTATION_XML,Rt.ANNOTATION_XML],[It.APPLET,Rt.APPLET],[It.AREA,Rt.AREA],[It.ARTICLE,Rt.ARTICLE],[It.ASIDE,Rt.ASIDE],[It.B,Rt.B],[It.BASE,Rt.BASE],[It.BASEFONT,Rt.BASEFONT],[It.BGSOUND,Rt.BGSOUND],[It.BIG,Rt.BIG],[It.BLOCKQUOTE,Rt.BLOCKQUOTE],[It.BODY,Rt.BODY],[It.BR,Rt.BR],[It.BUTTON,Rt.BUTTON],[It.CAPTION,Rt.CAPTION],[It.CENTER,Rt.CENTER],[It.CODE,Rt.CODE],[It.COL,Rt.COL],[It.COLGROUP,Rt.COLGROUP],[It.DD,Rt.DD],[It.DESC,Rt.DESC],[It.DETAILS,Rt.DETAILS],[It.DIALOG,Rt.DIALOG],[It.DIR,Rt.DIR],[It.DIV,Rt.DIV],[It.DL,Rt.DL],[It.DT,Rt.DT],[It.EM,Rt.EM],[It.EMBED,Rt.EMBED],[It.FIELDSET,Rt.FIELDSET],[It.FIGCAPTION,Rt.FIGCAPTION],[It.FIGURE,Rt.FIGURE],[It.FONT,Rt.FONT],[It.FOOTER,Rt.FOOTER],[It.FOREIGN_OBJECT,Rt.FOREIGN_OBJECT],[It.FORM,Rt.FORM],[It.FRAME,Rt.FRAME],[It.FRAMESET,Rt.FRAMESET],[It.H1,Rt.H1],[It.H2,Rt.H2],[It.H3,Rt.H3],[It.H4,Rt.H4],[It.H5,Rt.H5],[It.H6,Rt.H6],[It.HEAD,Rt.HEAD],[It.HEADER,Rt.HEADER],[It.HGROUP,Rt.HGROUP],[It.HR,Rt.HR],[It.HTML,Rt.HTML],[It.I,Rt.I],[It.IMG,Rt.IMG],[It.IMAGE,Rt.IMAGE],[It.INPUT,Rt.INPUT],[It.IFRAME,Rt.IFRAME],[It.KEYGEN,Rt.KEYGEN],[It.LABEL,Rt.LABEL],[It.LI,Rt.LI],[It.LINK,Rt.LINK],[It.LISTING,Rt.LISTING],[It.MAIN,Rt.MAIN],[It.MALIGNMARK,Rt.MALIGNMARK],[It.MARQUEE,Rt.MARQUEE],[It.MATH,Rt.MATH],[It.MENU,Rt.MENU],[It.META,Rt.META],[It.MGLYPH,Rt.MGLYPH],[It.MI,Rt.MI],[It.MO,Rt.MO],[It.MN,Rt.MN],[It.MS,Rt.MS],[It.MTEXT,Rt.MTEXT],[It.NAV,Rt.NAV],[It.NOBR,Rt.NOBR],[It.NOFRAMES,Rt.NOFRAMES],[It.NOEMBED,Rt.NOEMBED],[It.NOSCRIPT,Rt.NOSCRIPT],[It.OBJECT,Rt.OBJECT],[It.OL,Rt.OL],[It.OPTGROUP,Rt.OPTGROUP],[It.OPTION,Rt.OPTION],[It.P,Rt.P],[It.PARAM,Rt.PARAM],[It.PLAINTEXT,Rt.PLAINTEXT],[It.PRE,Rt.PRE],[It.RB,Rt.RB],[It.RP,Rt.RP],[It.RT,Rt.RT],[It.RTC,Rt.RTC],[It.RUBY,Rt.RUBY],[It.S,Rt.S],[It.SCRIPT,Rt.SCRIPT],[It.SECTION,Rt.SECTION],[It.SELECT,Rt.SELECT],[It.SOURCE,Rt.SOURCE],[It.SMALL,Rt.SMALL],[It.SPAN,Rt.SPAN],[It.STRIKE,Rt.STRIKE],[It.STRONG,Rt.STRONG],[It.STYLE,Rt.STYLE],[It.SUB,Rt.SUB],[It.SUMMARY,Rt.SUMMARY],[It.SUP,Rt.SUP],[It.TABLE,Rt.TABLE],[It.TBODY,Rt.TBODY],[It.TEMPLATE,Rt.TEMPLATE],[It.TEXTAREA,Rt.TEXTAREA],[It.TFOOT,Rt.TFOOT],[It.TD,Rt.TD],[It.TH,Rt.TH],[It.THEAD,Rt.THEAD],[It.TITLE,Rt.TITLE],[It.TR,Rt.TR],[It.TRACK,Rt.TRACK],[It.TT,Rt.TT],[It.U,Rt.U],[It.UL,Rt.UL],[It.SVG,Rt.SVG],[It.VAR,Rt.VAR],[It.WBR,Rt.WBR],[It.XMP,Rt.XMP]]);function Lt(e){var t;return null!==(t=Dt.get(e))&&void 0!==t?t:Rt.UNKNOWN}const Pt=Rt,xt={[_t.HTML]:new Set([Pt.ADDRESS,Pt.APPLET,Pt.AREA,Pt.ARTICLE,Pt.ASIDE,Pt.BASE,Pt.BASEFONT,Pt.BGSOUND,Pt.BLOCKQUOTE,Pt.BODY,Pt.BR,Pt.BUTTON,Pt.CAPTION,Pt.CENTER,Pt.COL,Pt.COLGROUP,Pt.DD,Pt.DETAILS,Pt.DIR,Pt.DIV,Pt.DL,Pt.DT,Pt.EMBED,Pt.FIELDSET,Pt.FIGCAPTION,Pt.FIGURE,Pt.FOOTER,Pt.FORM,Pt.FRAME,Pt.FRAMESET,Pt.H1,Pt.H2,Pt.H3,Pt.H4,Pt.H5,Pt.H6,Pt.HEAD,Pt.HEADER,Pt.HGROUP,Pt.HR,Pt.HTML,Pt.IFRAME,Pt.IMG,Pt.INPUT,Pt.LI,Pt.LINK,Pt.LISTING,Pt.MAIN,Pt.MARQUEE,Pt.MENU,Pt.META,Pt.NAV,Pt.NOEMBED,Pt.NOFRAMES,Pt.NOSCRIPT,Pt.OBJECT,Pt.OL,Pt.P,Pt.PARAM,Pt.PLAINTEXT,Pt.PRE,Pt.SCRIPT,Pt.SECTION,Pt.SELECT,Pt.SOURCE,Pt.STYLE,Pt.SUMMARY,Pt.TABLE,Pt.TBODY,Pt.TD,Pt.TEMPLATE,Pt.TEXTAREA,Pt.TFOOT,Pt.TH,Pt.THEAD,Pt.TITLE,Pt.TR,Pt.TRACK,Pt.UL,Pt.WBR,Pt.XMP]),[_t.MATHML]:new Set([Pt.MI,Pt.MO,Pt.MN,Pt.MS,Pt.MTEXT,Pt.ANNOTATION_XML]),[_t.SVG]:new Set([Pt.TITLE,Pt.FOREIGN_OBJECT,Pt.DESC]),[_t.XLINK]:new Set,[_t.XML]:new Set,[_t.XMLNS]:new Set};function Mt(e){return e===Pt.H1||e===Pt.H2||e===Pt.H3||e===Pt.H4||e===Pt.H5||e===Pt.H6}new Set([It.STYLE,It.SCRIPT,It.XMP,It.IFRAME,It.NOEMBED,It.NOFRAMES,It.PLAINTEXT]);const Ft=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 Ut;!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"}(Ut||(Ut={}));const Bt={DATA:Ut.DATA,RCDATA:Ut.RCDATA,RAWTEXT:Ut.RAWTEXT,SCRIPT_DATA:Ut.SCRIPT_DATA,PLAINTEXT:Ut.PLAINTEXT,CDATA_SECTION:Ut.CDATA_SECTION};function Gt(e){return e>=nt.DIGIT_0&&e<=nt.DIGIT_9}function Ht(e){return e>=nt.LATIN_CAPITAL_A&&e<=nt.LATIN_CAPITAL_Z}function $t(e){return function(e){return e>=nt.LATIN_SMALL_A&&e<=nt.LATIN_SMALL_Z}(e)||Ht(e)}function zt(e){return $t(e)||Gt(e)}function jt(e){return e>=nt.LATIN_CAPITAL_A&&e<=nt.LATIN_CAPITAL_F}function Yt(e){return e>=nt.LATIN_SMALL_A&&e<=nt.LATIN_SMALL_F}function Vt(e){return e+32}function qt(e){return e===nt.SPACE||e===nt.LINE_FEED||e===nt.TABULATION||e===nt.FORM_FEED}function Wt(e){return qt(e)||e===nt.SOLIDUS||e===nt.GREATER_THAN_SIGN}class Kt{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Ut.DATA,this.returnState=Ut.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new dt(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(ct.endTagWithAttributes),e.selfClosing&&this._err(ct.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case ut.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case ut.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case ut.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:ut.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=qt(e)?ut.WHITESPACE_CHARACTER:e===nt.NULL?ut.NULL_CHARACTER:ut.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(ut.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,a=!1;for(let i=0,o=mt[0];i>=0&&(i=vt(mt,o,i+1,e),!(i<0));e=this._consume()){n+=1,o=mt[i];const s=o&Tt.VALUE_LENGTH;if(s){const o=(s>>14)-1;if(e!==nt.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((r=this.preprocessor.peek(1))===nt.EQUALS_SIGN||zt(r))?(t=[nt.AMPERSAND],i+=o):(t=0===o?[mt[i]&~Tt.VALUE_LENGTH]:1===o?[mt[++i]]:[mt[++i],mt[++i]],n=0,a=e!==nt.SEMICOLON),0===o){this._consume();break}}}var r;return this._unconsume(n),a&&!this.preprocessor.endOfChunkHit&&this._err(ct.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Ut.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Ut.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Ut.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Ut.DATA:this._stateData(e);break;case Ut.RCDATA:this._stateRcdata(e);break;case Ut.RAWTEXT:this._stateRawtext(e);break;case Ut.SCRIPT_DATA:this._stateScriptData(e);break;case Ut.PLAINTEXT:this._statePlaintext(e);break;case Ut.TAG_OPEN:this._stateTagOpen(e);break;case Ut.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Ut.TAG_NAME:this._stateTagName(e);break;case Ut.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Ut.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Ut.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Ut.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Ut.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Ut.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Ut.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Ut.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Ut.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Ut.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Ut.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Ut.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Ut.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Ut.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Ut.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Ut.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Ut.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Ut.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Ut.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Ut.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Ut.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Ut.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Ut.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Ut.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Ut.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Ut.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Ut.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Ut.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Ut.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Ut.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Ut.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Ut.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Ut.BOGUS_COMMENT:this._stateBogusComment(e);break;case Ut.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Ut.COMMENT_START:this._stateCommentStart(e);break;case Ut.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Ut.COMMENT:this._stateComment(e);break;case Ut.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Ut.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Ut.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Ut.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Ut.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Ut.COMMENT_END:this._stateCommentEnd(e);break;case Ut.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Ut.DOCTYPE:this._stateDoctype(e);break;case Ut.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Ut.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Ut.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Ut.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Ut.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Ut.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Ut.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Ut.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Ut.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Ut.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Ut.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Ut.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Ut.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Ut.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Ut.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Ut.CDATA_SECTION:this._stateCdataSection(e);break;case Ut.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Ut.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Ut.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Ut.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Ut.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Ut.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Ut.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Ut.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Ut.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Ut.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case nt.LESS_THAN_SIGN:this.state=Ut.TAG_OPEN;break;case nt.AMPERSAND:this.returnState=Ut.DATA,this.state=Ut.CHARACTER_REFERENCE;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this._emitCodePoint(e);break;case nt.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case nt.AMPERSAND:this.returnState=Ut.RCDATA,this.state=Ut.CHARACTER_REFERENCE;break;case nt.LESS_THAN_SIGN:this.state=Ut.RCDATA_LESS_THAN_SIGN;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this._emitChars(tt);break;case nt.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case nt.LESS_THAN_SIGN:this.state=Ut.RAWTEXT_LESS_THAN_SIGN;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this._emitChars(tt);break;case nt.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case nt.LESS_THAN_SIGN:this.state=Ut.SCRIPT_DATA_LESS_THAN_SIGN;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this._emitChars(tt);break;case nt.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case nt.NULL:this._err(ct.unexpectedNullCharacter),this._emitChars(tt);break;case nt.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if($t(e))this._createStartTagToken(),this.state=Ut.TAG_NAME,this._stateTagName(e);else switch(e){case nt.EXCLAMATION_MARK:this.state=Ut.MARKUP_DECLARATION_OPEN;break;case nt.SOLIDUS:this.state=Ut.END_TAG_OPEN;break;case nt.QUESTION_MARK:this._err(ct.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Ut.BOGUS_COMMENT,this._stateBogusComment(e);break;case nt.EOF:this._err(ct.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(ct.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Ut.DATA,this._stateData(e)}}_stateEndTagOpen(e){if($t(e))this._createEndTagToken(),this.state=Ut.TAG_NAME,this._stateTagName(e);else switch(e){case nt.GREATER_THAN_SIGN:this._err(ct.missingEndTagName),this.state=Ut.DATA;break;case nt.EOF:this._err(ct.eofBeforeTagName),this._emitChars("");break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this.state=Ut.SCRIPT_DATA_ESCAPED,this._emitChars(tt);break;case nt.EOF:this._err(ct.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Ut.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===nt.SOLIDUS?this.state=Ut.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:$t(e)?(this._emitChars("<"),this.state=Ut.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Ut.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){$t(e)?(this.state=Ut.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this.state=Ut.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(tt);break;case nt.EOF:this._err(ct.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Ut.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===nt.SOLIDUS?(this.state=Ut.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Ut.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(it,!1)&&Wt(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Ut.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Ut.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.SOLIDUS:case nt.GREATER_THAN_SIGN:case nt.EOF:this.state=Ut.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case nt.EQUALS_SIGN:this._err(ct.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Ut.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Ut.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:case nt.SOLIDUS:case nt.GREATER_THAN_SIGN:case nt.EOF:this._leaveAttrName(),this.state=Ut.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case nt.EQUALS_SIGN:this._leaveAttrName(),this.state=Ut.BEFORE_ATTRIBUTE_VALUE;break;case nt.QUOTATION_MARK:case nt.APOSTROPHE:case nt.LESS_THAN_SIGN:this._err(ct.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this.currentAttr.name+=tt;break;default:this.currentAttr.name+=String.fromCodePoint(Ht(e)?Vt(e):e)}}_stateAfterAttributeName(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.SOLIDUS:this.state=Ut.SELF_CLOSING_START_TAG;break;case nt.EQUALS_SIGN:this.state=Ut.BEFORE_ATTRIBUTE_VALUE;break;case nt.GREATER_THAN_SIGN:this.state=Ut.DATA,this.emitCurrentTagToken();break;case nt.EOF:this._err(ct.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Ut.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.QUOTATION_MARK:this.state=Ut.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case nt.APOSTROPHE:this.state=Ut.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case nt.GREATER_THAN_SIGN:this._err(ct.missingAttributeValue),this.state=Ut.DATA,this.emitCurrentTagToken();break;default:this.state=Ut.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case nt.QUOTATION_MARK:this.state=Ut.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case nt.AMPERSAND:this.returnState=Ut.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Ut.CHARACTER_REFERENCE;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this.currentAttr.value+=tt;break;case nt.EOF:this._err(ct.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case nt.APOSTROPHE:this.state=Ut.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case nt.AMPERSAND:this.returnState=Ut.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Ut.CHARACTER_REFERENCE;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this.currentAttr.value+=tt;break;case nt.EOF:this._err(ct.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this._leaveAttrValue(),this.state=Ut.BEFORE_ATTRIBUTE_NAME;break;case nt.AMPERSAND:this.returnState=Ut.ATTRIBUTE_VALUE_UNQUOTED,this.state=Ut.CHARACTER_REFERENCE;break;case nt.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Ut.DATA,this.emitCurrentTagToken();break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this.currentAttr.value+=tt;break;case nt.QUOTATION_MARK:case nt.APOSTROPHE:case nt.LESS_THAN_SIGN:case nt.EQUALS_SIGN:case nt.GRAVE_ACCENT:this._err(ct.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case nt.EOF:this._err(ct.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this._leaveAttrValue(),this.state=Ut.BEFORE_ATTRIBUTE_NAME;break;case nt.SOLIDUS:this._leaveAttrValue(),this.state=Ut.SELF_CLOSING_START_TAG;break;case nt.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Ut.DATA,this.emitCurrentTagToken();break;case nt.EOF:this._err(ct.eofInTag),this._emitEOFToken();break;default:this._err(ct.missingWhitespaceBetweenAttributes),this.state=Ut.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case nt.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Ut.DATA,this.emitCurrentTagToken();break;case nt.EOF:this._err(ct.eofInTag),this._emitEOFToken();break;default:this._err(ct.unexpectedSolidusInTag),this.state=Ut.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case nt.GREATER_THAN_SIGN:this.state=Ut.DATA,this.emitCurrentComment(t);break;case nt.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.data+=tt;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Ut.COMMENT_START):this._consumeSequenceIfMatch(rt,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Ut.DOCTYPE):this._consumeSequenceIfMatch(at,!0)?this.inForeignNode?this.state=Ut.CDATA_SECTION:(this._err(ct.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Ut.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ct.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Ut.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case nt.HYPHEN_MINUS:this.state=Ut.COMMENT_START_DASH;break;case nt.GREATER_THAN_SIGN:{this._err(ct.abruptClosingOfEmptyComment),this.state=Ut.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Ut.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case nt.HYPHEN_MINUS:this.state=Ut.COMMENT_END;break;case nt.GREATER_THAN_SIGN:this._err(ct.abruptClosingOfEmptyComment),this.state=Ut.DATA,this.emitCurrentComment(t);break;case nt.EOF:this._err(ct.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Ut.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case nt.HYPHEN_MINUS:this.state=Ut.COMMENT_END_DASH;break;case nt.LESS_THAN_SIGN:t.data+="<",this.state=Ut.COMMENT_LESS_THAN_SIGN;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.data+=tt;break;case nt.EOF:this._err(ct.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case nt.EXCLAMATION_MARK:t.data+="!",this.state=Ut.COMMENT_LESS_THAN_SIGN_BANG;break;case nt.LESS_THAN_SIGN:t.data+="<";break;default:this.state=Ut.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===nt.HYPHEN_MINUS?this.state=Ut.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Ut.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===nt.HYPHEN_MINUS?this.state=Ut.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Ut.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==nt.GREATER_THAN_SIGN&&e!==nt.EOF&&this._err(ct.nestedComment),this.state=Ut.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case nt.HYPHEN_MINUS:this.state=Ut.COMMENT_END;break;case nt.EOF:this._err(ct.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Ut.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case nt.GREATER_THAN_SIGN:this.state=Ut.DATA,this.emitCurrentComment(t);break;case nt.EXCLAMATION_MARK:this.state=Ut.COMMENT_END_BANG;break;case nt.HYPHEN_MINUS:t.data+="-";break;case nt.EOF:this._err(ct.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=Ut.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case nt.HYPHEN_MINUS:t.data+="--!",this.state=Ut.COMMENT_END_DASH;break;case nt.GREATER_THAN_SIGN:this._err(ct.incorrectlyClosedComment),this.state=Ut.DATA,this.emitCurrentComment(t);break;case nt.EOF:this._err(ct.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=Ut.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this.state=Ut.BEFORE_DOCTYPE_NAME;break;case nt.GREATER_THAN_SIGN:this.state=Ut.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case nt.EOF:{this._err(ct.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(ct.missingWhitespaceBeforeDoctypeName),this.state=Ut.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Ht(e))this._createDoctypeToken(String.fromCharCode(Vt(e))),this.state=Ut.DOCTYPE_NAME;else switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.NULL:this._err(ct.unexpectedNullCharacter),this._createDoctypeToken(tt),this.state=Ut.DOCTYPE_NAME;break;case nt.GREATER_THAN_SIGN:{this._err(ct.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Ut.DATA;break}case nt.EOF:{this._err(ct.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Ut.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this.state=Ut.AFTER_DOCTYPE_NAME;break;case nt.GREATER_THAN_SIGN:this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.name+=tt;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(Ht(e)?Vt(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.GREATER_THAN_SIGN:this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Ut.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Ut.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ct.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this.state=Ut.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case nt.QUOTATION_MARK:this._err(ct.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Ut.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case nt.APOSTROPHE:this._err(ct.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Ut.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case nt.GREATER_THAN_SIGN:this._err(ct.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.QUOTATION_MARK:t.publicId="",this.state=Ut.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case nt.APOSTROPHE:t.publicId="",this.state=Ut.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case nt.GREATER_THAN_SIGN:this._err(ct.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case nt.QUOTATION_MARK:this.state=Ut.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.publicId+=tt;break;case nt.GREATER_THAN_SIGN:this._err(ct.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case nt.APOSTROPHE:this.state=Ut.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.publicId+=tt;break;case nt.GREATER_THAN_SIGN:this._err(ct.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this.state=Ut.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case nt.GREATER_THAN_SIGN:this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.QUOTATION_MARK:this._err(ct.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case nt.APOSTROPHE:this._err(ct.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.QUOTATION_MARK:t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case nt.APOSTROPHE:t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:this.state=Ut.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case nt.QUOTATION_MARK:this._err(ct.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case nt.APOSTROPHE:this._err(ct.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case nt.GREATER_THAN_SIGN:this._err(ct.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.QUOTATION_MARK:t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case nt.APOSTROPHE:t.systemId="",this.state=Ut.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case nt.GREATER_THAN_SIGN:this._err(ct.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Ut.DATA,this.emitCurrentDoctype(t);break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case nt.QUOTATION_MARK:this.state=Ut.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.systemId+=tt;break;case nt.GREATER_THAN_SIGN:this._err(ct.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case nt.APOSTROPHE:this.state=Ut.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case nt.NULL:this._err(ct.unexpectedNullCharacter),t.systemId+=tt;break;case nt.GREATER_THAN_SIGN:this._err(ct.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case nt.SPACE:case nt.LINE_FEED:case nt.TABULATION:case nt.FORM_FEED:break;case nt.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.EOF:this._err(ct.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(ct.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Ut.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case nt.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Ut.DATA;break;case nt.NULL:this._err(ct.unexpectedNullCharacter);break;case nt.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case nt.RIGHT_SQUARE_BRACKET:this.state=Ut.CDATA_SECTION_BRACKET;break;case nt.EOF:this._err(ct.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===nt.RIGHT_SQUARE_BRACKET?this.state=Ut.CDATA_SECTION_END:(this._emitChars("]"),this.state=Ut.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case nt.GREATER_THAN_SIGN:this.state=Ut.DATA;break;case nt.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Ut.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===nt.NUMBER_SIGN?this.state=Ut.NUMERIC_CHARACTER_REFERENCE:zt(e)?(this.state=Ut.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(nt.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e1114111)this._err(ct.characterReferenceOutsideUnicodeRange),this.charRefCode=nt.REPLACEMENT_CHARACTER;else if(ot(this.charRefCode))this._err(ct.surrogateCharacterReference),this.charRefCode=nt.REPLACEMENT_CHARACTER;else if(lt(this.charRefCode))this._err(ct.noncharacterCharacterReference);else if(st(this.charRefCode)||this.charRefCode===nt.CARRIAGE_RETURN){this._err(ct.controlCharacterReference);const e=Ft.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const Xt=new Set([Rt.DD,Rt.DT,Rt.LI,Rt.OPTGROUP,Rt.OPTION,Rt.P,Rt.RB,Rt.RP,Rt.RT,Rt.RTC]),Zt=new Set([...Xt,Rt.CAPTION,Rt.COLGROUP,Rt.TBODY,Rt.TD,Rt.TFOOT,Rt.TH,Rt.THEAD,Rt.TR]),Qt=new Map([[Rt.APPLET,_t.HTML],[Rt.CAPTION,_t.HTML],[Rt.HTML,_t.HTML],[Rt.MARQUEE,_t.HTML],[Rt.OBJECT,_t.HTML],[Rt.TABLE,_t.HTML],[Rt.TD,_t.HTML],[Rt.TEMPLATE,_t.HTML],[Rt.TH,_t.HTML],[Rt.ANNOTATION_XML,_t.MATHML],[Rt.MI,_t.MATHML],[Rt.MN,_t.MATHML],[Rt.MO,_t.MATHML],[Rt.MS,_t.MATHML],[Rt.MTEXT,_t.MATHML],[Rt.DESC,_t.SVG],[Rt.FOREIGN_OBJECT,_t.SVG],[Rt.TITLE,_t.SVG]]),Jt=[Rt.H1,Rt.H2,Rt.H3,Rt.H4,Rt.H5,Rt.H6],en=[Rt.TR,Rt.TEMPLATE,Rt.HTML],tn=[Rt.TBODY,Rt.TFOOT,Rt.THEAD,Rt.TEMPLATE,Rt.HTML],nn=[Rt.TABLE,Rt.TEMPLATE,Rt.HTML],an=[Rt.TD,Rt.TH];class rn{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Rt.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Rt.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===_t.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const a=this._indexOf(e)+1;this.items.splice(a,0,t),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==_t.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(nn,_t.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tn,_t.HTML)}clearBackToTableRowContext(){this.clearBackTo(en,_t.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Rt.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Rt.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],a=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&a===_t.HTML)return!0;if(Qt.get(n)===a)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(Mt(t)&&n===_t.HTML)return!0;if(Qt.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],a=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&a===_t.HTML)return!0;if((n===Rt.UL||n===Rt.OL)&&a===_t.HTML||Qt.get(n)===a)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],a=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&a===_t.HTML)return!0;if(n===Rt.BUTTON&&a===_t.HTML||Qt.get(n)===a)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===_t.HTML){if(n===e)return!0;if(n===Rt.TABLE||n===Rt.TEMPLATE||n===Rt.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===_t.HTML){if(t===Rt.TBODY||t===Rt.THEAD||t===Rt.TFOOT)return!0;if(t===Rt.TABLE||t===Rt.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===_t.HTML){if(n===e)return!0;if(n!==Rt.OPTION&&n!==Rt.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Xt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Zt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Zt.has(this.currentTagId);)this.pop()}}var on;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(on=on||(on={}));const sn={type:on.Marker};class ln{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],a=t.length,r=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let r=0;for(let e=0;ea.get(e.name)===e.value))&&(r+=1,r>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(sn)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:on.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:on.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(sn);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===on.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===on.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===on.Element&&t.element===e))}}function cn(e){return{nodeName:"#text",value:e,parentNode:null}}const un={createDocument:()=>({nodeName:"#document",mode:Nt.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const a=e.childNodes.indexOf(n);e.childNodes.splice(a,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,a){const r=e.childNodes.find((e=>"#documentType"===e.nodeName));if(r)r.name=t,r.publicId=n,r.systemId=a;else{const r={nodeName:"#documentType",name:t,publicId:n,systemId:a,parentNode:null};un.appendChild(e,r)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>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(un.isTextNode(n))return void(n.value+=t)}un.appendChild(e,cn(t))},insertTextBefore(e,t,n){const a=e.childNodes[e.childNodes.indexOf(n)-1];a&&un.isTextNode(a)?a.value+=t:un.insertBefore(e,cn(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let a=0;ae.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},dn="html",pn=["+//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//"],mn=[...pn,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],gn=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),fn=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],En=[...fn,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function bn(e,t){return t.some((t=>e.startsWith(t)))}const hn="text/html",Tn="application/xhtml+xml",An="definitionurl",Sn="definitionURL",yn=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]))),Nn=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:_t.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:_t.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:_t.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:_t.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:_t.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:_t.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:_t.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:_t.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:_t.XML}],["xml:space",{prefix:"xml",name:"space",namespace:_t.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:_t.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:_t.XMLNS}]]),In=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]))),Rn=new Set([Rt.B,Rt.BIG,Rt.BLOCKQUOTE,Rt.BODY,Rt.BR,Rt.CENTER,Rt.CODE,Rt.DD,Rt.DIV,Rt.DL,Rt.DT,Rt.EM,Rt.EMBED,Rt.H1,Rt.H2,Rt.H3,Rt.H4,Rt.H5,Rt.H6,Rt.HEAD,Rt.HR,Rt.I,Rt.IMG,Rt.LI,Rt.LISTING,Rt.MENU,Rt.META,Rt.NOBR,Rt.OL,Rt.P,Rt.PRE,Rt.RUBY,Rt.S,Rt.SMALL,Rt.SPAN,Rt.STRONG,Rt.STRIKE,Rt.SUB,Rt.SUP,Rt.TABLE,Rt.TT,Rt.U,Rt.UL,Rt.VAR]);function On(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(a=(n=this.treeAdapter).onItemPop)||void 0===a||a.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===_t.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,_t.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ln.TEXT}switchToPlaintextParsing(){this.insertionMode=Ln.TEXT,this.originalInsertionMode=Ln.IN_BODY,this.tokenizer.state=Bt.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===It.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===_t.HTML)switch(this.fragmentContextID){case Rt.TITLE:case Rt.TEXTAREA:this.tokenizer.state=Bt.RCDATA;break;case Rt.STYLE:case Rt.XMP:case Rt.IFRAME:case Rt.NOEMBED:case Rt.NOFRAMES:case Rt.NOSCRIPT:this.tokenizer.state=Bt.RAWTEXT;break;case Rt.SCRIPT:this.tokenizer.state=Bt.SCRIPT_DATA;break;case Rt.PLAINTEXT:this.tokenizer.state=Bt.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",a=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,a),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,_t.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,_t.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(It.HTML,_t.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Rt.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const a=this.treeAdapter.getChildNodes(t),r=n?a.lastIndexOf(n):a.length,i=a[r-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:a}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:a})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,a=this.treeAdapter.getTagName(e),r=t.type===ut.END_TAG&&a===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,r)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Rt.SVG||this.treeAdapter.getTagName(t)!==It.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==_t.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Rt.MGLYPH||e.tagID===Rt.MALIGNMARK)&&!this._isIntegrationPoint(n,t,_t.HTML))}_processToken(e){switch(e.type){case ut.CHARACTER:this.onCharacter(e);break;case ut.NULL_CHARACTER:this.onNullCharacter(e);break;case ut.COMMENT:this.onComment(e);break;case ut.DOCTYPE:this.onDoctype(e);break;case ut.START_TAG:this._processStartTag(e);break;case ut.END_TAG:this.onEndTag(e);break;case ut.EOF:this.onEof(e);break;case ut.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return function(e,t,n,a){return(!a||a===_t.HTML)&&function(e,t,n){if(t===_t.MATHML&&e===Rt.ANNOTATION_XML)for(let e=0;ee.type===on.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ln.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Rt.P),this.openElements.popUntilTagNamePopped(Rt.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Rt.TR:return void(this.insertionMode=Ln.IN_ROW);case Rt.TBODY:case Rt.THEAD:case Rt.TFOOT:return void(this.insertionMode=Ln.IN_TABLE_BODY);case Rt.CAPTION:return void(this.insertionMode=Ln.IN_CAPTION);case Rt.COLGROUP:return void(this.insertionMode=Ln.IN_COLUMN_GROUP);case Rt.TABLE:return void(this.insertionMode=Ln.IN_TABLE);case Rt.BODY:return void(this.insertionMode=Ln.IN_BODY);case Rt.FRAMESET:return void(this.insertionMode=Ln.IN_FRAMESET);case Rt.SELECT:return void this._resetInsertionModeForSelect(e);case Rt.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Rt.HTML:return void(this.insertionMode=this.headElement?Ln.AFTER_HEAD:Ln.BEFORE_HEAD);case Rt.TD:case Rt.TH:if(e>0)return void(this.insertionMode=Ln.IN_CELL);break;case Rt.HEAD:if(e>0)return void(this.insertionMode=Ln.IN_HEAD)}this.insertionMode=Ln.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Rt.TEMPLATE)break;if(e===Rt.TABLE)return void(this.insertionMode=Ln.IN_SELECT_IN_TABLE)}this.insertionMode=Ln.IN_SELECT}_isElementCausesFosterParenting(e){return xn.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Rt.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===_t.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Rt.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return xt[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Ln.INITIAL:qn(this,e);break;case Ln.BEFORE_HTML:Wn(this,e);break;case Ln.BEFORE_HEAD:Kn(this,e);break;case Ln.IN_HEAD:Qn(this,e);break;case Ln.IN_HEAD_NO_SCRIPT:Jn(this,e);break;case Ln.AFTER_HEAD:ea(this,e);break;case Ln.IN_BODY:case Ln.IN_CAPTION:case Ln.IN_CELL:case Ln.IN_TEMPLATE:aa(this,e);break;case Ln.TEXT:case Ln.IN_SELECT:case Ln.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Ln.IN_TABLE:case Ln.IN_TABLE_BODY:case Ln.IN_ROW:pa(this,e);break;case Ln.IN_TABLE_TEXT:ba(this,e);break;case Ln.IN_COLUMN_GROUP:Sa(this,e);break;case Ln.AFTER_BODY:wa(this,e);break;case Ln.AFTER_AFTER_BODY:va(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=tt,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Ln.INITIAL:qn(this,e);break;case Ln.BEFORE_HTML:Wn(this,e);break;case Ln.BEFORE_HEAD:Kn(this,e);break;case Ln.IN_HEAD:Qn(this,e);break;case Ln.IN_HEAD_NO_SCRIPT:Jn(this,e);break;case Ln.AFTER_HEAD:ea(this,e);break;case Ln.TEXT:this._insertCharacters(e);break;case Ln.IN_TABLE:case Ln.IN_TABLE_BODY:case Ln.IN_ROW:pa(this,e);break;case Ln.IN_COLUMN_GROUP:Sa(this,e);break;case Ln.AFTER_BODY:wa(this,e);break;case Ln.AFTER_AFTER_BODY:va(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Yn(this,e);else switch(this.insertionMode){case Ln.INITIAL:case Ln.BEFORE_HTML:case Ln.BEFORE_HEAD:case Ln.IN_HEAD:case Ln.IN_HEAD_NO_SCRIPT:case Ln.AFTER_HEAD:case Ln.IN_BODY:case Ln.IN_TABLE:case Ln.IN_CAPTION:case Ln.IN_COLUMN_GROUP:case Ln.IN_TABLE_BODY:case Ln.IN_ROW:case Ln.IN_CELL:case Ln.IN_SELECT:case Ln.IN_SELECT_IN_TABLE:case Ln.IN_TEMPLATE:case Ln.IN_FRAMESET:case Ln.AFTER_FRAMESET:Yn(this,e);break;case Ln.IN_TABLE_TEXT:ha(this,e);break;case Ln.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Ln.AFTER_AFTER_BODY:case Ln.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Ln.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?Nt.QUIRKS:function(e){if(e.name!==dn)return Nt.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Nt.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),gn.has(n))return Nt.QUIRKS;let e=null===t?mn:pn;if(bn(n,e))return Nt.QUIRKS;if(e=null===t?fn:En,bn(n,e))return Nt.LIMITED_QUIRKS}return Nt.NO_QUIRKS}(t);(function(e){return e.name===dn&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,ct.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Ln.BEFORE_HTML}(this,e);break;case Ln.BEFORE_HEAD:case Ln.IN_HEAD:case Ln.IN_HEAD_NO_SCRIPT:case Ln.AFTER_HEAD:this._err(e,ct.misplacedDoctype);break;case Ln.IN_TABLE_TEXT:ha(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,ct.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Rt.FONT&&e.attrs.some((({name:e})=>e===yt.COLOR||e===yt.SIZE||e===yt.FACE))||Rn.has(t)}(t))Da(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);a===_t.MATHML?On(t):a===_t.SVG&&(function(e){const t=In.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Lt(e.tagName))}(t),Cn(t)),kn(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Ln.INITIAL:qn(this,e);break;case Ln.BEFORE_HTML:!function(e,t){t.tagID===Rt.HTML?(e._insertElement(t,_t.HTML),e.insertionMode=Ln.BEFORE_HEAD):Wn(e,t)}(this,e);break;case Ln.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.HEAD:e._insertElement(t,_t.HTML),e.headElement=e.openElements.current,e.insertionMode=Ln.IN_HEAD;break;default:Kn(e,t)}}(this,e);break;case Ln.IN_HEAD:Xn(this,e);break;case Ln.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.BASEFONT:case Rt.BGSOUND:case Rt.HEAD:case Rt.LINK:case Rt.META:case Rt.NOFRAMES:case Rt.STYLE:Xn(e,t);break;case Rt.NOSCRIPT:e._err(t,ct.nestedNoscriptInHead);break;default:Jn(e,t)}}(this,e);break;case Ln.AFTER_HEAD:!function(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.BODY:e._insertElement(t,_t.HTML),e.framesetOk=!1,e.insertionMode=Ln.IN_BODY;break;case Rt.FRAMESET:e._insertElement(t,_t.HTML),e.insertionMode=Ln.IN_FRAMESET;break;case Rt.BASE:case Rt.BASEFONT:case Rt.BGSOUND:case Rt.LINK:case Rt.META:case Rt.NOFRAMES:case Rt.SCRIPT:case Rt.STYLE:case Rt.TEMPLATE:case Rt.TITLE:e._err(t,ct.abandonedHeadElementChild),e.openElements.push(e.headElement,Rt.HEAD),Xn(e,t),e.openElements.remove(e.headElement);break;case Rt.HEAD:e._err(t,ct.misplacedStartTagForHeadElement);break;default:ea(e,t)}}(this,e);break;case Ln.IN_BODY:la(this,e);break;case Ln.IN_TABLE:ma(this,e);break;case Ln.IN_TABLE_TEXT:ha(this,e);break;case Ln.IN_CAPTION:!function(e,t){const n=t.tagID;Ta.has(n)?e.openElements.hasInTableScope(Rt.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Rt.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ln.IN_TABLE,ma(e,t)):la(e,t)}(this,e);break;case Ln.IN_COLUMN_GROUP:Aa(this,e);break;case Ln.IN_TABLE_BODY:_a(this,e);break;case Ln.IN_ROW:Na(this,e);break;case Ln.IN_CELL:!function(e,t){const n=t.tagID;Ta.has(n)?(e.openElements.hasInTableScope(Rt.TD)||e.openElements.hasInTableScope(Rt.TH))&&(e._closeTableCell(),Na(e,t)):la(e,t)}(this,e);break;case Ln.IN_SELECT:Ra(this,e);break;case Ln.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Rt.CAPTION||n===Rt.TABLE||n===Rt.TBODY||n===Rt.TFOOT||n===Rt.THEAD||n===Rt.TR||n===Rt.TD||n===Rt.TH?(e.openElements.popUntilTagNamePopped(Rt.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Ra(e,t)}(this,e);break;case Ln.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Rt.BASE:case Rt.BASEFONT:case Rt.BGSOUND:case Rt.LINK:case Rt.META:case Rt.NOFRAMES:case Rt.SCRIPT:case Rt.STYLE:case Rt.TEMPLATE:case Rt.TITLE:Xn(e,t);break;case Rt.CAPTION:case Rt.COLGROUP:case Rt.TBODY:case Rt.TFOOT:case Rt.THEAD:e.tmplInsertionModeStack[0]=Ln.IN_TABLE,e.insertionMode=Ln.IN_TABLE,ma(e,t);break;case Rt.COL:e.tmplInsertionModeStack[0]=Ln.IN_COLUMN_GROUP,e.insertionMode=Ln.IN_COLUMN_GROUP,Aa(e,t);break;case Rt.TR:e.tmplInsertionModeStack[0]=Ln.IN_TABLE_BODY,e.insertionMode=Ln.IN_TABLE_BODY,_a(e,t);break;case Rt.TD:case Rt.TH:e.tmplInsertionModeStack[0]=Ln.IN_ROW,e.insertionMode=Ln.IN_ROW,Na(e,t);break;default:e.tmplInsertionModeStack[0]=Ln.IN_BODY,e.insertionMode=Ln.IN_BODY,la(e,t)}}(this,e);break;case Ln.AFTER_BODY:!function(e,t){t.tagID===Rt.HTML?la(e,t):wa(e,t)}(this,e);break;case Ln.IN_FRAMESET:!function(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.FRAMESET:e._insertElement(t,_t.HTML);break;case Rt.FRAME:e._appendElement(t,_t.HTML),t.ackSelfClosing=!0;break;case Rt.NOFRAMES:Xn(e,t)}}(this,e);break;case Ln.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.NOFRAMES:Xn(e,t)}}(this,e);break;case Ln.AFTER_AFTER_BODY:!function(e,t){t.tagID===Rt.HTML?la(e,t):va(e,t)}(this,e);break;case Ln.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.NOFRAMES:Xn(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Rt.P||t.tagID===Rt.BR)return Da(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const a=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(a)===_t.HTML){e._endTagOutsideForeignContent(t);break}const r=e.treeAdapter.getTagName(a);if(r.toLowerCase()===t.tagName){t.tagName=r,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Ln.INITIAL:qn(this,e);break;case Ln.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Rt.HTML&&n!==Rt.HEAD&&n!==Rt.BODY&&n!==Rt.BR||Wn(e,t)}(this,e);break;case Ln.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Rt.HEAD||n===Rt.BODY||n===Rt.HTML||n===Rt.BR?Kn(e,t):e._err(t,ct.endTagWithoutMatchingOpenElement)}(this,e);break;case Ln.IN_HEAD:!function(e,t){switch(t.tagID){case Rt.HEAD:e.openElements.pop(),e.insertionMode=Ln.AFTER_HEAD;break;case Rt.BODY:case Rt.BR:case Rt.HTML:Qn(e,t);break;case Rt.TEMPLATE:Zn(e,t);break;default:e._err(t,ct.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ln.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Rt.NOSCRIPT:e.openElements.pop(),e.insertionMode=Ln.IN_HEAD;break;case Rt.BR:Jn(e,t);break;default:e._err(t,ct.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ln.AFTER_HEAD:!function(e,t){switch(t.tagID){case Rt.BODY:case Rt.HTML:case Rt.BR:ea(e,t);break;case Rt.TEMPLATE:Zn(e,t);break;default:e._err(t,ct.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ln.IN_BODY:ua(this,e);break;case Ln.TEXT:!function(e,t){var n;t.tagID===Rt.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Ln.IN_TABLE:ga(this,e);break;case Ln.IN_TABLE_TEXT:ha(this,e);break;case Ln.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Rt.CAPTION:case Rt.TABLE:e.openElements.hasInTableScope(Rt.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Rt.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ln.IN_TABLE,n===Rt.TABLE&&ga(e,t));break;case Rt.BODY:case Rt.COL:case Rt.COLGROUP:case Rt.HTML:case Rt.TBODY:case Rt.TD:case Rt.TFOOT:case Rt.TH:case Rt.THEAD:case Rt.TR:break;default:ua(e,t)}}(this,e);break;case Ln.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Rt.COLGROUP:e.openElements.currentTagId===Rt.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ln.IN_TABLE);break;case Rt.TEMPLATE:Zn(e,t);break;case Rt.COL:break;default:Sa(e,t)}}(this,e);break;case Ln.IN_TABLE_BODY:ya(this,e);break;case Ln.IN_ROW:Ia(this,e);break;case Ln.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Rt.TD:case Rt.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ln.IN_ROW);break;case Rt.TABLE:case Rt.TBODY:case Rt.TFOOT:case Rt.THEAD:case Rt.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Ia(e,t));break;case Rt.BODY:case Rt.CAPTION:case Rt.COL:case Rt.COLGROUP:case Rt.HTML:break;default:ua(e,t)}}(this,e);break;case Ln.IN_SELECT:Oa(this,e);break;case Ln.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Rt.CAPTION||n===Rt.TABLE||n===Rt.TBODY||n===Rt.TFOOT||n===Rt.THEAD||n===Rt.TR||n===Rt.TD||n===Rt.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Rt.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Oa(e,t)}(this,e);break;case Ln.IN_TEMPLATE:!function(e,t){t.tagID===Rt.TEMPLATE&&Zn(e,t)}(this,e);break;case Ln.AFTER_BODY:ka(this,e);break;case Ln.IN_FRAMESET:!function(e,t){t.tagID!==Rt.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Rt.FRAMESET||(e.insertionMode=Ln.AFTER_FRAMESET))}(this,e);break;case Ln.AFTER_FRAMESET:!function(e,t){t.tagID===Rt.HTML&&(e.insertionMode=Ln.AFTER_AFTER_FRAMESET)}(this,e);break;case Ln.AFTER_AFTER_BODY:va(this,e)}}onEof(e){switch(this.insertionMode){case Ln.INITIAL:qn(this,e);break;case Ln.BEFORE_HTML:Wn(this,e);break;case Ln.BEFORE_HEAD:Kn(this,e);break;case Ln.IN_HEAD:Qn(this,e);break;case Ln.IN_HEAD_NO_SCRIPT:Jn(this,e);break;case Ln.AFTER_HEAD:ea(this,e);break;case Ln.IN_BODY:case Ln.IN_TABLE:case Ln.IN_CAPTION:case Ln.IN_COLUMN_GROUP:case Ln.IN_TABLE_BODY:case Ln.IN_ROW:case Ln.IN_CELL:case Ln.IN_SELECT:case Ln.IN_SELECT_IN_TABLE:da(this,e);break;case Ln.TEXT:!function(e,t){e._err(t,ct.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Ln.IN_TABLE_TEXT:ha(this,e);break;case Ln.IN_TEMPLATE:Ca(this,e);break;case Ln.AFTER_BODY:case Ln.IN_FRAMESET:case Ln.AFTER_FRAMESET:case Ln.AFTER_AFTER_BODY:case Ln.AFTER_AFTER_FRAMESET:Vn(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===nt.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Ln.IN_HEAD:case Ln.IN_HEAD_NO_SCRIPT:case Ln.AFTER_HEAD:case Ln.TEXT:case Ln.IN_COLUMN_GROUP:case Ln.IN_SELECT:case Ln.IN_SELECT_IN_TABLE:case Ln.IN_FRAMESET:case Ln.AFTER_FRAMESET:this._insertCharacters(e);break;case Ln.IN_BODY:case Ln.IN_CAPTION:case Ln.IN_CELL:case Ln.IN_TEMPLATE:case Ln.AFTER_BODY:case Ln.AFTER_AFTER_BODY:case Ln.AFTER_AFTER_FRAMESET:na(this,e);break;case Ln.IN_TABLE:case Ln.IN_TABLE_BODY:case Ln.IN_ROW:pa(this,e);break;case Ln.IN_TABLE_TEXT:Ea(this,e)}}}function Un(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):ca(e,t),n}function Bn(e,t){let n=null,a=e.openElements.stackTop;for(;a>=0;a--){const r=e.openElements.items[a];if(r===t.element)break;e._isSpecialElement(r,e.openElements.tagIDs[a])&&(n=r)}return n||(e.openElements.shortenToLength(a<0?0:a),e.activeFormattingElements.removeEntry(t)),n}function Gn(e,t,n){let a=t,r=e.openElements.getCommonAncestor(t);for(let i=0,o=r;o!==n;i++,o=r){r=e.openElements.getCommonAncestor(o);const n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=Dn;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Hn(e,n),a===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(o,a),a=o)}return a}function Hn(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),a=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,a),t.element=a,a}function $n(e,t,n){const a=Lt(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const r=e.treeAdapter.getNamespaceURI(t);a===Rt.TEMPLATE&&r===_t.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function zn(e,t,n){const a=e.treeAdapter.getNamespaceURI(n.element),{token:r}=n,i=e.treeAdapter.createElement(r.tagName,a,r.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,r),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,r.tagID)}function jn(e,t){for(let n=0;n=n;a--)e._setEndLocation(e.openElements.items[a],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(n);a&&!a.endTag&&e._setEndLocation(n,t)}}}}function qn(e,t){e._err(t,ct.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Nt.QUIRKS),e.insertionMode=Ln.BEFORE_HTML,e._processToken(t)}function Wn(e,t){e._insertFakeRootElement(),e.insertionMode=Ln.BEFORE_HEAD,e._processToken(t)}function Kn(e,t){e._insertFakeElement(It.HEAD,Rt.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ln.IN_HEAD,e._processToken(t)}function Xn(e,t){switch(t.tagID){case Rt.HTML:la(e,t);break;case Rt.BASE:case Rt.BASEFONT:case Rt.BGSOUND:case Rt.LINK:case Rt.META:e._appendElement(t,_t.HTML),t.ackSelfClosing=!0;break;case Rt.TITLE:e._switchToTextParsing(t,Bt.RCDATA);break;case Rt.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Bt.RAWTEXT):(e._insertElement(t,_t.HTML),e.insertionMode=Ln.IN_HEAD_NO_SCRIPT);break;case Rt.NOFRAMES:case Rt.STYLE:e._switchToTextParsing(t,Bt.RAWTEXT);break;case Rt.SCRIPT:e._switchToTextParsing(t,Bt.SCRIPT_DATA);break;case Rt.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Ln.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Ln.IN_TEMPLATE);break;case Rt.HEAD:e._err(t,ct.misplacedStartTagForHeadElement);break;default:Qn(e,t)}}function Zn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Rt.TEMPLATE&&e._err(t,ct.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Rt.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,ct.endTagWithoutMatchingOpenElement)}function Qn(e,t){e.openElements.pop(),e.insertionMode=Ln.AFTER_HEAD,e._processToken(t)}function Jn(e,t){const n=t.type===ut.EOF?ct.openElementsLeftAfterEof:ct.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Ln.IN_HEAD,e._processToken(t)}function ea(e,t){e._insertFakeElement(It.BODY,Rt.BODY),e.insertionMode=Ln.IN_BODY,ta(e,t)}function ta(e,t){switch(t.type){case ut.CHARACTER:aa(e,t);break;case ut.WHITESPACE_CHARACTER:na(e,t);break;case ut.COMMENT:Yn(e,t);break;case ut.START_TAG:la(e,t);break;case ut.END_TAG:ua(e,t);break;case ut.EOF:da(e,t)}}function na(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function aa(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ra(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,_t.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ia(e){const t=pt(e,yt.TYPE);return null!=t&&t.toLowerCase()===wn}function oa(e,t){e._switchToTextParsing(t,Bt.RAWTEXT)}function sa(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML)}function la(e,t){switch(t.tagID){case Rt.I:case Rt.S:case Rt.B:case Rt.U:case Rt.EM:case Rt.TT:case Rt.BIG:case Rt.CODE:case Rt.FONT:case Rt.SMALL:case Rt.STRIKE:case Rt.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Rt.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(It.A);n&&(jn(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Rt.H1:case Rt.H2:case Rt.H3:case Rt.H4:case Rt.H5:case Rt.H6:!function(e,t){e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),Mt(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,_t.HTML)}(e,t);break;case Rt.P:case Rt.DL:case Rt.OL:case Rt.UL:case Rt.DIV:case Rt.DIR:case Rt.NAV:case Rt.MAIN:case Rt.MENU:case Rt.ASIDE:case Rt.CENTER:case Rt.FIGURE:case Rt.FOOTER:case Rt.HEADER:case Rt.HGROUP:case Rt.DIALOG:case Rt.DETAILS:case Rt.ADDRESS:case Rt.ARTICLE:case Rt.SECTION:case Rt.SUMMARY:case Rt.FIELDSET:case Rt.BLOCKQUOTE:case Rt.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._insertElement(t,_t.HTML)}(e,t);break;case Rt.LI:case Rt.DD:case Rt.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const a=e.openElements.tagIDs[t];if(n===Rt.LI&&a===Rt.LI||(n===Rt.DD||n===Rt.DT)&&(a===Rt.DD||a===Rt.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==Rt.ADDRESS&&a!==Rt.DIV&&a!==Rt.P&&e._isSpecialElement(e.openElements.items[t],a))break}e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._insertElement(t,_t.HTML)}(e,t);break;case Rt.BR:case Rt.IMG:case Rt.WBR:case Rt.AREA:case Rt.EMBED:case Rt.KEYGEN:ra(e,t);break;case Rt.HR:!function(e,t){e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._appendElement(t,_t.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Rt.RB:case Rt.RTC:!function(e,t){e.openElements.hasInScope(Rt.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,_t.HTML)}(e,t);break;case Rt.RT:case Rt.RP:!function(e,t){e.openElements.hasInScope(Rt.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Rt.RTC),e._insertElement(t,_t.HTML)}(e,t);break;case Rt.PRE:case Rt.LISTING:!function(e,t){e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._insertElement(t,_t.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Rt.XMP:!function(e,t){e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Bt.RAWTEXT)}(e,t);break;case Rt.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Cn(t),kn(t),t.selfClosing?e._appendElement(t,_t.SVG):e._insertElement(t,_t.SVG),t.ackSelfClosing=!0}(e,t);break;case Rt.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Rt.BASE:case Rt.LINK:case Rt.META:case Rt.STYLE:case Rt.TITLE:case Rt.SCRIPT:case Rt.BGSOUND:case Rt.BASEFONT:case Rt.TEMPLATE:Xn(e,t);break;case Rt.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Rt.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._insertElement(t,_t.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Rt.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Rt.NOBR)&&(jn(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,_t.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Rt.MATH:!function(e,t){e._reconstructActiveFormattingElements(),On(t),kn(t),t.selfClosing?e._appendElement(t,_t.MATHML):e._insertElement(t,_t.MATHML),t.ackSelfClosing=!0}(e,t);break;case Rt.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Nt.QUIRKS&&e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._insertElement(t,_t.HTML),e.framesetOk=!1,e.insertionMode=Ln.IN_TABLE}(e,t);break;case Rt.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,_t.HTML),ia(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Rt.PARAM:case Rt.TRACK:case Rt.SOURCE:!function(e,t){e._appendElement(t,_t.HTML),t.ackSelfClosing=!0}(e,t);break;case Rt.IMAGE:!function(e,t){t.tagName=It.IMG,t.tagID=Rt.IMG,ra(e,t)}(e,t);break;case Rt.BUTTON:!function(e,t){e.openElements.hasInScope(Rt.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Rt.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML),e.framesetOk=!1}(e,t);break;case Rt.APPLET:case Rt.OBJECT:case Rt.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Rt.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Bt.RAWTEXT)}(e,t);break;case Rt.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Ln.IN_TABLE||e.insertionMode===Ln.IN_CAPTION||e.insertionMode===Ln.IN_TABLE_BODY||e.insertionMode===Ln.IN_ROW||e.insertionMode===Ln.IN_CELL?Ln.IN_SELECT_IN_TABLE:Ln.IN_SELECT}(e,t);break;case Rt.OPTION:case Rt.OPTGROUP:!function(e,t){e.openElements.currentTagId===Rt.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,_t.HTML)}(e,t);break;case Rt.NOEMBED:oa(e,t);break;case Rt.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,_t.HTML),e.insertionMode=Ln.IN_FRAMESET)}(e,t);break;case Rt.TEXTAREA:!function(e,t){e._insertElement(t,_t.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Bt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Ln.TEXT}(e,t);break;case Rt.NOSCRIPT:e.options.scriptingEnabled?oa(e,t):sa(e,t);break;case Rt.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Rt.P)&&e._closePElement(),e._insertElement(t,_t.HTML),e.tokenizer.state=Bt.PLAINTEXT}(e,t);break;case Rt.COL:case Rt.TH:case Rt.TD:case Rt.TR:case Rt.HEAD:case Rt.FRAME:case Rt.TBODY:case Rt.TFOOT:case Rt.THEAD:case Rt.CAPTION:case Rt.COLGROUP:break;default:sa(e,t)}}function ca(e,t){const n=t.tagName,a=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t],i=e.openElements.tagIDs[t];if(a===i&&(a!==Rt.UNKNOWN||e.treeAdapter.getTagName(r)===n)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(r,i))break}}function ua(e,t){switch(t.tagID){case Rt.A:case Rt.B:case Rt.I:case Rt.S:case Rt.U:case Rt.EM:case Rt.TT:case Rt.BIG:case Rt.CODE:case Rt.FONT:case Rt.NOBR:case Rt.SMALL:case Rt.STRIKE:case Rt.STRONG:jn(e,t);break;case Rt.P:!function(e){e.openElements.hasInButtonScope(Rt.P)||e._insertFakeElement(It.P,Rt.P),e._closePElement()}(e);break;case Rt.DL:case Rt.UL:case Rt.OL:case Rt.DIR:case Rt.DIV:case Rt.NAV:case Rt.PRE:case Rt.MAIN:case Rt.MENU:case Rt.ASIDE:case Rt.BUTTON:case Rt.CENTER:case Rt.FIGURE:case Rt.FOOTER:case Rt.HEADER:case Rt.HGROUP:case Rt.DIALOG:case Rt.ADDRESS:case Rt.ARTICLE:case Rt.DETAILS:case Rt.SECTION:case Rt.SUMMARY:case Rt.LISTING:case Rt.FIELDSET:case Rt.BLOCKQUOTE:case Rt.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Rt.LI:!function(e){e.openElements.hasInListItemScope(Rt.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Rt.LI),e.openElements.popUntilTagNamePopped(Rt.LI))}(e);break;case Rt.DD:case Rt.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Rt.H1:case Rt.H2:case Rt.H3:case Rt.H4:case Rt.H5:case Rt.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Rt.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(It.BR,Rt.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Rt.BODY:!function(e,t){if(e.openElements.hasInScope(Rt.BODY)&&(e.insertionMode=Ln.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Rt.HTML:!function(e,t){e.openElements.hasInScope(Rt.BODY)&&(e.insertionMode=Ln.AFTER_BODY,ka(e,t))}(e,t);break;case Rt.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Rt.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Rt.FORM):n&&e.openElements.remove(n))}(e);break;case Rt.APPLET:case Rt.OBJECT:case Rt.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Rt.TEMPLATE:Zn(e,t);break;default:ca(e,t)}}function da(e,t){e.tmplInsertionModeStack.length>0?Ca(e,t):Vn(e,t)}function pa(e,t){if(xn.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Ln.IN_TABLE_TEXT,t.type){case ut.CHARACTER:ba(e,t);break;case ut.WHITESPACE_CHARACTER:Ea(e,t)}else fa(e,t)}function ma(e,t){switch(t.tagID){case Rt.TD:case Rt.TH:case Rt.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(It.TBODY,Rt.TBODY),e.insertionMode=Ln.IN_TABLE_BODY,_a(e,t)}(e,t);break;case Rt.STYLE:case Rt.SCRIPT:case Rt.TEMPLATE:Xn(e,t);break;case Rt.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(It.COLGROUP,Rt.COLGROUP),e.insertionMode=Ln.IN_COLUMN_GROUP,Aa(e,t)}(e,t);break;case Rt.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,_t.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Rt.TABLE:!function(e,t){e.openElements.hasInTableScope(Rt.TABLE)&&(e.openElements.popUntilTagNamePopped(Rt.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Rt.TBODY:case Rt.TFOOT:case Rt.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,_t.HTML),e.insertionMode=Ln.IN_TABLE_BODY}(e,t);break;case Rt.INPUT:!function(e,t){ia(t)?e._appendElement(t,_t.HTML):fa(e,t),t.ackSelfClosing=!0}(e,t);break;case Rt.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,_t.HTML),e.insertionMode=Ln.IN_CAPTION}(e,t);break;case Rt.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,_t.HTML),e.insertionMode=Ln.IN_COLUMN_GROUP}(e,t);break;default:fa(e,t)}}function ga(e,t){switch(t.tagID){case Rt.TABLE:e.openElements.hasInTableScope(Rt.TABLE)&&(e.openElements.popUntilTagNamePopped(Rt.TABLE),e._resetInsertionMode());break;case Rt.TEMPLATE:Zn(e,t);break;case Rt.BODY:case Rt.CAPTION:case Rt.COL:case Rt.COLGROUP:case Rt.HTML:case Rt.TBODY:case Rt.TD:case Rt.TFOOT:case Rt.TH:case Rt.THEAD:case Rt.TR:break;default:fa(e,t)}}function fa(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ta(e,t),e.fosterParentingEnabled=n}function Ea(e,t){e.pendingCharacterTokens.push(t)}function ba(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ha(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===Rt.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Rt.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Rt.OPTGROUP&&e.openElements.pop();break;case Rt.OPTION:e.openElements.currentTagId===Rt.OPTION&&e.openElements.pop();break;case Rt.SELECT:e.openElements.hasInSelectScope(Rt.SELECT)&&(e.openElements.popUntilTagNamePopped(Rt.SELECT),e._resetInsertionMode());break;case Rt.TEMPLATE:Zn(e,t)}}function Ca(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Rt.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Vn(e,t)}function ka(e,t){var n;if(t.tagID===Rt.HTML){if(e.fragmentContext||(e.insertionMode=Ln.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Rt.HTML){e._setEndLocation(e.openElements.items[0],t);const a=e.openElements.items[1];a&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(a))||void 0===n?void 0:n.endTag)&&e._setEndLocation(a,t)}}else wa(e,t)}function wa(e,t){e.insertionMode=Ln.IN_BODY,ta(e,t)}function va(e,t){e.insertionMode=Ln.IN_BODY,ta(e,t)}function Da(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==_t.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}const La=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function Pa(e,t){return function(n){let a,r=0,i="";for(;a=e.exec(n);)r!==a.index&&(i+=n.substring(r,a.index)),i+=t.get(a[0].charCodeAt(0)),r=a.index+1;return i+n.substring(r)}}function xa(e,t){return Fn.parse(e,t)}function Ma(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);const a=Fn.getFragmentParser(e,n);return a.tokenizer.write(t,!0),a.getFragment()}function Fa(e){return Ba(e&&e.line)+":"+Ba(e&&e.column)}function Ua(e){return Fa(e&&e.start)+"-"+Fa(e&&e.end)}function Ba(e){return e&&"number"==typeof e?e:1}String.prototype.codePointAt,Pa(/[&<>'"]/g,La),Pa(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Pa(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),new Set([It.AREA,It.BASE,It.BASEFONT,It.BGSOUND,It.BR,It.COL,It.EMBED,It.FRAME,It.HR,It.IMG,It.INPUT,It.KEYGEN,It.LINK,It.META,It.PARAM,It.SOURCE,It.TRACK,It.WBR]);class Ga extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let a="",r={},i=!1;if(t&&(r="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?a=e:!r.cause&&e&&(i=!0,a=e.message,r.cause=e),!r.ruleId&&!r.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?r.ruleId=n:(r.source=n.slice(0,e),r.ruleId=n.slice(e+1))}if(!r.place&&r.ancestors&&r.ancestors){const e=r.ancestors[r.ancestors.length-1];e&&(r.place=e.position)}const o=r.place&&"start"in r.place?r.place.start:r.place;var s;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=o?o.line:void 0,this.name=((s=r.place)&&"object"==typeof s?"position"in s||"type"in s?Ua(s.position):"start"in s||"end"in s?Ua(s):"line"in s||"column"in s?Fa(s):"":"")||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=i&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ga.prototype.file="",Ga.prototype.name="",Ga.prototype.reason="",Ga.prototype.message="",Ga.prototype.stack="",Ga.prototype.column=void 0,Ga.prototype.line=void 0,Ga.prototype.ancestors=void 0,Ga.prototype.cause=void 0,Ga.prototype.fatal=void 0,Ga.prototype.place=void 0,Ga.prototype.ruleId=void 0,Ga.prototype.source=void 0;const Ha={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');$a(e);let n,a=0,r=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){a=i+1;break}}else r<0&&(n=!0,r=i+1);return r<0?"":e.slice(a,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){a=i+1;break}}else o<0&&(n=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return a===r?r=o:r<0&&(r=e.length),e.slice(a,r)},dirname:function(e){if($a(e),0===e.length)return".";let t,n=-1,a=e.length;for(;--a;)if(47===e.codePointAt(a)){if(t){n=a;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){$a(e);let t,n=e.length,a=-1,r=0,i=-1,o=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)a<0&&(t=!0,a=n+1),46===s?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1);else if(t){r=n+1;break}}return i<0||a<0||0===o||1===o&&i===a-1&&i===r+1?"":e.slice(i,a)},join:function(...e){let t,n=-1;for(;++n2){if(a=r.lastIndexOf("/"),a!==r.length-1){a<0?(r="",i=0):(r=r.slice(0,a),i=r.length-1-r.lastIndexOf("/")),o=l,s=0;continue}}else if(r.length>0){r="",i=0,o=l,s=0;continue}t&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+e.slice(o+1,l):r=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return r}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function $a(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const za=function(){return"/"};function ja(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const Ya=["history","path","basename","stem","extname","dirname"];class Va{constructor(e){let t;t=e?ja(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=za(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,a=-1;for(;++a`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `` in ``",description:"Unexpected text character `%c`. Only use text in `