PageSourceSearch

https://fitdietaihkapp.manus.space/assets/WeeklyReview-C5pZH4RL.js

js fitdietaihkapp.manus.space collected 2026-10-03 05:02:09 UTC 934,806 bytes, 562 lines download raw bytes

vendor: 9,820 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-CU67Zn6k.js","assets/html-GMplVEZG.js","assets/javascript-wDzz0qaB.js","assets/css-DPfMkruS.js","assets/angular-ts-BwZT4LLn.js","assets/scss-OYdSNvt2.js","assets/apl-dKokRX4l.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-CbQHKStN.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-DVc8C-J4.js","assets/html-derivative-BFtXZ54Q.js","assets/sql-BLtJtn59.js","assets/bsl-BO_Y6i37.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/cobol-nwyudZeR.js","assets/coffee-Ch7k5sss.js","assets/cpp-CofmeUqb.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/c-BIGW1oBm.js","assets/crystal-tKQVLTB8.js","assets/shellscript-Yzrsuije.js","assets/edge-BkV0erSs.js","assets/elixir-CDX3lj18.js","assets/elm-DbKCFpqz.js","assets/erb-BOJIQeun.js","assets/ruby-BvKwtOVI.js","assets/haml-B8DHNrY2.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BbnMAYS6.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-BZjJHVRy.js","assets/fortran-free-form-D22FLkUw.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-B7Tvp0Sc.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DTMYz4Jt.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-Rg0-pVw9.js","assets/glimmer-ts-U6CK756n.js","assets/hack-CaT9iCJl.js","assets/handlebars-BL8al0AC.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-Bvhsp5Yf.js","assets/haxe-CzTSHFRz.js","assets/jinja-4LBKfQ-Z.js","assets/jison-wvAkD_A8.js","assets/julia-C8NyazO9.js","assets/r-DiinP2Uv.js","assets/latex-BUKiar2Z.js","assets/tex-Cppo0RY3.js","assets/liquid-DYVedYrR.js","assets/marko-CPi9NSCl.js","assets/less-B1dDrJ26.js","assets/mdc-DUICxH0z.js","assets/nginx-DknmC5AR.js","assets/nim-CVrawwO9.js","assets/perl-C0TMdlhV.js","assets/php-CDn_0X-4.js","assets/pug-CGlum2m_.js","assets/qml-3beO22l8.js","assets/razor-WgofotgN.js","assets/csharp-CX12Zw3r.js","assets/rst-B0xPkSld.js","assets/cmake-D1j8_8rp.js","assets/sas-cz2c8ADy.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-Brmx7dQM.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-BH5u7GGu.js","assets/svelte-3Dk4HxPD.js","assets/templ-W15q3VgB.js","assets/go-Dn2_MT6a.js","assets/ts-tags-zn1MmPIZ.js","assets/twig-CO9l9SDP.js","assets/vue-CCoi5OLL.js","assets/vue-html-DAAvJJDi.js","assets/vue-vine-_Ih-lPRR.js","assets/stylus-BEDo0Tqx.js","assets/xsl-CtQFsRM5.js","assets/mermaid.core-CkKuBvWw.js","assets/index-bM8UT4Os.js","assets/index-BLPqKfhz.css","assets/LineChart-DZS4M0xI.js"])))=>i.map(i=>d[i]);
2import{ar as bd,j as x,r as G,au as k,av as bg,aj as yg,o as mn,t as Bt,b as Et,A as xg,aw as Eg,C as or,e as lr,B as Sr,c as In,d as Rn,L as _g,i as y0,q as Tg,k as vg,af as x0,S as Ws,am as kg,al as wg,U as Ag,ag as Sg,M as Cg,D as Ng}from"./index-bM8UT4Os.js";import{S as Gs,a as Ys,b as Xs,c as Qs,d as St}from"./select-CDP2pHh8.js";import{T as Ig}from"./textarea-DArC7VX4.js";import{L as ha}from"./label-2Seh_wFH.js";import{I as Rg}from"./input-BwpLlRYf.js";import{S as Lg}from"./ShareStoryCard-DlVZW7GD.js";import{T as Dg,R as Og,N as Ks,O as Zs,X as Js,Y as eo,P as to,aB as E0}from"./LineChart-DZS4M0xI.js";import{L as ro}from"./lightbulb-Pi6aQ1eP.js";import{S as _0}from"./scale-C2__GAhb.js";import{C as Pg}from"./chevron-up-TG6jWiKP.js";import{T as Mg}from"./trash-2-4iirX7DH.js";import{F as Bg,C as Fg}from"./file-up-B_NGjEWN.js";import{U as Hg}from"./users-DdYaOfd2.js";import{S as zg}from"./html2canvas-pro.esm-DOKDsR1V.js";function T0(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const s=r.slice(a,n).trim();(s||!i)&&t.push(s),a=n+1,n=r.indexOf(",",a)}return t}function Kl(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Ug=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$g=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jg={};function v0(e,t){return(jg.jsx?$g:Ug).test(e)}const Vg=/[ \t\n\f\r]/g;function ps(e){return typeof e=="object"?e.type==="text"?k0(e.value):!1:k0(e)}function k0(e){return e.replace(Vg,"")===""}let Qa=class{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}};Qa.prototype.normal={};Qa.prototype.property={};Qa.prototype.space=void 0;function yd(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new Qa(r,n,t)}function Ha(e){return e.toLowerCase()}let Lt=class{constructor(t,r){this.attribute=r,this.property=t}};Lt.prototype.attribute="";Lt.prototype.booleanish=!1;Lt.prototype.boolean=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.defined=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.number=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.property="";Lt.prototype.spaceSeparated=!1;Lt.prototype.space=void 0;let qg=0;const xe=vn(),Ke=vn(),nl=vn(),K=vn(),Me=vn(),$n=vn(),Ft=vn();function vn(){return 2**++qg}const al=Object.freeze(Object.defineProperty({__proto__:null,boolean:xe,booleanish:Ke,commaOrSpaceSeparated:Ft,commaSeparated:$n,number:K,overloadedBoolean:nl,spaceSeparated:Me},Symbol.toStringTag,{value:"Module"})),no=Object.keys(al);let Zl=class extends Lt{constructor(t,r,n,a){let i=-1;if(super(t,r),w0(this,"space",a),typeof n=="number")for(;++i<no.length;){const s=no[i];w0(this,no[i],(n&al[s])===al[s])}}};Zl.prototype.defined=!0;function w0(e,t,r){r&&(e[t]=r)}function Kn(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new Zl(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Ha(n)]=n,r[Ha(i.attribute)]=n}return new Qa(t,r,e.space)}const xd=Kn({properties:{ariaActiveDescendant:null,ariaAtomic:Ke,ariaAutoComplete:null,ariaBusy:Ke,ariaChecked:Ke,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Me,ariaCurrent:null,ariaDescribedBy:Me,ariaDetails:null,ariaDisabled:Ke,ariaDropEffect:Me,ariaErrorMessage:null,ariaExpanded:Ke,ariaFlowTo:Me,ariaGrabbed:Ke,ariaHasPopup:null,ariaHidden:Ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Me,ariaLevel:K,ariaLive:null,ariaModal:Ke,ariaMultiLine:Ke,ariaMultiSelectable:Ke,ariaOrientation:null,ariaOwns:Me,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:Ke,ariaReadOnly:Ke,ariaRelevant:null,ariaRequired:Ke,ariaRoleDescription:Me,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:Ke,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Ed(e,t){return t in e?e[t]:t}function _d(e,t){return Ed(e,t.toLowerCase())}const Wg=Kn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$n,acceptCharset:Me,accessKey:Me,action:null,allow:null,allowFullScreen:xe,allowPaymentRequest:xe,allowUserMedia:xe,alt:null,as:null,async:xe,autoCapitalize:null,autoComplete:Me,autoFocus:xe,autoPlay:xe,blocking:Me,capture:null,charSet:null,checked:xe,cite:null,className:Me,cols:K,colSpan:null,content:null,contentEditable:Ke,controls:xe,controlsList:Me,coords:K|$n,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xe,defer:xe,dir:null,dirName:null,disabled:xe,download:nl,draggable:Ke,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:xe,formTarget:null,headers:Me,height:K,hidden:nl,high:K,href:null,hrefLang:null,htmlFor:Me,httpEquiv:Me,id:null,imageSizes:null,imageSrcSet:null,inert:xe,inputMode:null,integrity:null,is:null,isMap:xe,itemId:null,itemProp:Me,itemRef:Me,itemScope:xe,itemType:Me,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:xe,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:xe,muted:xe,name:null,nonce:null,noModule:xe,noValidate:xe,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:xe,optimum:K,pattern:null,ping:Me,placeholder:null,playsInl
2ine:xe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:xe,referrerPolicy:null,rel:Me,required:xe,reversed:xe,rows:K,rowSpan:K,sandbox:Me,scope:null,scoped:xe,seamless:xe,selected:xe,shadowRootClonable:xe,shadowRootDelegatesFocus:xe,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:Ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:xe,useMap:null,value:Ke,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Me,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:xe,declare:xe,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:xe,noHref:xe,noShade:xe,noWrap:xe,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:Ke,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:xe,disableRemotePlayback:xe,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:_d}),Gg=Kn({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
2-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"},properties:{about:Ft,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Me,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:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:xe,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,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:$n,g2:$n,glyphName:$n,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:Ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,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:K,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,on
vendor: 5,364 bytes, lines 2-3
2Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Me,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ft,rev:Ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ft,requiredFeatures:Ft,requiredFonts:Ft,requiredFormats:Ft,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:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:Ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ft,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ed}),Td=Kn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),vd=Kn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:_d}),kd=Kn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Yg={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Xg=/[A-Z]/g,A0=/-[a-z]/g,Qg=/^data[-\w.:]+$/i;function gs(e,t){const r=Ha(t);let n=t,a=Lt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Qg.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(A0,Zg);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!A0.test(i)){let s=i.replace(Xg,Kg);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Zl}return new a(n,t)}function Kg(e){return"-"+e.toLowerCase()}function Zg(e){return e.charAt(1).toUpperCase()}const Ka=yd([xd,Wg,Td,vd,kd],"html"),an=yd([xd,Gg,Td,vd,kd],"svg");function S0(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Jl(e){return e.join(" ").trim()}var Ln={},ao,C0;function Jg(){if(C0)return ao;C0=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
3`,u="/",c="*",h="",m="comment",f="declaration";ao=function(E,A){if(typeof E!="string")throw new TypeError("First argument must be a string");if(!E)return[];A=A||{};var T=1,w=1;function L(oe){var J=oe.match(t);J&&(T+=J.length);var ue=oe.lastIndexOf(l);w=~ue?oe.length-ue:w+oe.length}function $(){var oe={line:T,column:w};return function(J){return J.position=new U(oe),se(),J}}function U(oe){this.start=oe,this.end={line:T,column:w},this.source=A.source}U.prototype.content=E;function P(oe){var J=new Error(A.source+":"+T+":"+w+": "+oe);if(J.reason=oe,J.filename=A.source,J.line=T,J.column=w,J.source=E,!A.silent)throw J}function W(oe){var J=oe.exec(E);if(J){var ue=J[0];return L(ue),E=E.slice(ue.length),J}}function se(){W(r)}function ae(oe){var J;for(oe=oe||[];J=F();)J!==!1&&oe.push(J);return oe}function F(){var oe=$();if(!(u!=E.charAt(0)||c!=E.charAt(1))){for(var J=2;h!=E.charAt(J)&&(c!=E.charAt(J)||u!=E.charAt(J+1));)++J;if(J+=2,h===E.charAt(J-1))return P("End of comment missing");var ue=E.slice(2,J-2);return w+=2,L(ue),E=E.slice(J),w+=2,oe({type:m,comment:ue})}}function ne(){var oe=$(),J=W(n);if(J){if(F(),!W(a))return P("property missing ':'");var ue=W(i),ce=oe({type:f,property:b(J[0].replace(e,h)),value:ue?b(ue[0].replace(e,h)):h});return W(s),ce}}function ee(){var oe=[];ae(oe);for(var J;J=ne();)J!==!1&&(oe.push(J),ae(oe));return oe}return se(),ee()};function b(E){return E?E.replace(o,h):h}return ao}var N0;
vendor: 3,829 bytes, line 3
3function e2(){if(N0)return Ln;N0=1;var e=Ln&&Ln.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=r;const t=e(Jg());function r(n,a){let i=null;if(!n||typeof n!="string")return i;const s=(0,t.default)(n),o=typeof a=="function";return s.forEach(l=>{if(l.type!=="declaration")return;const{property:u,value:c}=l;o?a(u,c,l):c&&(i=i||{},i[u]=c)}),i}return Ln}var da={},I0;function t2(){if(I0)return da;I0=1,Object.defineProperty(da,"__esModule",{value:!0}),da.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,i=function(u){return!u||r.test(u)||e.test(u)},s=function(u,c){return c.toUpperCase()},o=function(u,c){return"".concat(c,"-")},l=function(u,c){return c===void 0&&(c={}),i(u)?u:(u=u.toLowerCase(),c.reactCompat?u=u.replace(a,o):u=u.replace(n,o),u.replace(t,s))};return da.camelCase=l,da}var ma,R0;function r2(){if(R0)return ma;R0=1;var e=ma&&ma.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(e2()),r=t2();function n(a,i){var s={};return!a||typeof a!="string"||(0,t.default)(a,function(o,l){o&&l&&(s[(0,r.camelCase)(o,i)]=l)}),s}return n.default=n,ma=n,ma}var n2=r2();const a2=bd(n2),bs=wd("end"),yr=wd("start");function wd(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function i2(e){const t=yr(e),r=bs(e);if(t&&r)return{start:t,end:r}}function Aa(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?L0(e.position):"start"in e||"end"in e?L0(e):"line"in e||"column"in e?il(e):""}function il(e){return D0(e&&e.line)+":"+D0(e&&e.column)}function L0(e){return il(e&&e.start)+"-"+il(e&&e.end)}function D0(e){return e&&typeof e=="number"?e:1}class gt extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i={...r}),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?i.ruleId=n:(i.source=n.slice(0,l),i.ruleId=n.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.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=Aa(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}gt.prototype.file="";gt.prototype.name="";gt.prototype.reason="";gt.prototype.message="";gt.prototype.stack="";gt.prototype.column=void 0;gt.prototype.line=void 0;gt.prototype.ancestors=void 0;gt.prototype.cause=void 0;gt.prototype.fatal=void 0;gt.prototype.place=void 0;gt.prototype.ruleId=void 0;gt.prototype.source=void 0;const eu={}.hasOwnProperty,s2=new Map,o2=/[A-Z]/g,l2=new Set(["table","tbody","thead","tfoot","tr"]),u2=new Set(["td","th"]),Ad="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function c2(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=y2(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 10,317 bytes, line 3
3if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=b2(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?an:Ka,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Sd(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Sd(e,t,r){if(t.type==="element")return h2(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return d2(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return f2(e,t,r);if(t.type==="mdxjsEsm")return m2(e,t);if(t.type==="root")return p2(e,t,r);if(t.type==="text")return g2(e,t)}function h2(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=an,e.schema=a),e.ancestors.push(t);const i=Nd(e,t.tagName,!1),s=x2(e,t);let o=ru(e,t);return l2.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!ps(l):!0})),Cd(e,s,i,t),tu(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function d2(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}za(e,t.position)}function m2(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);za(e,t.position)}function f2(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=an,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Nd(e,t.name,!0),s=E2(e,t),o=ru(e,t);return Cd(e,s,i,t),tu(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function p2(e,t,r){const n={};return tu(n,ru(e,t)),e.create(t,e.Fragment,n,r)}function g2(e,t){return t.value}function Cd(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function tu(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function b2(e,t,r){return n;function n(a,i,s,o){const u=Array.isArray(s.children)?r:t;return o?u(i,s,o):u(i,s)}}function y2(e,t){return r;function r(n,a,i,s){const o=Array.isArray(i.children),l=yr(n);return t(a,i,s,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function x2(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&eu.call(t.properties,a)){const i=_2(e,a,t.properties[a]);if(i){const[s,o]=i;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&u2.has(t.tagName)?n=o:r[s]=o}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function E2(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else za(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else za(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function ru(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:s2;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const u=a.get(l)||0;s=l+"-"+u,a.set(l,u+1)}}const o=Sd(e,i,s);o!==void 0&&r.push(o)}return r}function _2(e,t,r){const n=gs(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Kl(r):Jl(r)),n.property==="style"){let a=typeof r=="object"?r:T2(e,String(r));return e.stylePropertyNameCase==="css"&&(a=v2(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?Yg[n.property]||n.property:n.attribute,r]}}function T2(e,t){try{return a2(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new gt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Ad+"#cannot-parse-style-attribute",a}}function Nd(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,s;for(;++i<a.length;){const o=v0(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=s}else n=v0(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return eu.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);za(e)}function za(e,t){const r=new gt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Ad+"#cannot-handle-mdx-estrees-without-createevaluater",r}function v2(e){const t={};let r;for(r in e)eu.call(e,r)&&(t[k2(r)]=e[r]);return t}function k2(e){let t=e.replace(o2,w2);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function w2(e){return"-"+e.toLowerCase()}const io={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},A2={};function nu(e,t){const r=A2,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Id(e,n,a)}function Id(e,t,r){if(S2(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return O0(e.children,t,r)}return Array.isArray(e)?O0(e,t,r):""}function O0(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Id(e[a],t,r);return n.join("")}function S2(e){return!!(e&&typeof e=="object")}const P0=document.createElement("i");function au(e){const t="&"+e+";";P0.innerHTML=t;const r=P0.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Ut(e,t,r,n){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function Gt(e,t){return e.length>0?(Ut(e,e.length,0,t),e):t}const M0={}.hasOwnProperty;function Rd(e){const t={};let r=-1;for(;++r<e.length;)C2(t,e[r]);return t}function C2(e,t){let r;for(r in t){const a=(M0.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){M0.call(a,s)||(a[s]=[]);const o=i[s];N2(a[s],Array.isArray(o)?o:o?[o]:[])}}}function N2(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Ut(e,0,0,n)}function Ld(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function ir(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Tt=sn(/[A-Za-z]/),pt=sn(/[\dA-Za-z]/),I2=sn(/[#-'*+\--9=?A-Z^-~]/);function Ui(e){return e!==null&&(e<32||e===127)}const sl=sn(/\d/),R2=sn(/[\dA-Fa-f]/),L2=sn(/[!-/:-@[-`{-~]/);function de(e){return e!==null&&e<-2}function Oe(e){return e!==null&&(e<0||e===32)}function ke(e){return e===-2||e===-1||e===32}const ys=sn(new RegExp("\\p{P}|\\p{S}","u")),xn=sn(/\s/);function sn(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Zn(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&pt(e.charCodeAt(r+1))&&pt(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(r+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function ve(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(l){return ke(l)?(e.enter(r),o(l)):t(l)}function o(l){return ke(l)&&i++<a?(e.consume(l),o):(e.exit(r),t(l))}}const D2={tokenize:O2};function O2(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ve(e,t,"linePrefix")}function a(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return de(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),s)}}const P2={tokenize:M2},B0={tokenize:B2};function M2(e){const t=this,r=[];let n=0,a,i,s;return o;function o(L){if(n<r.length){const $=r[n];return t.containerState=$[1],e.attempt($[0].continuation,l,u)(L)}return u(L)}function l(L){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&w();const $=t.events.length;let U=$,P;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){P=t.events[U][1].end;break}T(n);let W=$;for(;W<t.events.length;)t.events[W][1].end={...P},W++;return Ut(t.events,U+1,0,t.events.slice($)),t.events.length=W,u(L)}return o(L)}function u(L){if(n===r.length){if(!a)return m(L);if(a.currentConstruct&&a.currentConstruct.concrete)return b(L);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(B0,c,h)(L)}function c(L){return a&&w(),T(n),m(L)}function h(L){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(L)}function m(L){return t.containerState={},e.attempt(B0,f,b)(L)}function f(L){return n++,r.push([t.currentConstruct,t.containerState]),m(L)}function b(L){if(L===null){a&&w(),T(0),e.consume(L);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),E(L)}
vendor: 6,874 bytes, line 3
3function E(L){if(L===null){A(e.exit("chunkFlow"),!0),T(0),e.consume(L);return}return de(L)?(e.consume(L),A(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(L),E)}function A(L,$){const U=t.sliceStream(L);if($&&U.push(null),L.previous=i,i&&(i.next=L),i=L,a.defineSkip(L.start),a.write(U),t.parser.lazy[L.start.line]){let P=a.events.length;for(;P--;)if(a.events[P][1].start.offset<s&&(!a.events[P][1].end||a.events[P][1].end.offset>s))return;const W=t.events.length;let se=W,ae,F;for(;se--;)if(t.events[se][0]==="exit"&&t.events[se][1].type==="chunkFlow"){if(ae){F=t.events[se][1].end;break}ae=!0}for(T(n),P=W;P<t.events.length;)t.events[P][1].end={...F},P++;Ut(t.events,se+1,0,t.events.slice(W)),t.events.length=P}}function T(L){let $=r.length;for(;$-- >L;){const U=r[$];t.containerState=U[1],U[0].exit.call(t,e)}r.length=L}function w(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function B2(e,t,r){return ve(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Wn(e){if(e===null||Oe(e)||xn(e))return 1;if(ys(e))return 2}function xs(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const ol={name:"attention",resolveAll:F2,tokenize:H2};function F2(e,t){let r=-1,n,a,i,s,o,l,u,c;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const h={...e[n][1].end},m={...e[r][1].start};F0(h,-l),F0(m,l),s={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:m},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:l>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[n][1].end={...s.start},e[r][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Gt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Gt(u,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),u=Gt(u,xs(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=Gt(u,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,u=Gt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,Ut(e,n-1,r-n+3,u),r=n+u.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function H2(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Wn(n);let i;return s;function s(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const u=e.exit("attentionSequence"),c=Wn(l),h=!c||c===2&&a||r.includes(l),m=!a||a===2&&c||r.includes(n);return u._open=!!(i===42?h:h&&(a||!m)),u._close=!!(i===42?m:m&&(c||!h)),t(l)}}function F0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const z2={name:"autolink",tokenize:U2};function U2(e,t,r){let n=0;return a;function a(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(f){return Tt(f)?(e.consume(f),s):f===64?r(f):u(f)}function s(f){return f===43||f===45||f===46||pt(f)?(n=1,o(f)):u(f)}function o(f){return f===58?(e.consume(f),n=0,l):(f===43||f===45||f===46||pt(f))&&n++<32?(e.consume(f),o):(n=0,u(f))}function l(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||Ui(f)?r(f):(e.consume(f),l)}function u(f){return f===64?(e.consume(f),c):I2(f)?(e.consume(f),u):r(f)}function c(f){return pt(f)?h(f):r(f)}function h(f){return f===46?(e.consume(f),n=0,c):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):m(f)}function m(f){if((f===45||pt(f))&&n++<63){const b=f===45?m:h;return e.consume(f),b}return r(f)}}const Za={partial:!0,tokenize:$2};function $2(e,t,r){return n;function n(i){return ke(i)?ve(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||de(i)?t(i):r(i)}}const Dd={continuation:{tokenize:V2},exit:q2,name:"blockQuote",tokenize:j2};function j2(e,t,r){const n=this;return a;function a(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return r(s)}function i(s){return ke(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function V2(e,t,r){const n=this;return a;function a(s){return ke(s)?ve(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(Dd,t,r)(s)}}function q2(e){e.exit("blockQuote")}const Od={name:"characterEscape",tokenize:W2};function W2(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return L2(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const Pd={name:"characterReference",tokenize:G2};function G2(e,t,r){const n=this;let a=0,i,s;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),l}function l(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,s=pt,c(h))}function u(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=R2,c):(e.enter("characterReferenceValue"),i=7,s=sl,c(h))}function c(h){if(h===59&&a){const m=e.exit("characterReferenceValue");return s===pt&&!au(n.sliceSerialize(m))?r(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(h)&&a++<i?(e.consume(h),c):r(h)}}const H0={partial:!0,tokenize:X2},z0={concrete:!0,name:"codeFenced",tokenize:Y2};function Y2(e,t,r){const n=this,a={partial:!0,tokenize:U};let i=0,s=0,o;return l;function l(P){return u(P)}function u(P){const W=n.events[n.events.length-1];return i=W&&W[1].type==="linePrefix"?W[2].sliceSerialize(W[1],!0).length:0,o=P,e.enter("co
3deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(P)}function c(P){return P===o?(s++,e.consume(P),c):s<3?r(P):(e.exit("codeFencedFenceSequence"),ke(P)?ve(e,h,"whitespace")(P):h(P))}function h(P){return P===null||de(P)?(e.exit("codeFencedFence"),n.interrupt?t(P):e.check(H0,E,$)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(P))}function m(P){return P===null||de(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(P)):ke(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ve(e,f,"whitespace")(P)):P===96&&P===o?r(P):(e.consume(P),m)}function f(P){return P===null||de(P)?h(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(P))}function b(P){return P===null||de(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(P)):P===96&&P===o?r(P):(e.consume(P),b)}function E(P){return e.attempt(a,$,A)(P)}function A(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),T}function T(P){return i>0&&ke(P)?ve(e,w,"linePrefix",i+1)(P):w(P)}function w(P){return P===null||de(P)?e.check(H0,E,$)(P):(e.enter("codeFlowValue"),L(P))}function L(P){return P===null||de(P)?(e.exit("codeFlowValue"),w(P)):(e.consume(P),L)}function $(P){return e.exit("codeFenced"),t(P)}function U(P,W,se){let ae=0;return F;function F(ue){return P.enter("lineEnding"),P.consume(ue),P.exit("lineEnding"),ne}function ne(ue){return P.enter("codeFencedFence"),ke(ue)?ve(P,ee,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ue):ee(ue)}function ee(ue){return ue===o?(P.enter("codeFencedFenceSequence"),oe(ue)):se(ue)}function oe(ue){return ue===o?(ae++,P.consume(ue),oe):ae>=s?(P.exit("codeFencedFenceSequence"),ke(ue)?ve(P,J,"whitespace")(ue):J(ue)):se(ue)}function J(ue){return ue===null||de(ue)?(P.exit("codeFencedFence"),W(ue)):se(ue)}}}function X2(e,t,r){const n=this;return a;function a(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const so={name:"codeIndented",tokenize:K2},Q2={partial:!0,tokenize:Z2};function K2(e,t,r){const n=this;return a;function a(u){return e.enter("codeIndented"),ve(e,i,"linePrefix",5)(u)}function i(u){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(u):r(u)}function s(u){return u===null?l(u):de(u)?e.attempt(Q2,s,l)(u):(e.enter("codeFlowValue"),o(u))}function o(u){return u===null||de(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),o)}function l(u){return e.exit("codeIndented"),t(u)}}function Z2(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):de(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):ve(e,i,"linePrefix",5)(s)}function i(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):de(s)?a(s):r(s)}}const J2={name:"codeText",previous:t4,resolve:e4,tokenize:r4};function e4(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function t4(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function r4(e,t,r){let n=0,a,i;return s;function s(h){return e.enter("codeText"),e.enter("codeTextSequence"),o(h)}function o(h){return h===96?(e.consume(h),n++,o):(e.exit("codeTextSequence"),l(h))}function l(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),l):h===96?(i=e.enter("codeTextSequence"),a=0,c(h)):de(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||de(h)?(e.exit("codeTextData"),l(h)):(e.consume(h),u)}function c(h){return h===96?(e.consume(h),a++,c):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(i.type="codeTextData",u(h))}}class n4{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&fa(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),fa(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),fa(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);fa(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);fa(this.left,r.reverse())}}}function fa(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function Md(e){const t={};let r=-1,n,a,i,s,o,l,u;const c=new n4(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(n=c.get(r),r&&n[1].type==="chunkFlow"&&c.get(r-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,a4(c,r)),r=t[r],u=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=c.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(c.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end={...c.get(a)[1].start},o=c.slice(a,r),o.unshift(n),c.splice(a,r-a+1,o))}}return Ut(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function a4(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._c
vendor: 4,600 bytes, line 3
3ontentTypeTextTrailing=!0));const o=s.events,l=[],u={};let c,h,m=-1,f=r,b=0,E=0;const A=[E];for(;f;){for(;e.get(++a)[1]!==f;);i.push(a),f._tokenizer||(c=n.sliceStream(f),f.next||c.push(null),h&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=r;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(E=m+1,A.push(E),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):A.pop(),m=A.length;m--;){const T=o.slice(A[m],A[m+1]),w=i.pop();l.push([w,w+T.length-1]),e.splice(w,2,T)}for(l.reverse(),m=-1;++m<l.length;)u[b+l[m][0]]=b+l[m][1],b+=l[m][1]-l[m][0]-1;return u}const i4={resolve:o4,tokenize:l4},s4={partial:!0,tokenize:u4};function o4(e){return Md(e),e}function l4(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?i(o):de(o)?e.check(s4,s,i)(o):(e.consume(o),a)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function u4(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ve(e,i,"linePrefix")}function i(s){if(s===null||de(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function Bd(e,t,r,n,a,i,s,o,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return h;function h(T){return T===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(T),e.exit(i),m):T===null||T===32||T===41||Ui(T)?r(T):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(T))}function m(T){return T===62?(e.enter(i),e.consume(T),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),f(T))}function f(T){return T===62?(e.exit("chunkString"),e.exit(o),m(T)):T===null||T===60||de(T)?r(T):(e.consume(T),T===92?b:f)}function b(T){return T===60||T===62||T===92?(e.consume(T),f):f(T)}function E(T){return!c&&(T===null||T===41||Oe(T))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(T)):c<u&&T===40?(e.consume(T),c++,E):T===41?(e.consume(T),c--,E):T===null||T===32||T===40||Ui(T)?r(T):(e.consume(T),T===92?A:E)}function A(T){return T===40||T===41||T===92?(e.consume(T),E):E(T)}}function Fd(e,t,r,n,a,i){const s=this;let o=0,l;return u;function u(f){return e.enter(n),e.enter(a),e.consume(f),e.exit(a),e.enter(i),c}function c(f){return o>999||f===null||f===91||f===93&&!l||f===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(f):f===93?(e.exit(i),e.enter(a),e.consume(f),e.exit(a),e.exit(n),t):de(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),h(f))}function h(f){return f===null||f===91||f===93||de(f)||o++>999?(e.exit("chunkString"),c(f)):(e.consume(f),l||(l=!ke(f)),f===92?m:h)}function m(f){return f===91||f===92||f===93?(e.consume(f),o++,h):h(f)}}function Hd(e,t,r,n,a,i){let s;return o;function o(m){return m===34||m===39||m===40?(e.enter(n),e.enter(a),e.consume(m),e.exit(a),s=m===40?41:m,l):r(m)}function l(m){return m===s?(e.enter(a),e.consume(m),e.exit(a),e.exit(n),t):(e.enter(i),u(m))}function u(m){return m===s?(e.exit(i),l(s)):m===null?r(m):de(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ve(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===s||m===null||de(m)?(e.exit("chunkString"),u(m)):(e.consume(m),m===92?h:c)}function h(m){return m===s||m===92?(e.consume(m),c):c(m)}}function Sa(e,t){let r;return n;function n(a){return de(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):ke(a)?ve(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const c4={name:"definition",tokenize:d4},h4={partial:!0,tokenize:m4};function d4(e,t,r){const n=this;let a;return i;function i(f){return e.enter("definition"),s(f)}function s(f){return Fd.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function o(f){return a=ir(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),l):r(f)}function l(f){return Oe(f)?Sa(e,u)(f):u(f)}
vendor: 14,261 bytes, line 3
3function u(f){return Bd(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return e.attempt(h4,h,h)(f)}function h(f){return ke(f)?ve(e,m,"whitespace")(f):m(f)}function m(f){return f===null||de(f)?(e.exit("definition"),n.parser.defined.push(a),t(f)):r(f)}}function m4(e,t,r){return n;function n(o){return Oe(o)?Sa(e,a)(o):r(o)}function a(o){return Hd(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return ke(o)?ve(e,s,"whitespace")(o):s(o)}function s(o){return o===null||de(o)?t(o):r(o)}}const f4={name:"hardBreakEscape",tokenize:p4};function p4(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return de(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const g4={name:"headingAtx",resolve:b4,tokenize:y4};function b4(e,t){let r=e.length-2,n=3,a,i;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Ut(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function y4(e,t,r){let n=0;return a;function a(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(e.consume(c),s):c===null||Oe(c)?(e.exit("atxHeadingSequence"),o(c)):r(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||de(c)?(e.exit("atxHeading"),t(c)):ke(c)?ve(e,o,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),o(c))}function u(c){return c===null||c===35||Oe(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),u)}}const x4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],U0=["pre","script","style","textarea"],E4={concrete:!0,name:"htmlFlow",resolveTo:v4,tokenize:k4},_4={partial:!0,tokenize:A4},T4={partial:!0,tokenize:w4};function v4(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function k4(e,t,r){const n=this;let a,i,s,o,l;return u;function u(D){return c(D)}function c(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),h}function h(D){return D===33?(e.consume(D),m):D===47?(e.consume(D),i=!0,E):D===63?(e.consume(D),a=3,n.interrupt?t:R):Tt(D)?(e.consume(D),s=String.fromCharCode(D),A):r(D)}function m(D){return D===45?(e.consume(D),a=2,f):D===91?(e.consume(D),a=5,o=0,b):Tt(D)?(e.consume(D),a=4,n.interrupt?t:R):r(D)}function f(D){return D===45?(e.consume(D),n.interrupt?t:R):r(D)}function b(D){const it="CDATA[";return D===it.charCodeAt(o++)?(e.consume(D),o===it.length?n.interrupt?t:ee:b):r(D)}function E(D){return Tt(D)?(e.consume(D),s=String.fromCharCode(D),A):r(D)}function A(D){if(D===null||D===47||D===62||Oe(D)){const it=D===47,ht=s.toLowerCase();return!it&&!i&&U0.includes(ht)?(a=1,n.interrupt?t(D):ee(D)):x4.includes(s.toLowerCase())?(a=6,it?(e.consume(D),T):n.interrupt?t(D):ee(D)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(D):i?w(D):L(D))}return D===45||pt(D)?(e.consume(D),s+=String.fromCharCode(D),A):r(D)}function T(D){return D===62?(e.consume(D),n.interrupt?t:ee):r(D)}function w(D){return ke(D)?(e.consume(D),w):F(D)}function L(D){return D===47?(e.consume(D),F):D===58||D===95||Tt(D)?(e.consume(D),$):ke(D)?(e.consume(D),L):F(D)}function $(D){return D===45||D===46||D===58||D===95||pt(D)?(e.consume(D),$):U(D)}function U(D){return D===61?(e.consume(D),P):ke(D)?(e.consume(D),U):L(D)}function P(D){return D===null||D===60||D===61||D===62||D===96?r(D):D===34||D===39?(e.consume(D),l=D,W):ke(D)?(e.consume(D),P):se(D)}function W(D){return D===l?(e.consume(D),l=null,ae):D===null||de(D)?r(D):(e.consume(D),W)}function se(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||Oe(D)?U(D):(e.consume(D),se)}function ae(D){return D===47||D===62||ke(D)?L(D):r(D)}function F(D){return D===62?(e.consume(D),ne):r(D)}function ne(D){return D===null||de(D)?ee(D):ke(D)?(e.consume(D),ne):r(D)}function ee(D){return D===45&&a===2?(e.consume(D),ce):D===60&&a===1?(e.consume(D),Le):D===62&&a===4?(e.consume(D),Se):D===63&&a===3?(e.consume(D),R):D===93&&a===5?(e.consume(D),Ae):de(D)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(_4,He,oe)(D)):D===null||de(D)?(e.exit("htmlFlowData"),oe(D)):(e.consume(D),ee)}function oe(D){return e.check(T4,J,He)(D)}function J(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),ue}function ue(D){return D===null||de(D)?oe(D):(e.enter("htmlFlowData"),ee(D))}function ce(D){return D===45?(e.consume(D),R):ee(D)}function Le(D){return D===47?(e.consume(D),s="",Ve):ee(D)}function Ve(D){if(D===62){const it=s.toLowerCase();return U0.includes(it)?(e.consume(D),Se):ee(D)}return Tt(D)&&s.length<8?(e.consume(D),s+=String.fromCharCode(D),Ve):ee(D)}function Ae(D){return D===93?(e.consume(D),R):ee(D)}function R(D){return D===62?(e.consume(D),Se):D===45&&a===2?(e.consume(D),R):ee(D)}function Se(D){return D===null||de(D)?(e.exit("htmlFlowData"),He(D)):(e.consume(D),Se)}function He(D){return e.exit("htmlFlow"),t(D)}}function w4(e,t,r){const n=this;return a;function a(s){return de(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function A4(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(Za,t,r)}}const S4={name:"htmlText",tokenize:C4};function C4(e,t,r){const n=this;let a,i,s;return o;function o(R){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(R),l}function l(R){return R===33?(e.consume(R),u):R===47?(e.consume(R),U):R===63?(e.consume(R),L):Tt(R)?(e.consume(R),se):r(R)}function u(R){return R===45?(e.consume(R),c):R===91?(e.consume(R),i=0,b):Tt(R)?(e.consume(R),w):r(R)}function c(R){return R===45?(e.consume(R),f):r(R)}function h(R){return R===null?r(R):R===45?(e.consume(R),m):de(R)?(s=h,Le(R)):(e.consume(R),h)}function m(R){return R===45?(e.consume(R),f):h(R)}function f(R){return R===62?ce(R):R===45?m(R):h(R)}function b(R){const Se="CDATA[";return R===Se.charCodeAt(i++)?(e.consume(R),i===Se.length?E:b):r(R)}function E(R){return R===null?r(R):R===93?(e.consume(R),A):de(R)?(s=E,Le(R)):(e.consume(R),E)}function A(R){return R===93?(e.consume(R),T):E(R)}function T(R){return R===62?ce(R):R===93?(e.consume(R),T):E(R)}function w(R){return R===null||R===62?ce(R):de(R)?(s=w,Le(R)):(e.consume(R),w)}function L(R){return R===null?r(R):R===63?(e.consume(R),$):de(R)?(s=L,Le(R)):(e.consume(R),L)}function $(R){return R===62?ce(R):L(R)}function U(R){return Tt(R)?(e.consume(R),P):r(R)}function P(R){return R===45||pt(R)?(e.consume(R),P):W(R)}function W(R){return de(R)?(s=W,Le(R)):ke(R)?(e.consume(R),W):ce(R)}function se(R){return R===45||pt(R)?(e.consume(R),se):R===47||R===62||Oe(R)?ae(R):r(R)}function ae(R){return R===47?(e.consume(R),ce):R===58||R===95||Tt(R)?(e.consume(R),F):de(R)?(s=ae,Le(R)):ke(R)?(e.consume(R),ae):ce(R)}function F(R){return R===45||R===46||R===58||R===95||pt(R)?(e.consume(R),F):ne(R)}function ne(R){return R===61?(e.consume(R),ee):de(R)?(s=ne,Le(R)):ke(R)?(e.consume(R),ne):ae(R)}function ee(R){return R===null||R===60||R===61||R===62||R===96?r(R):R===34||R===39?(e.consume(R),a=R,oe):de(R)?(s=ee,Le(R)):ke(R)?(e.consume(R),ee):(e.consume(R),J)}function oe(R){return R===a?(e.consume(R),a=void 0,ue):R===null?r(R):de(R)?(s=oe,Le(R)):(e.consume(R),oe)}function J(R){return R===null||R===34||R===39||R===60||R===61||R===96?r(R):R===47||R===62||Oe(R)?ae(R):(e.consume(R),J)}function ue(R){return R===47||R===62||Oe(R)?ae(R):r(R)}function ce(R){return R===62?(e.consume(R),e.exit("htmlTextData"),e.exit("htmlText"),t):r(R)}function Le(R){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),Ve}function Ve(R){return ke(R)?ve(e,Ae,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):Ae(R)}function Ae(R){return e.enter("htmlTextData"),s(R)}}const iu={name:"labelEnd",resolveAll:L4,resolveTo:D4,tokenize:O4},N4={tokenize:P4},I4={tokenize:M4},R4={tokenize:B4};function L4(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&Ut(e,0,e.length,r),e}function D4(e,t){let r=e.length,n=0,a,i,s,o;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[i][1].start},end:{...e[s][1].end}},c={type:"labelText",start:{...e[i+n+2][1].end},end:{...e[s-2][1].start}};return o=[["enter",l,t],["enter",u,t]],o=Gt(o,e.slice(i+1,i+n+3)),o=Gt(o,[["enter",c,t]]),o=Gt(o,xs(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),o=Gt(o,[["exit",c,t],e[s-2],e[s-1],["exit",u,t]]),o=Gt(o,e.slice(s+1)),o=Gt(o,[["exit",l,t]]),Ut(e,i,e.length,o),e}function O4(e,t,r){const n=this;let a=n.events.length,i,s;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return o;function o(m){return i?i._inactive?h(m):(s=n.parser.defined.includes(ir(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),l):r(m)}function l(m){return m===40?e.attempt(N4,c,s?c:h)(m):m===91?e.attempt(I4,c,s?u:h)(m):s?c(m):h(m)}function u(m){return e.attempt(R4,c,h)(m)}function c(m){return t(m)}function h(m){return i._balanced=!0,r(m)}}function P4(e,t,r){return n;function n(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),a}function a(h){return Oe(h)?Sa(e,i)(h):i(h)}function i(h){return h===41?c(h):Bd(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function s(h){return Oe(h)?Sa(e,l)(h):c(h)}function o(h){return r(h)}function l(h){return h===34||h===39||h===40?Hd(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):c(h)}function u(h){return Oe(h)?Sa(e,c)(h):c(h)}function c(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):r(h)}}function M4(e,t,r){const n=this;return a;function a(o){return Fd.call(n,e,i,s,"reference","referenceMarker","referenceString")(o)}function i(o){return n.parser.defined.includes(ir(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function B4(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const F4={name:"labelStartImage",resolveAll:iu.resolveAll,tokenize:H4};function H4(e,t,r){const n=this;return a;function a(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const z4={name:"labelStartLink",resolveAll:iu.resolveAll,tokenize:U4};function U4(e,t,r){const n=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const oo={name:"lineEnding",tokenize:$4};function $4(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ve(e,t,"linePrefix")}}const Oi={name:"thematicBreak",tokenize:j4};function j4(e,t,r){let n=0,a;return i;function i(u){return e.enter("thematicBreak"),s(u)}function s(u){return a=u,o(u)}function o(u){return u===a?(e.enter("thematicBreakSequence"),l(u)):n>=3&&(u===null||de(u))?(e.exit("thematicBreak"),t(u)):r(u)}function l(u){return u===a?(e.consume(u),n++,l):(e.exit("thematicBreakSequence"),ke(u)?ve(e,o,"whitespace")(u):o(u))}}const Nt={continuation:{tokenize:G4},exit:X4,name:"list",tokenize:W4},V4={partial:!0,tokenize:Q4},q4={partial:!0,tokenize:Y4};function W4(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return o;function o(f){const b=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:sl(f)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(Oi,r,u)(f):u(f);if(!n.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(f)}return r(f)}function l(f){return sl(f)&&++s<10?(e.consume(f),l):(!n.interrupt||s<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):r(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,e.check(Za,n.interrupt?r:c,e.attempt(V4,m,h))}
vendor: 5,359 bytes, line 3
3function c(f){return n.containerState.initialBlankLine=!0,i++,m(f)}function h(f){return ke(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),m):r(f)}function m(f){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function G4(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Za,a,i);function a(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ve(e,t,"listItemIndent",n.containerState.size+1)(o)}function i(o){return n.containerState.furtherBlankLines||!ke(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(q4,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,ve(e,e.attempt(Nt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Y4(e,t,r){const n=this;return ve(e,a,"listItemIndent",n.containerState.size+1);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(i):r(i)}}function X4(e){e.exit(this.containerState.type)}function Q4(e,t,r){const n=this;return ve(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!ke(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const $0={name:"setextUnderline",resolveTo:K4,tokenize:Z4};function K4(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e}function Z4(e,t,r){const n=this;let a;return i;function i(u){let c=n.events.length,h;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){h=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(e.enter("setextHeadingLine"),a=u,s(u)):r(u)}function s(u){return e.enter("setextHeadingLineSequence"),o(u)}function o(u){return u===a?(e.consume(u),o):(e.exit("setextHeadingLineSequence"),ke(u)?ve(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||de(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const J4={tokenize:e3};function e3(e){const t=this,r=e.attempt(Za,n,e.attempt(this.parser.constructs.flowInitial,a,ve(e,e.attempt(this.parser.constructs.flow,a,e.attempt(i4,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const t3={resolveAll:Ud()},r3=zd("string"),n3=zd("text");function zd(e){return{resolveAll:Ud(e==="text"?a3:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,s,o);return s;function s(c){return u(c)?i(c):o(c)}function o(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),l}function l(c){return u(c)?(r.exit("data"),i(c)):(r.consume(c),l)}function u(c){if(c===null)return!0;const h=a[c];let m=-1;if(h)for(;++m<h.length;){const f=h[m];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function Ud(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function a3(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,s=-1,o=0,l;for(;i--;){const u=a[i];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(u===-2)l=!0,o++;else if(u!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const u={type:r===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}const i3={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:Dd},s3={91:c4},o3={[-2]:so,[-1]:so,32:so},l3={35:g4,42:Oi,45:[$0,Oi],60:E4,61:$0,95:Oi,96:z0,126:z0},u3={38:Pd,92:Od},c3={[-5]:oo,[-4]:oo,[-3]:oo,33:F4,38:Pd,42:ol,60:[z2,S4],91:z4,92:[f4,Od],93:iu,95:ol,96:J2},h3={null:[ol,t3]},d3={null:[42,95]},m3={null:[]},f3=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:d3,contentInitial:s3,disable:m3,document:i3,flow:l3,flowInitial:o3,insideSpan:h3,string:u3,text:c3},Symbol.toStringTag,{value:"Module"}));function p3(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,c
vendor: 19,318 bytes, lines 3-9
3olumn:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],o=[];const l={attempt:W(U),check:W(P),consume:w,enter:L,exit:$,interrupt:W(P,{interrupt:!0})},u={code:null,containerState:{},defineSkip:E,events:[],now:b,parser:e,previous:null,sliceSerialize:m,sliceStream:f,write:h};let c=t.tokenize.call(u,l);return t.resolveAll&&i.push(t),u;function h(ne){return s=Gt(s,ne),A(),s[s.length-1]!==null?[]:(se(t,0),u.events=xs(i,u.events,u),u.events)}function m(ne,ee){return b3(f(ne),ee)}function f(ne){return g3(s,ne)}function b(){const{_bufferIndex:ne,_index:ee,line:oe,column:J,offset:ue}=n;return{_bufferIndex:ne,_index:ee,line:oe,column:J,offset:ue}}function E(ne){a[ne.line]=ne.column,F()}function A(){let ne;for(;n._index<s.length;){const ee=s[n._index];if(typeof ee=="string")for(ne=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===ne&&n._bufferIndex<ee.length;)T(ee.charCodeAt(n._bufferIndex));else T(ee)}}function T(ne){c=c(ne)}function w(ne){de(ne)?(n.line++,n.column=1,n.offset+=ne===-3?2:1,F()):ne!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=ne}function L(ne,ee){const oe=ee||{};return oe.type=ne,oe.start=b(),u.events.push(["enter",oe,u]),o.push(oe),oe}function $(ne){const ee=o.pop();return ee.end=b(),u.events.push(["exit",ee,u]),ee}function U(ne,ee){se(ne,ee.from)}function P(ne,ee){ee.restore()}function W(ne,ee){return oe;function oe(J,ue,ce){let Le,Ve,Ae,R;return Array.isArray(J)?He(J):"tokenize"in J?He([J]):Se(J);function Se(qe){return dt;function dt(ct){const At=ct!==null&&qe[ct],yt=ct!==null&&qe.null,$r=[...Array.isArray(At)?At:At?[At]:[],...Array.isArray(yt)?yt:yt?[yt]:[]];return He($r)(ct)}}function He(qe){return Le=qe,Ve=0,qe.length===0?ce:D(qe[Ve])}function D(qe){return dt;function dt(ct){return R=ae(),Ae=qe,qe.partial||(u.currentConstruct=qe),qe.name&&u.parser.constructs.disable.null.includes(qe.name)?ht():qe.tokenize.call(ee?Object.assign(Object.create(u),ee):u,l,it,ht)(ct)}}function it(qe){return ne(Ae,R),ue}function ht(qe){return R.restore(),++Ve<Le.length?D(Le[Ve]):ce}}}function se(ne,ee){ne.resolveAll&&!i.includes(ne)&&i.push(ne),ne.resolve&&Ut(u.events,ee,u.events.length-ee,ne.resolve(u.events.slice(ee),u)),ne.resolveTo&&(u.events=ne.resolveTo(u.events,u))}function ae(){const ne=b(),ee=u.previous,oe=u.currentConstruct,J=u.events.length,ue=Array.from(o);return{from:J,restore:ce};function ce(){n=ne,u.previous=ee,u.currentConstruct=oe,u.events.length=J,o=ue,F()}}function F(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function g3(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let s;if(r===a)s=[e[r].slice(n,i)];else{if(s=e.slice(r,a),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function b3(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
4`;break}case-3:{s=`\r
5`;break}case-2:{s=t?" ":"	";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,n.push(s)}return n.join("")}function y3(e){const n={constructs:Rd([f3,...(e||{}).extensions||[]]),content:a(D2),defined:[],document:a(P2),flow:a(J4),lazy:{},string:a(r3),text:a(n3)};return n;function a(i){return s;function s(o){return p3(n,i,o)}}}function x3(e){for(;!Md(e););return e}const j0=/[\0\t\n\r]/g;function E3(){let e=1,t="",r=!0,n;return a;function a(i,s,o){const l=[];let u,c,h,m,f;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),h=0,t="",r&&(i.charCodeAt(0)===65279&&h++,r=void 0);h<i.length;){if(j0.lastIndex=h,u=j0.exec(i),m=u&&u.index!==void 0?u.index:i.length,f=i.charCodeAt(m),!u){t=i.slice(h);break}if(f===10&&h===m&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),h<m&&(l.push(i.slice(h,m)),e+=m-h),f){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}h=m+1}return o&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const _3=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function T3(e){return e.replace(_3,v3)}function v3(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return Ld(r.slice(i?2:1),i?16:10)}return au(r)||e}const $d={}.hasOwnProperty;function k3(e,t,r){return typeof t!="string"&&(r=t,t=void 0),w3(r)(x3(y3(r).document().write(E3()(e,t,!0))))}function w3(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(wr),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:i(vr),blockQuote:i(yt),characterEscape:ae,characterReference:ae,codeFenced:i($r),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i($r,s),codeText:i(jr,s),codeTextData:ae,data:ae,codeFlowValue:ae,definition:i(la),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(ln),hardBreakEscape:i(Ot),hardBreakTrailing:i(Ot),htmlFlow:i(Pt,s),htmlFlowData:ae,htmlText:i(Pt,s),htmlTextData:ae,image:i(kr),label:s,link:i(wr),listItem:i(ua),listItemValue:m,listOrdered:i(hi,h),listUnordered:i(hi),paragraph:i(Vs),reference:D,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(vr),strong:i(qs),thematicBreak:i(Ce)},exit:{atxHeading:l(),atxHeadingSequence:U,autolink:l(),autolinkEmail:At,autolinkProtocol:ct,blockQuote:l(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:ht,characterReferenceMarkerNumeric:ht,characterReferenceValue:qe,characterReference:dt,codeFenced:l(A),codeFencedFence:E,codeFencedFenceInfo:f,codeFencedFenceMeta:b,codeFlowValue:F,codeIndented:l(T),codeText:l(ue),codeTextData:F,data:F,definition:l(),definitionDestinationString:$,definitionLabelString:w,definitionTitleString:L,emphasis:l(),hardBreakEscape:l(ee),hardBreakTrailing:l(ee),htmlFlow:l(oe),htmlFlowData:F,htmlText:l(J),htmlTextData:F,image:l(Le),label:Ae,labelText:Ve,lineEnding:ne,link:l(ce),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:it,resourceDestinationString:R,resourceTitleString:Se,resource:He,setextHeading:l(se),setextHeadingLineSequence:W,setextHeadingText:P,strong:l(),thematicBreak:l()}};jd(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(H){let te={type:"root",children:[]};const me={stack:[te],tokenStack:[],config:t,enter:o,exit:u,buffer:s,resume:c,data:r},he=[];let _e=-1;for(;++_e<H.length;)if(H[_e][1].type==="listOrdered"||H[_e][1].type==="listUnordered")if(H[_e][0]==="enter")he.push(_e);else{const xt=he.pop();_e=a(H,xt,_e)}for(_e=-1;++_e<H.length;){const xt=t[H[_e][0]];$d.call(xt,H[_e][1].type)&&xt[H[_e][1].type].call(Object.assign({sliceSerialize:H[_e][2].sliceSerialize},me),H[_e][1])}if(me.tokenStack.length>0){const xt=me.tokenStack[me.tokenStack.length-1];(xt[1]||V0).call(me,void 0,xt[0])}for(te.position={start:qr(H.length>0?H[0][1].start:{line:1,column:1,offset:0}),end:qr(H.length>0?H[H.length-2][1].end:{line:1,column:1,offset:0})},_e=-1;++_e<t.transforms.length;)te=t.transforms[_e](te)||te;return te}function a(H,te,me){let he=te-1,_e=-1,xt=!1,Vt,qt,Vr,ca;for(;++he<=me;){const Mt=H[he];switch(Mt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Mt[0]==="enter"?_e++:_e--,ca=void 0;break}case"lineEndingBlank":{Mt[0]==="enter"&&(Vt&&!ca&&!_e&&!Vr&&(Vr=he),ca=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ca=void 0}if(!_e&&Mt[0]==="enter"&&Mt[1].type==="listItemPrefix"||_e===-1&&Mt[0]==="exit"&&(Mt[1].type==="listUnordered"||Mt[1].type==="listOrdered")){if(Vt){let Nn=he;for(qt=void 0;Nn--;){const Ar=H[Nn];if(Ar[1].type==="lineEnding"||Ar[1].type==="lineEndingBlank"){if(Ar[0]==="exit")continue;qt&&(H[qt][1].type="lineEndingBlank",xt=!0),Ar[1].type="lineEnding",qt=Nn}else if(!(Ar[1].type==="linePrefix"||Ar[1].type==="blockQuotePrefix"||Ar[1].type==="blockQuotePrefixWhitespace"||Ar[1].type==="blockQuoteMarker"||Ar[1].type==="listItemIndent"))break}Vr&&(!qt||Vr<qt)&&(Vt._spread=!0),Vt.end=Object.assign({},qt?H[qt][1].start:Mt[1].end),H.splice(qt||he,0,["exit",Vt,Mt[2]]),he++,me++}if(Mt[1].type==="listItemPrefix"){const Nn={type:"listItem",_spread:!1,start:Object.assign({},Mt[1].start),end:void 0};Vt=Nn,H.splice(he,0,["enter",Nn,Mt[2]]),he++,me++,Vr=void 0,ca=!0}}}return H[te][1]._spread=xt,me}function i(H,te){return me;function me(he){o.call(this,H(he),he),te&&te.call(this,he)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(H,te,me){this.stack[this.stack.length-1].children.push(H),this.stack.push(H),this.tokenStack.push([te,me||void 0]),H.position={start:qr(te.start),end:void 0}}function l(H){return te;function te(me){H&&H.call(this,me),u.call(this,me)}}function u(H,te){const me=this.stack.pop(),he=this.tokenStack.pop();if(he)he[0].type!==H.type&&(te?te.call(this,H,he[0]):(he[1]||V0).call(this,H,he[0]));else throw new Error("Cannot close `"+H.type+"` ("+Aa({start:H.start,end:H.end})+"): it’s not open");me.position.end=qr(H.end)}function c(){return nu(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(H){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(H),10),this.data.expectingFirstListItemValue=void 0}}function f(){const H=this.resume(),te=this.stack[this.stack.length-1];te.lang=H}function b(){const H=this.resume(),te=this.stack[this.stack.length-1];te.meta=H}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const H=this.resume(),te=this.stack[this.stack.length-1];te.value=H.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const H=this.resume(),te=this.stack[this.stack.length-1];te.value=H.replace(/(\r?\n|\r)$/g,"")}function w(H){const te=this.resume(),me=this.stack[this.stack.length-1];me.label=te,me.identifier=ir(this.sliceSerialize(H)).toLowerCase()}function L(){const H=this.resume(),te=this.stack[this.stack.length-1];te.title=H}function $(){const H=this.resume(),te=this.stack[this.stack.length-1];te.url=H}function U(H){const te=this.stack[this.stack.length-1];if(!te.depth){const me=this.sliceSerialize(H).length;te.depth=me}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function W(H){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(H).codePointAt(0)===61?1:2}function se(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(H){const me=this.stack[this.stack.length-1].children;let he=me[me.length-1];(!he||he.type!=="text")&&(he=j(),he.position={start:qr(H.start),end:void 0},me.push(he)),this.stack.push(he)}function F(H){const te=this.stack.pop();te.value+=this.sliceSerialize(H),te.position.end=qr(H.end)}function ne(H){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const me=te.children[te.children.length-1];me.position.end=qr(H.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(ae.call(this,H),F.call(this,H))}function ee(){this.data.atHardBreak=!0}function oe(){const H=this.resume(),te=this.stack[this.stack.length-1];te.value=H}function J(){const H=this.resume(),te=this.stack[this.stack.length-1];te.value=H}function ue(){const H=this.resume(),te=this.stack[this.stack.length-1];te.value=H}function ce(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=te,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function Le(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=te,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function Ve(H){const te=this.sliceSerialize(H),me=this.stack[this.stack.length-2];me.label=T3(te),me.identifier=ir(te).toLowerCase()}function Ae(){const H=this.stack[this.stack.length-1],te=this.resume(),me=this.stack[this.stack.length-1];if(this.data.inReference=!0,me.type==="link"){const he=H.children;me.children=he}else me.alt=te}function R(){const H=this.resume(),te=this.stack[this.stack.length-1];te.url=H}function Se(){const H=this.resume(),te=this.stack[this.stack.length-1];te.title=H}function He(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function it(H){const te=this.resume(),me=this.stack[this.stack.length-1];me.label=te,me.identifier=ir(this.sliceSerialize(H)).toLowerCase(),this.data.referenceType="full"}function ht(H){this.data.characterReferenceType=H.type}function qe(H){const te=this.sliceSerialize(H),me=this.data.characterReferenceType;let he;me?(he=Ld(te,me==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):he=au(te);const _e=this.stack[this.stack.length-1];_e.value+=he}function dt(H){const te=this.stack.pop();te.position.end=qr(H.end)}function ct(H){F.call(this,H);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(H)}function At(H){F.call(this,H);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(H)}function yt(){return{type:"blockquote",children:[]}}function $r(){return{type:"code",lang:null,meta:null,value:""}}function jr(){return{type:"inlineCode",value:""}}function la(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ln(){return{type:"emphasis",children:[]}}function vr(){return{type:"heading",depth:0,children:[]}}function Ot(){return{type:"break"}}function Pt(){return{type:"html",value:""}}function kr(){return{type:"image",title:null,url:"",alt:null}}function wr(){return{type:"link",title:null,url:"",children:[]}}function hi(H){return{type:"list",ordered:H.type==="listOrdered",start:null,spread:H._spread,children:[]}}function ua(H){return{type:"listItem",spread:H._spread,checked:null,children:[]}}function Vs(){return{type:"paragraph",children:[]}}function qs(){return{type:"strong",children:[]}}function j(){return{type:"text",value:""}}function Ce(){return{type:"thematicBreak"}}}function qr(e){return{line:e.line,column:e.column,offset:e.offset}}function jd(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?jd(e,n):A3(e,n)}}function A3(e,t){let r;for(r in t)if($d.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function V0(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Aa({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Aa({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Aa({start:t.start,end:t.end})+") is still open")}function S3(e){const t=this;t.parser=r;function r(n){return k3(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function C3(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function N3(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
6`}]}function I3(e,t){const r=t.value?t.value+`
7`:"",n={};t.lang&&(n.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function R3(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function L3(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function D3(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=Zn(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let s,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=i+1,o+=1,e.footnoteCounts.set(n,o);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function O3(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function P3(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Vd(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=n:a.push({type:"text",value:n}),a}function M3(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Vd(e,t);const a={src:Zn(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function B3(e,t){const r={src:Zn(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function F3(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function H3(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Vd(e,t);const a={href:Zn(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function z3(e,t){const r={href:Zn(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function U3(e,t,r){const n=e.all(t),a=r?$3(r):qd(t),i={},s=[];if(typeof t.checked=="boolean"){const c=n[0];let h;c&&c.type==="element"&&c.tagName==="p"?h=c:(h={type:"element",tagName:"p",properties:{},children:[]},n.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const c=n[o];(a||o!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
8`}),c.type==="element"&&c.tagName==="p"&&!a?s.push(...c.children):s.push(c)}const l=n[n.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
9`});const u={type:"element",tagName:"li",properties:i,children:s};
vendor: 5,854 bytes, line 9
9return e.patch(t,u),e.applyData(t,u)}function $3(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=qd(r[n])}return t}function qd(e){const t=e.spread;return t??e.children.length>1}function j3(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const s=n[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function V3(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function q3(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function W3(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function G3(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=yr(t.children[1]),l=bs(t.children[t.children.length-1]);o&&l&&(s.position={start:o,end:l}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function Y3(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:t.children.length;let l=-1;const u=[];for(;++l<o;){const h=t.children[l],m={},f=s?s[l]:void 0;f&&(m.align=f);let b={type:"element",tagName:i,properties:m,children:[]};h&&(b.children=e.all(h),e.patch(h,b),b=e.applyData(h,b)),u.push(b)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function X3(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const q0=9,W0=32;function Q3(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(G0(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(G0(t.slice(a),a>0,!1)),i.join("")}function G0(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===q0||i===W0;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===q0||i===W0;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function K3(e,t){const r={type:"text",value:Q3(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Z3(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const J3={blockquote:C3,break:N3,code:I3,delete:R3,emphasis:L3,footnoteReference:D3,heading:O3,html:P3,imageReference:M3,image:B3,inlineCode:F3,linkReference:H3,link:z3,listItem:U3,list:j3,paragraph:V3,root:q3,strong:W3,table:G3,tableCell:X3,tableRow:Y3,text:K3,thematicBreak:Z3,toml:di,yaml:di,definition:di,footnoteDefinition:di};function di(){}const Wd=-1,Es=0,Ca=1,$i=2,su=3,ou=4,lu=5,uu=6,Gd=7,Yd=8,Y0=typeof self=="object"?self:globalThis,e6=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case Es:case Wd:return r(s,a);case Ca:{const o=r([],a);for(const l of s)o.push(n(l));return o}case $i:{const o=r({},a);for(const[l,u]of s)o[n(l)]=n(u);return o}case su:return r(new Date(s),a);case ou:{const{source:o,flags:l}=s;return r(new RegExp(o,l),a)}case lu:{const o=r(new Map,a);for(const[l,u]of s)o.set(n(l),n(u));return o}case uu:{const o=r(new Set,a);for(const l of s)o.add(n(l));return o}case Gd:{const{name:o,message:l}=s;return r(new Y0[o](l),a)}case Yd:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(new Y0[i](s),a)};return n},X0=e=>e6(new Map,e)(0),Dn="",{toString:t6}={},{keys:r6}=Object,pa=e=>{const t=typeof e;if(t!=="object"||!e)return[Es,t];const r=t6.call(e).slice(8,-1);switch(r){case"Array":return[Ca,Dn];case"Object":return[$i,Dn];case"Date":return[su,Dn];case"RegExp":return[ou,Dn];case"Map":return[lu,Dn];case"Set":return[uu,Dn];case"DataView":return[Ca,r]}return r.includes("Array")?[Ca,r]:r.includes("Error")?[Gd,r]:[$i,r]},mi=([e,t])=>e===Es&&(t==="function"||t==="symbol"),n6=(e,t,r,n)=>{const a=(s,o)=>{const l=n.push(s)-1;return r.set(o,l),l},i=s=>{if(r.has(s))return r.get(s);let[o,l]=pa(s);switch(o){case Es:{let c=s;switch(l){case"bigint":o=Yd,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return a([Wd],s)}return a([o,c],s)}case Ca:{if(l){let m=s;return l==="DataView"?m=new Uint8Array(s.buffer):l==="ArrayBuffer"&&(m=new Uint8Array(s)),a([l,[...m]],s)}const c=[],h=a([o,c],s);for(const m of s)c.push(i(m));return h}case $i:{if(l)switch(l){case"BigInt":return a([l,s.toString()],s);case"Boolean":case"Number":case"String":return a([l,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const c=[],h=a([o,c],s);for(const m of r6(s))(e||!mi(pa(s[m])))&&c.push([i(m),i(s[m])]);return h}case su:return a([o,s.toISOString()],s);case ou:{const{source:c,flags:h}=s;return a([o,{source:c,flags:h}],s)}case lu:{const c=[],h=a([o,c],s);for(const[m,f]of s)(e||!(mi(pa(m))||mi(pa(f))))&&c.push([i(m),i(f)]);return h}case uu:{const c=[],h=a([o,c],s);for(const m of s)(e||!mi(pa(m)))&&c.push(i(m));return h}}const{message:u}=s;return a([o,{name:l,message:u}],s)};return i},Q0=(e,{json:t,lossy:r}={})=>{const n=[];return n6(!(t||r),!!t,new Map,n)(e),n},Gn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?X0(Q0(e,t)):structuredClone(e):(e,t)=>
vendor: 1,786 bytes, lines 9-10
9X0(Q0(e,t));function a6(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function i6(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function s6(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||a6,n=e.options.footnoteBackLabel||i6,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[l]);if(!u)continue;const c=e.all(u),h=String(u.identifier).toUpperCase(),m=Zn(h.toLowerCase());let f=0;const b=[],E=e.footnoteCounts.get(h);for(;E!==void 0&&++f<=E;){b.length>0&&b.push({type:"text",value:" "});let w=typeof r=="string"?r:r(l,f);typeof w=="string"&&(w={type:"text",value:w}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,f),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const A=c[c.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const w=A.children[A.children.length-1];w&&w.type==="text"?w.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...b)}else c.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(c,!0)};e.patch(u,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Gn(s),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
10`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)}
vendor: 4,926 bytes, lines 10-15
10,{type:"text",value:`
11`}]}}const Ja=(function(e){if(e==null)return c6;if(typeof e=="function")return _s(e);if(typeof e=="object")return Array.isArray(e)?o6(e):l6(e);if(typeof e=="string")return u6(e);throw new Error("Expected function, string, or object as test")});function o6(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Ja(e[r]);return _s(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function l6(e){const t=e;return _s(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function u6(e){return _s(t);function t(r){return r&&r.type===e}}function _s(e){return t;function t(r,n,a){return!!(h6(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function c6(){return!0}function h6(e){return e!==null&&typeof e=="object"&&"type"in e}const Xd=[],_a=!0,ll=!1,ji="skip";function cu(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=Ja(a),s=n?-1:1;o(e,void 0,[])();function o(l,u,c){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const f=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(l.type+(f?"<"+f+">":""))+")"})}return m;function m(){let f=Xd,b,E,A;if((!t||i(l,u,c[c.length-1]||void 0))&&(f=d6(r(l,c)),f[0]===ll))return f;if("children"in l&&l.children){const T=l;if(T.children&&f[0]!==ji)for(E=(n?T.children.length:-1)+s,A=c.concat(T);E>-1&&E<T.children.length;){const w=T.children[E];if(b=o(w,E,A)(),b[0]===ll)return b;E=typeof b[1]=="number"?b[1]:E+s}}return f}}}function d6(e){return Array.isArray(e)?e:typeof e=="number"?[_a,e]:e==null?Xd:[e]}function En(e,t,r,n){let a,i,s;typeof t=="function"&&typeof r!="function"?(i=void 0,s=t,a=r):(i=t,s=r,a=n),cu(e,i,o,a);function o(l,u){const c=u[u.length-1],h=c?c.children.indexOf(l):void 0;return s(l,h,c)}}const ul={}.hasOwnProperty,m6={};function f6(e,t){const r=t||m6,n=new Map,a=new Map,i=new Map,s={...J3,...r.handlers},o={all:u,applyData:g6,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:l,options:r,patch:p6,wrap:y6};return En(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const h=c.type==="definition"?n:a,m=String(c.identifier).toUpperCase();h.has(m)||h.set(m,c)}}),o;function l(c,h){const m=c.type,f=o.handlers[m];if(ul.call(o.handlers,m)&&f)return f(o,c,h);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in c){const{children:E,...A}=c,T=Gn(A);return T.children=o.all(c),T}return Gn(c)}return(o.options.unknownHandler||b6)(o,c,h)}function u(c){const h=[];if("children"in c){const m=c.children;let f=-1;for(;++f<m.length;){const b=o.one(m[f],c);if(b){if(f&&m[f-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=K0(b.value)),!Array.isArray(b)&&b.type==="element")){const E=b.children[0];E&&E.type==="text"&&(E.value=K0(E.value))}Array.isArray(b)?h.push(...b):h.push(b)}}}return h}}function p6(e,t){e.position&&(t.position=i2(e))}function g6(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&i&&Object.assign(r.properties,Gn(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function b6(e,t){const r=t.data||{},n="value"in t&&!(ul.call(r,"hProperties")||ul.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function y6(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
12`});++n<e.length;)n&&r.push({type:"text",value:`
13`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
14`}),r}function K0(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function Z0(e,t){const r=f6(e,t),n=r.one(e,void 0),a=s6(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
15`},a),i}function x6(e,t){return e&&"run"in e?async function(r,n){const a=Z0(r,{file:n,...t});await e.run(a,n)}:function(r,n){return Z0(r,{file:n,...e||t})}}function J0(e){if(e)throw e}var lo,ec;function E6(){if(ec)return lo;ec=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(u){return typeof Array.isArray=="function"?Array.isArray(u):t.call(u)==="[object Array]"},i=function(u){if(!u||t.call(u)!=="[object Object]")return!1;var c=e.call(u,"constructor"),h=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!c&&!h)return!1;var m;for(m in u);return typeof m>"u"||e.call(u,m)},s=function(u,c){r&&c.name==="__proto__"?r(u,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):u[c.name]=c.newValue}
vendor: 9,910 bytes, line 15
15,o=function(u,c){if(c==="__proto__")if(e.call(u,c)){if(n)return n(u,c).value}else return;return u[c]};return lo=function l(){var u,c,h,m,f,b,E=arguments[0],A=1,T=arguments.length,w=!1;for(typeof E=="boolean"&&(w=E,E=arguments[1]||{},A=2),(E==null||typeof E!="object"&&typeof E!="function")&&(E={});A<T;++A)if(u=arguments[A],u!=null)for(c in u)h=o(E,c),m=o(u,c),E!==m&&(w&&m&&(i(m)||(f=a(m)))?(f?(f=!1,b=h&&a(h)?h:[]):b=h&&i(h)?h:{},s(E,{name:c,newValue:l(w,b,m)})):typeof m<"u"&&s(E,{name:c,newValue:m}));return E},lo}var _6=E6();const uo=bd(_6);function cl(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function T6(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...a);function o(l,...u){const c=e[++i];let h=-1;if(l){s(l);return}for(;++h<a.length;)(u[h]===null||u[h]===void 0)&&(u[h]=a[h]);a=u,c?v6(c,o)(...u):s(null,...u)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function v6(e,t){let r;return n;function n(...s){const o=e.length>s.length;let l;o&&s.push(a);try{l=e.apply(this,s)}catch(u){const c=u;if(o&&r)throw c;return a(c)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(s,...o){r||(r=!0,t(s,...o))}function i(s){a(null,s)}}const dr={basename:k6,dirname:w6,extname:A6,join:S6,sep:"/"};function k6(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ei(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(n=a):(o=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function w6(e){if(ei(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function A6(e){ei(e);let t=e.length,r=-1,n=0,a=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),o===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function S6(...e){let t=-1,r;for(;++t<e.length;)ei(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":C6(r)}function C6(e){ei(e);const t=e.codePointAt(0)===47;let r=N6(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function N6(e,t){let r="",n=0,a=-1,i=0,s=-1,o,l;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=s,i=0;continue}}else if(r.length>0){r="",n=0,a=s,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),n=s-a-1;a=s,i=0}else o===46&&i>-1?i++:i=-1}return r}function ei(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const I6={cwd:R6};function R6(){return"/"}function hl(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function L6(e){if(typeof e=="string")e=new URL(e);else if(!hl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return D6(e)}function D6(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const co=["history","path","basename","stem","extname","dirname"];class Qd{constructor(t){let r;t?hl(t)?r={path:t}:typeof t=="string"||O6(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":I6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<co.length;){const i=co[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)co.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?dr.basename(this.path):void 0}set basename(t){mo(t,"basename"),ho(t,"basename"),this.path=dr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?dr.dirname(this.path):void 0}set dirname(t){tc(this.basename,"dirname"),this.path=dr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?dr.extname(this.path):void 0}set extname(t){if(ho(t,"extname"),tc(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=dr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){hl(t)&&(t=L6(t)),mo(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?dr.basename(this.path,this.extname):void 0}set stem(t){mo(t,"stem"),ho(t,"stem"),this.path=dr.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new gt(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function ho(e,t){if(e&&e.includes(dr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+dr.sep+"`")}function mo(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function tc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function O6(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const P6=(function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i}),M6={}.hasOwnProperty;class hu extends P6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=T6()}copy(){const t=new hu;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(uo(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(go("data",this.frozen),this.namespace[t]=r,this):M6.call(this.namespace,t)&&this.namespace[t]||void 0:t?(go("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=fi(t),n=this.parser||this.Parser;return fo("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),fo("process",this.parser||this.Parser),po("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const o=fi(t),l=n.parse(o);n.run(l,o,function(c,h,m){if(c||!h||!m)return u(c);const f=h,b=n.stringify(f,m);H6(b)?m.value=b:m.result=b,u(c,m)});function u(c,h){c||!h?s(c):i?i(h):r(void 0,h)}}}processSync(t){let r=!1,n;return this.freeze(),fo("processSync",this.parser||this.Parser),po("processSync",this.compiler||this.Compiler),this.process(t,a),nc("processSync","process",r),n;function a(i,s){r=!0,J0(i),n=s}}run(t,r,n){rc(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(s,o){const l=fi(r);a.run(t,l,u);function u(c,h,m){const f=h||t;c?o(c):s?s(f):n(void 0,f,m)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),nc("runSync","run",n),a;function i(s,o){J0(s),a=o,n=!0}}stringify(t,r){this.freeze();const n=fi(r),a=this.compiler||this.Compiler;return po("stringify",a),rc(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(go("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...h]=u;l(c,h)}else s(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function s(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(u.plugins),u.settings&&(a.settings=uo(!0,a.settings,u.settings))}function o(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const h=u[c];i(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,c){let h=-1,m=-1;for(;++h<n.length;
vendor: 4,605 bytes, line 15
15)if(n[h][0]===u){m=h;break}if(m===-1)n.push([u,...c]);else if(c.length>0){let[f,...b]=c;const E=n[m][1];cl(E)&&cl(f)&&(f=uo(!0,E,f)),n[m]=[u,f,...b]}}}}const B6=new hu().freeze();function fo(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function po(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function go(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rc(e){if(!cl(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function nc(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function fi(e){return F6(e)?e:new Qd(e)}function F6(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function H6(e){return typeof e=="string"||z6(e)}function z6(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const U6="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ac=[],ic={allowDangerousHtml:!0},$6=/^(https?|ircs?|mailto|xmpp)$/i,j6=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function V6(e){const t=q6(e),r=W6(e);return G6(t.runSync(t.parse(r),r),e)}function q6(e){const t=e.rehypePlugins||ac,r=e.remarkPlugins||ac,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ic}:ic;return B6().use(S3).use(r).use(x6,n).use(t)}function W6(e){const t=e.children||"",r=new Qd;return typeof t=="string"&&(r.value=t),r}function G6(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,o=t.unwrapDisallowed,l=t.urlTransform||Y6;for(const c of j6)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+U6+c.id,void 0);return En(e,u),c2(e,{Fragment:x.Fragment,components:a,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function u(c,h,m){if(c.type==="raw"&&m&&typeof h=="number")return s?m.children.splice(h,1):m.children[h]={type:"text",value:c.value},h;if(c.type==="element"){let f;for(f in io)if(Object.hasOwn(io,f)&&Object.hasOwn(c.properties,f)){const b=c.properties[f],E=io[f];(E===null||E.includes(c.tagName))&&(c.properties[f]=l(String(b||""),f,c))}}if(c.type==="element"){let f=r?!r.includes(c.tagName):i?i.includes(c.tagName):!1;if(!f&&n&&typeof h=="number"&&(f=!n(c,h,m)),f&&m&&typeof h=="number")return o&&c.children?m.children.splice(h,1,...c.children):m.children.splice(h,1),h}}}function Y6(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||$6.test(e.slice(0,t))?e:""}const sc=/[#.]/g;function X6(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){sc.lastIndex=a;const o=sc.exec(r),l=r.slice(a,o?o.index:r.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:s=l,a+=l.length),o&&(i=o[0],a++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function Kd(e,t,r){const n=r?J6(r):void 0;function a(i,s,...o){let l;if(i==null){l={type:"root",children:[]};const u=s;o.unshift(u)}else{l=X6(i,t);const u=l.tagName.toLowerCase(),c=n?n.get(u):void 0;if(l.tagName=c||u,Q6(s))o.unshift(s);else for(const[h,m]of Object.entries(s))K6(e,l.properties,h,m)}for(const u of o)dl(l.children,u);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function Q6(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
vendor: 13,568 bytes, lines 15-17
15if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function K6(e,t,r,n){const a=gs(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=S0(n):a.commaSeparated?i=T0(n):a.commaOrSpaceSeparated?i=S0(T0(n).join(" ")):i=oc(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?Z6(n):String(n);if(Array.isArray(i)){const s=[];for(const o of i)s.push(oc(a,a.property,o));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function dl(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)dl(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?dl(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function oc(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ha(r)===Ha(t)))return!0}return r}function Z6(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function J6(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const e5=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Zd=Kd(Ka,"div"),Jd=Kd(an,"g",e5),pr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function t5(e,t){return em(e,{})||{type:"root",children:[]}}function em(e,t){const r=r5(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function r5(e,t){switch(e.nodeType){case 1:return s5(e,t);case 3:return a5(e);case 8:return i5(e);case 9:return lc(e,t);case 10:return n5();case 11:return lc(e,t);default:return}}function lc(e,t){return{type:"root",children:tm(e,t)}}function n5(){return{type:"doctype"}}function a5(e){return{type:"text",value:e.nodeValue||""}}function i5(e){return{type:"comment",value:e.nodeValue||""}}function s5(e,t){const r=e.namespaceURI,n=r===pr.svg?Jd:Zd,a=r===pr.html?e.tagName.toLowerCase():e.tagName,i=r===pr.html&&a==="template"?e.content:e,s=e.getAttributeNames(),o={};let l=-1;for(;++l<s.length;)o[s[l]]=e.getAttribute(s[l])||"";return n(a,o,tm(i,t))}function tm(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=em(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function o5(e,t){const r=l5(e);return t5(r)}function l5(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const uc=(function(e,t,r){const n=Ja(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),kn=(function(e){if(e==null)return h5;if(typeof e=="string")return c5(e);if(typeof e=="object")return u5(e);if(typeof e=="function")return du(e);throw new Error("Expected function, string, or array as `test`")});function u5(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=kn(e[r]);return du(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function c5(e){return du(t);function t(r){return r.tagName===e}}function du(e){return t;function t(r,n,a){return!!(d5(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function h5(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function d5(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const cc=/\n/g,hc=/[\t ]+/g,ml=kn("br"),dc=kn(E5),m5=kn("p"),mc=kn("tr"),f5=kn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",x5,_5]),rm=kn(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function p5(e,t){const r=t||{},n="children"in e?e.children:[],a=rm(e),i=im(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...am(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...nm(n[o],e,{whitespace:i,breakBefore:o?void 0:a,breakAfter:o<n.length-1?ml(n[o+1]):a}));const l=[];let u;for(o=-1;++o<s.length;){const c=s[o];typeof c=="number"?u!==void 0&&c>u&&(u=c):c&&(u!==void 0&&u>-1&&l.push(`
16`.repeat(u)||" "),u=-1,l.push(c))}return l.join("")}function nm(e,t,r){return e.type==="element"?g5(e,t,r):e.type==="text"?r.whitespace==="normal"?am(e,r):b5(e):[]}function g5(e,t,r){const n=im(e,r),a=e.children||[];let i=-1,s=[];if(f5(e))return s;let o,l;for(ml(e)||mc(e)&&uc(t,e,mc)?l=`
17`:m5(e)?(o=2,l=2):rm(e)&&(o=1,l=1);++i<a.length;)s=s.concat(nm(a[i],e,{whitespace:n,breakBefore:i?void 0:o,breakAfter:i<a.length-1?ml(a[i+1]):l}));return dc(e)&&uc(t,e,dc)&&s.push("	"),o&&s.unshift(o),l&&s.push(l),s}function am(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){cc.lastIndex=i;const l=cc.exec(r),u=l&&"index"in l?l.index:r.length;n.push(y5(r.slice(i,u).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,u===r.length?t.breakAfter:!0)),i=u+1}let s=-1,o;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),o=void 0):n[s]?(typeof o=="number"&&a.push(o),a.push(n[s]),o=0):(s===0||s===n.length-1)&&a.push(0);return a}function b5(e){return[String(e.value)]}function y5(e,t,r){const n=[];let a=0,i;for(;a<e.length;){hc.lastIndex=a;const s=hc.exec(e);i=s?s.index:e.length,!a&&!i&&s&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function im(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function x5(e){return!!(e.properties||{}).hidden}function E5(e){return e.tagName==="td"||e.tagName==="th"}function _5(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class Rt{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new Rt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class $t{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new $t(r,Rt.range(this,t))}}class Q{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;a=s.start,i=s.end,a===o.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var l=o.slice(a,i).replace(/[^]/g,"$&̲"),u;a>15?u="…"+o.slice(a-15,a):u=o.slice(0,a);var c;i+15<o.length?c=o.slice(i,i+15)+"…":c=o.slice(i),n+=u+l+c}var h=new Error(n);return h.name="ParseError",h.__proto__=Q.prototype,h.position=a,a!=null&&i!=null&&(h.length=i-a),h.rawMessage=t,h}}Q.prototype.__proto__=Error.prototype;var T5=function(t,r){return t===void 0?r:t},v5=/([A-Z])/g,k5=function(t){return t.replace(v5,"-$1").toLowerCase()},w5={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},A5=/[&><"']/g;function S5(e){return String(e).replace(A5,t=>w5[t])}var sm=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},C5=function(t){var r=sm(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},N5=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},I5=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},Ie={deflt:T5,escape:S5,hyphenate:k5,getBaseElem:sm,isCharacterBox:C5,protocolFromUrl:I5},Na={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function R5(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class mu{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in Na)if(Na.hasOwnProperty(r)){var n=Na[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:R5(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new Q("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=Ie.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}
vendor: 4,677 bytes, lines 17-68
17class Wr{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return mr[L5[this.id]]}sub(){return mr[D5[this.id]]}fracNum(){return mr[O5[this.id]]}fracDen(){return mr[P5[this.id]]}cramp(){return mr[M5[this.id]]}text(){return mr[B5[this.id]]}isTight(){return this.size>=2}}var fu=0,Vi=1,jn=2,Or=3,Ua=4,Kt=5,Yn=6,vt=7,mr=[new Wr(fu,0,!1),new Wr(Vi,0,!0),new Wr(jn,1,!1),new Wr(Or,1,!0),new Wr(Ua,2,!1),new Wr(Kt,2,!0),new Wr(Yn,3,!1),new Wr(vt,3,!0)],L5=[Ua,Kt,Ua,Kt,Yn,vt,Yn,vt],D5=[Kt,Kt,Kt,Kt,vt,vt,vt,vt],O5=[jn,Or,Ua,Kt,Yn,vt,Yn,vt],P5=[Or,Or,Kt,Kt,vt,vt,vt,vt],M5=[Vi,Vi,Or,Or,Kt,Kt,vt,vt],B5=[fu,Vi,jn,Or,jn,Or,jn,Or],pe={DISPLAY:mr[fu],TEXT:mr[jn],SCRIPT:mr[Ua],SCRIPTSCRIPT:mr[Yn]},fl=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function F5(e){for(var t=0;t<fl.length;t++)for(var r=fl[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var Pi=[];fl.forEach(e=>e.blocks.forEach(t=>Pi.push(...t)));function om(e){for(var t=0;t<Pi.length;t+=2)if(e>=Pi[t]&&e<=Pi[t+1])return!0;return!1}var On=80,H5=function(t,r){return"M95,"+(622+t+r)+`
18c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
19c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
20c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
21s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
22c69,-144,104.5,-217.7,106.5,-221
23l`+t/2.075+" -"+t+`
24c5.3,-9.3,12,-14,20,-14
25H400000v`+(40+t)+`H845.2724
26s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
27c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
28M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},z5=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
29c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
30c340,-704.7,510.7,-1060.3,512,-1067
31l`+t/2.084+" -"+t+`
32c4.7,-7.3,11,-11,19,-11
33H40000v`+(40+t)+`H1012.3
34s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
35c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
36s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
37c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
38M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},U5=function(t,r){return"M983 "+(10+t+r)+`
39l`+t/3.13+" -"+t+`
40c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
41H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
42s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
43c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
44c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
45c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
46c53.7,-170.3,84.5,-266.8,92.5,-289.5z
47M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},$5=function(t,r){return"M424,"+(2398+t+r)+`
48c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
49c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
50s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
51s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
52l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
53v`+(40+t)+`H1014.6
54s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
55c-2,6,-10,9,-24,9
56c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
57h400000v`+(40+t)+"h-400000z"},j5=function(t,r){return"M473,"+(2713+t+r)+`
58c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
59c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
60s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
61c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
62c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
63s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
64606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},V5=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},q5=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
65H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
66h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
67c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
68219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},W5=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=H5(r,On);break;
68case"sqrtSize1":a=z5(r,On);break;case"sqrtSize2":a=U5(r,On);break;case"sqrtSize3":a=$5(r,On);break;case"sqrtSize4":a=j5(r,On);break;case"sqrtTall":a=q5(r,On,n)}return a},G5=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},fc
vendor: 15,381 bytes, lines 68-243
68={doubleleftarrow:`M262 157
69l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
70 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
71 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
72c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
73 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
74-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
75-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
76m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
77-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
78 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
79-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
80-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
81-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
82c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
83-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
84 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
85-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
86c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
87 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
88 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
89 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
90-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
91 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
92 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
93 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
94-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
95H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
96 435 0h399565z`,leftgroupunder:`M400000 262
97H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
98 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
99-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
100-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
101-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
102 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
103-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
104-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
105m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
106 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
107 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
108-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
109 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
110-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
111v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
112-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
113-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
114 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
115M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
116M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
117-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
118c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
119 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
120M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
121c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
122-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
123 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
124 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
125c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
126 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
127 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
128-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
129-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
130m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
13160.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
132-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
133m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
134c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
135-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
136m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
13785.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
138-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
139m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
140c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
141-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
142 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
143 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
144-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
145-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
146 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
147-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
148s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
149c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
150 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
151-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
152 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
153 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
154-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
155-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
156 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
157-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
158 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
159m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
160 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
161-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
162-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
163 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
164 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
165-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
166m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
167 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
168-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
169 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
170M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
171 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
172-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
173-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
174 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
175-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
176-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
177-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
178 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
179c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
180 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
181 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
182-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
183 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
184-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
185 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
186 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
187-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
188-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
189 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
190c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
191 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
192-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
193 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
194 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
195 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
196-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
197 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
198 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
199 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
2003.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
20110.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
202-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
203-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
204H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
205c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
206c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
207-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
208-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
209-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
210-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
211-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
212-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
213-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
214c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
215c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
216s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
217121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
218s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
219c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
220M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
221-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
22213.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
223-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
224-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
225-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
226151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
227c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
228c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
229c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
230c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
231M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
232c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
233-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
234c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
235M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
236c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
2371c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
238-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
239M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
240c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
241-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
242c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
243M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,200 bytes, lines 243-271
243Y5=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
244H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
245M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
246c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
247c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
248c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
249c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
250M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
251c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
252c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
253MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
254MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
255M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
256M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
257c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
258-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
259949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
260c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
261-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
262l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
263-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
26463,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
265c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
266c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
267c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
268c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
269c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
270l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
271-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class ti{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var gr
vendor: 57,629 bytes, line 271
271={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},
vendor: 5,668 bytes, line 271
271pi={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},pc={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function lm(e,t){gr[e]=t}function pu(e,t,r){if(!gr[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=gr[t][n];if(!a&&e[0]in pc&&(n=pc[e[0]].charCodeAt(0),a=gr[t][n]),!a&&r==="text"&&om(n)&&(a=gr[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var bo={};function X5(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!bo[t]){var r=bo[t]={cssEmPerMu:pi.quad[t]/18};for(var n in pi)pi.hasOwnProperty(n)&&(r[n]=pi[n][t])}return bo[t]}var Q5=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],gc=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],bc=function(t,r){return r.size<2?t:Q5[t-1][r.size-1]};class Rr{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Rr.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=gc[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Rr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:bc(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:gc[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=bc(Rr.BASESIZE,t);return this.size===r&&this.textSize===Rr.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Rr.BASESIZE?["sizing","reset-size"+this.size,"size"+Rr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=X5(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Rr.BASESIZE=6;var pl={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},K5={ex:!0,em:!0,mu:!0},um=function(t){return typeof t!="string"&&(t=t.unit),t in pl||t in K5||t==="ex"},je=function(t,r){var n;if(t.unit in pl)n=pl[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new Q("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},re=function(t){return+t.toFixed(4)+"em"},tn=function(t){return t.filter(r=>r).join(" ")},cm=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},hm=function(t){var r=document.createElement(t);r.className=tn(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},Z5=/[\s"'>/=\x00-\x1f]/,dm=function(t){var r="<"+t;
vendor: 4,275 bytes, line 271
271this.classes.length&&(r+=' class="'+Ie.escape(tn(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Ie.hyphenate(a)+":"+this.style[a]+";");n&&(r+=' style="'+Ie.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(Z5.test(i))throw new Q("Invalid attribute name '"+i+"'");r+=" "+i+'="'+Ie.escape(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class ri{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,cm.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return hm.call(this,"span")}toMarkup(){return dm.call(this,"span")}}class gu{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,cm.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return hm.call(this,"a")}toMarkup(){return dm.call(this,"a")}}class J5{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+Ie.escape(this.src)+'"'+(' alt="'+Ie.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Ie.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+Ie.escape(r)+'"'),t+="'/>",t}}var eb={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Jt{constructor(t,r,n,a,i,s,o,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var u=F5(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=eb[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=re(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=tn(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Ie.escape(tn(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Ie.hyphenate(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+Ie.escape(n)+'"');var i=Ie.escape(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Br{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Ie.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class rn{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",fc[this.pathName]),r}
vendor: 5,451 bytes, line 271
271toMarkup(){return this.alternate?'<path d="'+Ie.escape(this.alternate)+'"/>':'<path d="'+Ie.escape(fc[this.pathName])+'"/>'}}class gl{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Ie.escape(this.attributes[r])+'"');return t+="/>",t}}function yc(e){if(e instanceof Jt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function tb(e){if(e instanceof ri)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var rb={bin:1,close:1,inner:1,open:1,punct:1,rel:1},nb={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Fe={math:{},text:{}};function p(e,t,r,n,a,i){Fe[e][a]={font:t,group:r,replace:n},i&&n&&(Fe[e][n]=Fe[e][a])}var g="math",V="text",y="main",C="ams",Ue="accent-token",le="bin",wt="close",Jn="inner",fe="mathord",et="op-token",jt="open",Ts="punct",N="rel",zr="spacing",O="textord";p(g,y,N,"≡","\\equiv",!0);p(g,y,N,"≺","\\prec",!0);p(g,y,N,"≻","\\succ",!0);p(g,y,N,"∼","\\sim",!0);p(g,y,N,"⊥","\\perp");p(g,y,N,"⪯","\\preceq",!0);p(g,y,N,"⪰","\\succeq",!0);p(g,y,N,"≃","\\simeq",!0);p(g,y,N,"∣","\\mid",!0);p(g,y,N,"≪","\\ll",!0);p(g,y,N,"≫","\\gg",!0);p(g,y,N,"≍","\\asymp",!0);p(g,y,N,"∥","\\parallel");p(g,y,N,"⋈","\\bowtie",!0);p(g,y,N,"⌣","\\smile",!0);p(g,y,N,"⊑","\\sqsubseteq",!0);p(g,y,N,"⊒","\\sqsupseteq",!0);p(g,y,N,"≐","\\doteq",!0);p(g,y,N,"⌢","\\frown",!0);p(g,y,N,"∋","\\ni",!0);p(g,y,N,"∝","\\propto",!0);p(g,y,N,"⊢","\\vdash",!0);p(g,y,N,"⊣","\\dashv",!0);p(g,y,N,"∋","\\owns");p(g,y,Ts,".","\\ldotp");p(g,y,Ts,"⋅","\\cdotp");p(g,y,O,"#","\\#");p(V,y,O,"#","\\#");p(g,y,O,"&","\\&");p(V,y,O,"&","\\&");p(g,y,O,"ℵ","\\aleph",!0);p(g,y,O,"∀","\\forall",!0);p(g,y,O,"ℏ","\\hbar",!0);p(g,y,O,"∃","\\exists",!0);p(g,y,O,"∇","\\nabla",!0);p(g,y,O,"♭","\\flat",!0);p(g,y,O,"ℓ","\\ell",!0);p(g,y,O,"♮","\\natural",!0);p(g,y,O,"♣","\\clubsuit",!0);p(g,y,O,"℘","\\wp",!0);p(g,y,O,"♯","\\sharp",!0);p(g,y,O,"♢","\\diamondsuit",!0);p(g,y,O,"ℜ","\\Re",!0);p(g,y,O,"♡","\\heartsuit",!0);p(g,y,O,"ℑ","\\Im",!0);p(g,y,O,"♠","\\spadesuit",!0);p(g,y,O,"§","\\S",!0);p(V,y,O,"§","\\S");p(g,y,O,"¶","\\P",!0);p(V,y,O,"¶","\\P");p(g,y,O,"†","\\dag");p(V,y,O,"†","\\dag");p(V,y,O,"†","\\textdagger");p(g,y,O,"‡","\\ddag");p(V,y,O,"‡","\\ddag");p(V,y,O,"‡","\\textdaggerdbl");p(g,y,wt,"⎱","\\rmoustache",!0);p(g,y,jt,"⎰","\\lmoustache",!0);p(g,y,wt,"⟯","\\rgroup",!0);p(g,y,jt,"⟮","\\lgroup",!0);p(g,y,le,"∓","\\mp",!0);p(g,y,le,"⊖","\\ominus",!0);p(g,y,le,"⊎","\\uplus",!0);p(g,y,le,"⊓","\\sqcap",!0);p(g,y,le,"∗","\\ast");p(g,y,le,"⊔","\\sqcup",!0);p(g,y,le,"◯","\\bigcirc",!0);p(g,y,le,"∙","\\bullet",!0);p(g,y,le,"‡","\\ddagger");p(g,y,le,"≀","\\wr",!0);p(g,y,le,"⨿","\\amalg");p(g,y,le,"&","\\And");p(g,y,N,"⟵","\\longleftarrow",!0);p(g,y,N,"⇐","\\Leftarrow",!0);p(g,y,N,"⟸","\\Longleftarrow",!0);p(g,y,N,"⟶","\\longrightarrow",!0);p(g,y,N,"⇒","\\Rightarrow",!0);p(g,y,N,"⟹","\\Longrightarrow",!0);p(g,y,N,"↔","\\leftrightarrow",!0);p(g,y,N,"⟷","\\longleftrightarrow",!0);p(g,y,N,"⇔","\\Leftrightarrow",!0);p(g,y,N,"⟺","\\Longleftrightarrow",!0);p(g,y,N,"↦","\\mapsto",!0);p(g,y,N,"⟼","\\longmapsto",!0);p(g,y,N,"↗","\\nearrow",!0);p(g,y,N,"↩","\\hookleftarrow",!0);p(g,y,N,"↪","\\hookrightarrow",!0);p(g,y,N,"↘","\\searrow",!0);p(g,y,N,"↼","\\leftharpoonup",!0);p(g,y,N,"⇀","\\rightharpoonup",!0);p(g,y,N,"↙","\\swarrow",!0);p(g,y,N,"↽","\\leftharpoondown",!0);p(g,y,N,"⇁","\\rightharpoondown",!0);p(g,y,N,"↖","\\nwarrow",!0);p(g,y,N,"⇌","\\rightleftharpoons",!0);p(g,C,N,"≮","\\nless",!0);p(g,C,N,"","\\@nleqslant");p(g,C,N,"","\\@nleqq");p(g,C,N,"⪇","\\lneq",!0);p(g,C,N,"≨","\\lneqq",!0);p(g,C,N,"","\\@lvertneqq");p(g,C,N,"⋦","\\lnsim",!0);p(g,C,N,"⪉","\\lnapprox",!0);p(g,C,N,"⊀","\\nprec",!0);p(g,C,N,"⋠","\\npreceq",!0);p(g,C,N,"⋨","\\precnsim",!0);p(g,C,N,"⪹","\\precnapprox",!0);p(g,C,N,"≁","\\nsim",!0);p(g,C,N,"","\\@nshortmid");p(g,C,N,"∤","\\nmid",!0);p(g,C,N,"⊬","\\nvdash",!0);p(g,C,N,"⊭","\\nvDash",!0);p(g,C,N,"⋪","\\ntriangleleft");p(g,C,N,"⋬","\\ntrianglelefteq",!0);p(g,C,N,"⊊","\\subsetneq",!0);p(g,C,N,"","\\@varsubsetneq");p(g,C,N,"⫋","\\subsetneqq",!0);p(g,C,N,"","\\@varsubsetneqq");p(g,C,N,"≯","\\ngtr",!0);p(g,C,N,"","\\@ngeqslant");p(g,C,N,"","\\@ngeqq");p(g,C,N,"⪈","\\gneq",!0);p(g,C,N,"≩","\\gneqq",!0);p(g,C,N,"","\\@gvertneqq");p(g,C,N,"⋧","\\gnsim",!0);p(g,C,N,"⪊","\\gnapprox",!0);p(g,C,N,"⊁","\\nsucc",!0);p(g,C,N,"⋡","\\nsucceq",!0);p(g,C,N,"⋩","\\succnsim",!0);p(g,C,N,"⪺","\\succnapprox",!0);p(g,C,N,"≆","\\ncong",!0);p(g,C,N,"","\\@nshortparallel");p(g,C,N,"∦","\\nparallel",!0);p(g,C,N,"⊯","\\nVDash",!0);p(g,C,N,"⋫","\\ntriangleright");p(g,C,N,"⋭","\\ntrianglerighteq",!0);p(g,C,N,"","\\@nsupseteqq");p(g,C,N,"⊋","\\supsetneq",!0);p(g,C,N,"","\\@varsupsetneq");p(g,C,N,"⫌","\\supsetneqq",!0);p(g,C,N,"","\\@varsupsetneqq");p(g,C,N,"⊮","\\nVdash",!0);p(g,C,N,"⪵","\\precneqq",!0);p(g,C,N,"⪶","\\succneqq",!0);
271p(g,C,N,"","\\@nsubseteqq");p(g,C,le,"⊴","\\unlhd");p(g,C,le,"⊵","\\unrhd");p(g,C,N,"↚","\\nleftarrow",!0);p(g,C,N,"↛","\\nrightarrow",!0);p(g,C,N,"⇍","\\nLeftarrow",!0);p(g,C,N,"⇏","\\nRightarrow",!0);p(g,C,N,"↮","\\nleftrightarrow",!0);p(g,C,N,"⇎","\\nLeftrightarrow",!0);p(g,C,N,"△","\\vartriangle");p(g,C,O,"ℏ","\\hslash");p(g,C,O,"▽","\\triangledown");p(g,C,O,"◊","\\lozenge");p(g,C,O,"Ⓢ","\\circledS");p(g,C,O,"®","\\circledR");p(V,C,O,"®","\\circledR");p(g,C,O,"∡","\\measuredangle",!0);p(g,C,O,"∄","\\nexists");p(g,C,O,"℧","\\mho");p(g,C,O,"Ⅎ","\\Finv",!0);p(g,C,O,"⅁","\\Game",!0);p(g,C,O,"‵","\\backprime");p(g,C,O,"▲","\\blacktriangle");p(g,C,O,"▼","\\blacktriangledown");p(g,C,O,"■","\\blacksquare");p(g,C,O,"⧫","\\blacklozenge");p(g,C,O,"★","\\bigstar");p(g,C,O,"∢","\\sphericalangle",!0);p(g,C,O,"∁","\\complement",!0);p(g,C,O,"ð","\\eth",!0);p(V,y,O,"ð","ð");p(g,C,O,"╱","\\diagup");p(g,C,O,"╲","\\diagdown");p(g,C,O,"□","\\square");p(g,C,O,"□","\\Box");p(g,C,O,"◊","\\Diamond");p(g,C,O,"¥","\\yen",!0);p(V,C,O,"¥","\\yen",!0);p(g,C,O,"✓","\\checkmark",!0);p(V,C,O,"✓","\\checkmark");p(g,C,O,"ℶ","\\beth",!0);p(g,C,O,"ℸ","\\daleth",!0);p(g,C,O,"ℷ","\\gimel",!0);p(g,C,O,"ϝ","\\digamma",!0);p(g,C,O,"ϰ","\\varkappa");p(g,C,jt,"┌","\\@ulcorner",!0);p(g,C,wt,"┐","\\@urcorner",!0);p(g,C,jt,"└","\\@llcorner",!0);p(g,C,wt,"┘","\\@lrcorner",!0);p(g,C,N,"≦","\\leqq",!0);p(g,C,N,"⩽","\\leqslant",!0);p(g,C,N,"⪕","\\eqslantless",!0);p(g,C,N,"≲","\\lesssim",!0);p(g,C,N,"⪅","\\lessapprox",!0);p(g,C,N,"≊","\\approxeq",!0);p(g,C,le,"⋖","\\lessdot");p(g,C,N,"⋘","\\lll",!0);p(g,C,N,"≶","\\lessgtr",!0);p(g,C,N,"⋚","\\lesseqgtr",!0);p(g,C,N,"⪋","\\lesseqqgtr",!0);p(g,C,N,"≑","\\doteqdot");p(g,C,N,"≓","\\risingdotseq",!0);p(g,C,N,"≒","\\fallingdotseq",!0);p(g,C,N,"∽","\\backsim",!0);p(g,C,N,"⋍","\\backsimeq",!0);p(g,C,N,"⫅","\\subseteqq",!0);p(g,C,N,"⋐","\\Subset",!0);p(g,C,N,"⊏","\\sqsubset",!0);p(g,C,N,"≼","\\preccurlyeq",!0);p(g,C,N,"⋞","\\curlyeqprec",!0);p(g,C,N,"≾","\\precsim",!0);p(g,C,N,"⪷","\\precapprox",!0);p(g,C,N,"⊲","\\vartriangleleft");p(g,C,N,"⊴","\\trianglelefteq");p(g,C,N,"⊨","\\vDash",!0);p(g,C,N,"⊪","\\Vvdash",!0);p(g,C,N,"⌣","\\smallsmile");p(g,C,N,"⌢","\\smallfrown");p(g,C,N,"≏","\\bumpeq",!0);p(g,C,N,"≎","\\Bumpeq",!0);p(g,C,N,"≧","\\geqq",!0);p(g,C,N,"⩾","\\geqslant",!0);p(g,C,N,"⪖","\\eqslantgtr",!0);p(g,C,N,"≳","\\gtrsim",!0);p(g,C,N,"⪆","\\gtrapprox",!0);p(g,C,le,"⋗","\\gtrdot");p(g,C,N,"⋙","\\ggg",!0);p(g,C,N,"≷","\\gtrless",!0);p(g,C,N,"⋛","\\gtreqless",!0);p(g,C,N,"⪌","\\gtreqqless",!0);p(g,C,N,"≖","\\eqcirc",!0);p(g,C,N,"≗","\\circeq",!0);p(g,C,N,"≜","\\triangleq",!0);p(g,C,N,"∼","\\thicksim");p(g,C,N,"≈","\\thickapprox");p(g,C,N,"⫆","\\supseteqq",!0);p(g,C,N,"⋑","\\Supset",!0);p(g,C,N,"⊐","\\sqsupset",!0);p(g,C,N,"≽","\\succcurlyeq",!0);p(g,C,N,"⋟","\\curlyeqsucc",!0);p(g,C,N,"≿","\\succsim",!0);p(g,C,N,"⪸","\\succapprox",!0);p(g,C,N,"⊳","\\vartriangleright");p(g,C,N,"⊵","\\trianglerighteq");p(g,C,N,"⊩","\\Vdash",!0);p(g,C,N,"∣","\\shortmid");p(g,C,N,"∥","\\shortparallel");p(g,C,N,"≬","\\between",!0);p(g,C,N,"⋔","\\pitchfork",!0);p(g,C,N,"∝","\\varpropto");p(g,C,N,"◀","\\blacktriangleleft");p(g,C,N,"∴","\\therefore",!0);p(g,C,N,"∍","\\backepsilon");p(g,C,N,"▶","\\blacktriangleright");p(g,C,N,"∵","\\because",!0);p(g,C,N,"⋘","\\llless");p(g,C,N,"⋙","\\gggtr");p(g,C,le,"⊲","\\lhd");p(g,C,le,"⊳","\\rhd");p(g,C,N,"≂","\\eqsim",!0);p(g,y,N,"⋈","\\Join");p(g,C,N,"≑","\\Doteq",!0);p(g,C,le,"∔","\\dotplus",!0);p(g,C,le,"∖","\\smallsetminus");p(g,C,le,"⋒","\\Cap",!0);p(g,C,le,"⋓","\\Cup",!0);p(g,C,le,"⩞","\\doublebarwedge",!0);p(g,C,le,"⊟","\\boxminus",!0);p(g,C,le,"⊞","\\boxplus",!0);p(g,C,le,"⋇","\\divideontimes",!0);p(g,C,le,"⋉","\\ltimes",!0);p(g,C,le,"⋊","\\rtimes",!0);p(g,C,le,"⋋","\\leftthreetimes",!0);p(g,C,le,"⋌","\\rightthreetimes",!0);p(g,C,le,"⋏","\\curlywedge",!0);p(g,C,le,"⋎","\\curlyvee",!0);p(g,C,le,"⊝","\\circleddash",!0);p(g,C,le,"⊛","\\circledast",!0);p(g,C,le,"⋅","\\centerdot");p(g,C,le,"⊺","\\intercal",!0);p(g,C,le,"⋒","\\doublecap");p(g,C,le,"⋓","\\doublecup");p(g,C,le,"⊠","\\boxtimes",!0);p(g,C,N,"⇢","\\dashrightarrow",!0);p(g,C,N,"⇠","\\dashleftarrow",!0);p(g,C,N,"⇇","\\leftleftarrows",!0);p(g,C,N,"⇆","\\leftrightarrows",!0);p(g,C,N,"⇚","\\Lleftarrow",!0);p(g,C,N,"↞","\\twoheadleftarrow",!0);p(g,C,N,"↢","\\leftarrowtail",!0);p(g,C,N,"↫","\\looparrowleft",!0);p(g,C,N,"⇋","\\leftrightharpoons",!0);p(g,C,N,"↶","\\curvearrowleft",!0);p(g,C,N,"↺","\\circlearrowleft",!0);p(g,C,N,"↰","\\Lsh",!0);p(g,C,N,"⇈","\\upuparrows",!0);p(g,C,N,"↿","\\upharpoonleft",!0);p(g,C,N,"⇃","\\downharpoonleft",!0);p(g,y,N,"⊶","\\origof",!0);p(g,y,N,"⊷","\\imageof",!0);p(g,C,N,"⊸","\\multimap",!0);p(g,C,N,"↭","\\leftrightsquigarrow",!0);p(g,C,N,"⇉","\\rightrightarrows",!0);p(g,C,N,"⇄","\\rightleftarrows",!0);p(g,C,N,"↠","\\twoheadrightarrow",!0);p(g,C,N,"↣","\\rightarrowtail",!0);p(g,C,N,"↬","\\looparrowright",!0);p(g,C,N,"↷","\\curvearrowright",!0);p(g,C,N,"↻","\\circlearrowright",!0);p(g,C,N,"↱","\\Rsh",!0);p(g,C,N,"⇊","\\downdownarrows",!0);p(g,C,N,"↾","\\upharpoonright",!0);p(g,C,N,"⇂","\\downharpoonright",!0);p(g,C,N,"⇝","\\rightsquigarrow",!0);p(g,C,N,"⇝","\\leadsto");p(g,C,N,"⇛","\\Rrightarrow",!0);p(g,C,N,"↾","\\restriction");p(g,y,O,"‘","`");p(g,y,O,"$","\\$");p(V,y,O,"$","\\$");p(V,y,O,"$","\\textdollar");p(g,y,O,"%","\\%");p(V,y,O,"%","\\%");p(g,y,O,"_","\\_");p(V,y,O,"_","\\_");p(V,y,O,"_","\\textunderscore");p(g,y,O,"∠","\\angle",!0);p(g,y,O,"∞","\\infty",!0);p(g,y,O,"′","\\prime");p(g,y,O,"△","\\triangle");p(g,y,O,"Γ","\\Gamma",!0);p(g,y,O,"Δ","\\Delta",!0);p(g,y,O,"Θ","\\Theta",!0);p(g,y,O,"Λ","\\Lambda",!0);p(g,y,O,"Ξ","\\Xi",!0);p(g,y,O,"Π","\\Pi",!0);p(g,y,O,"Σ","\\Sigma",!0);p(g,y,O,"Υ","\\Upsilon",!0);p(g,y,O,"Φ","\\Phi",!0);p(g,y,O,"Ψ","\\Psi",!0);p(g,y,O,"Ω","\\Omega",!0);p(g,y,O,"A","Α");p(g,y,O,"B","Β");p(g,y,O,"E","Ε");p(g,y,O,"Z","Ζ");p(g,y,O,"H","Η");p(g,y,O,"I","Ι");p(g,y,O,"K","Κ");p(g,y,O,"M","Μ");p(g,y,O,"N","Ν");p(g,y,O,"O","Ο");p(g,y,O,"P","Ρ");p(g,y,O,"T","Τ");p(g,y,O,"X","Χ");p(g,y,O,"¬","\\neg",!0);p(g,y,O,"¬","\\lnot");p(g,y,O,"⊤","\\top");p(g,y,O,"⊥","\\bot");p(g,y,O,"∅","\\emptyset");p(g,C,O,"∅","\\varnothing");p(g,y,fe,"α","\\alpha",!0);p(g,y,fe,"β","\\beta",!0);p(g,y,fe,"γ","\\gamma",!0);p(g,y,fe,"δ","\\delta",!0);p(g,y,fe,"ϵ","\\epsilon",!0);p(g,y,fe,"ζ","\\zeta",!0);p(g,y,fe,"η","\\eta",!0);p(g,y,fe,"θ","\\theta",!0);p(g,y,fe,"ι","\\iota",!0);p(g,y,fe,"κ","\\kappa",!0);p(g,y,fe,"λ","\\lambda",!0);p(g,y,fe,"μ","\\mu",!0);p(g,y,fe,"ν","\\nu",!0);p(g,y,fe,"ξ","\\xi",!0);p(g,y,fe,"ο","\\omicron",!0);p(g,y,fe,"π","\\pi",!0);p(g,y,fe,"ρ","\\rho",!0);p(g,y,fe,"σ","\\sigma",!0);p(g,y,fe,"τ","\\tau",!0);p(g,y,fe,"υ","\\upsilon",!0);p(g,y,fe,"ϕ","\\phi",!0);p(g,y,fe,"χ","\\chi",!0);p(g,y,fe,"ψ","\\psi",!0);p(g,y,fe,"ω","\\omega",!0);p(g,y,fe,"ε","\\varepsilon",!0);p(g,y,fe,"ϑ","\\vartheta",!0);p(g,y,fe,"ϖ","\\varpi",!0);p(g,y,fe,"ϱ","\\varrho",!0);p(g,y,fe,"ς","\\varsigma",!0);p(g,y,fe,"φ","\\varphi",!0);p(g,y,le,"∗","*",!0);p(g,y,le,"+","+");p(g,y,le,"−","-",!0);p(g,y,le,"⋅","\\cdot",!0);p(g,y,le,"∘","\\circ",!0);p(g,y,le,"÷","\\div",!0);p(g,y,le,"±","\\pm",!0);p(g,y,le,"×","\\times",!0);p(g,y,le,"∩","\\cap",!0);p(g,y,le,"∪","\\cup",!0);p(g,y,le,"∖","\\setminus",!0);p(g,y,le,"∧","\\land");p(g,y,le,"∨","\\lor");p(g,y,le,"∧","\\wedge",!0);p(g,y,le,"∨","\\vee",!0);p(g,y,O,"√","\\surd");p(g,y,jt,"⟨","\\langle",!0);p(g,y,jt,"∣","\\lvert");p(g,y,jt,"∥","\\lVert");p(g,y,wt,"?","?");p(g,y,wt,"!","!");p(g,y,wt,"⟩","\\rangle",!0);p(g,y,wt,"∣","\\rvert");p(g,y,wt,"∥","\\rVert");p(g,y,N,"=","=");p(g,y,N,":",":");p(g,y,N,"≈","\\approx",!0);p(g,y,N,"≅","\\cong",!0);p(g,y,N,"≥","\\ge");p(g,y,N,"≥","\\geq",!0);p(g,y,N,"←","\\gets");p(g,y,N,">","\\gt",!0);p(g,y,N,"∈","\\in",!0);p(g,y,N,"","\\@not");p(g,y,N,"⊂","\\subset",!0);p(g,y,N,"⊃","\\supset",!0);p(g,y,N,"⊆","\\subseteq",!0);p(g,y,N,"⊇","\\supseteq",!0);p(g,C,N,"⊈","\\nsubseteq",!0);p(g,C,N,"⊉","\\nsupseteq",!0);p(g,y,N,"⊨","\\models");p(g,y,N,"←","\\leftarrow",!0);p(g,y,N,"≤","\\le");p(g,y,N,"≤","\\leq",!0);p(g,y,N,"<","\\lt",!0);p(g,y,N,"→","\\rightarrow",!0);p(g,y,N,"→","\\to");p(g,C,N,"≱","\\ngeq",!0);p(g,C,N,"≰","\\nleq",!0);p(g,y,zr," ","\\ ");p(g,y,zr," ","\\space");p(g,y,zr," ","\\nobreakspace");p(V,y,zr," ","\\ ");p(V,y,zr," "," ");p(V,y,zr," ","\\space");p(V,y,zr," ","\\nobreakspace");p(g,y,zr,null,"\\nobreak");p(g,y,zr,null,"\\allowbreak");p(g,y,Ts,",",",");p(g,y,Ts,";",";");p(g,C,le,"⊼","\\barwedge",!0);p(g,C,le,"⊻","\\veebar",!0);p(g,y,le,"⊙","\\odot",!0);p(g,y,le,"⊕","\\oplus",!0);p(g,y,le,"⊗","\\otimes",!0);p(g,y,O,"∂","\\partial",!0);p(g,y,le,"⊘","\\oslash",!0);p(g,C,le,"⊚","\\circledcirc",!0);p(g,C,le,"⊡","\\boxdot",!0);
vendor: 9,732 bytes, line 271
271p(g,y,le,"△","\\bigtriangleup");p(g,y,le,"▽","\\bigtriangledown");p(g,y,le,"†","\\dagger");p(g,y,le,"⋄","\\diamond");p(g,y,le,"⋆","\\star");p(g,y,le,"◃","\\triangleleft");p(g,y,le,"▹","\\triangleright");p(g,y,jt,"{","\\{");p(V,y,O,"{","\\{");p(V,y,O,"{","\\textbraceleft");p(g,y,wt,"}","\\}");p(V,y,O,"}","\\}");p(V,y,O,"}","\\textbraceright");p(g,y,jt,"{","\\lbrace");p(g,y,wt,"}","\\rbrace");p(g,y,jt,"[","\\lbrack",!0);p(V,y,O,"[","\\lbrack",!0);p(g,y,wt,"]","\\rbrack",!0);p(V,y,O,"]","\\rbrack",!0);p(g,y,jt,"(","\\lparen",!0);p(g,y,wt,")","\\rparen",!0);p(V,y,O,"<","\\textless",!0);p(V,y,O,">","\\textgreater",!0);p(g,y,jt,"⌊","\\lfloor",!0);p(g,y,wt,"⌋","\\rfloor",!0);p(g,y,jt,"⌈","\\lceil",!0);p(g,y,wt,"⌉","\\rceil",!0);p(g,y,O,"\\","\\backslash");p(g,y,O,"∣","|");p(g,y,O,"∣","\\vert");p(V,y,O,"|","\\textbar",!0);p(g,y,O,"∥","\\|");p(g,y,O,"∥","\\Vert");p(V,y,O,"∥","\\textbardbl");p(V,y,O,"~","\\textasciitilde");p(V,y,O,"\\","\\textbackslash");p(V,y,O,"^","\\textasciicircum");p(g,y,N,"↑","\\uparrow",!0);p(g,y,N,"⇑","\\Uparrow",!0);p(g,y,N,"↓","\\downarrow",!0);p(g,y,N,"⇓","\\Downarrow",!0);p(g,y,N,"↕","\\updownarrow",!0);p(g,y,N,"⇕","\\Updownarrow",!0);p(g,y,et,"∐","\\coprod");p(g,y,et,"⋁","\\bigvee");p(g,y,et,"⋀","\\bigwedge");p(g,y,et,"⨄","\\biguplus");p(g,y,et,"⋂","\\bigcap");p(g,y,et,"⋃","\\bigcup");p(g,y,et,"∫","\\int");p(g,y,et,"∫","\\intop");p(g,y,et,"∬","\\iint");p(g,y,et,"∭","\\iiint");p(g,y,et,"∏","\\prod");p(g,y,et,"∑","\\sum");p(g,y,et,"⨂","\\bigotimes");p(g,y,et,"⨁","\\bigoplus");p(g,y,et,"⨀","\\bigodot");p(g,y,et,"∮","\\oint");p(g,y,et,"∯","\\oiint");p(g,y,et,"∰","\\oiiint");p(g,y,et,"⨆","\\bigsqcup");p(g,y,et,"∫","\\smallint");p(V,y,Jn,"…","\\textellipsis");p(g,y,Jn,"…","\\mathellipsis");p(V,y,Jn,"…","\\ldots",!0);p(g,y,Jn,"…","\\ldots",!0);p(g,y,Jn,"⋯","\\@cdots",!0);p(g,y,Jn,"⋱","\\ddots",!0);p(g,y,O,"⋮","\\varvdots");p(V,y,O,"⋮","\\varvdots");p(g,y,Ue,"ˊ","\\acute");p(g,y,Ue,"ˋ","\\grave");p(g,y,Ue,"¨","\\ddot");p(g,y,Ue,"~","\\tilde");p(g,y,Ue,"ˉ","\\bar");p(g,y,Ue,"˘","\\breve");p(g,y,Ue,"ˇ","\\check");p(g,y,Ue,"^","\\hat");p(g,y,Ue,"⃗","\\vec");p(g,y,Ue,"˙","\\dot");p(g,y,Ue,"˚","\\mathring");p(g,y,fe,"","\\@imath");p(g,y,fe,"","\\@jmath");p(g,y,O,"ı","ı");p(g,y,O,"ȷ","ȷ");p(V,y,O,"ı","\\i",!0);p(V,y,O,"ȷ","\\j",!0);p(V,y,O,"ß","\\ss",!0);p(V,y,O,"æ","\\ae",!0);p(V,y,O,"œ","\\oe",!0);p(V,y,O,"ø","\\o",!0);p(V,y,O,"Æ","\\AE",!0);p(V,y,O,"Œ","\\OE",!0);p(V,y,O,"Ø","\\O",!0);p(V,y,Ue,"ˊ","\\'");p(V,y,Ue,"ˋ","\\`");p(V,y,Ue,"ˆ","\\^");p(V,y,Ue,"˜","\\~");p(V,y,Ue,"ˉ","\\=");p(V,y,Ue,"˘","\\u");p(V,y,Ue,"˙","\\.");p(V,y,Ue,"¸","\\c");p(V,y,Ue,"˚","\\r");p(V,y,Ue,"ˇ","\\v");p(V,y,Ue,"¨",'\\"');p(V,y,Ue,"˝","\\H");p(V,y,Ue,"◯","\\textcircled");var mm={"--":!0,"---":!0,"``":!0,"''":!0};p(V,y,O,"–","--",!0);p(V,y,O,"–","\\textendash");p(V,y,O,"—","---",!0);p(V,y,O,"—","\\textemdash");p(V,y,O,"‘","`",!0);p(V,y,O,"‘","\\textquoteleft");p(V,y,O,"’","'",!0);p(V,y,O,"’","\\textquoteright");p(V,y,O,"“","``",!0);p(V,y,O,"“","\\textquotedblleft");p(V,y,O,"”","''",!0);p(V,y,O,"”","\\textquotedblright");p(g,y,O,"°","\\degree",!0);p(V,y,O,"°","\\degree");p(V,y,O,"°","\\textdegree",!0);p(g,y,O,"£","\\pounds");p(g,y,O,"£","\\mathsterling",!0);p(V,y,O,"£","\\pounds");p(V,y,O,"£","\\textsterling",!0);p(g,C,O,"✠","\\maltese");p(V,C,O,"✠","\\maltese");var xc='0123456789/@."';for(var yo=0;yo<xc.length;yo++){var Ec=xc.charAt(yo);p(g,y,O,Ec,Ec)}var _c='0123456789!@*()-=+";:?/.,';for(var xo=0;xo<_c.length;xo++){var Tc=_c.charAt(xo);p(V,y,O,Tc,Tc)}var qi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Eo=0;Eo<qi.length;Eo++){var gi=qi.charAt(Eo);p(g,y,fe,gi,gi),p(V,y,O,gi,gi)}p(g,C,O,"C","ℂ");p(V,C,O,"C","ℂ");p(g,C,O,"H","ℍ");p(V,C,O,"H","ℍ");p(g,C,O,"N","ℕ");p(V,C,O,"N","ℕ");p(g,C,O,"P","ℙ");p(V,C,O,"P","ℙ");p(g,C,O,"Q","ℚ");p(V,C,O,"Q","ℚ");p(g,C,O,"R","ℝ");p(V,C,O,"R","ℝ");p(g,C,O,"Z","ℤ");p(V,C,O,"Z","ℤ");p(g,y,fe,"h","ℎ");p(V,y,fe,"h","ℎ");var ge="";for(var _t=0;_t<qi.length;_t++){var We=qi.charAt(_t);ge=String.fromCharCode(55349,56320+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56372+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56424+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56580+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56684+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56736+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56788+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56840+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56944+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),_t<26&&(ge=String.fromCharCode(55349,56632+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge),ge=String.fromCharCode(55349,56476+_t),p(g,y,fe,We,ge),p(V,y,O,We,ge))}ge="𝕜";p(g,y,fe,"k",ge);p(V,y,O,"k",ge);for(var un=0;un<10;un++){var Gr=un.toString();ge=String.fromCharCode(55349,57294+un),p(g,y,fe,Gr,ge),p(V,y,O,Gr,ge),ge=String.fromCharCode(55349,57314+un),p(g,y,fe,Gr,ge),p(V,y,O,Gr,ge),ge=String.fromCharCode(55349,57324+un),p(g,y,fe,Gr,ge),p(V,y,O,Gr,ge),ge=String.fromCharCode(55349,57334+un),p(g,y,fe,Gr,ge),p(V,y,O,Gr,ge)}var bl="ÐÞþ";for(var _o=0;_o<bl.length;_o++){var bi=bl.charAt(_o);p(g,y,fe,bi,bi),p(V,y,O,bi,bi)}var yi=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],vc=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ab=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,s=r==="math"?0:1;if(119808<=i&&i<120484){var o=Math.floor((i-119808)/26);return[yi[o][2],yi[o][s]]}else if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[vc[l][2],vc[l][s]]}else{if(i===120485||i===120486)return[yi[0][2],yi[0][s]];if(120486<i&&i<120782)return["",""];throw new Q("Unsupported character: "+t)}},vs=function(t,r,n){return Fe[n][t]&&Fe[n][t].replace&&(t=Fe[n][t].replace),{value:t,metrics:pu(t,r,n)}},rr=function(t,r,n,a,i){var s=vs(t,r,n),o=s.metrics;t=s.value;var l;if(o){var u=o.italic;(n==="text"||a&&a.font==="mathit")&&(u=0),l=new Jt(t,o.height,o.depth,u,o.skew,o.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new Jt(t,0,0,0,0,0,i);if(a){l.maxFontSize=a.sizeMultiplier,a.style.isTight()&&l.classes.push("mtight");var c=a.getColor();c&&(l.style.color=c)}return l},ib=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&vs(t,"Main-Bold",r).metrics?rr(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||Fe[r][t].font==="main"?rr(t,"Main-Regular",r,n,a):rr(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},sb=function(t,r,n,a,i){return i!=="textord"&&vs(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ob=function(t,r,n){var a=t.mode,i=t.text,s=["mord"],o=a==="math"||a==="text"&&r.font,l=o?r.font:r.fontFamily,u="",c="";if(i.charCodeAt(0)===55349&&([u,c]=ab(i,a)),u.length>0)return rr(i,u,a,r,s.concat(c));if(l){var h,m;if(l==="boldsymbol"){var f=sb(i,a,r,s,n);h=f.fontName,m=[f.fontClass]}else o?(h=gm[l].fontName,m=[l]):(h=xi(l,r.fontWeight,r.fontShape),m=[l,r.fontWeight,r.fontShape]);if(vs(i,h,a).metrics)return rr(i,h,a,r,s.concat(m));if(mm.hasOwnProperty(i)&&h.slice(0,10)==="Typewriter"){for(var b=[],E=0;E<i.length;E++)b.push(rr(i[E],h,a,r,s.concat(m)));return pm(b)}}if(n==="mathord")return rr(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var A=Fe[a][i]&&Fe[a][i].font;if(A==="ams"){var T=xi("amsrm",r.fontWeight,r.fontShape);return rr(i,T,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(A==="main"||!A){var w=xi("textrm",r.fontWeight,r.fontShape);return rr(i,w,a,r,s.concat(r.fontWeight,r.fontShape))}else{var L=xi(A,r.fontWeight,r.fontShape);return rr(i,L,a,r,s.concat(L,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},lb=(e,t)=>{if(tn(e.classes)!==tn(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},ub=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Jt&&n instanceof Jt&&lb(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},bu=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var s=t.children[i];s.height>r&&(r=s.height),s.depth>
vendor: 2,253 bytes, line 271
271n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},It=function(t,r,n,a){var i=new ri(t,r,n,a);return bu(i),i},fm=(e,t,r,n)=>new ri(e,t,r,n),cb=function(t,r,n){var a=It([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=re(a.height),a.maxFontSize=1,a},hb=function(t,r,n,a){var i=new gu(t,r,n,a);return bu(i),i},pm=function(t){var r=new ti(t);return bu(r),r},db=function(t,r){return t instanceof ti?It([],[t],r):t},mb=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,s=1;s<r.length;s++){var o=-r[s].shift-i-r[s].elem.depth,l=o-(r[s-1].elem.height+r[s-1].elem.depth);i=i+o,n.push({type:"kern",size:l}),n.push(r[s])}return{children:n,depth:a}}var u;if(t.positionType==="top"){for(var c=t.positionData,h=0;h<t.children.length;h++){var m=t.children[h];c-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}u=c}else if(t.positionType==="bottom")u=-t.positionData;else{var f=t.children[0];if(f.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")u=-f.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")u=-f.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:u}},fb=function(t,r){for(var{children:n,depth:a}=mb(t),i=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var l=o.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var u=It(["pstrut"],[]);u.style.height=re(i);for(var c=[],h=a,m=a,f=a,b=0;b<n.length;b++){var E=n[b];if(E.type==="kern")f+=E.size;else{var A=E.elem,T=E.wrapperClasses||[],w=E.wrapperStyle||{},L=It(T,[u,A],void 0,w);L.style.top=re(-i-f-A.depth),E.marginLeft&&(L.style.marginLeft=E.marginLeft),E.marginRight&&(L.style.marginRight=E.marginRight),c.push(L),f+=A.height+A.depth}h=Math.min(h,f),m=Math.max(m,f)}var $=It(["vlist"],c);$.style.height=re(m);var U;if(h<0){var P=It([],[]),W=It(["vlist"],[P]);W.style.height=re(-h);var se=It(["vlist-s"],[new Jt("​")]);U=[It(["vlist-r"],[$,se]),It(["vlist-r"],[W])]}else U=[It(["vlist-r"],[$])];var ae=It(["vlist-t"],U);return U.length===2&&ae.classes.push("vlist-t2"),ae.height=m,ae.depth=-h,ae},pb=(e,t)=>
vendor: 18,143 bytes, lines 271-272
271{var r=It(["mspace"],[],t),n=je(e,t);return r.style.marginRight=re(n),r},xi=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},gm={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},bm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},gb=function(t,r){var[n,a,i]=bm[t],s=new rn(n),o=new Br([s],{width:re(a),height:re(i),style:"width:"+re(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=fm(["overlay"],[o],r);return l.height=i,l.style.height=re(i),l.style.width=re(a),l},B={fontMap:gm,makeSymbol:rr,mathsym:ib,makeSpan:It,makeSvgSpan:fm,makeLineSpan:cb,makeAnchor:hb,makeFragment:pm,wrapFragment:db,makeVList:fb,makeOrd:ob,makeGlue:pb,staticSvg:gb,svgData:bm,tryCombineChars:ub},$e={number:3,unit:"mu"},cn={number:4,unit:"mu"},Cr={number:5,unit:"mu"},bb={mord:{mop:$e,mbin:cn,mrel:Cr,minner:$e},mop:{mord:$e,mop:$e,mrel:Cr,minner:$e},mbin:{mord:cn,mop:cn,mopen:cn,minner:cn},mrel:{mord:Cr,mop:Cr,mopen:Cr,minner:Cr},mopen:{},mclose:{mop:$e,mbin:cn,mrel:Cr,minner:$e},mpunct:{mord:$e,mop:$e,mrel:Cr,mopen:$e,mclose:$e,mpunct:$e,minner:$e},minner:{mord:$e,mop:$e,mbin:cn,mrel:Cr,mopen:$e,mpunct:$e,minner:$e}},yb={mord:{mop:$e},mop:{mord:$e,mop:$e},mbin:{},mrel:{},mopen:{},mclose:{mop:$e},mpunct:{},minner:{mop:$e}},ym={},Wi={},Gi={};function ie(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},l=0;l<r.length;++l)ym[r[l]]=o;t&&(i&&(Wi[t]=i),s&&(Gi[t]=s))}function wn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ie({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Yi=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Qe=function(t){return t.type==="ordgroup"?t.body:[t]},Fr=B.makeSpan,xb=["leftmost","mbin","mopen","mrel","mop","mpunct"],Eb=["rightmost","mrel","mclose","mpunct"],_b={display:pe.DISPLAY,text:pe.TEXT,script:pe.SCRIPT,scriptscript:pe.SCRIPTSCRIPT},Tb={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},nt=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var o=Ne(t[s],r);if(o instanceof ti){var l=o.children;i.push(...l)}else i.push(o)}if(B.tryCombineChars(i),!n)return i;var u=r;if(t.length===1){var c=t[0];c.type==="sizing"?u=r.havingSize(c.size):c.type==="styling"&&(u=r.havingStyle(_b[c.style]))}var h=Fr([a[0]||"leftmost"],[],r),m=Fr([a[1]||"rightmost"],[],r),f=n==="root";return kc(i,(b,E)=>{var A=E.classes[0],T=b.classes[0];A==="mbin"&&Eb.includes(T)?E.classes[0]="mord":T==="mbin"&&xb.includes(A)&&(b.classes[0]="mord")},{node:h},m,f),kc(i,(b,E)=>{var A=yl(E),T=yl(b),w=A&&T?b.hasClass("mtight")?yb[A][T]:bb[A][T]:null;if(w)return B.makeGlue(w,u)},{node:h},m,f),i},kc=function e(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var o=t[s],l=xm(o);if(l){e(l.children,r,n,null,i);continue}var u=!o.hasClass("mspace");if(u){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),s++))}u?n.node=o:i&&o.hasClass("newline")&&(n.node=Fr(["leftmost"])),n.insertAfter=(h=>m=>{t.splice(h+1,0,m),s++})(s)}a&&t.pop()},xm=function(t){return t instanceof ti||t instanceof gu||t instanceof ri&&t.hasClass("enclosing")?t:null},vb=function e(t,r){var n=xm(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},yl=function(t,r){return t?(r&&(t=vb(t,r)),Tb[t.classes[0]]||null):null},$a=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Fr(r.concat(n))},Ne=function(t,r,n){if(!t)return Fr();if(Wi[t.type]){var a=Wi[t.type](t,r);if(n&&r.size!==n.size){a=Fr(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new Q("Got group of unknown type: '"+t.type+"'")};function Ei(e,t){var r=Fr(["base"],e,t),n=Fr(["strut"]);return n.style.height=re(r.height+r.depth),r.depth&&(n.style.verticalAlign=re(-r.depth)),r.children.unshift(n),r}function xl(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=nt(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var l=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(l=!0);l||(i.push(Ei(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(Ei(s,t)),s=[]),i.push(n[o]));s.length>0&&i.push(Ei(s,t));var u;r?(u=Ei(nt(r,t,!0)),u.classes=["tag"],i.push(u)):a&&i.push(a);var c=Fr(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),u){var h=u.children[0];h.style.height=re(c.height+c.depth),c.depth&&(h.style.verticalAlign=re(-c.depth))}return c}function Em(e){return new ti(e)}class zt{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=tn(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof br&&this.children[n+1]instanceof br){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof br;)a+=this.children[++n].toText();t.appendChild(new br(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=Ie.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Ie.escape(tn(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class br{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ie.escape(this.toText())}toText(){return this.text}}class kb{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",re(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+re(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var X={MathNode:zt,TextNode:br,SpaceNode:kb,newDocumentFragment:Em},er=function(t,r,n){return Fe[r][t]&&Fe[r][t].replace&&t.charCodeAt(0)!==55349&&!(mm.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Fe[r][t].replace),new X.TextNode(t)},yu=function(t){return t.length===1?t[0]:new X.MathNode("mrow",t)},xu=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(["\\imath","\\jmath"].includes(i))return null;Fe[a][i]&&Fe[a][i].replace&&(i=Fe[a][i].replace);var s=B.fontMap[n].fontName;return pu(i,s,a)?B.fontMap[n].variant:null};function To(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof br&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof br&&r.text===","}else return!1}var Dt=function(t,r,n){if(t.length===1){var a=Pe(t[0],r);return n&&a instanceof zt&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,o=0;o<t.length;o++){var l=Pe(t[o],r);if(l instanceof zt&&s instanceof zt){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(To(l)&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mn"&&To(s))l.children=[...s.children,...l.children],i.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(s.type==="mn"||To(s))){var u=l.children[0];u instanceof zt&&u.type==="mn"&&(u.children=[...s.children,...u.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var c=s.children[0];if(c instanceof br&&c.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var h=l.children[0];h instanceof br&&h.text.length>0&&(h.text=h.text.slice(0,1)+"̸"+h.text.slice(1),i.pop())}}}i.push(l),s=l}return i},nn=function(t,r,n){return yu(Dt(t,r,n))},Pe=function(t,r){if(!t)return new X.MathNode("mrow");if(Gi[t.type]){var n=Gi[t.type](t,r);return n}else throw new Q("Got group of unknown type: '"+t.type+"'")};function wc(e,t,r,n,a){var i=Dt(e,r),s;i.length===1&&i[0]instanceof zt&&["mrow","mtable"].includes(i[0].type)?s=i[0]:s=new X.MathNode("mrow",i);var o=new X.MathNode("annotation",[new X.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new X.MathNode("semantics",[s,o]),u=new X.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var c=a?"katex":"katex-mathml";return B.makeSpan([c],[u])}var _m=function(t){return new Rr({style:t.displayMode?pe.DISPLAY:pe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Tm=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=B.makeSpan(n,[t])}return t},wb=function(t,r,n){var a=_m(n),i;if(n.output==="mathml")return wc(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=xl(t,a);i=B.makeSpan(["katex"],[s])}else{var o=wc(t,r,a,n.displayMode,!1),l=xl(t,a);i=B.makeSpan(["katex"],[o,l])}return Tm(i,n)},Ab=function(t,r,n){var a=_m(n),i=xl(t,a),s=B.makeSpan(["katex"],[i]);return Tm(s,n)},Sb={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Cb=function(t){var r=new X.MathNode("mo",[new X.TextNode(Sb[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Nb={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ib=function(t){return t.type==="ordgroup"?t.body.length:1},Rb=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(l)){var u=t,c=Ib(u.base),h,m,f;if(c>5)l==="widehat"||l==="widecheck"?(h=420,o=2364,f=.42,m=l+"4"):(h=312,o=2340,f=.34,m="tilde4");else{var b=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][b],h=[0,239,300,360,420][b],f=[0,.24,.3,.3,.36,.42][b],m=l+b):(o=[0,600,1033,2339,2340][b],h=[0,260,286,306,312][b],f=[0,.26,.286,.3,.306,.34][b],m="tilde"+b)}var E=new rn(m),A=new Br([E],{width:"100%",height:re(f),viewBox:"0 0 "+o+" "+h,preserveAspectRatio:"none"});return{span:B.makeSvgSpan([],[A],r),minWidth:0,height:f}}else{var T=[],w=Nb[l],[L,$,U]=w,P=U/1e3,W=L.length,se,ae;if(W===1){var F=w[3];se=["hide-tail"],ae=[F]}else if(W===2)se=["halfarrow-left","halfarrow-right"],ae=["xMinYMin","xMaxYMin"];else if(W===3)se=["brace-left","brace-center","brace-right"],ae=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
272                    `+W+" children.");for(var ne=0;ne<W;ne++){var ee=new rn(L[ne]),oe=new Br([ee],{width:"400em",height:re(P),viewBox:"0 0 "+o+" "+U,preserveAspectRatio:ae[ne]+" slice"}),J=B.makeSvgSpan([se[ne]],[oe],r);if(W===1)return{span:J,minWidth:$,height:P};J.style.height=re(P),T.push(J)}return{span:B.makeSpan(["stretchy"],T,r),minWidth:$,height:P}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=re(s),i>0&&(a.style.minWidth=re(i)),a},Lb=function(t,r,n,a,i){var s,o=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=B.makeSpan(["stretchy",r],[],i),r==="fbox"){var l=i.color&&i.getColor();l&&(s.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new gl({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new gl({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Br(u,{width:"100%",height:re(o)});s=B.makeSvgSpan([],[c],i)}return s.height=o,s.style.height=re(o),s},Hr={encloseSpan:Lb,mathMLnode:Cb,svgSpan:Rb};function Ee(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Eu(e){var t=ks(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function ks(e){return e&&(e.type==="atom"||nb.hasOwnProperty(e.type))?e:null}var _u=(e,t)=>
vendor: 15,848 bytes, line 272
272{var r,n,a;e&&e.type==="supsub"?(n=Ee(e.base,"accent"),r=n.base,e.base=r,a=tb(Ne(e,t)),e.base=n):(n=Ee(e,"accent"),r=n.base);var i=Ne(r,t.havingCrampedStyle()),s=n.isShifty&&Ie.isCharacterBox(r),o=0;if(s){var l=Ie.getBaseElem(r),u=Ne(l,t.havingCrampedStyle());o=yc(u).skew}var c=n.label==="\\c",h=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=Hr.svgSpan(n,t),m=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+re(2*o)+")",marginLeft:re(2*o)}:void 0}]},t);else{var f,b;n.label==="\\vec"?(f=B.staticSvg("vec",t),b=B.svgData.vec[1]):(f=B.makeOrd({mode:n.mode,text:n.label},t,"textord"),f=yc(f),f.italic=0,b=f.width,c&&(h+=f.depth)),m=B.makeSpan(["accent-body"],[f]);var E=n.label==="\\textcircled";E&&(m.classes.push("accent-full"),h=i.height);var A=o;E||(A-=b/2),m.style.left=re(A),n.label==="\\textcircled"&&(m.style.top=".2em"),m=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-h},{type:"elem",elem:m}]},t)}var T=B.makeSpan(["mord","accent"],[m],t);return a?(a.children[0]=T,a.height=Math.max(T.height,a.height),a.classes[0]="mord",a):T},vm=(e,t)=>{var r=e.isStretchy?Hr.mathMLnode(e.label):new X.MathNode("mo",[er(e.label,e.mode)]),n=new X.MathNode("mover",[Pe(e.base,t),r]);return n.setAttribute("accent","true"),n},Db=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ie({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=Yi(t[0]),n=!Db.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:_u,mathmlBuilder:vm});ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:_u,mathmlBuilder:vm});ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Ne(e.base,t),n=Hr.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,i=B.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return B.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Hr.mathMLnode(e.label),n=new X.MathNode("munder",[Pe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var _i=e=>{var t=new X.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ie({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=B.wrapFragment(Ne(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=B.wrapFragment(Ne(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var o=Hr.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*o.height,u=-t.fontMetrics().axisHeight-.5*o.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(u-=a.depth);var c;if(s){var h=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;c=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:o,shift:l},{type:"elem",elem:s,shift:h}]},t)}else c=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:o,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),B.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=Hr.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=_i(Pe(e.body,t));if(e.below){var i=_i(Pe(e.below,t));n=new X.MathNode("munderover",[r,i,a])}else n=new X.MathNode("mover",[r,a])}else if(e.below){var s=_i(Pe(e.below,t));n=new X.MathNode("munder",[r,s])}else n=_i(),n=new X.MathNode("mover",[r,n]);return n}});var Ob=B.makeSpan;function km(e,t){var r=nt(e.body,t,!0);return Ob([e.mclass],r,t)}function wm(e,t){var r,n=Dt(e.body,t);return e.mclass==="minner"?r=new X.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new X.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new X.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ie({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Qe(a),isCharacterBox:Ie.isCharacterBox(a)}},htmlBuilder:km,mathmlBuilder:wm});var ws=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:ws(t[0]),body:Qe(t[1]),isCharacterBox:Ie.isCharacterBox(t[1])}}});ie({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],s;n!=="\\stackrel"?s=ws(a):s="mrel";var o={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Qe(a)},l={type:"supsub",mode:i.mode,base:o,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:Ie.isCharacterBox(l)}},htmlBuilder:km,mathmlBuilder:wm});ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:ws(t[0]),body:Qe(t[0])}},htmlBuilder(e,t){var r=nt(e.body,t,!0),n=B.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Dt(e.body,t),n=new X.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Pb={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ac=()=>({type:"styling",body:[],mode:"math",style:"display"}),Sc=e=>e.type==="textord"&&e.text==="@",Mb=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Bb(e,t,r){var n=Pb[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[a,s,o]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Fb(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Q("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],o=Ac(),l=0;l<s.length;l++)if(!Sc(s[l]))o.body.push(s[l]);else{n.push(o),l+=1;var u=Eu(s[l]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(u)>-1))if("<>AV".indexOf(u)>-1)for(var h=0;h<2;h++){for(var m=!0,f=l+1;f<s.length;f++){if(Mb(s[f],u)){m=!1,l=f;break}if(Sc(s[f]))throw new Q("Missing a "+u+" character to complete a CD arrow.",s[f]);c[h].body.push(s[f])}if(m)throw new Q("Missing a "+u+" character to complete a CD arrow.",s[l])}else throw new Q('Expected one of "<>AV=|." after @',s[l]);var b=Bb(u,c,e),E={type:"styling",body:[b],mode:"math",style:"display"};n.push(E),o=Ac()}i%2===0?n.push(o):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var A=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:A,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ie({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=B.wrapFragment(Ne(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=re(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new X.MathNode("mrow",[Pe(e.label,t)]);return r=new X.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new X.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ie({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=B.wrapFragment(Ne(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new X.MathNode("mrow",[Pe(e.fragment,t)])}});ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ee(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var o=Ee(a[s],"textord");i+=o.text}var l=parseInt(i),u;if(isNaN(l))throw new Q("\\@char has non-numeric argument "+i);if(l<0||l>=1114111)throw new Q("\\@char with invalid code point "+i);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:u}}});var Am=(e,t)=>{var r=nt(e.body,t.withColor(e.color),!1);return B.makeFragment(r)},Sm=(e,t)=>{var r=Dt(e.body,t.withColor(e.color)),n=new X.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ee(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:Qe(a)}},htmlBuilder:Am,mathmlBuilder:Sm});ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Ee(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:Am,mathmlBuilder:Sm});ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Ee(a,"size").value}},htmlBuilder(e,t){var r=B.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=re(je(e.size,t)))),r},mathmlBuilder(e,t){var r=new X.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",re(je(e.size,t)))),r}});var El={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Cm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Q("Expected a control sequence",e);return t},Hb=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Nm=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(El[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=El[n.text]),Ee(t.parseFunction(),"internal");throw new Q("Invalid token after macro prefix",n)}});ie({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new Q("Expected a control sequence",n);for(var i=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new Q('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new Q('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new Q("Expected a macro definition");o[i].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(a,{tokens:l,numArgs:i,delimiters:o},r===El[r]),{type:"internal",mode:t.mode}}});ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Cm(t.gullet.popToken());t.gullet.consumeSpaces();var a=Hb(t);return Nm(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Cm(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Nm(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Ta=function(t,r,n){var a=Fe.math[t]&&Fe.math[t].replace,i=pu(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},Tu=function(t,r,n,a){var i=n.havingBaseStyle(r),s=B.makeSpan(a.concat(i.sizingClasses(n)),[t],n),o=i.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s}
vendor: 9,179 bytes, line 272
272,Im=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=re(i),t.height-=i,t.depth+=i},zb=function(t,r,n,a,i,s){var o=B.makeSymbol(t,"Main-Regular",i,a),l=Tu(o,r,a,s);return n&&Im(l,a,r),l},Ub=function(t,r,n,a){return B.makeSymbol(t,"Size"+r+"-Regular",n,a)},Rm=function(t,r,n,a,i,s){var o=Ub(t,r,i,a),l=Tu(B.makeSpan(["delimsizing","size"+r],[o],a),pe.TEXT,a,s);return n&&Im(l,a,pe.TEXT),l},vo=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=B.makeSpan(["delimsizinginner",a],[B.makeSpan([],[B.makeSymbol(t,r,n)])]);return{type:"elem",elem:i}},ko=function(t,r,n){var a=gr["Size4-Regular"][t.charCodeAt(0)]?gr["Size4-Regular"][t.charCodeAt(0)][4]:gr["Size1-Regular"][t.charCodeAt(0)][4],i=new rn("inner",G5(t,Math.round(1e3*r))),s=new Br([i],{width:re(a),height:re(r),style:"width:"+re(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=B.makeSvgSpan([],[s],n);return o.height=r,o.style.height=re(r),o.style.width=re(a),{type:"elem",elem:o}},_l=.008,Ti={type:"kern",size:-1*_l},$b=["|","\\lvert","\\rvert","\\vert"],jb=["\\|","\\lVert","\\rVert","\\Vert"],Lm=function(t,r,n,a,i,s){var o,l,u,c,h="",m=0;o=u=c=t,l=null;var f="Size1-Regular";t==="\\uparrow"?u=c="⏐":t==="\\Uparrow"?u=c="‖":t==="\\downarrow"?o=u="⏐":t==="\\Downarrow"?o=u="‖":t==="\\updownarrow"?(o="\\uparrow",u="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",u="‖",c="\\Downarrow"):$b.includes(t)?(u="∣",h="vert",m=333):jb.includes(t)?(u="∥",h="doublevert",m=556):t==="["||t==="\\lbrack"?(o="⎡",u="⎢",c="⎣",f="Size4-Regular",h="lbrack",m=667):t==="]"||t==="\\rbrack"?(o="⎤",u="⎥",c="⎦",f="Size4-Regular",h="rbrack",m=667):t==="\\lfloor"||t==="⌊"?(u=o="⎢",c="⎣",f="Size4-Regular",h="lfloor",m=667):t==="\\lceil"||t==="⌈"?(o="⎡",u=c="⎢",f="Size4-Regular",h="lceil",m=667):t==="\\rfloor"||t==="⌋"?(u=o="⎥",c="⎦",f="Size4-Regular",h="rfloor",m=667):t==="\\rceil"||t==="⌉"?(o="⎤",u=c="⎥",f="Size4-Regular",h="rceil",m=667):t==="("||t==="\\lparen"?(o="⎛",u="⎜",c="⎝",f="Size4-Regular",h="lparen",m=875):t===")"||t==="\\rparen"?(o="⎞",u="⎟",c="⎠",f="Size4-Regular",h="rparen",m=875):t==="\\{"||t==="\\lbrace"?(o="⎧",l="⎨",c="⎩",u="⎪",f="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",l="⎬",c="⎭",u="⎪",f="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",u="⎪",f="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",u="⎪",f="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",u="⎪",f="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",u="⎪",f="Size4-Regular");var b=Ta(o,f,i),E=b.height+b.depth,A=Ta(u,f,i),T=A.height+A.depth,w=Ta(c,f,i),L=w.height+w.depth,$=0,U=1;if(l!==null){var P=Ta(l,f,i);$=P.height+P.depth,U=2}var W=E+L+$,se=Math.max(0,Math.ceil((r-W)/(U*T))),ae=W+se*U*T,F=a.fontMetrics().axisHeight;n&&(F*=a.sizeMultiplier);var ne=ae/2-F,ee=[];if(h.length>0){var oe=ae-E-L,J=Math.round(ae*1e3),ue=Y5(h,Math.round(oe*1e3)),ce=new rn(h,ue),Le=(m/1e3).toFixed(3)+"em",Ve=(J/1e3).toFixed(3)+"em",Ae=new Br([ce],{width:Le,height:Ve,viewBox:"0 0 "+m+" "+J}),R=B.makeSvgSpan([],[Ae],a);R.height=J/1e3,R.style.width=Le,R.style.height=Ve,ee.push({type:"elem",elem:R})}else{if(ee.push(vo(c,f,i)),ee.push(Ti),l===null){var Se=ae-E-L+2*_l;ee.push(ko(u,Se,a))}else{var He=(ae-E-L-$)/2+2*_l;ee.push(ko(u,He,a)),ee.push(Ti),ee.push(vo(l,f,i)),ee.push(Ti),ee.push(ko(u,He,a))}ee.push(Ti),ee.push(vo(o,f,i))}var D=a.havingBaseStyle(pe.TEXT),it=B.makeVList({positionType:"bottom",positionData:ne,children:ee},D);return Tu(B.makeSpan(["delimsizing","mult"],[it],D),pe.TEXT,a,s)},wo=80,Ao=.08,So=function(t,r,n,a,i){var s=W5(t,a,n),o=new rn(t,s),l=new Br([o],{width:"400em",height:re(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return B.makeSvgSpan(["hide-tail"],[l],i)},Vb=function(t,r){var n=r.havingBaseSizing(),a=Mm("\\surd",t*n.sizeMultiplier,Pm,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,l=0,u=0,c=0,h;return a.type==="small"?(c=1e3+1e3*s+wo,t<1?i=1:t<1.4&&(i=.7),l=(1+s+Ao)/i,u=(1+s)/i,o=So("sqrtMain",l,c,s,r),o.style.minWidth="0.853em",h=.833/i):a.type==="large"?(c=(1e3+wo)*Ia[a.size],u=(Ia[a.size]+s)/i,l=(Ia[a.size]+s+Ao)/i,o=So("sqrtSize"+a.size,l,c,s,r),o.style.minWidth="1.02em",h=1/i):(l=t+s+Ao,u=t+s,c=Math.floor(1e3*t+s)+wo,o=So("sqrtTall",l,c,s,r),o.style.minWidth="0.742em",h=1.056),o.height=u,o.style.height=re(l),{span:o,advanceWidth:h,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},Dm=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],qb=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Om=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ia=[0,1.2,1.8,2.4,3],Wb=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Dm.includes(t)||Om.includes(t))return Rm(t,r,!1,n,a,i);if(qb.includes(t))return Lm(t,Ia[r],!1,n,a,i);throw new Q("Illegal delimiter: '"+t+"'")},Gb=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Yb=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"stack"}],Pm=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Xb=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Mm=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length&&n[s].type!=="stack";s++){var o=Ta(t,Xb(n[s]),"math"),l=o.height+o.depth;if(n[s].type==="small"){var u=a.havingBaseStyle(n[s].style);l*=u.sizeMultiplier}if(l>r)return n[s]}return n[n.length-1]},Bm=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;Om.includes(t)?o=Gb:Dm.includes(t)?o=Pm:o=Yb;var l=Mm(t,r,o,a);return l.type==="small"?zb(t,l.style,n,a,i,s):l.type==="large"?Rm(t,l.size,n,a,i,s):Lm(t,r,n,a,i,s)},Qb=function(t,r,n,a,i,s){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,l=901,u=5/a.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),h=Math.max(c/500*l,2*c-u);return Bm(t,h,!0,a,i,s)},Pr={sqrtImage:Vb,sizedDelim:Wb,sizeToMaxHeight:Ia,customSizedDelim:Bm,leftRightDelim:Qb},Cc={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Kb=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function As(e,t){var r=ks(e);if(r&&Kb.includes(r.text))return r;throw r?new Q("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new Q("Invalid delimiter type '"+e.type+"'",e)}ie({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=As(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cc[e.funcName].size,mclass:Cc[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?B.makeSpan([e.mclass]):Pr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(er(e.delim,e.mode));var r=new X.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=re(Pr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Nc(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");
vendor: 7,402 bytes, line 272
272if(r&&typeof r!="string")throw new Q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:As(t[0],e).text,color:r}}});ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=As(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ee(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Nc(e);for(var r=nt(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++)r[s].isMiddle?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var o;if(e.left==="."?o=$a(t,["mopen"]):o=Pr.leftRightDelim(e.left,n,a,t,e.mode,["mopen"]),r.unshift(o),i)for(var l=1;l<r.length;l++){var u=r[l],c=u.isMiddle;c&&(r[l]=Pr.leftRightDelim(c.delim,n,a,c.options,e.mode,[]))}var h;if(e.right===".")h=$a(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;h=Pr.leftRightDelim(e.right,n,a,m,e.mode,["mclose"])}return r.push(h),B.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{Nc(e);var r=Dt(e.body,t);if(e.left!=="."){var n=new X.MathNode("mo",[er(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new X.MathNode("mo",[er(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return yu(r)}});ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=As(t[0],e);if(!e.parser.leftrightDepth)throw new Q("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=$a(t,[]);else{r=Pr.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?er("|","text"):er(e.delim,e.mode),n=new X.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var vu=(e,t)=>{var r=B.wrapFragment(Ne(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,o=Ie.isCharacterBox(e.body);if(n==="sout")i=B.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=je({number:.6,unit:"pt"},t),u=je({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var h=r.height+r.depth+l+u;r.style.paddingLeft=re(h/2+l);var m=Math.floor(1e3*h*a),f=V5(m),b=new Br([new rn("phase",f)],{width:"400em",height:re(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});i=B.makeSvgSpan(["hide-tail"],[b],t),i.style.height=re(h),s=r.depth+l+u}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var E=0,A=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),E=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),A=E):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),E=4*T,A=Math.max(0,.25-r.depth)):(E=o?.2:0,A=E),i=Hr.encloseSpan(r,n,E,A,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=re(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=re(T),i.style.borderRightWidth=re(T)),s=r.depth+A,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var w;if(e.backgroundColor)w=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var L=/cancel|phase/.test(n)?["svg-align"]:[];w=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:L}]},t)}return/cancel/.test(n)&&(w.height=r.height,w.depth=r.depth),/cancel/.test(n)&&!o?B.makeSpan(["mord","cancel-lap"],[w],t):B.makeSpan(["mord"],[w],t)},ku=(e,t)=>{var r=0,n=new X.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Pe(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ee(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:vu,mathmlBuilder:ku});ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ee(t[0],"color-token").color,s=Ee(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:vu,mathmlBuilder:ku});ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:vu,mathmlBuilder:ku});ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Fm={};function xr(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l<r.length;++l)Fm[r[l]]=o;i&&(Wi[t]=i),s&&(Gi[t]=s)}var Hm={};function _(e,t){Hm[e]=t}function Ic(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var Ss=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Q("{"+e.envName+"} can be used only in display mode.")};function wu(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function on(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:h,leqno:m}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var f=e.gullet.expandMacroAsText("\\arraystretch");if(f==null)s=1;else if(s=parseFloat(f),!s||s<0)throw new Q("Invalid \\arraystretch: "+f)}e.gullet.beginGroup();var b=[],E=[b],A=[],T=[],w=l!=null?[]:void 0;function L(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}
vendor: 11,223 bytes, line 272
272function $(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new $t("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(L(),T.push(Ic(e));;){var U=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),U={type:"ordgroup",mode:e.mode,body:U},r&&(U={type:"styling",mode:e.mode,style:r,body:[U]}),b.push(U);var P=e.fetch().text;if(P==="&"){if(h&&b.length===h){if(u||o)throw new Q("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(P==="\\end"){$(),b.length===1&&U.type==="styling"&&U.body[0].body.length===0&&(E.length>1||!c)&&E.pop(),T.length<E.length+1&&T.push([]);break}else if(P==="\\\\"){e.consume();var W=void 0;e.gullet.future().text!==" "&&(W=e.parseSizeGroup(!0)),A.push(W?W.value:null),$(),T.push(Ic(e)),b=[],E.push(b),L()}else throw new Q("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:E,cols:i,rowGaps:A,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:w,leqno:m}}function Au(e){return e.slice(0,1)==="d"?"display":"text"}var Er=function(t,r){var n,a,i=t.body.length,s=t.hLinesBeforeRow,o=0,l=new Array(i),u=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),h=1/r.fontMetrics().ptPerEm,m=5*h;if(t.colSeparationType&&t.colSeparationType==="small"){var f=r.havingStyle(pe.SCRIPT).sizeMultiplier;m=.2778*(f/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?je({number:3,unit:"ex"},r):12*h,E=3*h,A=t.arraystretch*b,T=.7*A,w=.3*A,L=0;function $(kr){for(var wr=0;wr<kr.length;++wr)wr>0&&(L+=.25),u.push({pos:L,isDashed:kr[wr]})}for($(s[0]),n=0;n<t.body.length;++n){var U=t.body[n],P=T,W=w;o<U.length&&(o=U.length);var se=new Array(U.length);for(a=0;a<U.length;++a){var ae=Ne(U[a],r);W<ae.depth&&(W=ae.depth),P<ae.height&&(P=ae.height),se[a]=ae}var F=t.rowGaps[n],ne=0;F&&(ne=je(F,r),ne>0&&(ne+=w,W<ne&&(W=ne),ne=0)),t.addJot&&(W+=E),se.height=P,se.depth=W,L+=P,se.pos=L,L+=W+ne,l[n]=se,$(s[n+1])}var ee=L/2+r.fontMetrics().axisHeight,oe=t.cols||[],J=[],ue,ce,Le=[];if(t.tags&&t.tags.some(kr=>kr))for(n=0;n<i;++n){var Ve=l[n],Ae=Ve.pos-ee,R=t.tags[n],Se=void 0;R===!0?Se=B.makeSpan(["eqn-num"],[],r):R===!1?Se=B.makeSpan([],[],r):Se=B.makeSpan([],nt(R,r,!0),r),Se.depth=Ve.depth,Se.height=Ve.height,Le.push({type:"elem",elem:Se,shift:Ae})}for(a=0,ce=0;a<o||ce<oe.length;++a,++ce){for(var He=oe[ce]||{},D=!0;He.type==="separator";){if(D||(ue=B.makeSpan(["arraycolsep"],[]),ue.style.width=re(r.fontMetrics().doubleRuleSep),J.push(ue)),He.separator==="|"||He.separator===":"){var it=He.separator==="|"?"solid":"dashed",ht=B.makeSpan(["vertical-separator"],[],r);ht.style.height=re(L),ht.style.borderRightWidth=re(c),ht.style.borderRightStyle=it,ht.style.margin="0 "+re(-c/2);var qe=L-ee;qe&&(ht.style.verticalAlign=re(-qe)),J.push(ht)}else throw new Q("Invalid separator type: "+He.separator);ce++,He=oe[ce]||{},D=!1}if(!(a>=o)){var dt=void 0;(a>0||t.hskipBeforeAndAfter)&&(dt=Ie.deflt(He.pregap,m),dt!==0&&(ue=B.makeSpan(["arraycolsep"],[]),ue.style.width=re(dt),J.push(ue)));var ct=[];for(n=0;n<i;++n){var At=l[n],yt=At[a];if(yt){var $r=At.pos-ee;yt.depth=At.depth,yt.height=At.height,ct.push({type:"elem",elem:yt,shift:$r})}}ct=B.makeVList({positionType:"individualShift",children:ct},r),ct=B.makeSpan(["col-align-"+(He.align||"c")],[ct]),J.push(ct),(a<o-1||t.hskipBeforeAndAfter)&&(dt=Ie.deflt(He.postgap,m),dt!==0&&(ue=B.makeSpan(["arraycolsep"],[]),ue.style.width=re(dt),J.push(ue)))}}if(l=B.makeSpan(["mtable"],J),u.length>0){for(var jr=B.makeLineSpan("hline",r,c),la=B.makeLineSpan("hdashline",r,c),ln=[{type:"elem",elem:l,shift:0}];u.length>0;){var vr=u.pop(),Ot=vr.pos-ee;vr.isDashed?ln.push({type:"elem",elem:la,shift:Ot}):ln.push({type:"elem",elem:jr,shift:Ot})}l=B.makeVList({positionType:"individualShift",children:ln},r)}if(Le.length===0)return B.makeSpan(["mord"],[l],r);var Pt=B.makeVList({positionType:"individualShift",children:Le},r);return Pt=B.makeSpan(["tag"],[Pt],r),B.makeFragment([l,Pt])},Zb={c:"center ",l:"left ",r:"right "},_r=function(t,r){for(var n=[],a=new X.MathNode("mtd",[],["mtr-glue"]),i=new X.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],l=[],u=0;u<o.length;u++)l.push(new X.MathNode("mtd",[Pe(o[u],r)]));t.tags&&t.tags[s]&&(l.unshift(a),l.push(a),t.leqno?l.unshift(i):l.push(i)),n.push(new X.MathNode("mtr",l))}var c=new X.MathNode("mtable",n),h=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",re(h));var m="",f="";if(t.cols&&t.cols.length>0){var b=t.cols,E="",A=!1,T=0,w=b.length;b[0].type==="separator"&&(m+="top ",T=1),b[b.length-1].type==="separator"&&(m+="bottom ",w-=1);for(var L=T;L<w;L++)b[L].type==="align"?(f+=Zb[b[L].align],A&&(E+="none "),A=!0):b[L].type==="separator"&&A&&(E+=b[L].separator==="|"?"solid ":"dashed ",A=!1);c.setAttribute("columnalign",f.trim()),/[sd]/.test(E)&&c.setAttribute("columnlines",E.trim())}if(t.colSeparationType==="align"){for(var $=t.cols||[],U="",P=1;P<$.length;P++)U+=P%2?"0em ":"1em ";c.setAttribute("columnspacing",U.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var W="",se=t.hLinesBeforeRow;m+=se[0].length>0?"left ":"",m+=se[se.length-1].length>0?"right ":"";for(var ae=1;ae<se.length-1;ae++)W+=se[ae].length===0?"none ":se[ae][0]?"dashed ":"solid ";return/[sd]/.test(W)&&c.setAttribute("rowlines",W.trim()),m!==""&&(c=new X.MathNode("menclose",[c]),c.setAttribute("notation",m.trim())),t.arraystretch&&t.arraystretch<1&&(c=new X.MathNode("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},zm=function(t,r){t.envName.indexOf("ed")===-1&&Ss(t);var n=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",s=on(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:wu(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),o,l=0,u={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",h=0;h<r[0].body.length;h++){var m=Ee(r[0].body[h],"textord");c+=m.text}o=Number(c),l=o*2}var f=!l;s.body.forEach(function(T){for(var w=1;w<T.length;w+=2){var L=Ee(T[w],"styling"),$=Ee(L.body[0],"ordgroup");$.body.unshift(u)}if(f)l<T.length&&(l=T.length);else{var U=T.length/2;if(o<U)throw new Q("Too many math in a row: "+("expected "+o+", but got "+U),T[0])}});for(var b=0;b<l;++b){var E="r",A=0;b%2===1?E="l":b>0&&f&&(A=1),n[b]={type:"align",align:E,pregap:A,postgap:0}}return s.colSeparationType=f?"align":"alignat",s};xr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=ks(t[0]),n=r?[t[0]]:Ee(t[0],"ordgroup").body,a=n.map(function(s){var o=Eu(s),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Q("Unknown column alignment: "+l,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return on(e.parser,i,Au(e.envName))},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new Q("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=on(e.parser,n,Au(e.envName)),s=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=on(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=ks(t[0]),n=r?[t[0]]:Ee(t[0],"ordgroup").body,a=n.map(function(s){var o=Eu(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Q("Unknown column alignment: "+l,s)});if(a.length>1)throw new Q("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=on(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new Q("{subarray} can contain only one column");return i},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=on(e.parser,t,Au(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:zm,htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&Ss(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:wu(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return on(e.parser,t,"display")},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:zm,htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Ss(e);var t={autoTag:wu(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return on(e.parser,t,"display")},htmlBuilder:Er,mathmlBuilder:_r});xr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Ss(e),Fb(e.parser)},htmlBuilder:Er,mathmlBuilder:_r});_("\\nonumber","\\gdef\\@eqnsw{0}");_("\\notag","\\nonumber");ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Q(e.funcName+" valid only within array environment")}});var Rc=Fm;ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new Q("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Ee(a.body[s],"textord").text;if(n==="\\begin"){if(!Rc.hasOwnProperty(i))throw new Q("No such environment: "+i,a);var o=Rc[i],{args:l,optArgs:u}=r.parseArguments("\\begin{"+i+"}",o),c={mode:r.mode,envName:i,parser:r},h=o.handler(c,l,u);r.expect("\\end",!1);var m=r.nextToken,f=Ee(r.parseFunction(),"environment");
vendor: 11,293 bytes, line 272
272if(f.name!==i)throw new Q("Mismatch: \\begin{"+i+"} matched by \\end{"+f.name+"}",m);return h}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var Um=(e,t)=>{var r=e.font,n=t.withFont(r);return Ne(e.body,n)},$m=(e,t)=>{var r=e.font,n=t.withFont(r);return Pe(e.body,n)},Lc={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=Yi(t[0]),i=n;return i in Lc&&(i=Lc[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:Um,mathmlBuilder:$m});ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],a=Ie.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:ws(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,s=r.parseExpression(!0,a),o="math"+n.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:Um,mathmlBuilder:$m});var jm=(e,t)=>{var r=t;return e==="display"?r=r.id>=pe.SCRIPT.id?r.text():pe.DISPLAY:e==="text"&&r.size===pe.DISPLAY.size?r=pe.TEXT:e==="script"?r=pe.SCRIPT:e==="scriptscript"&&(r=pe.SCRIPTSCRIPT),r},Su=(e,t)=>{var r=jm(e.size,t.style),n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=Ne(e.numer,i,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<l?l:s.depth}i=t.havingStyle(a);var u=Ne(e.denom,i,t),c,h,m;e.hasBarLine?(e.barSize?(h=je(e.barSize,t),c=B.makeLineSpan("frac-line",t,h)):c=B.makeLineSpan("frac-line",t),h=c.height,m=c.height):(c=null,h=0,m=t.fontMetrics().defaultRuleThickness);var f,b,E;r.size===pe.DISPLAY.size||e.size==="display"?(f=t.fontMetrics().num1,h>0?b=3*m:b=7*m,E=t.fontMetrics().denom1):(h>0?(f=t.fontMetrics().num2,b=m):(f=t.fontMetrics().num3,b=3*m),E=t.fontMetrics().denom2);var A;if(c){var w=t.fontMetrics().axisHeight;f-s.depth-(w+.5*h)<b&&(f+=b-(f-s.depth-(w+.5*h))),w-.5*h-(u.height-E)<b&&(E+=b-(w-.5*h-(u.height-E)));var L=-(w-.5*h);A=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:E},{type:"elem",elem:c,shift:L},{type:"elem",elem:s,shift:-f}]},t)}else{var T=f-s.depth-(u.height-E);T<b&&(f+=.5*(b-T),E+=.5*(b-T)),A=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:E},{type:"elem",elem:s,shift:-f}]},t)}i=t.havingStyle(r),A.height*=i.sizeMultiplier/t.sizeMultiplier,A.depth*=i.sizeMultiplier/t.sizeMultiplier;var $;r.size===pe.DISPLAY.size?$=t.fontMetrics().delim1:r.size===pe.SCRIPTSCRIPT.size?$=t.havingStyle(pe.SCRIPT).fontMetrics().delim2:$=t.fontMetrics().delim2;var U,P;return e.leftDelim==null?U=$a(t,["mopen"]):U=Pr.customSizedDelim(e.leftDelim,$,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?P=B.makeSpan([]):e.rightDelim==null?P=$a(t,["mclose"]):P=Pr.customSizedDelim(e.rightDelim,$,!0,t.havingStyle(r),e.mode,["mclose"]),B.makeSpan(["mord"].concat(i.sizingClasses(t)),[U,B.makeSpan(["mfrac"],[A]),P],t)},Cu=(e,t)=>{var r=new X.MathNode("mfrac",[Pe(e.numer,t),Pe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=je(e.barSize,t);r.setAttribute("linethickness",re(n))}var a=jm(e.size,t.style);if(a.size!==t.style.size){r=new X.MathNode("mstyle",[r]);var i=a.size===pe.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var o=new X.MathNode("mo",[new X.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new X.MathNode("mo",[new X.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return yu(s)}return r};ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,o=null,l=null,u="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",l=")";break;case"\\\\bracefrac":s=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:i,hasBarLine:s,leftDelim:o,rightDelim:l,size:u,barSize:null}},htmlBuilder:Su,mathmlBuilder:Cu});ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var Dc=["display","text","script","scriptscript"],Oc=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=Yi(t[0]),s=i.type==="atom"&&i.family==="open"?Oc(i.text):null,o=Yi(t[1]),l=o.type==="atom"&&o.family==="close"?Oc(o.text):null,u=Ee(t[2],"size"),c,h=null;u.isBlank?c=!0:(h=u.value,c=h.number>0);var m="auto",f=t[3];if(f.type==="ordgroup"){if(f.body.length>0){var b=Ee(f.body[0],"textord");m=Dc[Number(b.text)]}}else f=Ee(f,"textord"),m=Dc[Number(f.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:h,leftDelim:s,rightDelim:l,size:m}},htmlBuilder:Su,mathmlBuilder:Cu});ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ee(t[0],"size").value,token:a}}});ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=N5(Ee(t[1],"infix").size),s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Su,mathmlBuilder:Cu});var Vm=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Ne(e.sup,t.havingStyle(r.sup()),t):Ne(e.sub,t.havingStyle(r.sub()),t),a=Ee(e.base,"horizBrace")):a=Ee(e,"horizBrace");var i=Ne(a.base,t.havingBaseStyle(pe.DISPLAY)),s=Hr.svgSpan(a,t),o;if(a.isOver?(o=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=B.makeVList({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=B.makeSpan(["mord",a.isOver?"mover":"munder"],[o],t);a.isOver?o=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=B.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return B.makeSpan(["mord",a.isOver?"mover":"munder"],[o],t)},Jb=(e,t)=>{var r=Hr.mathMLnode(e.label);return new X.MathNode(e.isOver?"mover":"munder",[Pe(e.base,t),r])};ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Vm,mathmlBuilder:Jb});ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Ee(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Qe(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=nt(e.body,t,!1);return B.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=nn(e.body,t);return r instanceof zt||(r=new zt("mrow",[r])),r.setAttribute("href",e.href),r}});ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ee(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:Qe(o)}}});ie({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Qe(t[0])}},htmlBuilder(e,t){var r=nt(e.body,t,!1);return B.makeFragment(r)},mathmlBuilder(e,t){return new X.MathNode("mrow",Dt(e.body,t))}});ie({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=Ee(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(n){case"\\htmlClass":l.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":l.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":l.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var u=i.split(","),c=0;c<u.length;c++){var h=u[c].split("=");if(h.length!==2)throw new Q("Error parsing key-value for \\htmlData");l["data-"+h[0].trim()]=h[1].trim()}o={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:l,body:Qe(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=nt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=B.makeSpan(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>nn(e.body,t)});ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Qe(t[0]),mathml:Qe(t[1])}},htmlBuilder:(e,t)=>{var r=nt(e.html,t,!1);return B.makeFragment(r)},mathmlBuilder:(e,t)=>nn(e.mathml,t)});var Co=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};
vendor: 9,170 bytes, line 272
272var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new Q("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!um(n))throw new Q("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var l=Ee(r[0],"raw").string,u=l.split(","),c=0;c<u.length;c++){var h=u[c].split("=");if(h.length===2){var m=h[1].trim();switch(h[0].trim()){case"alt":o=m;break;case"width":a=Co(m);break;case"height":i=Co(m);break;case"totalheight":s=Co(m);break;default:throw new Q("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var f=Ee(t[0],"url").url;return o===""&&(o=f,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:f})?{type:"includegraphics",mode:n.mode,alt:o,width:a,height:i,totalheight:s,src:f}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=je(e.height,t),n=0;e.totalheight.number>0&&(n=je(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=je(e.width,t));var i={height:re(r+n)};a>0&&(i.width=re(a)),n>0&&(i.verticalAlign=re(-n));var s=new J5(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new X.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=je(e.height,t),a=0;if(e.totalheight.number>0&&(a=je(e.totalheight,t)-n,r.setAttribute("valign",re(-a))),r.setAttribute("height",re(n+a)),e.width.number>0){var i=je(e.width,t);r.setAttribute("width",re(i))}return r.setAttribute("src",e.src),r}});ie({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=Ee(t[0],"size");if(r.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return B.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=je(e.dimension,t);return new X.SpaceNode(r)}});ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=B.makeSpan([],[Ne(e.body,t)]),r=B.makeSpan(["inner"],[r],t)):r=B.makeSpan(["inner"],[Ne(e.body,t)]);var n=B.makeSpan(["fix"],[]),a=B.makeSpan([e.alignment],[r,n],t),i=B.makeSpan(["strut"]);return i.style.height=re(a.height+a.depth),a.depth&&(i.style.verticalAlign=re(-a.depth)),a.children.unshift(i),a=B.makeSpan(["thinbox"],[a],t),B.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new X.MathNode("mpadded",[Pe(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});ie({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Q("Mismatched "+e.funcName)}});var Pc=(e,t)=>{switch(t.style.size){case pe.DISPLAY.size:return e.display;case pe.TEXT.size:return e.text;case pe.SCRIPT.size:return e.script;case pe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Qe(t[0]),text:Qe(t[1]),script:Qe(t[2]),scriptscript:Qe(t[3])}},htmlBuilder:(e,t)=>{var r=Pc(e,t),n=nt(r,t,!1);return B.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Pc(e,t);return nn(r,t)}});var qm=(e,t,r,n,a,i,s)=>{e=B.makeSpan([],[e]);var o=r&&Ie.isCharacterBox(r),l,u;if(t){var c=Ne(t,n.havingStyle(a.sup()),n);u={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var h=Ne(r,n.havingStyle(a.sub()),n);l={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var m;if(u&&l){var f=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;m=B.makeVList({positionType:"bottom",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:re(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:re(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var b=e.height-s;m=B.makeVList({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:re(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(u){var E=e.depth+s;m=B.makeVList({positionType:"bottom",positionData:E,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:re(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var A=[m];if(l&&i!==0&&!o){var T=B.makeSpan(["mspace"],[],n);T.style.marginRight=re(i),A.unshift(T)}return B.makeSpan(["mop","op-limits"],A,n)},Wm=["\\smallint"],ea=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ee(e.base,"op"),a=!0):i=Ee(e,"op");var s=t.style,o=!1;s.size===pe.DISPLAY.size&&i.symbol&&!Wm.includes(i.name)&&(o=!0);var l;if(i.symbol){var u=o?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),l=B.makeSymbol(i.name,u,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var h=l.italic,m=B.staticSvg(c+"Size"+(o?"2":"1"),t);l=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:m,shift:o?.08:0}]},t),i.name="\\"+c,l.classes.unshift("mop"),l.italic=h}}else if(i.body){var f=nt(i.body,t,!0);f.length===1&&f[0]instanceof Jt?(l=f[0],l.classes[0]="mop"):l=B.makeSpan(["mop"],f,t)}else{for(var b=[],E=1;E<i.name.length;E++)b.push(B.mathsym(i.name[E],i.mode,t));l=B.makeSpan(["mop"],b,t)}var A=0,T=0;return(l instanceof Jt||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(A=(l.height-l.depth)/2-t.fontMetrics().axisHeight,T=l.italic),a?qm(l,r,n,t,s,T,A):(A&&(l.style.position="relative",l.style.top=re(A)),l)},ni=(e,t)=>{var r;if(e.symbol)r=new zt("mo",[er(e.name,e.mode)]),Wm.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new zt("mo",Dt(e.body,t));else{r=new zt("mi",[new br(e.name.slice(1))]);var n=new zt("mo",[er("⁡","text")]);e.parentIsSupSub?r=new zt("mrow",[r,n]):r=Em([r,n])}return r},e8={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ie({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return a.length===1&&(a=e8[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ea,mathmlBuilder:ni});ie({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Qe(n)}},htmlBuilder:ea,mathmlBuilder:ni});var t8={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ie({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ea,mathmlBuilder:ni});ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ea,mathmlBuilder:ni});ie({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=t8[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ea,mathmlBuilder:ni});var Gm=(e,t)=>
vendor: 9,153 bytes, line 272
272{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ee(e.base,"operatorname"),a=!0):i=Ee(e,"operatorname");var s;if(i.body.length>0){for(var o=i.body.map(h=>{var m=h.text;return typeof m=="string"?{type:"textord",mode:h.mode,text:m}:h}),l=nt(o,t.withFont("mathrm"),!0),u=0;u<l.length;u++){var c=l[u];c instanceof Jt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=B.makeSpan(["mop"],l,t)}else s=B.makeSpan(["mop"],[],t);return a?qm(s,r,n,t,t.style,0,0):s},r8=(e,t)=>{for(var r=Dt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof X.SpaceNode))if(i instanceof X.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof X.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new X.TextNode(o)]}var l=new X.MathNode("mi",r);l.setAttribute("mathvariant","normal");var u=new X.MathNode("mo",[er("⁡","text")]);return e.parentIsSupSub?new X.MathNode("mrow",[l,u]):X.newDocumentFragment([l,u])};ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:Qe(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Gm,mathmlBuilder:r8});_("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");wn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?B.makeFragment(nt(e.body,t,!1)):B.makeSpan(["mord"],nt(e.body,t,!0),t)},mathmlBuilder(e,t){return nn(e.body,t,!0)}});ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Ne(e.body,t.havingCrampedStyle()),n=B.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},t);return B.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new X.MathNode("mo",[new X.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new X.MathNode("mover",[Pe(e.body,t),r]);return n.setAttribute("accent","true"),n}});ie({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Qe(n)}},htmlBuilder:(e,t)=>{var r=nt(e.body,t.withPhantom(),!1);return B.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Dt(e.body,t);return new X.MathNode("mphantom",r)}});ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=B.makeSpan([],[Ne(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),B.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Dt(Qe(e.body),t),n=new X.MathNode("mphantom",r),a=new X.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});ie({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=B.makeSpan(["inner"],[Ne(e.body,t.withPhantom())]),n=B.makeSpan(["fix"],[]);return B.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Dt(Qe(e.body),t),n=new X.MathNode("mphantom",r),a=new X.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ee(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Ne(e.body,t),n=je(e.dy,t);return B.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new X.MathNode("mpadded",[Pe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ie({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=Ee(t[0],"size"),s=Ee(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Ee(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=B.makeSpan(["mord","rule"],[],t),n=je(e.width,t),a=je(e.height,t),i=e.shift?je(e.shift,t):0;return r.style.borderRightWidth=re(n),r.style.borderTopWidth=re(a),r.style.bottom=re(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=je(e.width,t),n=je(e.height,t),a=e.shift?je(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new X.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",re(r)),s.setAttribute("height",re(n));var o=new X.MathNode("mpadded",[s]);return a>=0?o.setAttribute("height",re(a)):(o.setAttribute("height",re(a)),o.setAttribute("depth",re(-a))),o.setAttribute("voffset",re(a)),o}});function Ym(e,t,r){for(var n=nt(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+t.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return B.makeFragment(n)}var Mc=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],n8=(e,t)=>{var r=t.havingSize(e.size);return Ym(e.body,r,t)};ie({type:"sizing",names:Mc,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:Mc.indexOf(n)+1,body:i}},htmlBuilder:n8,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Dt(e.body,r),a=new X.MathNode("mstyle",n);return a.setAttribute("mathsize",re(r.sizeMultiplier)),a}});ie({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,s=r[0]&&Ee(r[0],"ordgroup");if(s)for(var o="",l=0;l<s.body.length;++l){var u=s.body[l];if(o=u.text,o==="t")a=!0;else if(o==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=B.makeSpan([],[Ne(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var i=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return B.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new X.MathNode("mpadded",[Pe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=Ne(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=B.wrapFragment(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<pe.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,o=r.height+r.depth+s+a,{span:l,ruleWidth:u,advanceWidth:c}=Pr.sqrtImage(o,t),h=l.height-u;h>r.height+r.depth+s&&(s=(s+h-r.height-r.depth)/2);var m=l.height-r.height-s-u;r.style.paddingLeft=re(c);var f=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:l},{type:"kern",size:u}]},t);if(e.index){var b=t.havingStyle(pe.SCRIPTSCRIPT),E=Ne(e.index,b,t),A=.6*(f.height-f.depth),T=B.makeVList({positionType:"shift",positionData:-A,children:[{type:"elem",elem:E}]},t),w=B.makeSpan(["root"],[T]);return B.makeSpan(["mord","sqrt"],[w,f],t)}else return B.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new X.MathNode("mroot",[Pe(r,t),Pe(n,t)]):new X.MathNode("msqrt",[Pe(r,t)])}});var Bc={display:pe.DISPLAY,text:pe.TEXT,script:pe.SCRIPT,scriptscript:pe.SCRIPTSCRIPT};ie({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(e,t){var r=Bc[e.style],n=t.havingStyle(r).withFont("");return Ym(e.body,n,t)},mathmlBuilder(e,t){var r=Bc[e.style],n=t.havingStyle(r),a=Dt(e.body,n),i=new X.MathNode("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}
vendor: 12,534 bytes, lines 272-276
272,o=s[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var a8=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===pe.DISPLAY.size||n.alwaysHandleSupSub);return a?ea:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===pe.DISPLAY.size||n.limits);return i?Gm:null}else{if(n.type==="accent")return Ie.isCharacterBox(n.base)?_u:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Vm:null}else return null}else return null};wn({type:"supsub",htmlBuilder(e,t){var r=a8(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=Ne(n,t),o,l,u=t.fontMetrics(),c=0,h=0,m=n&&Ie.isCharacterBox(n);if(a){var f=t.havingStyle(t.style.sup());o=Ne(a,f,t),m||(c=s.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());l=Ne(i,b,t),m||(h=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var E;t.style===pe.DISPLAY?E=u.sup1:t.style.cramped?E=u.sup3:E=u.sup2;var A=t.sizeMultiplier,T=re(.5/u.ptPerEm/A),w=null;if(l){var L=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Jt||L)&&(w=re(-s.italic))}var $;if(o&&l){c=Math.max(c,E,o.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var U=u.defaultRuleThickness,P=4*U;if(c-o.depth-(l.height-h)<P){h=P-(c-o.depth)+l.height;var W=.8*u.xHeight-(c-o.depth);W>0&&(c+=W,h-=W)}var se=[{type:"elem",elem:l,shift:h,marginRight:T,marginLeft:w},{type:"elem",elem:o,shift:-c,marginRight:T}];$=B.makeVList({positionType:"individualShift",children:se},t)}else if(l){h=Math.max(h,u.sub1,l.height-.8*u.xHeight);var ae=[{type:"elem",elem:l,marginLeft:w,marginRight:T}];$=B.makeVList({positionType:"shift",positionData:h,children:ae},t)}else if(o)c=Math.max(c,E,o.depth+.25*u.xHeight),$=B.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:T}]},t);else throw new Error("supsub must have either sup or sub.");var F=yl(s,"right")||"mord";return B.makeSpan([F],[s,B.makeSpan(["msupsub"],[$])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[Pe(e.base,t)];e.sub&&i.push(Pe(e.sub,t)),e.sup&&i.push(Pe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===pe.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===pe.DISPLAY||u.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===pe.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===pe.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===pe.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===pe.DISPLAY)?s="mover":s="msup"}return new X.MathNode(s,i)}});wn({type:"atom",htmlBuilder(e,t){return B.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new X.MathNode("mo",[er(e.text,e.mode)]);if(e.family==="bin"){var n=xu(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Xm={mi:"italic",mn:"normal",mtext:"normal"};wn({type:"mathord",htmlBuilder(e,t){return B.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new X.MathNode("mi",[er(e.text,e.mode,t)]),n=xu(e,t)||"italic";return n!==Xm[r.type]&&r.setAttribute("mathvariant",n),r}});wn({type:"textord",htmlBuilder(e,t){return B.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=er(e.text,e.mode,t),n=xu(e,t)||"normal",a;return e.mode==="text"?a=new X.MathNode("mtext",[r]):/[0-9]/.test(e.text)?a=new X.MathNode("mn",[r]):e.text==="\\prime"?a=new X.MathNode("mo",[r]):a=new X.MathNode("mi",[r]),n!==Xm[a.type]&&a.setAttribute("mathvariant",n),a}});var No={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Io={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};wn({type:"spacing",htmlBuilder(e,t){if(Io.hasOwnProperty(e.text)){var r=Io[e.text].className||"";if(e.mode==="text"){var n=B.makeOrd(e,t,"textord");return n.classes.push(r),n}else return B.makeSpan(["mspace",r],[B.mathsym(e.text,e.mode,t)],t)}else{if(No.hasOwnProperty(e.text))return B.makeSpan(["mspace",No[e.text]],[],t);throw new Q('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(Io.hasOwnProperty(e.text))r=new X.MathNode("mtext",[new X.TextNode(" ")]);else{if(No.hasOwnProperty(e.text))return new X.MathNode("mspace");throw new Q('Unknown type of space "'+e.text+'"')}return r}});var Fc=()=>{var e=new X.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};wn({type:"tag",mathmlBuilder(e,t){var r=new X.MathNode("mtable",[new X.MathNode("mtr",[Fc(),new X.MathNode("mtd",[nn(e.body,t)]),Fc(),new X.MathNode("mtd",[nn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Hc={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},zc={"\\textbf":"textbf","\\textmd":"textmd"},i8={"\\textit":"textit","\\textup":"textup"},Uc=(e,t)=>{var r=e.font;if(r){if(Hc[r])return t.withTextFontFamily(Hc[r]);if(zc[r])return t.withTextFontWeight(zc[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(i8[r])};ie({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:Qe(a),font:n}},htmlBuilder(e,t){var r=Uc(e,t),n=nt(e.body,r,!0);return B.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Uc(e,t);return nn(e.body,r)}});ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ne(e.body,t),n=B.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=B.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return B.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new X.MathNode("mo",[new X.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new X.MathNode("munder",[Pe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ne(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return B.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new X.MathNode("mpadded",[Pe(e.body,t)],["vcenter"])}});ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new Q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=$c(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(B.makeSymbol(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return B.makeSpan(["mord","text"].concat(a.sizingClasses(t)),B.tryCombineChars(n),a)},mathmlBuilder(e,t){var r=new X.TextNode($c(e)),n=new X.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var $c=e=>e.body.replace(/ /g,e.star?"␣":" "),Zr=ym,Qm=`[ \r
273	]`,s8="\\\\[a-zA-Z@]+",o8="\\\\[^\uD800-\uDFFF]",l8="("+s8+")"+Qm+"*",u8=`\\\\(
274|[ \r	]+
275?)[ \r	]*`,Tl="[̀-ͯ]",c8=new RegExp(Tl+"+$"),h8="("+Qm+"+)|"+(u8+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Tl+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Tl+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+l8)+("|"+o8+")");class jc{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(h8,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new $t("EOF",new Rt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new Q("Unexpected character: '"+t[r]+"'",new $t(t[r],new Rt(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
276`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new $t(a,new Rt(this,r,this.tokenRegex.lastIndex))}}class d8{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var m8=Hm;_("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});_("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});_("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});_("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});_("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});_("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");_("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Vc={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};_("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Q("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Vc[t.text],n==null||n>=r)throw new Q("Invalid base-"+r+" digit "+t.text);for(var a;(a=Vc[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var Nu=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new Q("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new Q("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new Q("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var l="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new Q("Invalid number of arguments: "+l);o=parseInt(l),a=e.consumeArg().tokens}return s&&n||e.macros.set(i,{tokens:a,numArgs:o}),""};_("\\newcommand",e=>Nu(e,!1,!0,!1));_("\\renewcommand",e=>Nu(e,!0,!1,!1));_("\\providecommand",e=>Nu(e,!0,!0,!0));_("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});_("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});_("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Zr[r],Fe.math[r],Fe.text[r]),""});_("\\bgroup","{");_("\\egroup","}");
vendor: 6,570 bytes, line 276
276_("~","\\nobreakspace");_("\\lq","`");_("\\rq","'");_("\\aa","\\r a");_("\\AA","\\r A");_("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");_("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");_("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");_("ℬ","\\mathscr{B}");_("ℰ","\\mathscr{E}");_("ℱ","\\mathscr{F}");_("ℋ","\\mathscr{H}");_("ℐ","\\mathscr{I}");_("ℒ","\\mathscr{L}");_("ℳ","\\mathscr{M}");_("ℛ","\\mathscr{R}");_("ℭ","\\mathfrak{C}");_("ℌ","\\mathfrak{H}");_("ℨ","\\mathfrak{Z}");_("\\Bbbk","\\Bbb{k}");_("·","\\cdotp");_("\\llap","\\mathllap{\\textrm{#1}}");_("\\rlap","\\mathrlap{\\textrm{#1}}");_("\\clap","\\mathclap{\\textrm{#1}}");_("\\mathstrut","\\vphantom{(}");_("\\underbar","\\underline{\\text{#1}}");_("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');_("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");_("\\ne","\\neq");_("≠","\\neq");_("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");_("∉","\\notin");_("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");_("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");_("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");_("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");_("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");_("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");_("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");_("⟂","\\perp");_("‼","\\mathclose{!\\mkern-0.8mu!}");_("∌","\\notni");_("⌜","\\ulcorner");_("⌝","\\urcorner");_("⌞","\\llcorner");_("⌟","\\lrcorner");_("©","\\copyright");_("®","\\textregistered");_("️","\\textregistered");_("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');_("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');_("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');_("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');_("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");_("⋮","\\vdots");_("\\varGamma","\\mathit{\\Gamma}");_("\\varDelta","\\mathit{\\Delta}");_("\\varTheta","\\mathit{\\Theta}");_("\\varLambda","\\mathit{\\Lambda}");_("\\varXi","\\mathit{\\Xi}");_("\\varPi","\\mathit{\\Pi}");_("\\varSigma","\\mathit{\\Sigma}");_("\\varUpsilon","\\mathit{\\Upsilon}");_("\\varPhi","\\mathit{\\Phi}");_("\\varPsi","\\mathit{\\Psi}");_("\\varOmega","\\mathit{\\Omega}");_("\\substack","\\begin{subarray}{c}#1\\end{subarray}");_("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");_("\\boxed","\\fbox{$\\displaystyle{#1}$}");_("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");_("\\implies","\\DOTSB\\;\\Longrightarrow\\;");_("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");_("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");_("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var qc={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};_("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in qc?t=qc[r]:(r.slice(0,4)==="\\not"||r in Fe.math&&["bin","rel"].includes(Fe.math[r].group))&&(t="\\dotsb"),t});var Iu={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};_("\\dotso",function(e){var t=e.future().text;return t in Iu?"\\ldots\\,":"\\ldots"});_("\\dotsc",function(e){var t=e.future().text;return t in Iu&&t!==","?"\\ldots\\,":"\\ldots"});_("\\cdots",function(e){var t=e.future().text;return t in Iu?"\\@cdots\\,":"\\@cdots"});_("\\dotsb","\\cdots");_("\\dotsm","\\cdots");_("\\dotsi","\\!\\cdots");_("\\dotsx","\\ldots\\,");_("\\DOTSI","\\relax");_("\\DOTSB","\\relax");_("\\DOTSX","\\relax");_("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");_("\\,","\\tmspace+{3mu}{.1667em}");_("\\thinspace","\\,");_("\\>","\\mskip{4mu}");_("\\:","\\tmspace+{4mu}{.2222em}");_("\\medspace","\\:");_("\\;","\\tmspace+{5mu}{.2777em}");_("\\thickspace","\\;");_("\\!","\\tmspace-{3mu}{.1667em}");_("\\negthinspace","\\!");_("\\negmedspace","\\tmspace-{4mu}{.2222em}");_("\\negthickspace","\\tmspace-{5mu}{.277em}");_("\\enspace","\\kern.5em ");_("\\enskip","\\hskip.5em\\relax");_("\\quad","\\hskip1em\\relax");_("\\qquad","\\hskip2em\\relax");_("\\tag","\\@ifstar\\tag@literal\\tag@paren");_("\\tag@paren","\\tag@literal{({#1})}");_("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});_("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");_("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");_("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");_("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");_("\\newline","\\\\\\relax");_("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Km=re(gr["Main-Regular"][84][1]-.7*gr["Main-Regular"][65][1]);_("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Km+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");_("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Km+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");
276_("\\hspace","\\@ifstar\\@hspacer\\@hspace");_("\\@hspace","\\hskip #1\\relax");_("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");_("\\ordinarycolon",":");_("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");_("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');_("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');_("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');_("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');_("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');_("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');_("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');_("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');_("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');_("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');_("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');_("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');_("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');_("∷","\\dblcolon");_("∹","\\eqcolon");_("≔","\\coloneqq");_("≕","\\eqqcolon");_("⩴","\\Coloneqq");_("\\ratio","\\vcentcolon");_("\\coloncolon","\\dblcolon");_("\\colonequals","\\coloneqq");_("\\coloncolonequals","\\Coloneqq");_("\\equalscolon","\\eqqcolon");_("\\equalscoloncolon","\\Eqqcolon");_("\\colonminus","\\coloneq");_("\\coloncolonminus","\\Coloneq");_("\\minuscolon","\\eqcolon");_("\\minuscoloncolon","\\Eqcolon");_("\\coloncolonapprox","\\Colonapprox");_("\\coloncolonsim","\\Colonsim");_("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");_("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");_("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");_("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");_("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");_("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");_("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");_("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");_("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");_("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");_("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");_("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");_("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");_("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");_("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");_("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");_("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");_("\\nleqq","\\html@mathml{\\@nleqq}{≰}");_("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");_("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");_("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");_("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");_("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");_("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");_("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");_("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");_("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");_("\\imath","\\html@mathml{\\@imath}{ı}");_("\\jmath","\\html@mathml{\\@jmath}{ȷ}");_("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");_("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");_("⟦","\\llbracket");
vendor: 4,514 bytes, line 276
276_("⟧","\\rrbracket");_("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");_("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");_("⦃","\\lBrace");_("⦄","\\rBrace");_("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");_("⦵","\\minuso");_("\\darr","\\downarrow");_("\\dArr","\\Downarrow");_("\\Darr","\\Downarrow");_("\\lang","\\langle");_("\\rang","\\rangle");_("\\uarr","\\uparrow");_("\\uArr","\\Uparrow");_("\\Uarr","\\Uparrow");_("\\N","\\mathbb{N}");_("\\R","\\mathbb{R}");_("\\Z","\\mathbb{Z}");_("\\alef","\\aleph");_("\\alefsym","\\aleph");_("\\Alpha","\\mathrm{A}");_("\\Beta","\\mathrm{B}");_("\\bull","\\bullet");_("\\Chi","\\mathrm{X}");_("\\clubs","\\clubsuit");_("\\cnums","\\mathbb{C}");_("\\Complex","\\mathbb{C}");_("\\Dagger","\\ddagger");_("\\diamonds","\\diamondsuit");_("\\empty","\\emptyset");_("\\Epsilon","\\mathrm{E}");_("\\Eta","\\mathrm{H}");_("\\exist","\\exists");_("\\harr","\\leftrightarrow");_("\\hArr","\\Leftrightarrow");_("\\Harr","\\Leftrightarrow");_("\\hearts","\\heartsuit");_("\\image","\\Im");_("\\infin","\\infty");_("\\Iota","\\mathrm{I}");_("\\isin","\\in");_("\\Kappa","\\mathrm{K}");_("\\larr","\\leftarrow");_("\\lArr","\\Leftarrow");_("\\Larr","\\Leftarrow");_("\\lrarr","\\leftrightarrow");_("\\lrArr","\\Leftrightarrow");_("\\Lrarr","\\Leftrightarrow");_("\\Mu","\\mathrm{M}");_("\\natnums","\\mathbb{N}");_("\\Nu","\\mathrm{N}");_("\\Omicron","\\mathrm{O}");_("\\plusmn","\\pm");_("\\rarr","\\rightarrow");_("\\rArr","\\Rightarrow");_("\\Rarr","\\Rightarrow");_("\\real","\\Re");_("\\reals","\\mathbb{R}");_("\\Reals","\\mathbb{R}");_("\\Rho","\\mathrm{P}");_("\\sdot","\\cdot");_("\\sect","\\S");_("\\spades","\\spadesuit");_("\\sub","\\subset");_("\\sube","\\subseteq");_("\\supe","\\supseteq");_("\\Tau","\\mathrm{T}");_("\\thetasym","\\vartheta");_("\\weierp","\\wp");_("\\Zeta","\\mathrm{Z}");_("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");_("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");_("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");_("\\bra","\\mathinner{\\langle{#1}|}");_("\\ket","\\mathinner{|{#1}\\rangle}");_("\\braket","\\mathinner{\\langle{#1}\\rangle}");_("\\Bra","\\left\\langle#1\\right|");_("\\Ket","\\left|#1\\right\\rangle");var Zm=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=h=>m=>{e&&(m.macros.set("|",s),a.length&&m.macros.set("\\|",o));var f=h;if(!h&&a.length){var b=m.future();b.text==="|"&&(m.popToken(),f=!0)}return{tokens:f?a:n,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...i,...u,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};_("\\bra@ket",Zm(!1));_("\\bra@set",Zm(!0));_("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");_("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");_("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");_("\\angln","{\\angl n}");_("\\blue","\\textcolor{##6495ed}{#1}");_("\\orange","\\textcolor{##ffa500}{#1}");_("\\pink","\\textcolor{##ff00af}{#1}");_("\\red","\\textcolor{##df0030}{#1}");_("\\green","\\textcolor{##28ae7b}{#1}");_("\\gray","\\textcolor{gray}{#1}");_("\\purple","\\textcolor{##9d38bd}{#1}");_("\\blueA","\\textcolor{##ccfaff}{#1}");_("\\blueB","\\textcolor{##80f6ff}{#1}");_("\\blueC","\\textcolor{##63d9ea}{#1}");_("\\blueD","\\textcolor{##11accd}{#1}");_("\\blueE","\\textcolor{##0c7f99}{#1}");_("\\tealA","\\textcolor{##94fff5}{#1}");_("\\tealB","\\textcolor{##26edd5}{#1}");_("\\tealC","\\textcolor{##01d1c1}{#1}");_("\\tealD","\\textcolor{##01a995}{#1}");_("\\tealE","\\textcolor{##208170}{#1}");_("\\greenA","\\textcolor{##b6ffb0}{#1}");_("\\greenB","\\textcolor{##8af281}{#1}");_("\\greenC","\\textcolor{##74cf70}{#1}");_("\\greenD","\\textcolor{##1fab54}{#1}");_("\\greenE","\\textcolor{##0d923f}{#1}");_("\\goldA","\\textcolor{##ffd0a9}{#1}");_("\\goldB","\\textcolor{##ffbb71}{#1}");_("\\goldC","\\textcolor{##ff9c39}{#1}");_("\\goldD","\\textcolor{##e07d10}{#1}");_("\\goldE","\\textcolor{##a75a05}{#1}");_("\\redA","\\textcolor{##fca9a9}{#1}");_("\\redB","\\textcolor{##ff8482}{#1}");_("\\redC","\\textcolor{##f9685d}{#1}");_("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,547 bytes, line 276
276_("\\redE","\\textcolor{##bc2612}{#1}");_("\\maroonA","\\textcolor{##ffbde0}{#1}");_("\\maroonB","\\textcolor{##ff92c6}{#1}");_("\\maroonC","\\textcolor{##ed5fa6}{#1}");_("\\maroonD","\\textcolor{##ca337c}{#1}");_("\\maroonE","\\textcolor{##9e034e}{#1}");_("\\purpleA","\\textcolor{##ddd7ff}{#1}");_("\\purpleB","\\textcolor{##c6b9fc}{#1}");_("\\purpleC","\\textcolor{##aa87ff}{#1}");_("\\purpleD","\\textcolor{##7854ab}{#1}");_("\\purpleE","\\textcolor{##543b78}{#1}");_("\\mintA","\\textcolor{##f5f9e8}{#1}");_("\\mintB","\\textcolor{##edf2df}{#1}");_("\\mintC","\\textcolor{##e0e5cc}{#1}");_("\\grayA","\\textcolor{##f6f7f7}{#1}");_("\\grayB","\\textcolor{##f0f1f2}{#1}");_("\\grayC","\\textcolor{##e3e5e6}{#1}");_("\\grayD","\\textcolor{##d6d8da}{#1}");_("\\grayE","\\textcolor{##babec2}{#1}");_("\\grayF","\\textcolor{##888d93}{#1}");_("\\grayG","\\textcolor{##626569}{#1}");_("\\grayH","\\textcolor{##3b3e40}{#1}");_("\\grayI","\\textcolor{##21242c}{#1}");_("\\kaBlue","\\textcolor{##314453}{#1}");_("\\kaGreen","\\textcolor{##71B307}{#1}");var Jm={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class f8{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new d8(m8,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new jc(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new $t("EOF",n.loc)),this.pushTokens(a),new $t("",Rt.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,s=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new Q("Extra }",i)}else if(i.text==="EOF")throw new Q("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",i);if(t&&n)if((s===0||s===1&&t[o]==="{")&&i.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new Q("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new Q("Use of the macro doesn't match its definition",i)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new Q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new Q("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var l=i[o];if(l.text==="#"){if(o===0)throw new Q("Incomplete placeholder at end of macro body",l);if(l=i[--o],l.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(l.text))i.splice(o,2,...s[+l.text-1]);else throw new Q("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new $t(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];
vendor: 5,115 bytes, line 276
276if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.indexOf("#")!==-1)for(var s=a.replace(/##/g,"");s.indexOf("#"+(i+1))!==-1;)++i;for(var o=new jc(a,this.settings),l=[],u=o.lex();u.text!=="EOF";)l.push(u),u=o.lex();l.reverse();var c={tokens:l,numArgs:i};return c}return a}isDefined(t){return this.macros.has(t)||Zr.hasOwnProperty(t)||Fe.math.hasOwnProperty(t)||Fe.text.hasOwnProperty(t)||Jm.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Zr.hasOwnProperty(t)&&!Zr[t].primitive}}var Wc=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,vi=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ro={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Gc={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ
vendor: 5,733 bytes, line 276
276:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let ef=class tf{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new f8(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new Q("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new $t("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(tf.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||t&&Zr[a.text]&&Zr[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new Q("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var i,s,o=t.slice(0,r),l=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?i=o[0]:i={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l};var u;return n==="\\\\abovefrac"?u=this.callFunction(n,[i,t[r],s],[]):u=this.callFunction(n,[i,s],[]),[u]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new Q("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if(r?.type==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var s=i.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new Q("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new Q("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new Q("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new Q("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},l=[o];for(this.consume();this.fetch().text==="'";)l.push(o),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if(vi[i.text]){var u=Wc.test(i.text),c=[];for(c.push(new $t(vi[i.text])),this.consume();;){var h=this.fetch().text;if(!vi[h]||Wc.test(h)!==u)break;c.unshift(new $t(vi[h])),this.consume()}var m=this.subparse(c);u?a={type:"ordgroup",mode:"math",body:m}:n={type:"ordgroup",mode:"math",body:m}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=Zr[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new Q("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new Q("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new Q("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(a,i);return this.callFunction(a,s,o,n,t)}callFunction(t,r,n,a,i){var s={funcName:t,parser:this,token:a,breakOnTokenText:i},o=Zr[t];if(o&&o.handler)return o.handler(s,r,n);throw new Q("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],l=s<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&s===1&&i[0]==null)&&(o="primitive");var u=this.parseGroupOfType("argument to '"+t+"'",o,l);if(l)i.push(u);else if(u!=null)a.push(u);else throw new Q("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new Q("A primitive argument cannot be optional");var s=this.parseGroup(t);
vendor: 6,320 bytes, lines 276-277
276if(s==null)throw new Q("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new Q("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&t.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new Q("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new Q("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new Q("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!um(i))throw new Q("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),s}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),l=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:Rt.range(n,l),body:o,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!Jm.hasOwnProperty(a)){if(this.settings.throwOnError)throw new Q("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],i=a.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Rt.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Rt.range(a,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:Rt.range(a,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new Q(`\\verb assertion failed --
277                    please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}Gc.hasOwnProperty(r[0])&&!Fe[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Gc[r[0]]+r.slice(1));var i=c8.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Fe[this.mode][r]){this.settings.strict&&this.mode==="math"&&bl.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Fe[this.mode][r].group,l=Rt.range(t),u;if(rb.hasOwnProperty(o)){var c=o;u={type:"atom",mode:this.mode,family:c,loc:l,text:r}}else u={type:o,mode:this.mode,loc:l,text:r};s=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&(om(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:Rt.range(t),text:r};else return null;if(this.consume(),i)for(var h=0;h<i[0].length;h++){var m=i[0][h];if(!Ro[m])throw new Q("Unknown accent ' "+m+"'",t);var f=Ro[m][this.mode]||Ro[m].text;if(!f)throw new Q("Accent "+m+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Rt.range(t),label:f,isStretchy:!1,isShifty:!0,base:s}}return s}};ef.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Ru=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new ef(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new Q("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new $t("\\df@tag")])}]}return a},Lu=function(t,r,n){r.textContent="";var a=Cs(t,n).toNode();r.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Lu=function(){throw new Q("KaTeX doesn't work in quirks mode.")});var rf=function(t,r){var n=Cs(t,r).toMarkup();return n},nf=function(t,r){var n=new mu(r);return Ru(t,n)},af=function(t,r,n){if(n.throwOnError||!(t instanceof Q))throw t;var a=B.makeSpan(["katex-error"],[new Jt(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},Cs=function(t,r){var n=new mu(r);try{var a=Ru(t,n);return wb(a,t,n)}catch(i){return af(i,t,n)}},sf=function(t,r){var n=new mu(r);try{var a=Ru(t,n);return Ab(a,t,n)}catch(i){return af(i,t,n)}},of="0.16.25",lf={Span:ri,Anchor:gu,SymbolNode:Jt,SvgNode:Br,PathNode:rn,LineN
vendor: 4,680 bytes, lines 277-278
277ode:gl},vl={version:of,render:Lu,renderToString:rf,ParseError:Q,SETTINGS_SCHEMA:Na,__parse:nf,__renderToDomTree:Cs,__renderToHTMLTree:sf,__setFontMetrics:lm,__defineSymbol:p,__defineFunction:ie,__defineMacro:_,__domTree:lf};const RS=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Q,SETTINGS_SCHEMA:Na,__defineFunction:ie,__defineMacro:_,__defineSymbol:p,__domTree:lf,__parse:nf,__renderToDomTree:Cs,__renderToHTMLTree:sf,__setFontMetrics:lm,default:vl,get render(){return Lu},renderToString:rf,version:of},Symbol.toStringTag,{value:"Module"})),p8={},g8=[];function b8(e){const t=e||p8;return function(r,n){cu(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:g8,o=s.includes("language-math"),l=s.includes("math-display"),u=s.includes("math-inline");let c=l;if(!o&&!l&&!u)return;let h=i[i.length-1],m=a;if(a.tagName==="code"&&o&&h&&h.type==="element"&&h.tagName==="pre"&&(m=h,h=i[i.length-2],c=!0),!h)return;const f=p5(m,{whitespace:"pre"});let b;try{b=vl.renderToString(f,{...t,displayMode:c,throwOnError:!0})}catch(A){const T=A,w=T.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:T,place:a.position,ruleId:w,source:"rehype-katex"});try{b=vl.renderToString(f,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(A)},children:[{type:"text",value:f}]}]}}typeof b=="string"&&(b=o5(b).children);const E=h.children.indexOf(m);return h.children.splice(E,1,...b),ji})}}function y8(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let s=0;for(;;){let o=r[s];if(o===void 0){const l=Yc(t,r[s-1]);o=l===-1?t.length+1:l+1,r[s]=o}if(o>i)return{line:s+1,column:i-(s>0?r[s-1]:0)+1,offset:i};s++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const o=r[r.length-1],l=Yc(t,o),u=l===-1?t.length+1:l+1;if(o===u)break;r.push(u)}const s=(i.line>1?r[i.line-2]:0)+i.column-1;if(s<r[i.line-1])return s}}}function Yc(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
278`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const uf={}.hasOwnProperty,x8=Object.prototype;function E8(e,t){const r=t||{};return Du({file:r.file||void 0,location:!1,schema:r.space==="svg"?an:Ka,verbose:r.verbose||!1},e)}function Du(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},Mi(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:cf(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=y8(i),o=s.toPoint(0),l=s.toPoint(i.length);r.position={start:o,end:l}}return r}case"#documentType":{const n=t;return r={type:"doctype"},Mi(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},Mi(e,n,r),r}default:return r=_8(e,t),r}}function cf(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Du(e,t[r]);n.push(a)}return n}function _8(e,t){const r=e.schema;e.schema=t.namespaceURI===pr.svg?an:Ka;let n=-1;const a={};for(;++n<t.attrs.length;){const o=t.attrs[n],l=(o.prefix?o.prefix+":":"")+o.name;uf.call(x8,l)||(a[l]=o.value)}const s=(e.schema.space==="svg"?Jd:Zd)(t.tagName,a,cf(e,t.childNodes));if(Mi(e,t,s),s.tagName==="template"){const o=t,l=o.sourceCodeLocation,u=l&&l.startTag&&zn(l.startTag),c=l&&l.endTag&&zn(l.endTag),h=Du(e,o.content);u&&c&&e.file&&(h.position={start:u.end,end:c.start}),s.content=h}return e.schema=r,s}function Mi(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=T8(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function T8(e,t,r){const n=zn(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let s;if(r.attrs)for(s in r.attrs)uf.call(r.attrs,s)&&(i[gs(e.schema,s).property]=zn(r.attrs[s]));r.startTag;const o=zn(r.startTag),l=r.endTag?zn(r.endTag):void 0,u={opening:o};l&&(u.closing=l),u.properties=i,t.data={position:u}}}return n}function zn(e){const t=Xc({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Xc({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Xc(e){return e.line&&e.column?e:void 0}class ai{constructor(t,r,n){this.property=t,this.normal=r,n&&(this.space=n)}}ai.prototype.property={};ai.prototype.normal={};ai.prototype.space=null;function hf(e,t){const r={},n={};let a=-1;for(;++a<e.length;
vendor: 4,170 bytes, line 278
278)Object.assign(r,e[a].property),Object.assign(n,e[a].normal);return new ai(r,n,t)}function kl(e){return e.toLowerCase()}class tr{constructor(t,r){this.property=t,this.attribute=r}}tr.prototype.space=null;tr.prototype.boolean=!1;tr.prototype.booleanish=!1;tr.prototype.overloadedBoolean=!1;tr.prototype.number=!1;tr.prototype.commaSeparated=!1;tr.prototype.spaceSeparated=!1;tr.prototype.commaOrSpaceSeparated=!1;tr.prototype.mustUseProperty=!1;tr.prototype.defined=!1;let v8=0;const ye=An(),Ze=An(),df=An(),Z=An(),Be=An(),Vn=An(),Ht=An();function An(){return 2**++v8}const wl=Object.freeze(Object.defineProperty({__proto__:null,boolean:ye,booleanish:Ze,commaOrSpaceSeparated:Ht,commaSeparated:Vn,number:Z,overloadedBoolean:df,spaceSeparated:Be},Symbol.toStringTag,{value:"Module"})),Lo=Object.keys(wl);class Ou extends tr{constructor(t,r,n,a){let i=-1;if(super(t,r),Qc(this,"space",a),typeof n=="number")for(;++i<Lo.length;){const s=Lo[i];Qc(this,Lo[i],(n&wl[s])===wl[s])}}}Ou.prototype.defined=!0;function Qc(e,t,r){r&&(e[t]=r)}const k8={}.hasOwnProperty;function ta(e){const t={},r={};let n;for(n in e.properties)if(k8.call(e.properties,n)){const a=e.properties[n],i=new Ou(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[kl(n)]=n,r[kl(i.attribute)]=n}return new ai(t,r,e.space)}const mf=ta({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ff=ta({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function pf(e,t){return t in e?e[t]:t}function gf(e,t){return pf(e,t.toLowerCase())}const bf=ta({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:gf,properties:{xmlns:null,xmlnsXLink:null}}),yf=ta({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ze,ariaAutoComplete:null,ariaBusy:Ze,ariaChecked:Ze,ariaColCount:Z,ariaColIndex:Z,ariaColSpan:Z,ariaControls:Be,ariaCurrent:null,ariaDescribedBy:Be,ariaDetails:null,ariaDisabled:Ze,ariaDropEffect:Be,ariaErrorMessage:null,ariaExpanded:Ze,ariaFlowTo:Be,ariaGrabbed:Ze,ariaHasPopup:null,ariaHidden:Ze,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Be,ariaLevel:Z,ariaLive:null,ariaModal:Ze,ariaMultiLine:Ze,ariaMultiSelectable:Ze,ariaOrientation:null,ariaOwns:Be,ariaPlaceholder:null,ariaPosInSet:Z,ariaPressed:Ze,ariaReadOnly:Ze,ariaRelevant:null,ariaRequired:Ze,ariaRoleDescription:Be,ariaRowCount:Z,ariaRowIndex:Z,ariaRowSpan:Z,ariaSelected:Ze,ariaSetSize:Z,ariaSort:null,ariaValueMax:Z,ariaValueMin:Z,ariaValueNow:Z,ariaValueText:null,role:null}}),w8=ta({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:gf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Vn,acceptCharset:Be,accessKey:Be,action:null,allow:null,allowFullScreen:ye,allowPaymentRequest:ye,allowUserMedia:ye,alt:null,as:null,async:ye,autoCapitalize:null,autoComplete:Be,autoFocus:ye,autoPlay:ye,blocking:Be,capture:null,charSet:null,checked:ye,cite:null,className:Be,cols:Z,colSpan:null,content:null,contentEditable:Ze,controls:ye,controlsList:Be,coords:Z|Vn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ye,defer:ye,dir:null,dirName:null,disabled:ye,download:df,draggable:Ze,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ye,formTarget:null,headers:Be,height:Z,hidden:ye,high:Z,href:null,hrefLang:null,htmlFor:Be,httpEquiv:Be,id:null,imageSizes:null,imageSrcSet:null,inert:ye,inputMode:null,integrity:null,is:null,isMap:ye,itemId:null,itemProp:Be,itemRef:Be,itemScope:ye,itemType:Be,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ye,low:Z,manifest:null,max:null,maxLength:Z,media:null,method:null,min:null,minLength:Z,multiple:ye,muted:ye,name:null,nonce:null,noModule:ye,noValidate:ye,onAbort:null,onAfterPrint:null,onAuxCl
278ick: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:ye,optimum:Z,pattern:null,ping:Be,placeholder:null,playsInline:ye,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ye,referrerPolicy:null,rel:Be,required:ye,reversed:ye,rows:Z,rowSpan:Z,sandbox:Be,scope:null,scoped:ye,seamless:ye,selected:ye,shadowRootClonable:ye,shadowRootDelegatesFocus:ye,shadowRootMode:null,shape:null,size:Z,sizes:null,slot:null,span:Z,spellCheck:Ze,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Z,step:null,style:null,tabIndex:Z,target:null,title:null,translate:null,type:null,typeMustMatch:ye,useMap:null,value:Ze,width:Z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Be,axis:null,background:null,bgColor:null,border:Z,borderColor:null,bottomMargin:Z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ye,declare:ye,event:null,face:null,frame:null,frameBorder:null,hSpace:Z,leftMargin:Z,link:null,longDesc:null,lowSrc:null,marginHeight:Z,marginWidth:Z,noResize:ye,noHref:ye,noShade:ye,noWrap:ye,object:null,profile:null,prompt:null,rev:null,rightMargin:Z,rules:null,scheme:null,scrolling:Ze,standby:null,summary:null,text:null,topMargin:Z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ye,disableRemotePlayback:ye,prefix:null,property:null,results:Z,security:null,unselectable:null}}),A8=ta({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
278-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:pf,properties:{about:Ht,accentHeight:Z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Z,amplitude:Z,arabicForm:null,ascent:Z,attributeName:null,attributeType:null,azimuth:Z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Z,by:null,calcMode:null,capHeight:Z,className:Be,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:Z,diffuseConstant:Z,direction:null,display:null,dur:null,divisor:Z,dominantBaseline:null,download:ye,dx:null,dy:null,edgeMode:null,editable:null,elevation:Z,enableBackground:null,end:null,event:null,exponent:Z,externalResourcesRequired:null,fill:null,fillOpacity:Z,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:Vn,g2:Vn,glyphName:Vn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Z,horizOriginX:Z,horizOriginY:Z,id:null,ideographic:Z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Z,k:Z,k1:Z,k2:Z,k3:Z,k4:Z,kernelMatrix:Ht,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Z,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:Z,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,on
278Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Z,overlineThickness:Z,paintOrder:null,panose1:null,path:null,pathLength:Z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Be,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Z,pointsAtY:Z,pointsAtZ:Z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ht,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ht,rev:Ht,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ht,requiredFeatures:Ht,requiredFonts:Ht,requiredFormats:Ht,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:Z,specularExponent:Z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Z,strikethroughThickness:Z,string:null,stroke:null,strokeDashArray:Ht,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Z,strokeOpacity:Z,strokeWidth:null,style:null,surfaceScale:Z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ht,tabIndex:Z,tableValues:null,target:null,targetX:Z,targetY:Z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ht,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Z,underlineThickness:Z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Z,values:null,vAlphabetic:Z,vMathematical:Z,vectorEffect:null,vHanging:Z,vIdeographic:Z,version:null,vertAdvY:Z,vertOriginX:Z,vertOriginY:Z,viewB
vendor: 5,441 bytes, line 278
278ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),S8=/^data[-\w.:]+$/i,Kc=/-[a-z]/g,C8=/[A-Z]/g;function N8(e,t){const r=kl(t);let n=t,a=tr;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&S8.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Kc,R8);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Kc.test(i)){let s=i.replace(C8,I8);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Ou}return new a(n,t)}function I8(e){return"-"+e.toLowerCase()}function R8(e){return e.charAt(1).toUpperCase()}const L8=hf([ff,mf,bf,yf,w8],"html"),xf=hf([ff,mf,bf,yf,A8],"svg"),Zc={}.hasOwnProperty;function Pu(e,t){const r=t||{};function n(a,...i){let s=n.invalid;const o=n.handlers;if(a&&Zc.call(a,e)){const l=String(a[e]);s=Zc.call(o,l)?o[l]:n.unknown}if(s)return s.call(this,a,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const D8={},O8={}.hasOwnProperty,Ef=Pu("type",{handlers:{root:M8,element:U8,text:H8,comment:z8,doctype:F8}});function P8(e,t){const n=(t||D8).space;return Ef(e,n==="svg"?xf:L8)}function M8(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Mu(e.children,r,t),ra(e,r),r}function B8(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Mu(e.children,r,t),ra(e,r),r}function F8(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ra(e,t),t}function H8(e){const t={nodeName:"#text",value:e.value,parentNode:null};return ra(e,t),t}function z8(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return ra(e,t),t}function U8(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=xf);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&O8.call(e.properties,i)){const l=$8(n,i,e.properties[i]);l&&a.push(l)}}const s=n.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:pr[s],childNodes:[],parentNode:null};return o.childNodes=Mu(e.children,o,n),ra(e,o),e.tagName==="template"&&e.content&&(o.content=B8(e.content,n)),o}function $8(e,t,r){const n=N8(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Kl(r):Jl(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=pr[n.space]}return a}function Mu(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=Ef(e[n],r);i.parentNode=t,a.push(i)}return a}function ra(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const _f=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],j8=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ze="�";var v;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(v||(v={}));const Ct={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Tf(e){return e>=55296&&e<=57343}function V8(e){return e>=56320&&e<=57343}function q8(e,t){return(e-55296)*1024+9216+t}function vf(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function kf(e){return e>=64976&&e<=65007||j8.has(e)}var z;(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.invali
vendor: 6,668 bytes, line 278
278dFirstCharacterOfTagName="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"})(z||(z={}));const W8=65536;class G8{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=W8,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,s=a+r,o=i+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(V8(r))return this.pos++,this._addGap(),q8(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;const n=this.html.charCodeAt(r);return n===v.CARRIAGE_RETURN?v.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,v.EOF;let t=this.html.charCodeAt(this.pos);return t===v.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,v.LINE_FEED):t===v.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Tf(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===v.LINE_FEED||t===v.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){vf(t)?this._err(z.controlCharacterInInputStream):kf(t)&&this._err(z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Te;(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"})(Te||(Te={}));function wf(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const Y8=new Uint16Array('
vendor: 16,129 bytes, line 278
278ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\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;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 278
278䐻Ȁ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Ȁ;
vendor: 6,210 bytes, line 278
278astЃ⹧⹲຅脀¶;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;怌
278'.split("").map(e=>e.charCodeAt(0))),X8=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]]);function Q8(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=X8.get(e))!==null&&t!==void 0?t:e}var lt;(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"})(lt||(lt={}));const K8=32;var Jr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Jr||(Jr={}));function Al(e){return e>=lt.ZERO&&e<=lt.NINE}function Z8(e){return e>=lt.UPPER_A&&e<=lt.UPPER_F||e>=lt.LOWER_A&&e<=lt.LOWER_F}function J8(e){return e>=lt.UPPER_A&&e<=lt.UPPER_Z||e>=lt.LOWER_A&&e<=lt.LOWER_Z||Al(e)}function e7(e){return e===lt.EQUALS||J8(e)}var st;(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"})(st||(st={}));var Lr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Lr||(Lr={}));class t7{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=st.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Lr.Strict}startEntity(t){this.decodeMode=t,this.state=st.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case st.EntityStart:return t.charCodeAt(r)===lt.NUM?(this.state=st.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=st.NamedEntity,this.stateNamedEntity(t,r));case st.NumericStart:return this.stateNumericStart(t,r);case st.NumericDecimal:return this.stateNumericDecimal(t,r);case st.NumericHex:return this.stateNumericHex(t,r);case st.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|K8)===lt.LOWER_X?(this.state=st.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=st.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(Al(a)||Z8(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(Al(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===lt.SEMI)this.consumed+=1;else if(this.decodeMode===Lr.Strict)return 0;return this.emitCodePoint(Q8(this.result),this.consumed),this.errors&&(t!==lt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&Jr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=r7(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Lr.Attribute&&(i===0||e7(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&Jr.VALUE_LENGTH)>>14,i!==0){if(s===lt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Lr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&Jr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~Jr.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case st.NamedEntity:return this.result!==0&&(this.decodeMode!==Lr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case st.NumericDecimal:return this.emitNumericEntity(0,2);case st.NumericHex:return this.emitNumericEntity(0,3);case st.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case st.EntityStart:return 0}}}function r7(e,t,r,n){const a=(t&Jr.BRANCH_LENGTH)>>7,i=t&Jr.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const l=n-i;return l<0||l>=a?-1:e[r+l]-1}let s=r,o=s+a-1;for(;s<=o;){const l=s+o>>>1,u=e[l];if(u<n)s=l+1;else if(u>n)o=l-1;else return e[l+a]}return-1}var q;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(q||(q={}));var yn;(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"})(yn||(yn={}));var Yt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Yt||(Yt={}));var M;(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.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="str
278ike",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"})(M||(M={}));var d;(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.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const n7=new Map([[M.A,d.A],[M.ADDRESS,d.ADDRESS],[M.ANNOTATION_XML,d.ANNOTATION_XML],[M.APPLET,d.APPLET],[M.AREA,d.AREA],[M.ARTICLE,d.ARTICLE],[M.ASIDE,d.ASIDE],[M.B,d.B],[M.BASE,d.BASE],[M.BASEFONT,d.BASEFONT],[M.BGSOUND,d.BGSOUND],[M.BIG,d.BIG],[M.BLOCKQUOTE,d.BLOCKQUOTE],[M.BODY,d.BODY],[M.BR,d.BR],[M.BUTTON,d.BUTTON],[M.CAPTION,d.CAPTION],[M.CENTER,d.CENTER],[M.CODE,d.CODE],[M.COL,d.COL],[M.COLGROUP,d.COLGROUP],[M.DD,d.DD],[M.DESC,d.DESC],[M.DETAILS,d.DETAILS],[M.DIALOG,d.DIALOG],[M.DIR,d.DIR],[M.DIV,d.DIV],[M.DL,d.DL],[M.DT,d.DT],[M.EM,d.EM],[M.EMBED,d.EMBED],[M.FIELDSET,d.FIELDSET],[M.FIGCAPTION,d.FIGCAPTION],[M.FIGURE,d.FIGURE],[M.FONT,d.FONT],[M.FOOTER,d.FOOTER],[M.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[M.FORM,d.FORM],[M.FRAME,d.FRAME],[M.FRAMESET,d.FRAMESET],[M.H1,d.H1],[M.H2,d.H2],[M.H3,d.H3],[M.H4,d.H4],[M.H5,d.H5],[M.H6,d.H6],[M.HEAD,d.HEAD],[M.HEADER,d.HEADER],[M.HGROUP,d.HGROUP],[M.HR,d.HR],[M.HTML,d.HTML],[M.I,d.I],[M.IMG,d.IMG],[M.IMAGE,d.IMAGE],[M.INPUT,d.INPUT],[M.IFRAME,d.IFRAME],[M.KEYGEN,d.KEYGEN],[M.LABEL,d.LABEL],[M.LI,d.LI],[M.LINK,d.LINK],[M.LISTING,d.LISTING],[M.MAIN,d.MAIN],[M.MALIGNMARK,d.MALIGNMARK],[M.MARQUEE,d.MARQUEE],[M.MATH,d.MATH],[M.MENU,d.MENU],[M.META,d.META],[M.MGLYPH,d.MGLYPH],[M.MI,d.MI],[M.MO,d.MO],[M.MN,d.MN],[M.MS,d.MS],[M.MTEXT,d.MTEXT],[M.NAV,d.NAV],[M.NOBR,d.NOBR],[M.NOFRAMES,d.NOFRAMES],[M.NOEMBED,d.NOEMBED],[M.NOSCRIPT,d.NOSCRIPT],[M.OBJECT,d.OBJECT],[M.OL,d.OL],[M.OPTGROUP,d.OPTGROUP],[M.OPTION,d.OPTION],[M.P,d.P],[M.PARAM,d.PARAM],[M.PLAINTEXT,d.PLAINTEXT],[M.PRE,d.PRE],[M.RB,d.RB],[M.RP,d.RP],[M.RT,d.RT],[M.RTC,d.RTC],[M.RUBY,d.RUBY],[M.S,d.S],[M.SCRIPT,d.SCRIPT],[M.SEARCH,d.SEARCH],[M.SECTION,d.SECTION],[M.SELECT,d.SELECT],[M.SOURCE,d.SOURCE],[M.SMALL,d.SMALL],[M.SPAN,d.SPAN],[M.STRIKE,d.STRIKE],[M.STRONG,d.STRONG],[M.STYLE,d.STYLE],[M.SUB,d.SUB],[M.SUMMARY,d.SUM
vendor: 17,353 bytes, line 278
278MARY],[M.SUP,d.SUP],[M.TABLE,d.TABLE],[M.TBODY,d.TBODY],[M.TEMPLATE,d.TEMPLATE],[M.TEXTAREA,d.TEXTAREA],[M.TFOOT,d.TFOOT],[M.TD,d.TD],[M.TH,d.TH],[M.THEAD,d.THEAD],[M.TITLE,d.TITLE],[M.TR,d.TR],[M.TRACK,d.TRACK],[M.TT,d.TT],[M.U,d.U],[M.UL,d.UL],[M.SVG,d.SVG],[M.VAR,d.VAR],[M.WBR,d.WBR],[M.XMP,d.XMP]]);function na(e){var t;return(t=n7.get(e))!==null&&t!==void 0?t:d.UNKNOWN}const Y=d,a7={[q.HTML]:new Set([Y.ADDRESS,Y.APPLET,Y.AREA,Y.ARTICLE,Y.ASIDE,Y.BASE,Y.BASEFONT,Y.BGSOUND,Y.BLOCKQUOTE,Y.BODY,Y.BR,Y.BUTTON,Y.CAPTION,Y.CENTER,Y.COL,Y.COLGROUP,Y.DD,Y.DETAILS,Y.DIR,Y.DIV,Y.DL,Y.DT,Y.EMBED,Y.FIELDSET,Y.FIGCAPTION,Y.FIGURE,Y.FOOTER,Y.FORM,Y.FRAME,Y.FRAMESET,Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6,Y.HEAD,Y.HEADER,Y.HGROUP,Y.HR,Y.HTML,Y.IFRAME,Y.IMG,Y.INPUT,Y.LI,Y.LINK,Y.LISTING,Y.MAIN,Y.MARQUEE,Y.MENU,Y.META,Y.NAV,Y.NOEMBED,Y.NOFRAMES,Y.NOSCRIPT,Y.OBJECT,Y.OL,Y.P,Y.PARAM,Y.PLAINTEXT,Y.PRE,Y.SCRIPT,Y.SECTION,Y.SELECT,Y.SOURCE,Y.STYLE,Y.SUMMARY,Y.TABLE,Y.TBODY,Y.TD,Y.TEMPLATE,Y.TEXTAREA,Y.TFOOT,Y.TH,Y.THEAD,Y.TITLE,Y.TR,Y.TRACK,Y.UL,Y.WBR,Y.XMP]),[q.MATHML]:new Set([Y.MI,Y.MO,Y.MN,Y.MS,Y.MTEXT,Y.ANNOTATION_XML]),[q.SVG]:new Set([Y.TITLE,Y.FOREIGN_OBJECT,Y.DESC]),[q.XLINK]:new Set,[q.XML]:new Set,[q.XMLNS]:new Set},Sl=new Set([Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6]);M.STYLE,M.SCRIPT,M.XMP,M.IFRAME,M.NOEMBED,M.NOFRAMES,M.PLAINTEXT;var S;(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.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(S||(S={}));const Xe={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function i7(e){return e>=v.DIGIT_0&&e<=v.DIGIT_9}function va(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_Z}function s7(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_Z}function Yr(e){return s7(e)||va(e)}function Jc(e){return Yr(e)||i7(e)}function ki(e){return e+32}function Af(e){return e===v.SPACE||e===v.LINE_FEED||e===v.TABULATION||e===v.FORM_FEED}function eh(e){return Af(e)||e===v.SOLIDUS||e===v.GREATER_THAN_SIGN}function o7(e){return e===v.NULL?z.nullCharacterReference:e>1114111?z.characterReferenceOutsideUnicodeRange:Tf(e)?z.surrogateCharacterReference:kf(e)?z.noncharacterCharacterReference:vf(e)||e===v.CARRIAGE_RETURN?z.controlCharacterReference:null}class l7{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new G8(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new t7(Y8,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=o7(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Te.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Te.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Te.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Te.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(wf(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=na(t.tagName),t.type===Te.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(z.endTagWithAttributes),t.selfClosing&&this._err(z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Te.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Te.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Te.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Te.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=Af(t)?Te.WHITESPACE_CHARACTER:t===v.NULL?Te.NULL_CHARACTER:Te.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Te.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=S.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Lr.Attribute:Lr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case S.DATA:{this._stateData(t);break}case S.RCDATA:{this._stateRcdata(t);break}case S.RAWTEXT:{this._stateRawtext(t);break}case S.SCRIPT_DATA:{this._stateScriptData(t);break}case S.PLAINTEXT:{this._statePlaintext(t);break}case S.TAG_OPEN:{this._stateTagOpen(t);break}case S.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case S.TAG_NAME:{this._stateTagName(t);break}case S.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case S.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case S.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case S.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case S.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case S.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case S.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case S.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case S.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case S.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case S.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case S.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case S.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case S.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case S.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case S.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case S.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case S.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case S.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case S.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case S.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case S.BOGUS_COMMENT:{this._stateBogusComment(t);break}case S.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case S.COMMENT_START:{this._stateCommentStart(t);break}case S.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case S.COMMENT:{this._stateComment(t);break}case S.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case S.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case S.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case S.COMMENT_END:{this._stateCommentEnd(t);break}case S.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case S.DOCTYPE:{this._stateDoctype(t);break}case S.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case S.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case S.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctype
vendor: 2,156 bytes, line 278
278SystemIdentifier(t);break}case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case S.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case S.CDATA_SECTION:{this._stateCdataSection(t);break}case S.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case S.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case S.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case S.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case v.LESS_THAN_SIGN:{this.state=S.TAG_OPEN;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitCodePoint(t);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case v.AMPERSAND:{this._startCharacterReference();break}case v.LESS_THAN_SIGN:{this.state=S.RCDATA_LESS_THAN_SIGN;break}case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ze);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case v.LESS_THAN_SIGN:{this.state=S.RAWTEXT_LESS_THAN_SIGN;break}case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ze);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break}case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ze);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ze);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Yr(t))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(t);else switch(t){case v.EXCLAMATION_MARK:{this.state=S.MARKUP_DECLARATION_OPEN;break}
vendor: 5,359 bytes, line 278
278case v.SOLIDUS:{this.state=S.END_TAG_OPEN;break}case v.QUESTION_MARK:{this._err(z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(t);break}case v.EOF:{this._err(z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Yr(t))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(t);else switch(t){case v.GREATER_THAN_SIGN:{this._err(z.missingEndTagName),this.state=S.DATA;break}case v.EOF:{this._err(z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=S.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=S.BEFORE_ATTRIBUTE_NAME;break}case v.SOLIDUS:{this.state=S.SELF_CLOSING_START_TAG;break}case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentTagToken();break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.tagName+=ze;break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(va(t)?ki(t):t)}}_stateRcdataLessThanSign(t){t===v.SOLIDUS?this.state=S.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=S.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Yr(t)?(this.state=S.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=S.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=S.BEFORE_ATTRIBUTE_NAME,!1;case v.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=S.SELF_CLOSING_START_TAG,!1;case v.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=S.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===v.SOLIDUS?this.state=S.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=S.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Yr(t)?(this.state=S.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=S.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case v.SOLIDUS:{this.state=S.SCRIPT_DATA_END_TAG_OPEN;break}case v.EXCLAMATION_MARK:{this.state=S.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=S.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Yr(t)?(this.state=S.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===v.HYPHEN_MINUS?(this.state=S.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===v.HYPHEN_MINUS?(this.state=S.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case v.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ze);break}case v.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case v.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars(ze);break}case v.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case v.HYPHEN_MINUS:{this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.GREATER_THAN_SIGN:{this.state=S.SCRIPT_DATA,this._emitChars(">");break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars(ze);break}case v.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===v.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Yr(t)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscape
vendor: 4,120 bytes, line 278
278Start(t)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Yr(t)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Ct.SCRIPT,!1)&&eh(this.preprocessor.peek(Ct.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Ct.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case v.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ze);break}case v.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case v.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ze);break}case v.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case v.HYPHEN_MINUS:{this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.GREATER_THAN_SIGN:{this.state=S.SCRIPT_DATA,this._emitChars(">");break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ze);break}case v.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===v.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Ct.SCRIPT,!1)&&eh(this.preprocessor.peek(Ct.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Ct.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=S.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:{this.state=S.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case v.EQUALS_SIGN:{this._err(z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=S.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=S.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:{this._leaveAttrName(),this.state=S.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case v.EQUALS_SIGN:{this._leaveAttrName(),this.state=S.BEFORE_ATTRIBUTE_VALUE;break}case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:{this._err(z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.name+=ze;break}default:this.currentAttr.name+=String.fromCodePoint(va(t)?ki(t):t)}}_stateAfterAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;
vendor: 2,452 bytes, line 278
278case v.SOLIDUS:{this.state=S.SELF_CLOSING_START_TAG;break}case v.EQUALS_SIGN:{this.state=S.BEFORE_ATTRIBUTE_VALUE;break}case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=S.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{this.state=S.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this.state=S.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(z.missingAttributeValue),this.state=S.DATA,this.emitCurrentTagToken();break}default:this.state=S.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case v.QUOTATION_MARK:{this.state=S.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ze;break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case v.APOSTROPHE:{this.state=S.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ze;break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this._leaveAttrValue(),this.state=S.BEFORE_ATTRIBUTE_NAME;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=S.DATA,this.emitCurrentTagToken();break}case v.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ze;break}case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:case v.EQUALS_SIGN:case v.GRAVE_ACCENT:{this._err(z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this._leaveAttrValue(),this.state=S.BEFORE_ATTRIBUTE_NAME;break}
vendor: 84,702 bytes, line 278
278case v.SOLIDUS:{this._leaveAttrValue(),this.state=S.SELF_CLOSING_START_TAG;break}case v.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=S.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBetweenAttributes),this.state=S.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case v.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=S.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.unexpectedSolidusInTag),this.state=S.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentComment(r);break}case v.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.data+=ze;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ct.DASH_DASH,!0)?(this._createCommentToken(Ct.DASH_DASH.length+1),this.state=S.COMMENT_START):this._consumeSequenceIfMatch(Ct.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ct.DOCTYPE.length+1),this.state=S.DOCTYPE):this._consumeSequenceIfMatch(Ct.CDATA_START,!0)?this.inForeignNode?this.state=S.CDATA_SECTION:(this._err(z.cdataInHtmlContent),this._createCommentToken(Ct.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=S.BOGUS_COMMENT):this._ensureHibernation()||(this._err(z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=S.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case v.HYPHEN_MINUS:{this.state=S.COMMENT_START_DASH;break}case v.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=S.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=S.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=S.COMMENT_END;break}case v.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=S.DATA,this.emitCurrentComment(r);break}case v.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=S.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=S.COMMENT_END_DASH;break}case v.LESS_THAN_SIGN:{r.data+="<",this.state=S.COMMENT_LESS_THAN_SIGN;break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.data+=ze;break}case v.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case v.EXCLAMATION_MARK:{r.data+="!",this.state=S.COMMENT_LESS_THAN_SIGN_BANG;break}case v.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=S.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===v.HYPHEN_MINUS?this.state=S.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=S.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===v.HYPHEN_MINUS?this.state=S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=S.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==v.GREATER_THAN_SIGN&&t!==v.EOF&&this._err(z.nestedComment),this.state=S.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=S.COMMENT_END;break}case v.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=S.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentComment(r);break}case v.EXCLAMATION_MARK:{this.state=S.COMMENT_END_BANG;break}case v.HYPHEN_MINUS:{r.data+="-";break}case v.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=S.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case v.HYPHEN_MINUS:{r.data+="--!",this.state=S.COMMENT_END_DASH;break}case v.GREATER_THAN_SIGN:{this._err(z.incorrectlyClosedComment),this.state=S.DATA,this.emitCurrentComment(r);break}case v.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=S.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=S.BEFORE_DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this.state=S.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case v.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBeforeDoctypeName),this.state=S.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(va(t))this._createDoctypeToken(String.fromCharCode(ki(t))),this.state=S.DOCTYPE_NAME;else switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.NULL:{this._err(z.unexpectedNullCharacter),this._createDoctypeToken(ze),this.state=S.DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this._err(z.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=S.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=S.AFTER_DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.name+=ze;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(va(t)?ki(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ct.PUBLIC,!1)?this.state=S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ct.SYSTEM,!1)?this.state=S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(z.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{r.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{r.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case v.QUOTATION_MARK:{this.state=S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.publicId+=ze;break}case v.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case v.APOSTROPHE:{this.state=S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.publicId+=ze;break}case v.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case v.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.QUOTATION_MARK:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.QUOTATION_MARK:{r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{r.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(r);break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case v.QUOTATION_MARK:{this.state=S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.systemId+=ze;break}case v.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case v.APOSTROPHE:{this.state=S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.NULL:{this._err(z.unexpectedNullCharacter),r.systemId+=ze;break}case v.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=S.DATA;break}case v.NULL:{this._err(z.unexpectedNullCharacter);break}case v.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case v.RIGHT_SQUARE_BRACKET:{this.state=S.CDATA_SECTION_BRACKET;break}case v.EOF:{this._err(z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===v.RIGHT_SQUARE_BRACKET?this.state=S.CDATA_SECTION_END:(this._emitChars("]"),this.state=S.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case v.GREATER_THAN_SIGN:{this.state=S.DATA;break}case v.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=S.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Jc(this.preprocessor.peek(1))?S.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Jc(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===v.SEMICOLON&&this._err(z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Sf=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),th=new Set([...Sf,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Xi=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),u7=new Set([...Xi,d.OL,d.UL]),c7=new Set([...Xi,d.BUTTON]),rh=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),nh=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),h7=new Set([d.TR,d.TEMPLATE,d.HTML]),d7=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),m7=new Set([d.TABLE,d.TEMPLATE,d.HTML]),f7=new Set([d.TD,d.TH]);class p7{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===q.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==q.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Sl,q.HTML)}popUntilTableCellPopped(){this.popUntilPopped(f7,q.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(m7,q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(d7,q.HTML)}clearBackToTableRowContext(){this.clearBackTo(h7,q.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case q.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case q.SVG:{if(nh.has(a))return!1;break}case q.MATHML:{if(rh.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Xi)}hasInListItemScope(t){return this.hasInDynamicScope(t,u7)}hasInButtonScope(t){return this.hasInDynamicScope(t,c7)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case q.HTML:{if(Sl.has(r))return!0;if(Xi.has(r))return!1;break}case q.SVG:{if(nh.has(r))return!1;break}case q.MATHML:{if(rh.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===q.HTML)switch(this.tagIDs[r]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===q.HTML)switch(this.tagIDs[r]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Sf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&th.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&th.has(this.currentTagId);)this.pop()}}const Do=3;var fr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(fr||(fr={}));const ah={type:fr.Marker};class g7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===fr.Marker)break;const{element:u}=l;if(this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===s){const c=this.treeAdapter.getAttrList(u);c.length===a&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<Do)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<Do)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=Do&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(ah)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:fr.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:fr.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(ah);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===fr.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===fr.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===fr.Element&&r.element===t)}}const Xr={createDocument(){return{nodeName:"#document",mode:Yt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Xr.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(Xr.isTextNode(r)){r.value+=t;return}}Xr.appendChild(e,Xr.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Xr.isTextNode(n)?n.value+=t:Xr.insertBefore(e,Xr.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Cf="html",b7="about:legacy-compat",y7="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Nf=["+//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//"],x7=[...Nf,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],E7=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),If=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],_7=[...If,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ih(e,t){return t.some(r=>e.startsWith(r))}function T7(e){return e.name===Cf&&e.publicId===null&&(e.systemId===null||e.systemId===b7)}function v7(e){if(e.name!==Cf)return Yt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===y7)return Yt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),E7.has(r))return Yt.QUIRKS;let n=t===null?x7:Nf;if(ih(r,n))return Yt.QUIRKS;if(n=t===null?If:_7,ih(r,n))return Yt.LIMITED_QUIRKS}return Yt.NO_QUIRKS}const sh={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},k7="definitionurl",w7="definitionURL",A7=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])),S7=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:q.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:q.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:q.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:q.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:q.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:q.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:q.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:q.XML}],["xml:space",{prefix:"xml",name:"space",namespace:q.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:q.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:q.XMLNS}]]),C7=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])),N7=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function I7(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:n})=>n===yn.COLOR||n===yn.SIZE||n===yn.FACE)||N7.has(t)}function Rf(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===k7){e.attrs[t].name=w7;break}}function Lf(e){for(let t=0;t<e.attrs.length;t++){const r=A7.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Bu(e){for(let t=0;t<e.attrs.length;t++){const r=S7.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function R7(e){const t=C7.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=na(e.tagName))}function L7(e,t){return t===q.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function D7(e,t,r){if(t===q.MATHML&&e===d.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===yn.ENCODING){const a=r[n].value.toLowerCase();return a===sh.TEXT_HTML||a===sh.APPLICATION_XML}}return t===q.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function O7(e,t,r,n){return(!n||n===q.HTML)&&D7(e,t,r)||(!n||n===q.MATHML)&&L7(e,t)}const P7="hidden",M7=8,B7=3;var I;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(I||(I={}));const F7={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Df=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),oh={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Xr,onParseError:null};class lh{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=I.INITIAL,this.originalInsertionMode=I.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...oh,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new l7(this.options,this),this.activeFormattingElements=new g7(this.treeAdapter),this.fragmentContextID=n?na(this.treeAdapter.getTagName(n)):d.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new p7(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...oh,...r};t??(t=n.treeAdapter.createElement(M.TEMPLATE,q.HTML,[]));const a=n.treeAdapter.createElement("documentmock",q.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===d.TEMPLATE&&i.tmplInsertionModeStack.unshift(I.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:F7,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===q.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,q.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=I.TEXT}switchToPlaintextParsing(){this.insertionMode=I.TEXT,this.originalInsertionMode=I.IN_BODY,this.tokenizer.state=Xe.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===M.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==q.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=Xe.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=Xe.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=Xe.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=Xe.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,q.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,q.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(M.HTML,q.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:l,endCol:u,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:u,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===Te.END_TAG&&a===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(r)===M.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===q.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,q.HTML)}_processToken(t){switch(t.type){case Te.CHARACTER:{this.onCharacter(t);break}case Te.NULL_CHARACTER:{this.onNullCharacter(t);break}case Te.COMMENT:{this.onComment(t);break}case Te.DOCTYPE:{this.onDoctype(t);break}case Te.START_TAG:{this._processStartTag(t);break}case Te.END_TAG:{this.onEndTag(t);break}case Te.EOF:{this.onEof(t);break}case Te.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return O7(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===fr.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=I.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=I.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=I.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=I.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=I.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=I.IN_TABLE;return}case d.BODY:{this.insertionMode=I.IN_BODY;return}case d.FRAMESET:{this.insertionMode=I.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?I.AFTER_HEAD:I.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=I.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=I.IN_HEAD;return}break}}this.insertionMode=I.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===d.TEMPLATE)break;if(n===d.TABLE){this.insertionMode=I.IN_SELECT_IN_TABLE;return}}this.insertionMode=I.IN_SELECT}_isElementCausesFosterParenting(t){return Df.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===q.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case d.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return a7[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){fx(this,t);return}switch(this.insertionMode){case I.INITIAL:{ga(this,t);break}case I.BEFORE_HTML:{Ra(this,t);break}case I.BEFORE_HEAD:{La(this,t);break}case I.IN_HEAD:{Da(this,t);break}case I.IN_HEAD_NO_SCRIPT:{Oa(this,t);break}case I.AFTER_HEAD:{Pa(this,t);break}case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:{Pf(this,t);break}case I.TEXT:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:{Oo(this,t);break}case I.IN_TABLE_TEXT:{Uf(this,t);break}case I.IN_COLUMN_GROUP:{Qi(this,t);break}case I.AFTER_BODY:{Ki(this,t);break}case I.AFTER_AFTER_BODY:{Bi(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){mx(this,t);return}switch(this.insertionMode){case I.INITIAL:{ga(this,t);break}case I.BEFORE_HTML:{Ra(this,t);break}case I.BEFORE_HEAD:{La(this,t);break}case I.IN_HEAD:{Da(this,t);break}case I.IN_HEAD_NO_SCRIPT:{Oa(this,t);break}case I.AFTER_HEAD:{Pa(this,t);break}case I.TEXT:{this._insertCharacters(t);break}case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:{Oo(this,t);break}case I.IN_COLUMN_GROUP:{Qi(this,t);break}case I.AFTER_BODY:{Ki(this,t);break}case I.AFTER_AFTER_BODY:{Bi(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Cl(this,t);return}switch(this.insertionMode){case I.INITIAL:case I.BEFORE_HTML:case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_TEMPLATE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:{Cl(this,t);break}case I.IN_TABLE_TEXT:{ba(this,t);break}case I.AFTER_BODY:{q7(this,t);break}case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:{W7(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case I.INITIAL:{G7(this,t);break}case I.BEFORE_HEAD:case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:{this._err(t,z.misplacedDoctype);break}case I.IN_TABLE_TEXT:{ba(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?px(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case I.INITIAL:{ga(this,t);break}case I.BEFORE_HTML:{Y7(this,t);break}case I.BEFORE_HEAD:{Q7(this,t);break}case I.IN_HEAD:{sr(this,t);break}case I.IN_HEAD_NO_SCRIPT:{J7(this,t);break}case I.AFTER_HEAD:{ty(this,t);break}case I.IN_BODY:{bt(this,t);break}case I.IN_TABLE:{Xn(this,t);break}case I.IN_TABLE_TEXT:{ba(this,t);break}case I.IN_CAPTION:{Ky(this,t);break}case I.IN_COLUMN_GROUP:{zu(this,t);break}case I.IN_TABLE_BODY:{Rs(this,t);break}case I.IN_ROW:{Ls(this,t);break}case I.IN_CELL:{ex(this,t);break}case I.IN_SELECT:{Vf(this,t);break}case I.IN_SELECT_IN_TABLE:{rx(this,t);break}case I.IN_TEMPLATE:{ax(this,t);break}case I.AFTER_BODY:{sx(this,t);break}case I.IN_FRAMESET:{ox(this,t);break}case I.AFTER_FRAMESET:{ux(this,t);break}case I.AFTER_AFTER_BODY:{hx(this,t);break}case I.AFTER_AFTER_FRAMESET:{dx(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?gx(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case I.INITIAL:{ga(this,t);break}case I.BEFORE_HTML:{X7(this,t);break}case I.BEFORE_HEAD:{K7(this,t);break}case I.IN_HEAD:{Z7(this,t);break}case I.IN_HEAD_NO_SCRIPT:{ey(this,t);break}case I.AFTER_HEAD:{ry(this,t);break}case I.IN_BODY:{Is(this,t);break}case I.TEXT:{Uy(this,t);break}case I.IN_TABLE:{ja(this,t);break}case I.IN_TABLE_TEXT:{ba(this,t);break}case I.IN_CAPTION:{Zy(this,t);break}case I.IN_COLUMN_GROUP:{Jy(this,t);break}case I.IN_TABLE_BODY:{Nl(this,t);break}case I.IN_ROW:{jf(this,t);break}case I.IN_CELL:{tx(this,t);break}case I.IN_SELECT:{qf(this,t);break}case I.IN_SELECT_IN_TABLE:{nx(this,t);break}case I.IN_TEMPLATE:{ix(this,t);break}case I.AFTER_BODY:{Gf(this,t);break}case I.IN_FRAMESET:{lx(this,t);break}case I.AFTER_FRAMESET:{cx(this,t);break}case I.AFTER_AFTER_BODY:{Bi(this,t);break}}}onEof(t){switch(this.insertionMode){case I.INITIAL:{ga(this,t);break}case I.BEFORE_HTML:{Ra(this,t);break}case I.BEFORE_HEAD:{La(this,t);break}case I.IN_HEAD:{Da(this,t);break}case I.IN_HEAD_NO_SCRIPT:{Oa(this,t);break}case I.AFTER_HEAD:{Pa(this,t);break}case I.IN_BODY:case I.IN_TABLE:case I.IN_CAPTION:case I.IN_COLUMN_GROUP:case I.IN_TABLE_BODY:case I.IN_ROW:case I.IN_CELL:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:{Hf(this,t);break}case I.TEXT:{$y(this,t);break}case I.IN_TABLE_TEXT:{ba(this,t);break}case I.IN_TEMPLATE:{Wf(this,t);break}case I.AFTER_BODY:case I.IN_FRAMESET:case I.AFTER_FRAMESET:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:{Hu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===v.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case I.IN_HEAD:case I.IN_HEAD_NO_SCRIPT:case I.AFTER_HEAD:case I.TEXT:case I.IN_COLUMN_GROUP:case I.IN_SELECT:case I.IN_SELECT_IN_TABLE:case I.IN_FRAMESET:case I.AFTER_FRAMESET:{this._insertCharacters(t);break}case I.IN_BODY:case I.IN_CAPTION:case I.IN_CELL:case I.IN_TEMPLATE:case I.AFTER_BODY:case I.AFTER_AFTER_BODY:case I.AFTER_AFTER_FRAMESET:{Of(this,t);break}case I.IN_TABLE:case I.IN_TABLE_BODY:case I.IN_ROW:{Oo(this,t);break}case I.IN_TABLE_TEXT:{zf(this,t);break}}}}function H7(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):Ff(e,t),r}function z7(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function U7(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,s=a;s!==r;i++,s=a){a=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),l=o&&i>=B7;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=$7(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function $7(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function j7(e,t,r){const n=e.treeAdapter.getTagName(t),a=na(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===d.TEMPLATE&&i===q.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function V7(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function Fu(e,t){for(let r=0;r<M7;r++){const n=H7(e,t);if(!n)break;const a=z7(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=U7(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&j7(e,s,i),V7(e,a,n)}}function Cl(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function q7(e,t){e._appendCommentNode(t,e.openElements.items[0])}function W7(e,t){e._appendCommentNode(t,e.document)}function Hu(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],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 i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function G7(e,t){e._setDocumentType(t);const r=t.forceQuirks?Yt.QUIRKS:v7(t);T7(t)||e._err(t,z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=I.BEFORE_HTML}function ga(e,t){e._err(t,z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Yt.QUIRKS),e.insertionMode=I.BEFORE_HTML,e._processToken(t)}function Y7(e,t){t.tagID===d.HTML?(e._insertElement(t,q.HTML),e.insertionMode=I.BEFORE_HEAD):Ra(e,t)}function X7(e,t){const r=t.tagID;(r===d.HTML||r===d.HEAD||r===d.BODY||r===d.BR)&&Ra(e,t)}function Ra(e,t){e._insertFakeRootElement(),e.insertionMode=I.BEFORE_HEAD,e._processToken(t)}function Q7(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.HEAD:{e._insertElement(t,q.HTML),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD;break}default:La(e,t)}}function K7(e,t){const r=t.tagID;r===d.HEAD||r===d.BODY||r===d.HTML||r===d.BR?La(e,t):e._err(t,z.endTagWithoutMatchingOpenElement)}function La(e,t){e._insertFakeElement(M.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=I.IN_HEAD,e._processToken(t)}function sr(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,Xe.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Xe.RAWTEXT):(e._insertElement(t,q.HTML),e.insertionMode=I.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,Xe.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,Xe.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=I.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(I.IN_TEMPLATE);break}case d.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:Da(e,t)}}function Z7(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=I.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{Da(e,t);break}case d.TEMPLATE:{Sn(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function Sn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,z.endTagWithoutMatchingOpenElement)}function Da(e,t){e.openElements.pop(),e.insertionMode=I.AFTER_HEAD,e._processToken(t)}function J7(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{sr(e,t);break}case d.NOSCRIPT:{e._err(t,z.nestedNoscriptInHead);break}default:Oa(e,t)}}function ey(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=I.IN_HEAD;break}case d.BR:{Oa(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function Oa(e,t){const r=t.type===Te.EOF?z.openElementsLeftAfterEof:z.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=I.IN_HEAD,e._processToken(t)}function ty(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.BODY:{e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=I.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,q.HTML),e.insertionMode=I.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,z.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),sr(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:Pa(e,t)}}function ry(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{Pa(e,t);break}case d.TEMPLATE:{Sn(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function Pa(e,t){e._insertFakeElement(M.BODY,d.BODY),e.insertionMode=I.IN_BODY,Ns(e,t)}function Ns(e,t){switch(t.type){case Te.CHARACTER:{Pf(e,t);break}case Te.WHITESPACE_CHARACTER:{Of(e,t);break}case Te.COMMENT:{Cl(e,t);break}case Te.START_TAG:{bt(e,t);break}case Te.END_TAG:{Is(e,t);break}case Te.EOF:{Hf(e,t);break}}}function Of(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Pf(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ny(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function ay(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function iy(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,q.HTML),e.insertionMode=I.IN_FRAMESET)}function sy(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function oy(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Sl.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,q.HTML)}function ly(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function uy(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,q.HTML),r||(e.formElement=e.openElements.current))}function cy(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===d.LI&&a===d.LI||(r===d.DD||r===d.DT)&&(a===d.DD||a===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==d.ADDRESS&&a!==d.DIV&&a!==d.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function hy(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.tokenizer.state=Xe.PLAINTEXT}function dy(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1}function my(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(M.A);r&&(Fu(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function fy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function py(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Fu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function by(e,t){e.treeAdapter.getDocumentMode(e.document)!==Yt.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=I.IN_TABLE}function Mf(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Bf(e){const t=wf(e,yn.TYPE);return t!=null&&t.toLowerCase()===P7}function yy(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),Bf(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function xy(e,t){e._appendElement(t,q.HTML),t.ackSelfClosing=!0}function Ey(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function _y(e,t){t.tagName=M.IMG,t.tagID=d.IMG,Mf(e,t)}function Ty(e,t){e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Xe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=I.TEXT}function vy(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Xe.RAWTEXT)}function ky(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Xe.RAWTEXT)}function uh(e,t){e._switchToTextParsing(t,Xe.RAWTEXT)}function wy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===I.IN_TABLE||e.insertionMode===I.IN_CAPTION||e.insertionMode===I.IN_TABLE_BODY||e.insertionMode===I.IN_ROW||e.insertionMode===I.IN_CELL?I.IN_SELECT_IN_TABLE:I.IN_SELECT}function Ay(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function Sy(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,q.HTML)}function Cy(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,q.HTML)}function Ny(e,t){e._reconstructActiveFormattingElements(),Rf(t),Bu(t),t.selfClosing?e._appendElement(t,q.MATHML):e._insertElement(t,q.MATHML),t.ackSelfClosing=!0}function Iy(e,t){e._reconstructActiveFormattingElements(),Lf(t),Bu(t),t.selfClosing?e._appendElement(t,q.SVG):e._insertElement(t,q.SVG),t.ackSelfClosing=!0}function ch(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function bt(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{fy(e,t);break}case d.A:{my(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{oy(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{sy(e,t);break}case d.LI:case d.DD:case d.DT:{cy(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{Mf(e,t);break}case d.HR:{Ey(e,t);break}case d.RB:case d.RTC:{Sy(e,t);break}case d.RT:case d.RP:{Cy(e,t);break}case d.PRE:case d.LISTING:{ly(e,t);break}case d.XMP:{vy(e,t);break}case d.SVG:{Iy(e,t);break}case d.HTML:{ny(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{sr(e,t);break}case d.BODY:{ay(e,t);break}case d.FORM:{uy(e,t);break}case d.NOBR:{py(e,t);break}case d.MATH:{Ny(e,t);break}case d.TABLE:{by(e,t);break}case d.INPUT:{yy(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{xy(e,t);break}case d.IMAGE:{_y(e,t);break}case d.BUTTON:{dy(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{gy(e,t);break}case d.IFRAME:{ky(e,t);break}case d.SELECT:{wy(e,t);break}case d.OPTION:case d.OPTGROUP:{Ay(e,t);break}case d.NOEMBED:case d.NOFRAMES:{uh(e,t);break}case d.FRAMESET:{iy(e,t);break}case d.TEXTAREA:{Ty(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?uh(e,t):ch(e,t);break}case d.PLAINTEXT:{hy(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:ch(e,t)}}function Ry(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=I.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function Ly(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=I.AFTER_BODY,Gf(e,t))}function Dy(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function Oy(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):r&&e.openElements.remove(r))}function Py(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(M.P,d.P),e._closePElement()}function My(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function By(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function Fy(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Hy(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function zy(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(M.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function Ff(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],s=e.openElements.tagIDs[a];if(n===s&&(n!==d.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,s))break}}function Is(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Fu(e,t);break}case d.P:{Py(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Dy(e,t);break}case d.LI:{My(e);break}case d.DD:case d.DT:{By(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{Fy(e);break}case d.BR:{zy(e);break}case d.BODY:{Ry(e,t);break}case d.HTML:{Ly(e,t);break}case d.FORM:{Oy(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Hy(e,t);break}case d.TEMPLATE:{Sn(e,t);break}default:Ff(e,t)}}function Hf(e,t){e.tmplInsertionModeStack.length>0?Wf(e,t):Hu(e,t)}function Uy(e,t){var r;t.tagID===d.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function $y(e,t){e._err(t,z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Oo(e,t){if(e.openElements.currentTagId!==void 0&&Df.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=I.IN_TABLE_TEXT,t.type){case Te.CHARACTER:{Uf(e,t);break}case Te.WHITESPACE_CHARACTER:{zf(e,t);break}}else ii(e,t)}function jy(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,q.HTML),e.insertionMode=I.IN_CAPTION}function Vy(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=I.IN_COLUMN_GROUP}function qy(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.COLGROUP,d.COLGROUP),e.insertionMode=I.IN_COLUMN_GROUP,zu(e,t)}function Wy(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=I.IN_TABLE_BODY}function Gy(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.TBODY,d.TBODY),e.insertionMode=I.IN_TABLE_BODY,Rs(e,t)}function Yy(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Xy(e,t){Bf(t)?e._appendElement(t,q.HTML):ii(e,t),t.ackSelfClosing=!0}function Qy(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Xn(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{Gy(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{sr(e,t);break}case d.COL:{qy(e,t);break}case d.FORM:{Qy(e,t);break}case d.TABLE:{Yy(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{Wy(e,t);break}case d.INPUT:{Xy(e,t);break}case d.CAPTION:{jy(e,t);break}case d.COLGROUP:{Vy(e,t);break}default:ii(e,t)}}function ja(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Sn(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:ii(e,t)}}function ii(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Ns(e,t),e.fosterParentingEnabled=r}function zf(e,t){e.pendingCharacterTokens.push(t)}function Uf(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ba(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)ii(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const $f=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function Ky(e,t){const r=t.tagID;$f.has(r)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_TABLE,Xn(e,t)):bt(e,t)}function Zy(e,t){const r=t.tagID;switch(r){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_TABLE,r===d.TABLE&&ja(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Is(e,t)}}function zu(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.COL:{e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{sr(e,t);break}default:Qi(e,t)}}function Jy(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE);break}case d.TEMPLATE:{Sn(e,t);break}case d.COL:break;default:Qi(e,t)}}function Qi(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=I.IN_TABLE,e._processToken(t))}function Rs(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,q.HTML),e.insertionMode=I.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(M.TR,d.TR),e.insertionMode=I.IN_ROW,Ls(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,Xn(e,t));break}default:Xn(e,t)}}function Nl(e,t){const r=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE,ja(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:ja(e,t)}}function Ls(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,q.HTML),e.insertionMode=I.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,Rs(e,t));break}default:Xn(e,t)}}function jf(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,Nl(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I.IN_TABLE_BODY,Nl(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:ja(e,t)}}function ex(e,t){const r=t.tagID;$f.has(r)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),Ls(e,t)):bt(e,t)}function tx(e,t){const r=t.tagID;switch(r){case d.TD:case d.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),jf(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:Is(e,t)}}function Vf(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,q.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,q.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{sr(e,t);break}}}function qf(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Sn(e,t);break}}}function rx(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Vf(e,t)}function nx(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):qf(e,t)}function ax(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{sr(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=I.IN_TABLE,e.insertionMode=I.IN_TABLE,Xn(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=I.IN_COLUMN_GROUP,e.insertionMode=I.IN_COLUMN_GROUP,zu(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=I.IN_TABLE_BODY,e.insertionMode=I.IN_TABLE_BODY,Rs(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=I.IN_ROW,e.insertionMode=I.IN_ROW,Ls(e,t);break}default:e.tmplInsertionModeStack[0]=I.IN_BODY,e.insertionMode=I.IN_BODY,bt(e,t)}}function ix(e,t){t.tagID===d.TEMPLATE&&Sn(e,t)}function Wf(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Hu(e,t)}function sx(e,t){t.tagID===d.HTML?bt(e,t):Ki(e,t)}function Gf(e,t){var r;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=I.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Ki(e,t)}function Ki(e,t){e.insertionMode=I.IN_BODY,Ns(e,t)}function ox(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.FRAMESET:{e._insertElement(t,q.HTML);break}case d.FRAME:{e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{sr(e,t);break}}}function lx(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=I.AFTER_FRAMESET))}function ux(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.NOFRAMES:{sr(e,t);break}}}function cx(e,t){t.tagID===d.HTML&&(e.insertionMode=I.AFTER_AFTER_FRAMESET)}function hx(e,t){t.tagID===d.HTML?bt(e,t):Bi(e,t)}function Bi(e,t){e.insertionMode=I.IN_BODY,Ns(e,t)}function dx(e,t){switch(t.tagID){case d.HTML:{bt(e,t);break}case d.NOFRAMES:{sr(e,t);break}}}function mx(e,t){t.chars=ze,e._insertCharacters(t)}function fx(e,t){e._insertCharacters(t),e.framesetOk=!1}function Yf(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==q.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function px(e,t){if(I7(t))Yf(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===q.MATHML?Rf(t):n===q.SVG&&(R7(t),Lf(t)),Bu(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function gx(e,t){if(t.tagID===d.P||t.tagID===d.BR){Yf(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===q.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}M.AREA,M.BASE,M.BASEFONT,M.BGSOUND,M.BR,M.COL,M.EMBED,M.FRAME,M.HR,M.IMG,M.INPUT,M.KEYGEN,M.LINK,M.META,M.PARAM,M.SOURCE,M.TRACK,M.WBR;const bx=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yx=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),hh={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Xf(e,t){const r=Cx(e),n=Pu("type",{handlers:{root:xx,element:Ex,text:_x,comment:Kf,doctype:Tx,raw:kx},unknown:wx}),a={parser:r?new lh(hh):lh.getFragmentParser(void 0,hh),handle(o){n(o,a)},stitches:!1,options:t||{}};n(e,a),aa(a,yr());const i=r?a.parser.document:a.parser.getFragment(),s=E8(i,{file:a.options.file});return a.stitches&&En(s,"comment",function(o,l,u){const c=o;if(c.value.stitch&&u&&l!==void 0){const h=u.children;return h[l]=c.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function Qf(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function xx(e,t){Qf(e.children,t)}function Ex(e,t){Ax(e,t),Qf(e.children,t),Sx(e,t)}function _x(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Te.CHARACTER,chars:e.value,location:si(e)};aa(t,yr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Tx(e,t){const r={type:Te.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:si(e)};aa(t,yr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function vx(e,t){t.stitches=!0;const r=Nx(e);if("children"in e&&"children"in r){const n=Xf({type:"root",children:e.children},t.options);r.children=n.children}Kf({type:"comment",value:{stitch:r}},t)}function Kf(e,t){const r=e.value,n={type:Te.COMMENT,data:r,location:si(e)};aa(t,yr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function kx(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Zf(t,yr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(bx,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function wx(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))vx(r,t);else{let n="";throw yx.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function aa(e,t){Zf(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Xe.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Zf(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function Ax(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Xe.PLAINTEXT)return;aa(t,yr(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:pr.html;a===pr.html&&r==="svg"&&(a=pr.svg);const i=P8({...e,children:[]},{space:a===pr.svg?"svg":"html"}),s={type:Te.START_TAG,tagName:r,tagID:na(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:si(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function Sx(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&_f.includes(r)||t.parser.tokenizer.state===Xe.PLAINTEXT)return;aa(t,bs(e));const n={type:Te.END_TAG,tagName:r,tagID:na(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:si(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Xe.RCDATA||t.parser.tokenizer.state===Xe.RAWTEXT||t.parser.tokenizer.state===Xe.SCRIPT_DATA)&&(t.parser.tokenizer.state=Xe.DATA)}function Cx(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function si(e){const t=yr(e)||{line:void 0,column:void 0,offset:void 0},r=bs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function Nx(e){return"children"in e?Gn({...e,children:[]}):Gn(e)}function Ix(e){return function(t,r){return Xf(t,{...e,file:r})}}function Zi(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function Rx(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Lx(e,t,r){const a=Ja((r||{}).ignore||[]),i=Dx(t);let s=-1;for(;++s<i.length;)cu(e,"text",o);function o(u,c){let h=-1,m;
vendor: 5,018 bytes, lines 278-279
278for(;++h<c.length;){const f=c[h],b=m?m.children:void 0;if(a(f,b?b.indexOf(f):void 0,m))return;m=f}if(m)return l(u,c)}function l(u,c){const h=c[c.length-1],m=i[s][0],f=i[s][1];let b=0;const A=h.children.indexOf(u);let T=!1,w=[];m.lastIndex=0;let L=m.exec(u.value);for(;L;){const $=L.index,U={index:L.index,input:L.input,stack:[...c,u]};let P=f(...L,U);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?m.lastIndex=$+1:(b!==$&&w.push({type:"text",value:u.value.slice(b,$)}),Array.isArray(P)?w.push(...P):P&&w.push(P),b=$+L[0].length,T=!0),!m.global)break;L=m.exec(u.value)}return T?(b<u.value.length&&w.push({type:"text",value:u.value.slice(b)}),h.children.splice(A,1,...w)):w=[u],A+w.length}}function Dx(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([Ox(a[0]),Px(a[1])])}return t}function Ox(e){return typeof e=="string"?new RegExp(Rx(e),"g"):e}function Px(e){return typeof e=="function"?e:function(){return e}}const Po="phrasing",Mo=["autolink","link","image","label"];function Mx(){return{transforms:[jx],enter:{literalAutolink:Fx,literalAutolinkEmail:Bo,literalAutolinkHttp:Bo,literalAutolinkWww:Bo},exit:{literalAutolink:$x,literalAutolinkEmail:Ux,literalAutolinkHttp:Hx,literalAutolinkWww:zx}}}function Bx(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Po,notInConstruct:Mo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Po,notInConstruct:Mo},{character:":",before:"[ps]",after:"\\/",inConstruct:Po,notInConstruct:Mo}]}}function Fx(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Bo(e){this.config.enter.autolinkProtocol.call(this,e)}function Hx(e){this.config.exit.autolinkProtocol.call(this,e)}function zx(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Ux(e){this.config.exit.autolinkEmail.call(this,e)}function $x(e){this.exit(e)}function jx(e){Lx(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Vx],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),qx]],{ignore:["link","linkReference"]})}function Vx(e,t,r,n,a){let i="";if(!Jf(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!Wx(r)))return!1;const s=Gx(r+n);if(!s[0])return!1;const o={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function qx(e,t,r,n){return!Jf(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Wx(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Gx(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=Zi(e,"(");let i=Zi(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function Jf(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||xn(r)||ys(r))&&(!t||r!==47)}e1.peek=rE;function Yx(){this.buffer()}function Xx(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Qx(){this.buffer()}function Kx(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Zx(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ir(this.sliceSerialize(e)).toLowerCase(),r.label=t}function Jx(e){this.exit(e)}function eE(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ir(this.sliceSerialize(e)).toLowerCase(),r.label=t}function tE(e){this.exit(e)}function rE(){return"["}function e1(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const s=r.enter("footnoteReference"),o=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),o(),s(),i+=a.move("]"),i}function nE(){return{enter:{gfmFootnoteCallString:Yx,gfmFootnoteCall:Xx,gfmFootnoteDefinitionLabelString:Qx,gfmFootnoteDefinition:Kx},exit:{gfmFootnoteCallString:Zx,gfmFootnoteCall:Jx,gfmFootnoteDefinitionLabelString:eE,gfmFootnoteDefinition:tE}}}function aE(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:e1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const o=i.createTracker(s);let l=o.move("[^");const u=i.enter("footnoteDefinition"),c=i.enter("label");return l+=o.move(i.safe(i.associationId(n),{before:l,after:"]"})),c(),l+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),l+=o.move((t?`
279`:" ")+i.indentLines(i.containerFlow(n,o.current()),t?t1:iE))),u(),l}}function iE(e,t,r){return t===0?e:t1(e,t,r)}function t1(e,t,r){return(r?"":"    ")+e}const sE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];r1.peek=hE;
vendor: 13,652 bytes, lines 279-291
279function oE(){return{canContainEols:["delete"],enter:{strikethrough:uE},exit:{strikethrough:cE}}}function lE(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sE}],handlers:{delete:r1}}}function uE(e){this.enter({type:"delete",children:[]},e)}function cE(e){this.exit(e)}function r1(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,{...a.current(),before:s,after:"~"}),s+=a.move("~~"),i(),s}function hE(){return"~"}function dE(e){return e.length}function mE(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||dE,i=[],s=[],o=[],l=[];let u=0,c=-1;for(;++c<e.length;){const E=[],A=[];let T=-1;for(e[c].length>u&&(u=e[c].length);++T<e[c].length;){const w=fE(e[c][T]);if(r.alignDelimiters!==!1){const L=a(w);A[T]=L,(l[T]===void 0||L>l[T])&&(l[T]=L)}E.push(w)}s[c]=E,o[c]=A}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<u;)i[h]=dh(n[h]);else{const E=dh(n);for(;++h<u;)i[h]=E}h=-1;const m=[],f=[];for(;++h<u;){const E=i[h];let A="",T="";E===99?(A=":",T=":"):E===108?A=":":E===114&&(T=":");let w=r.alignDelimiters===!1?1:Math.max(1,l[h]-A.length-T.length);const L=A+"-".repeat(w)+T;r.alignDelimiters!==!1&&(w=A.length+w+T.length,w>l[h]&&(l[h]=w),f[h]=w),m[h]=L}s.splice(1,0,m),o.splice(1,0,f),c=-1;const b=[];for(;++c<s.length;){const E=s[c],A=o[c];h=-1;const T=[];for(;++h<u;){const w=E[h]||"";let L="",$="";if(r.alignDelimiters!==!1){const U=l[h]-(A[h]||0),P=i[h];P===114?L=" ".repeat(U):P===99?U%2?(L=" ".repeat(U/2+.5),$=" ".repeat(U/2-.5)):(L=" ".repeat(U/2),$=L):$=" ".repeat(U)}r.delimiterStart!==!1&&!h&&T.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||h)&&T.push(" "),r.alignDelimiters!==!1&&T.push(L),T.push(w),r.alignDelimiters!==!1&&T.push($),r.padding!==!1&&T.push(" "),(r.delimiterEnd!==!1||h!==u-1)&&T.push("|")}b.push(r.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return b.join(`
280`)}function fE(e){return e==null?"":String(e)}function dh(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function pE(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const s=r.indentLines(r.containerFlow(e,i.current()),gE);return a(),s}function gE(e,t,r){return">"+(r?"":" ")+e}function bE(e,t){return mh(e,t.inConstruct,!0)&&!mh(e,t.notInConstruct,!1)}function mh(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function fh(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
281`&&bE(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
282`}function n1(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+t.length,n=r.indexOf(t,a);return s}function yE(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function xE(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function EE(e,t,r,n){const a=xE(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(yE(e,r)){const h=r.enter("codeIndented"),m=r.indentLines(i,_E);return h(),m}const o=r.createTracker(n),l=a.repeat(Math.max(n1(i,a)+1,3)),u=r.enter("codeFenced");let c=o.move(l);if(e.lang){const h=r.enter(`codeFencedLang${s}`);c+=o.move(r.safe(e.lang,{before:c,after:" ",encode:["`"],...o.current()})),h()}if(e.lang&&e.meta){const h=r.enter(`codeFencedMeta${s}`);c+=o.move(" "),c+=o.move(r.safe(e.meta,{before:c,after:`
283`,encode:["`"],...o.current()})),h()}return c+=o.move(`
284`),i&&(c+=o.move(i+`
285`)),c+=o.move(l),u(),c}function _E(e,t,r){return(r?"":"    ")+e}function Uu(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function TE(e,t,r,n){const a=Uu(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let o=r.enter("label");const l=r.createTracker(n);let u=l.move("[");return u+=l.move(r.safe(r.associationId(e),{before:u,after:"]",...l.current()})),u+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(o=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":`
286`,...l.current()}))),o(),e.title&&(o=r.enter(`title${i}`),u+=l.move(" "+a),u+=l.move(r.safe(e.title,{before:u,after:a,...l.current()})),u+=l.move(a),o()),s(),u}function vE(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Va(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ji(e,t,r){const n=Wn(e),a=Wn(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}a1.peek=kE;function a1(e,t,r,n){const a=vE(r),i=r.enter("emphasis"),s=r.createTracker(n),o=s.move(a);let l=s.move(r.containerPhrasing(e,{after:a,before:o,...s.current()}));const u=l.charCodeAt(0),c=Ji(n.before.charCodeAt(n.before.length-1),u,a);c.inside&&(l=Va(u)+l.slice(1));const h=l.charCodeAt(l.length-1),m=Ji(n.after.charCodeAt(0),h,a);m.inside&&(l=l.slice(0,-1)+Va(h));const f=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},o+l+f}function kE(e,t,r){return r.options.emphasis||"*"}function wE(e,t){let r=!1;return En(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,ll}),!!((!e.depth||e.depth<3)&&nu(e)&&(t.options.setext||r))}function AE(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(wE(e,r)){const c=r.enter("headingSetext"),h=r.enter("phrasing"),m=r.containerPhrasing(e,{...i.current(),before:`
287`,after:`
288`});return h(),c(),m+`
289`+(a===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
290`))+1))}const s="#".repeat(a),o=r.enter("headingAtx"),l=r.enter("phrasing");i.move(s+" ");let u=r.containerPhrasing(e,{before:"# ",after:`
291`,...i.current()});return/^[\t ]/.test(u)&&(u=Va(u.charCodeAt(0))+u.slice(1)),u=u?s+" "+u:s,r.options.closeAtx&&(u+=" "+s),l(),o(),u}i1.peek=SE;function i1(e){return e.value||""}function SE(){return"<"}s1.peek=CE;function s1(e,t,r,n){const a=Uu(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let o=r.enter("label");const l=r.createTracker(n);let u=l.move("![");return u+=l.move(r.safe(e.alt,{before:u,after:"]",...l.current()})),u+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(o=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=r.enter(`title${i}`),u+=l.move(" "+a),u+=l.move(r.safe(e.title,{before:u,after:a,...l.current()})),u+=l.move(a),o()),u+=l.move(")"),s(),u}function CE(){return"!"}o1.peek=NE;function o1(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let s=r.enter("label");const o=r.createTracker(n);let l=o.move("![");const u=r.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(u+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const h=r.safe(r.associationId(e),{before:l,after:"]",...o.current()});return s(),r.stack=c,i(),a==="full"||!u||u!==h?l+=o.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function NE(){return"!"}l1.peek=IE;function l1(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const s=r.unsafe[i],o=r.compilePattern(s);let l;if(s.atBreak)for(;l=o.exec(n);){let u=l.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(l.index+1)}}return a+n+a}function IE(){return"`"}function u1(e,t){const r=nu(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}c1.peek=RE;function c1(e,t,r,n){const a=Uu(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let o,l;if(u1(e,r)){const c=r.stack;r.stack=[],o=r.enter("autolink");let h=s.move("<");return h+=s.move(r.containerPhrasing(e,{before:h,after:">",...s.current()})),h+=s.move(">"),o(),r.stack=c,h}o=r.enter("link"),l=r.enter("label");let u=s.move("[");return u+=s.move(r.containerPhrasing(e,{before:u,after:"](",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=r.enter(`title${i}`),u+=s.move(" "+a),u+=s.move(r.safe(e.title,{before:u,after:a,...s.current()})),u+=s.move(a),l()),u+=s.move(")"),o(),u}function RE(e,t,r){return u1(e,r)?"<":"["}h1.peek=LE;function h1(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let s=r.enter("label");const o=r.createTracker(n);let l=o.move("[");const u=r.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(u+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const h=r.safe(r.associationId(e),{before:l,after:"]",...o.current()});return s(),r.stack=c,i(),a==="full"||!u||u!==h?l+=o.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function LE(){return"["}function $u(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function DE(e){const t=$u(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function OE(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function d1(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function PE(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?OE(r):$u(r);const o=e.ordered?s==="."?")":".":DE(r);let l=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&c&&(!c.children||!c.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),d1(r)===s&&c){let h=-1;for(;++h<e.children.length;){const m=e.children[h];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=o),r.bulletCurrent=s;const u=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=i,a(),u}function ME(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function BE(e,t,r,n){const a=ME(r);let i=r.bulletCurrent||$u(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let s=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const o=r.createTracker(n);o.move(i+" ".repeat(s-i.length)),o.shift(s);const l=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,o.current()),c);return l(),u;function c(h,m,f){return m?(f?"":" ".repeat(s))+h:(f?i:i+" ".repeat(s-i.length))+h}}function FE(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const HE=Ja(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function zE(e,t,r,n){return(e.children.some(function(s){return HE(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function UE(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}m1.peek=$E;function m1(e,t,r,n){const a=UE(r),i=r.enter("strong"),s=r.createTracker(n),o=s.move(a+a);let l=s.move(r.containerPhrasing(e,{after:a,before:o,...s.current()}));const u=l.charCodeAt(0),c=Ji(n.before.charCodeAt(n.before.length-1),u,a);c.inside&&(l=Va(u)+l.slice(1));const h=l.charCodeAt(l.length-1),m=Ji(n.after.charCodeAt(0),h,a);m.inside&&(l=l.slice(0,-1)+Va(h));const f=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},o+l+f}function $E(e,t,r){return r.options.strong||"*"}
vendor: 5,055 bytes, lines 291-293
291function jE(e,t,r,n){return r.safe(e.value,n)}function VE(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function qE(e,t,r){const n=(d1(r)+(r.options.ruleSpaces?" ":"")).repeat(VE(r));return r.options.ruleSpaces?n.slice(0,-1):n}const f1={blockquote:pE,break:fh,code:EE,definition:TE,emphasis:a1,hardBreak:fh,heading:AE,html:i1,image:s1,imageReference:o1,inlineCode:l1,link:c1,linkReference:h1,list:PE,listItem:BE,paragraph:FE,root:zE,strong:m1,text:jE,thematicBreak:qE};function WE(){return{enter:{table:GE,tableData:ph,tableHeader:ph,tableRow:XE},exit:{codeText:QE,table:YE,tableData:Fo,tableHeader:Fo,tableRow:Fo}}}function GE(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function YE(e){this.exit(e),this.data.inTable=void 0}function XE(e){this.enter({type:"tableRow",children:[]},e)}function Fo(e){this.exit(e)}function ph(e){this.enter({type:"tableCell",children:[]},e)}function QE(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,KE));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function KE(e,t){return t==="|"?t:e}function ZE(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
292`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:s,tableCell:l,tableRow:o}};function s(f,b,E,A){return u(c(f,E,A),f.align)}function o(f,b,E,A){const T=h(f,E,A),w=u([T]);return w.slice(0,w.indexOf(`
293`))}function l(f,b,E,A){const T=E.enter("tableCell"),w=E.enter("phrasing"),L=E.containerPhrasing(f,{...A,before:i,after:i});return w(),T(),L}function u(f,b){return mE(f,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(f,b,E){const A=f.children;let T=-1;const w=[],L=b.enter("table");for(;++T<A.length;)w[T]=h(A[T],b,E);return L(),w}function h(f,b,E){const A=f.children;let T=-1;const w=[],L=b.enter("tableRow");for(;++T<A.length;)w[T]=l(A[T],f,b,E);return L(),w}function m(f,b,E){let A=f1.inlineCode(f,b,E);return E.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function JE(){return{exit:{taskListCheckValueChecked:gh,taskListCheckValueUnchecked:gh,paragraph:t9}}}function e9(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:r9}}}function gh(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function t9(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,s;for(;++i<a.length;){const o=a[i];if(o.type==="paragraph"){s=o;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function r9(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);i&&o.move(s);let l=f1.listItem(e,t,r,{...n,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+s}}function n9(){return[Mx(),nE(),oE(),WE(),JE()]}function a9(e){return{extensions:[Bx(),aE(e),lE(),ZE(e),e9()]}}const i9={tokenize:h9,partial:!0},p1={tokenize:d9,partial:!0},g1={tokenize:m9,partial:!0},b1={tokenize:f9,partial:!0},s9={tokenize:p9,partial:!0},y1={name:"wwwAutolink",tokenize:u9,previous:E1},x1={name:"protocolAutolink",tokenize:c9,previous:_1},Ur={name:"emailAutolink",tokenize:l9,previous:T1},Tr={};function o9(){return{text:Tr}}let hn=48;for(;hn<123;)Tr[hn]=Ur,hn++,hn===58?hn=65:hn===91&&(hn=97);Tr[43]=Ur;Tr[45]=Ur;Tr[46]=Ur;Tr[95]=Ur;Tr[72]=[Ur,x1];Tr[104]=[Ur,x1];Tr[87]=[Ur,y1];Tr[119]=[Ur,y1];function l9(e,t,r){const n=this;let a,i;return s;function s(h){return!Il(h)||!T1.call(n,n.previous)||ju(n.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(h))}function o(h){return Il(h)?(e.consume(h),o):h===64?(e.consume(h),l):r(h)}function l(h){return h===46?e.check(s9,c,u)(h):h===45||h===95||pt(h)?(i=!0,e.consume(h),l):c(h)}function u(h){return e.consume(h),a=!0,l}function c(h){return i&&a&&Tt(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function u9(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!E1.call(n,n.previous)||ju(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i9,e.attempt(p1,e.attempt(g1,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function c9(e,t,r){const n=this;let a="",i=!1;return s;
vendor: 8,777 bytes, line 293
293function s(h){return(h===72||h===104)&&_1.call(n,n.previous)&&!ju(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(h),e.consume(h),o):r(h)}function o(h){if(Tt(h)&&a.length<5)return a+=String.fromCodePoint(h),e.consume(h),o;if(h===58){const m=a.toLowerCase();if(m==="http"||m==="https")return e.consume(h),l}return r(h)}function l(h){return h===47?(e.consume(h),i?u:(i=!0,l)):r(h)}function u(h){return h===null||Ui(h)||Oe(h)||xn(h)||ys(h)?r(h):e.attempt(p1,e.attempt(g1,c),r)(h)}function c(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function h9(e,t,r){let n=0;return a;function a(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),a):s===46&&n===3?(e.consume(s),i):r(s)}function i(s){return s===null?r(s):t(s)}}function d9(e,t,r){let n,a,i;return s;function s(u){return u===46||u===95?e.check(b1,l,o)(u):u===null||Oe(u)||xn(u)||u!==45&&ys(u)?l(u):(i=!0,e.consume(u),s)}function o(u){return u===95?n=!0:(a=n,n=void 0),e.consume(u),s}function l(u){return a||n||!i?r(u):t(u)}}function m9(e,t){let r=0,n=0;return a;function a(s){return s===40?(r++,e.consume(s),a):s===41&&n<r?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(b1,t,i)(s):s===null||Oe(s)||xn(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function f9(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),i):o===93?(e.consume(o),a):o===60||o===null||Oe(o)||xn(o)?t(o):r(o)}function a(o){return o===null||o===40||o===91||Oe(o)||xn(o)?t(o):n(o)}function i(o){return Tt(o)?s(o):r(o)}function s(o){return o===59?(e.consume(o),n):Tt(o)?(e.consume(o),s):r(o)}}function p9(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return pt(i)?r(i):t(i)}}function E1(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Oe(e)}function _1(e){return!Tt(e)}function T1(e){return!(e===47||Il(e))}function Il(e){return e===43||e===45||e===46||e===95||pt(e)}function ju(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const g9={tokenize:k9,partial:!0};function b9(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:_9,continuation:{tokenize:T9},exit:v9}},text:{91:{name:"gfmFootnoteCall",tokenize:E9},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:y9,resolveTo:x9}}}}function y9(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const l=n.events[a][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!s||!s._balanced)return r(l);const u=ir(n.sliceSerialize({start:s.end,end:n.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?r(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function x9(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function E9(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?r(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(h){if(i>999||h===93&&!s||h===null||h===91||Oe(h))return r(h);if(h===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return a.includes(ir(n.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(h)}return Oe(h)||(s=!0),i++,e.consume(h),h===92?c:u}function c(h){return h===91||h===92||h===93?(e.consume(h),i++,u):u(h)}}function _9(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,o;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(b)}function c(b){if(s>999||b===93&&!o||b===null||b===91||Oe(b))return r(b);if(b===93){e.exit("chunkString");const E=e.exit("gfmFootnoteDefinitionLabelString");return i=ir(n.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return Oe(b)||(o=!0),s++,e.consume(b),b===92?h:c}function h(b){return b===91||b===92||b===93?(e.consume(b),s++,c):c(b)}function m(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),ve(e,f,"gfmFootnoteDefinitionWhitespace")):r(b)}function f(b){return t(b)}}function T9(e,t,r){return e.check(Za,t,e.attempt(g9,t,r))}function v9(e){e.exit("gfmFootnoteDefinition")}function k9(e,t,r){const n=this;return ve(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):r(i)}}function w9(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let u=l;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[l][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[l][1].start)},m=[["enter",c,o],["enter",s[u][1],o],["exit",s[u][1],o],["enter",h,o]],f=o.parser.constructs.insideSpan.null;f&&Ut(m,m.length,0,xs(f,s.slice(u+1,l),o)),Ut(m,m.length,0,[["exit",h,o],["enter",s[l][1],o],["exit",s[l][1],o],["exit",c,o]]),Ut(s,u-1,l-u+3,m),l=u+m.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function i(s,o,l){const u=this.previous,c=this.events;let h=0;return m;function m(b){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(b):(s.enter("strikethroughSequenceTemporary"),f(b))}function f(b){const E=Wn(u);if(b===126)return h>1?l(b):(s.consume(b),h++,f);if(h<2&&!r)return l(b);const A=s.exit("strikethroughSequenceTemporary"),T=Wn(b);return A._open=!T||T===2&&!!E,A._close=!E||E===2&&!!T,o(b)}}}class A9{constructor(){this.map=[]}add(t,r,n){S9(this,t,r,n)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function S9(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function C9(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left"
vendor: 4,372 bytes, line 293
293:"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function N9(){return{flow:{null:{name:"table",tokenize:I9,resolveAll:R9}}}}function I9(e,t,r){const n=this;let a=0,i=0,s;return o;function o(F){let ne=n.events.length-1;for(;ne>-1;){const J=n.events[ne][1].type;if(J==="lineEnding"||J==="linePrefix")ne--;else break}const ee=ne>-1?n.events[ne][1].type:null,oe=ee==="tableHead"||ee==="tableRow"?P:l;return oe===P&&n.parser.lazy[n.now().line]?r(F):oe(F)}function l(F){return e.enter("tableHead"),e.enter("tableRow"),u(F)}function u(F){return F===124||(s=!0,i+=1),c(F)}function c(F){return F===null?r(F):de(F)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),f):r(F):ke(F)?ve(e,c,"whitespace")(F):(i+=1,s&&(s=!1,a+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),h(F)))}function h(F){return F===null||F===124||Oe(F)?(e.exit("data"),c(F)):(e.consume(F),F===92?m:h)}function m(F){return F===92||F===124?(e.consume(F),h):h(F)}function f(F){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(F):(e.enter("tableDelimiterRow"),s=!1,ke(F)?ve(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):b(F))}function b(F){return F===45||F===58?A(F):F===124?(s=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),E):U(F)}function E(F){return ke(F)?ve(e,A,"whitespace")(F):A(F)}function A(F){return F===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),T):F===45?(i+=1,T(F)):F===null||de(F)?$(F):U(F)}function T(F){return F===45?(e.enter("tableDelimiterFiller"),w(F)):U(F)}function w(F){return F===45?(e.consume(F),w):F===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),L):(e.exit("tableDelimiterFiller"),L(F))}function L(F){return ke(F)?ve(e,$,"whitespace")(F):$(F)}function $(F){return F===124?b(F):F===null||de(F)?!s||a!==i?U(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):U(F)}function U(F){return r(F)}function P(F){return e.enter("tableRow"),W(F)}function W(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),W):F===null||de(F)?(e.exit("tableRow"),t(F)):ke(F)?ve(e,W,"whitespace")(F):(e.enter("data"),se(F))}function se(F){return F===null||F===124||Oe(F)?(e.exit("data"),W(F)):(e.consume(F),F===92?ae:se)}function ae(F){return F===92||F===124?(e.consume(F),se):se(F)}}function R9(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,u,c,h;const m=new A9;for(;++r<e.length;){const f=e[r],b=f[1];f[0]==="enter"?b.type==="tableHead"?(o=!1,l!==0&&(bh(m,t,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(r,0,[["enter",u,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(n=!0,h=void 0,i=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,c={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(r,0,[["enter",c,t]])),a=b.type==="tableDelimiterRow"?2:c?3:1):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],h=wi(m,t,i,a,void 0,h),i=[0,0,0,0]),s[2]=r)):b.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],h=wi(m,t,i,a,void 0,h)),i=s,s=[i[1],r,0,0])):b.type==="tableHead"?(o=!0,l=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=r,i[1]!==0?(s[0]=s[1],h=wi(m,t,i,a,r,h)):s[1]!==0&&(h=wi(m,t,s,a,r,h)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&bh(m,t,l,u,c),m.consume(t.events),r=-1;++r<t.events.length;){const f=t.events[r];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=C9(t.events,r))}return e}function wi(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(i.end=Object.assign({},Bn(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const l=Bn(t.events,r[1]);if(i={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const u=Bn(t.events,r[2]),c=Bn(t.events,r[3]),h={type:o,start:Object.assign({},u),end:Object.assign({},c)};
vendor: 11,571 bytes, lines 293-317
293if(e.add(r[2],0,[["enter",h,t]]),n!==2){const m=t.events[r[2]],f=t.events[r[3]];if(m[1].end=Object.assign({},f[1].end),m[1].type="chunkText",m[1].contentType="text",r[3]>r[2]+1){const b=r[2]+1,E=r[3]-r[2]-1;e.add(b,E,[])}}e.add(r[3]+1,0,[["exit",h,t]])}return a!==void 0&&(i.end=Object.assign({},Bn(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function bh(e,t,r,n,a){const i=[],s=Bn(t.events,r);a&&(a.end=Object.assign({},s),i.push(["exit",a,t])),n.end=Object.assign({},s),i.push(["exit",n,t]),e.add(r+1,0,i)}function Bn(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const L9={name:"tasklistCheck",tokenize:O9};function D9(){return{text:{91:L9}}}function O9(e,t,r){const n=this;return a;function a(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Oe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):r(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(l)}function o(l){return de(l)?t(l):ke(l)?e.check({tokenize:P9},t,r)(l):r(l)}}function P9(e,t,r){return ve(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function M9(e){return Rd([o9(),b9(),w9(e),N9(),D9()])}const B9={};function F9(e){const t=this,r=e||B9,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(M9(r)),i.push(n9()),s.push(a9(r))}function H9(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(l){const u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){const u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=u;const h=c.data.hChildren[0];h.type,h.tagName,h.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function i(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const u=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=u,c.data.hChildren.push({type:"text",value:u})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function z9(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
294`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,s,o,l){const u=i.value||"",c=o.createTracker(l),h="$".repeat(Math.max(n1(u,"$")+1,2)),m=o.enter("mathFlow");let f=c.move(h);if(i.meta){const b=o.enter("mathFlowMeta");f+=c.move(o.safe(i.meta,{after:`
295`,before:f,encode:["$"],...c.current()})),b()}return f+=c.move(`
296`),u&&(f+=c.move(u+`
297`)),f+=c.move(h),m(),f}function n(i,s,o){let l=i.value||"",u=1;for(t||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(l);)u++;const c="$".repeat(u);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let h=-1;for(;++h<o.unsafe.length;){const m=o.unsafe[h];if(!m.atBreak)continue;const f=o.compilePattern(m);let b;for(;b=f.exec(l);){let E=b.index;l.codePointAt(E)===10&&l.codePointAt(E-1)===13&&E--,l=l.slice(0,E)+" "+l.slice(b.index+1)}}return c+l+c}function a(){return"$"}}const U9={tokenize:$9,concrete:!0,name:"mathFlow"},yh={tokenize:j9,partial:!0};function $9(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return o;function o(w){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(w)}function l(w){return w===36?(e.consume(w),s++,l):s<2?r(w):(e.exit("mathFlowFenceSequence"),ve(e,u,"whitespace")(w))}function u(w){return w===null||de(w)?h(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===null||de(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),h(w)):w===36?r(w):(e.consume(w),c)}function h(w){return e.exit("mathFlowFence"),n.interrupt?t(w):e.attempt(yh,m,A)(w)}function m(w){return e.attempt({tokenize:T,partial:!0},A,f)(w)}function f(w){return(i?ve(e,b,"linePrefix",i+1):b)(w)}function b(w){return w===null?A(w):de(w)?e.attempt(yh,m,A)(w):(e.enter("mathFlowValue"),E(w))}function E(w){return w===null||de(w)?(e.exit("mathFlowValue"),b(w)):(e.consume(w),E)}function A(w){return e.exit("mathFlow"),t(w)}function T(w,L,$){let U=0;return ve(w,P,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function P(ae){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),W(ae)}function W(ae){return ae===36?(U++,w.consume(ae),W):U<s?$(ae):(w.exit("mathFlowFenceSequence"),ve(w,se,"whitespace")(ae))}function se(ae){return ae===null||de(ae)?(w.exit("mathFlowFence"),L(ae)):$(ae)}}}function j9(e,t,r){const n=this;return a;function a(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function V9(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:q9,previous:W9,name:"mathText"};function n(a,i,s){let o=0,l,u;return c;function c(E){return a.enter("mathText"),a.enter("mathTextSequence"),h(E)}function h(E){return E===36?(a.consume(E),o++,h):o<2&&!r?s(E):(a.exit("mathTextSequence"),m(E))}function m(E){return E===null?s(E):E===36?(u=a.enter("mathTextSequence"),l=0,b(E)):E===32?(a.enter("space"),a.consume(E),a.exit("space"),m):de(E)?(a.enter("lineEnding"),a.consume(E),a.exit("lineEnding"),m):(a.enter("mathTextData"),f(E))}function f(E){return E===null||E===32||E===36||de(E)?(a.exit("mathTextData"),m(E)):(a.consume(E),f)}function b(E){return E===36?(a.consume(E),l++,b):l===o?(a.exit("mathTextSequence"),a.exit("mathText"),i(E)):(u.type="mathTextData",f(E))}}}function q9(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function W9(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function G9(e){return{flow:{36:U9},text:{36:V9(e)}}}const Y9={};function X9(e){const t=this,r=e||Y9,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(G9(r)),i.push(H9()),s.push(z9(r))}function Q9({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:r=[],allowDataImages:n=!1,blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:i="text-gray-500"}){const s=t.length&&!t.every(l=>l==="*"),o=r.length&&!r.every(l=>l==="*");if(!e&&(s||o))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return l=>{const u=J9(e,t,r,n,a,i);En(l,u)}}function xh(e,t){if(typeof e!="string")return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}return null}}function K9(e){return typeof e!="string"?!1:e.startsWith("/")}const Z9=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function Eh(e,t,r,n=!1,a=!1){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return a&&n&&e.startsWith("data:image/")?e:null;const i=xh(e,r);if(!i||!Z9.has(i.protocol))return null;if(i.protocol==="mailto:")return i.href;const s=K9(e);return i&&t.some(o=>{const l=xh(o,r);return!l||l.origin!==i.origin?!1:i.href.startsWith(l.href)})?s?i.pathname+i.search+i.hash:i.href:t.includes("*")?i.protocol!=="https:"&&i.protocol!=="http:"?null:s?i.pathname+i.search+i.hash:i.href:null}const Ho=Symbol("node-seen"),J9=(e,t,r,n,a,i)=>{const s=(o,l,u)=>{if(o.type!=="element"||o[Ho])return _a;if(o.tagName==="a"){const c=Eh(o.properties.href,t,e,!1,!1);return c===null?(o[Ho]=!0,En(o,s),u&&typeof l=="number"&&(u.children[l]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(o.properties.href),class:i},children:[...o.children,{type:"text",value:" [blocked]"}]}),ji):(o.properties.href=c,o.properties.target="_blank",o.properties.rel="noopener noreferrer",_a)}if(o.tagName==="img"){const c=Eh(o.properties.src,r,e,n,!0);return c===null?(o[Ho]=!0,En(o,s),u&&typeof l=="number"&&(u.children[l]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(o.properties.alt||"No description")+"]"}]}),ji):(o.properties.src=c,_a)}return _a};return s};/**
298 * @license lucide-react v0.542.0 - ISC
299 *
300 * This source code is licensed under the ISC license.
301 * See the LICENSE file in the root directory of this source tree.
302 */const e_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),t_=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),_h=e=>{const t=t_(e);return t.charAt(0).toUpperCase()+t.slice(1)},v1=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),r_=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
303 * @license lucide-react v0.542.0 - ISC
304 *
305 * This source code is licensed under the ISC license.
306 * See the LICENSE file in the root directory of this source tree.
307 */var n_={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
308 * @license lucide-react v0.542.0 - ISC
309 *
310 * This source code is licensed under the ISC license.
311 * See the LICENSE file in the root directory of this source tree.
312 */const a_=G.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:s,...o},l)=>G.createElement("svg",{ref:l,...n_,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:v1("lucide",a),...!i&&!r_(o)&&{"aria-hidden":"true"},...o},[...s.map(([u,c])=>G.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
313 * @license lucide-react v0.542.0 - ISC
314 *
315 * This source code is licensed under the ISC license.
316 * See the LICENSE file in the root directory of this source tree.
317 */const Vu=(e,t)=>{const r=G.forwardRef(({className:n,...a},i)=>G.createElement(a_,{ref:i,iconNode:t,className:v1(`lucide-${e_(_h(e))}`,`lucide-${e}`,n),...a}
vendor: 45,210 bytes, lines 317-334
317));return r.displayName=_h(e),r};/**
318 * @license lucide-react v0.542.0 - ISC
319 *
320 * This source code is licensed under the ISC license.
321 * See the LICENSE file in the root directory of this source tree.
322 */const i_=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],k1=Vu("check",i_);/**
323 * @license lucide-react v0.542.0 - ISC
324 *
325 * This source code is licensed under the ISC license.
326 * See the LICENSE file in the root directory of this source tree.
327 */const s_=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],w1=Vu("copy",s_);/**
328 * @license lucide-react v0.542.0 - ISC
329 *
330 * This source code is licensed under the ISC license.
331 * See the LICENSE file in the root directory of this source tree.
332 */const o_=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],qu=Vu("download",o_);let Je=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function l_(e){return Wu(e)}function Wu(e){return Array.isArray(e)?u_(e):e instanceof RegExp?e:typeof e=="object"?c_(e):e}function u_(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=Wu(e[r]);return t}function c_(e){let t={};for(let r in e)t[r]=Wu(e[r]);return t}function A1(e,...t){return t.forEach(r=>{for(let n in r)e[n]=r[n]}),e}function S1(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?S1(e.substring(0,e.length-1)):e.substr(~t+1)}var zo=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ai=class{static hasCaptures(e){return e===null?!1:(zo.lastIndex=0,zo.test(e))}static replaceCaptures(e,t,r){return e.replace(zo,(n,a,i,s)=>{let o=r[parseInt(a||i,10)];if(o){let l=t.substring(o.start,o.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return n})}};function C1(e,t){return e<t?-1:e>t?1:0}function N1(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let a=0;a<r;a++){let i=C1(e[a],t[a]);if(i!==0)return i}return 0}return r-n}function Th(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function I1(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var R1=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},es=class{constructor(e,t,r){this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(m_(e),t)}static createFromParsedTheme(e,t){return p_(e,t)}_cachedMatchRoot=new R1(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,n=this._cachedMatchRoot.get(t).find(a=>h_(e.parent,a.parentScopes));return n?new L1(n.fontStyle,n.foreground,n.background):null}},Uo=class Fi{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new Fi(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new Fi(r,t[n]);return r}push(t){return new Fi(this,t)}getSegments(){let t=this;const r=[];for(;t;)r.push(t.scopeName),t=t.parent;return r.reverse(),r}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const r=[];let n=this;for(;n&&n!==t;)r.push(n.scopeName),n=n.parent;return n===t?r.reverse():void 0}};function h_(e,t){if(t.length===0)return!0;for(let r=0;r<t.length;r++){let n=t[r],a=!1;if(n===">"){if(r===t.length-1)return!1;n=t[++r],a=!0}for(;e&&!d_(e.scopeName,n);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function d_(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var L1=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function m_(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let a=0,i=t.length;a<i;a++){let s=t[a];if(!s.settings)continue;let o;if(typeof s.scope=="string"){let h=s.scope;h=h.replace(/^[,]+/,""),h=h.replace(/[,]+$/,""),o=h.split(",")}else Array.isArray(s.scope)?o=s.scope:o=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let h=s.settings.fontStyle.split(" ");for(let m=0,f=h.length;m<f;m++)switch(h[m]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof s.settings.foreground=="string"&&Th(s.settings.foreground)&&(u=s.settings.foreground);let c=null;typeof s.settings.background=="string"&&Th(s.settings.background)&&(c=s.settings.background);for(let h=0,m=o.length;h<m;h++){let b=o[h].trim().split(" "),E=b[b.length-1],A=null;b.length>1&&(A=b.slice(0,b.length-1),A.reverse()),r[n++]=new f_(E,A,a,l,u,c)}}return r}var f_=class{constructor(e,t,r,n,a,i){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=a,this.background=i}},ft=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(ft||{});function p_(e,t){e.sort((l,u)=>{let c=C1(l.scope,u.scope);return c!==0||(c=N1(l.parentScopes,u.parentScopes),c!==0)?c:l.index-u.index});let r=0,n="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(r=l.fontStyle),l.foreground!==null&&(n=l.foreground),l.background!==null&&(a=l.background)}let i=new g_(t),s=new L1(r,i.getId(n),i.getId(a)),o=new y_(new Rl(0,null,-1,0,0),[]);for(let l=0,u=e.length;l<u;l++){let c=e[l];o.insert(0,c.scope,c.parentScopes,c.fontStyle,i.getId(c.foreground),i.getId(c.background))}return new es(i,s,o)}var g_=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,r=e.length;t<r;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},b_=Object.freeze([]),Rl=class D1{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,r,n,a,i){this.scopeDepth=t,this.parentScopes=r||b_,this.fontStyle=n,this.foreground=a,this.background=i}clone(){return new D1(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let r=[];for(let n=0,a=t.length;n<a;n++)r[n]=t[n].clone();return r}acceptOverwrite(t,r,n,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),a!==0&&(this.background=a)}},y_=class Ll{constructor(t,r=[],n={}){this._mainRule=t,this._children=n,this._rulesWithParentScopes=r}_rulesWithParentScopes;static _cmpBySpecificity(t,r){if(t.scopeDepth!==r.scopeDepth)return r.scopeDepth-t.scopeDepth;let n=0,a=0;for(;t.parentScopes[n]===">"&&n++,r.parentScopes[a]===">"&&a++,!(n>=t.parentScopes.length||a>=r.parentScopes.length);){const i=r.parentScopes[a].length-t.parentScopes[n].length;if(i!==0)return i;n++,a++}return r.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let n=t.indexOf("."),a,i;if(n===-1?(a=t,i=""):(a=t.substring(0,n),i=t.substring(n+1)),this._children.hasOwnProperty(a))return this._children[a].match(i)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(Ll._cmpBySpecificity),r}insert(t,r,n,a,i,s){if(r===""){this._doInsertHere(t,n,a,i,s);return}let o=r.indexOf("."),l,u;o===-1?(l=r,u=""):(l=r.substring(0,o),u=r.substring(o+1));let c;this._children.hasOwnProperty(l)?c=this._children[l]:(c=new Ll(this._mainRule.clone(),Rl.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,u,n,a,i,s)}_doInsertHere(t,r,n,a,i){if(r===null){this._mainRule.acceptOverwrite(t,n,a,i);return}for(let s=0,o=this._rulesWithParentScopes.length;s<o;s++){let l=this._rulesWithParentScopes[s];if(N1(l.parentScopes,r)===0){l.acceptOverwrite(t,n,a,i);return}}n===-1&&(n=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new Rl(t,r,n,a,i))}},Qn=class Wt{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const r=Wt.getLanguageId(t),n=Wt.getTokenType(t),a=Wt.getFontStyle(t),i=Wt.getForeground(t),s=Wt.getBackground(t);console.log({languageId:r,tokenType:n,fontStyle:a,foreground:i,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,r,n,a,i,s,o){let l=Wt.getLanguageId(t),u=Wt.getTokenType(t),c=Wt.containsBalancedBrackets(t)?1:0,h=Wt.getFontStyle(t),m=Wt.getForeground(t),f=Wt.getBackground(t);return r!==0&&(l=r),n!==8&&(u=n),a!==null&&(c=a?1:0),i!==-1&&(h=i),s!==0&&(m=s),o!==0&&(f=o),(l<<0|u<<8|c<<10|h<<11|m<<15|f<<24)>>>0}};function ts(e,t){const r=[],n=x_(e);let a=n.next();for(;a!==null;){let l=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=n.next()}let u=s();if(r.push({matcher:u,priority:l}),a!==",")break;a=n.next()}return r;function i(){if(a==="-"){a=n.next();const l=i();return u=>!!l&&!l(u)}if(a==="("){a=n.next();const l=o();return a===")"&&(a=n.next()),l}if(vh(a)){const l=[];do l.push(a),a=n.next();while(vh(a));return u=>t(l,u)}return null}function s(){const l=[];let u=i();for(;u;)l.push(u),u=i();return c=>l.every(h=>h(c))}function o(){const l=[];let u=s();for(;u&&(l.push(u),a==="|"||a===",");){do a=n.next();while(a==="|"||a===",");u=s()}return c=>l.some(h=>h(c))}}function vh(e){return!!e&&!!e.match(/[\w\.:]+/)}function x_(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=t.exec(e);return{next:()=>{if(!r)return null;const n=r[0];return r=t.exec(e),n}}}function O1(e){typeof e.dispose=="function"&&e.dispose()}var qa=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},E_=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},__=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},T_=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new qa(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new __;for(const r of e)v_(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof qa){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function v_(e,t,r,n){const a=r.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=r.lookup(t);e instanceof qa?Hi({baseGrammar:i,selfGrammar:a},n):Dl(e.ruleName,{baseGrammar:i,selfGrammar:a,repository:a.repository},n);const s=r.injections(e.scopeName);if(s)for(const o of s)n.add(new qa(o))}function Dl(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];rs([n],t,r)}}function Hi(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&rs(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&rs(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function rs(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const a=n.repository?A1({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&rs(n.patterns,{...t,repository:a},r);const i=n.include;if(!i)continue;const s=P1(i);switch(s.kind){case 0:Hi({...t,selfGrammar:t.baseGrammar},r);break;case 1:Hi(t,r);break;case 2:Dl(s.ruleName,{...t,repository:a},r);break;case 3:case 4:const o=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){const l={baseGrammar:t.baseGrammar,selfGrammar:o,repository:a};s.kind===4?Dl(s.ruleName,l,r):Hi(l,r)}else s.kind===4?r.add(new E_(s.scopeName,s.ruleName)):r.add(new qa(s.scopeName));break}}}var k_=class{kind=0},w_=class{kind=1},A_=class{constructor(e){this.ruleName=e}kind=2},S_=class{constructor(e){this.scopeName=e}kind=3},C_=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function P1(e){if(e==="$base")return new k_;if(e==="$self")return new w_;const t=e.indexOf("#");if(t===-1)return new S_(e);if(t===0)return new A_(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new C_(r,n)}}var N_=/\\(\d+)/,kh=/\\(\d+)/g,I_=-1,M1=-2;var oi=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,r,n){this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=Ai.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=Ai.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${S1(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Ai.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ai.replaceCaptures(this._contentName,e,t)}},R_=class extends oi{retokenizeCapturedWithRuleId;constructor(e,t,r,n,a){super(e,t,r,n),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,r,n){throw new Error("Not supported!")}},L_=class extends oi{_match;captures;_cachedCompiledPatterns;constructor(e,t,r,n,a){super(e,t,r,null),this._match=new Wa(n,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ga,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},wh=class extends oi{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,a){super(e,t,r,n),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ga,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ol=class extends oi{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,a,i,s,o,l,u){super(e,t,r,n),this._begin=new Wa(a,this.id),this.beginCaptures=i,this._end=new Wa(s||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ga;for(const r of this.patterns)e.getRule(r).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},ns=class extends oi{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,r,n,a,i,s,o,l){super(e,t,r,n),this._begin=new Wa(a,this.id),this.beginCaptures=i,this.whileCaptures=o,this._while=new Wa(s,M1),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ga;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,r,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Ga,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},B1=class mt{static createCaptureRule(t,r,n,a,i){return t.registerRule(s=>new R_(r,s,n,a,i))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(a=>{if(t.id=a,t.match)return new L_(t.$vscodeTextmateLocation,t.id,t.name,t.match,mt._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=A1({},n,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new wh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,mt._compilePatterns(i,r,n))}return t.while?new ns(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,mt._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,mt._compileCaptures(t.whileCaptures||t.captures,r,n),mt._compilePatterns(t.patterns,r,n)):new Ol(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,mt._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,mt._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,mt._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let a=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);o>i&&(i=o)}for(let s=0;s<=i;s++)a[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);let l=0;t[s].patterns&&(l=mt.getCompiledRuleId(t[s],r,n)),a[o]=mt.createCaptureRule(r,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,l)}}return a}static _compilePatterns(t,r,n){let a=[];if(t)for(let i=0,s=t.length;i<s;i++){const o=t[i];let l=-1;if(o.include){const u=P1(o.include);switch(u.kind){case 0:case 1:l=mt.getCompiledRuleId(n[o.include],r,n);break;case 2:let c=n[u.ruleName];c&&(l=mt.getCompiledRuleId(c,r,n));break;case 3:case 4:const h=u.scopeName,m=u.kind===4?u.ruleName:null,f=r.getExternalGrammar(h,n);if(f)if(m){let b=f.repository[m];b&&(l=mt.getCompiledRuleId(b,r,f.repository))}else l=mt.getCompiledRuleId(f.repository.$self,r,f.repository);break}}else l=mt.getCompiledRuleId(o,r,n);if(l!==-1){const u=r.getRule(l);let c=!1;if((u instanceof wh||u instanceof Ol||u instanceof ns)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;a.push(l)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},Wa=class F1{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,r){if(t&&typeof t=="string"){const n=t.length;let a=0,i=[],s=!1;for(let o=0;o<n;o++)if(t.charAt(o)==="\\"&&o+1<n){const u=t.charAt(o+1);u==="z"?(i.push(t.substring(a,o)),i.push("$(?!\\n)(?<!\\n)"),a=o+2):(u==="A"||u==="G")&&(s=!0),o++}this.hasAnchor=s,a===0?this.source=t:(i.push(t.substring(a,n)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=r,typeof this.source=="string"?this.hasBackReferences=N_.test(this.source):this.hasBackReferences=!1}clone(){return new F1(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,r){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=r.map(a=>t.substring(a.start,a.end));return kh.lastIndex=0,this.source.replace(kh,(a,i)=>I1(n[parseInt(i,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],r=[],n=[],a=[],i,s,o,l;for(i=0,s=this.source.length;i<s;i++)o=this.source.charAt(i),t[i]=o,r[i]=o,n[i]=o,a[i]=o,o==="\\"&&i+1<s&&(l=this.source.charAt(i+1),l==="A"?(t[i+1]="ï¿¿",r[i+1]="ï¿¿",n[i+1]="A",a[i+1]="A"):l==="G"?(t[i+1]="ï¿¿",r[i+1]="G",n[i+1]="ï¿¿",a[i+1]="G"):(t[i+1]=l,r[i+1]=l,n[i+1]=l,a[i+1]=l),i++);return{A0_G0:t.join(""),A0_G1:r.join(""),A1_G0:n.join(""),A1_G1:a.join("")}}resolveAnchors(t,r){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?r?this._anchorCache.A1_G1:this._anchorCache.A1_G0:r?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Ga=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(r=>r.source);this._cached=new Ah(e,t,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,t,r){return this._hasAnchors?t?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,r){let n=this._items.map(a=>a.resolveAnchors(t,r));return new Ah(e,n,this._items.map(a=>a.ruleId))}},Ah=class{constructor(e,t,r){this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push("   - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
333`)}findNextMatchSync(e,t,r){const n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},$o=class{constructor(e,t){this.languageId=e,this.tokenType=t}},D_=class Pl{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,r){this._defaultAttributes=new $o(t,8),this._embeddedLanguagesMatcher=new O_(Object.entries(r||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Pl._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new $o(0,0);_getBasicScopeAttributes=new R1(t=>{const r=this._scopeToLanguage(t),n=this._toStandardTokenType(t);return new $o(r,n)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const r=t.match(Pl.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},O_=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([r,n])=>I1(r));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Sh=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function H1(e,t,r,n,a,i,s,o){const l=t.content.length;let u=!1,c=-1;if(s){const f=P_(e,t,r,n,a,i);a=f.stack,n=f.linePos,r=f.isFirstLine,c=f.anchorPosition}const h=Date.now();for(;!u;){if(o!==0&&Date.now()-h>o)return new Sh(a,!0);m()}return new Sh(a,!1);function m(){const f=M_(e,t,r,n,a,c);if(!f){i.produce(a,l),u=!0;return}const b=f.captureIndices,E=f.matchedRuleId,A=b&&b.length>0?b[0].end>n:!1;if(E===I_){const T=a.getRule(e);i.produce(a,b[0].start),a=a.withContentNameScopesList(a.nameScopesList),ka(e,t,r,a,i,T.endCaptures,b),i.produce(a,b[0].end);const w=a;if(a=a.parent,c=w.getAnchorPos(),!A&&w.getEnterPos()===n){a=w,i.produce(a,l),u=!0;return}}else{const T=e.getRule(E);i.produce(a,b[0].start);const w=a,L=T.getName(t.content,b),$=a.contentNameScopesList.pushAttributed(L,e);if(a=a.push(E,n,c,b[0].end===l,null,$,$),T instanceof Ol){const U=T;ka(e,t,r,a,i,U.beginCaptures,b),i.produce(a,b[0].end),c=b[0].end;const P=U.getContentName(t.content,b),W=$.pushAttributed(P,e);if(a=a.withContentNameScopesList(W),U.endHasBackReferences&&(a=a.withEndRule(U.getEndWithResolvedBackReferences(t.content,b))),!A&&w.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),u=!0;return}}else if(T instanceof ns){const U=T;ka(e,t,r,a,i,U.beginCaptures,b),i.produce(a,b[0].end),c=b[0].end;const P=U.getContentName(t.content,b),W=$.pushAttributed(P,e);if(a=a.withContentNameScopesList(W),U.whileHasBackReferences&&(a=a.withEndRule(U.getWhileWithResolvedBackReferences(t.content,b))),!A&&w.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),u=!0;return}}else if(ka(e,t,r,a,i,T.captures,b),i.produce(a,b[0].end),a=a.pop(),!A){a=a.safePop(),i.produce(a,l),u=!0;return}}b[0].end>n&&(n=b[0].end,r=!1)}}function P_(e,t,r,n,a,i){let s=a.beginRuleCapturedEOL?0:-1;const o=[];for(let l=a;l;l=l.pop()){const u=l.getRule(e);u instanceof ns&&o.push({rule:u,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:u,findOptions:c}=H_(l.rule,e,l.stack.endRule,r,n===s),h=u.findNextMatchSync(t,n,c);if(h){if(h.ruleId!==M1){a=l.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(i.produce(l.stack,h.captureIndices[0].start),ka(e,t,r,l.stack,i,l.rule.whileCaptures,h.captureIndices),i.produce(l.stack,h.captureIndices[0].end),s=h.captureIndices[0].end,h.captureIndices[0].end>n&&(n=h.captureIndices[0].end,r=!1))}else{a=l.stack.pop();break}}return{stack:a,linePos:n,anchorPosition:s,isFirstLine:r}}function M_(e,t,r,n,a,i){const s=B_(e,t,r,n,a,i),o=e.getInjections();if(o.length===0)return s;const l=F_(o,e,t,r,n,a,i);if(!l)return s;if(!s)return l;const u=s.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:s}function B_(e,t,r,n,a,i){const s=a.getRule(e),{ruleScanner:o,findOptions:l}=z1(s,e,a.endRule,r,n===i),u=o.findNextMatchSync(t,n,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function F_(e,t,r,n,a,i,s){let o=Number.MAX_VALUE,l=null,u,c=0;const h=i.contentNameScopesList.getScopeNames();for(let m=0,f=e.length;m<f;m++){const b=e[m];if(!b.matcher(h))continue;const E=t.getRule(b.ruleId),{ruleScanner:A,findOptions:T}=z1(E,t,null,n,a===s),w=A.findNextMatchSync(r,a,T);if(!w)continue;const L=w.captureIndices[0].start;if(!(L>=o)&&(o=L,l=w.captureIndices,u=w.ruleId,c=b.priority,o===a))break}return l?{priorityMatch:c===-1,captureIndices:l,matchedRuleId:u}:null}function z1(e,t,r,n,a){return{ruleScanner:e.compileAG(t,r,n,a),findOptions:0}}function H_(e,t,r,n,a){return{ruleScanner:e.compileWhileAG(t,r,n,a),findOptions:0}}function ka(e,t,r,n,a,i,s){if(i.length===0)return;const o=t.content,l=Math.min(i.length,s.length),u=[],c=s[0].end;for(let h=0;h<l;h++){const m=i[h];if(m===null)continue;const f=s[h];if(f.length===0)continue;if(f.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=f.start;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?a.produceFromScopes(u[u.length-1].scopes,f.start):a.produce(n,f.start),m.retokenizeCapturedWithRuleId){const E=m.getName(o,s),A=n.contentNameScopesList.pushAttributed(E,e),T=m.getContentName(o,s),w=A.pushAttributed(T,e),L=n.push(m.retokenizeCapturedWithRuleId,f.start,-1,!1,null,A,w),$=e.createOnigString(o.substring(0,f.end));H1(e,$,r&&f.start===0,f.start,L,a,!1,0),O1($);continue}const b=m.getName(o,s);if(b!==null){const A=(u.length>0?u[u.length-1].scopes:n.contentNameScopesList).pushAttributed(b,e);u.push(new z_(A,f.end))}}for(;u.length>0;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var z_=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function U_(e,t,r,n,a,i,s,o){return new j_(e,t,r,n,a,i,s,o)}function Ch(e,t,r,n,a){const i=ts(t,as),s=B1.getCompiledRuleId(r,n,a.repository);for(const o of i)e.push({debugSelector:t,matcher:o.matcher,ruleId:s,grammar:a,priority:o.priority})}function as(e,t){if(t.length<e.length)return!1;let r=0;return e.every(n=>{for(let a=r;a<t.length;a++)if($_(t[a],n))return r=a+1,!0;return!1})}function $_(e,t){if(!e)return!1;if(e===t)return!0;const r=t.length;return e.length>r&&e.substr(0,r)===t&&e[r]==="."}var j_=class{constructor(e,t,r,n,a,i,s,o){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=o,this._basicScopeAttributesProvider=new D_(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=Nh(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const l of Object.keys(a)){const u=ts(l,as);for(const c of u)this._tokenTypeMatchers.push({matcher:c.matcher,type:a[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},t=[],r=this._rootScopeName,n=e.lookup(r);if(n){const a=n.injections;if(a)for(let s in a)Ch(t,s,a[s],this,n);const i=this._grammarRepository.injections(r);i&&i.forEach(s=>{const o=this.getExternalGrammar(s);if(o){const l=o.injectionSelector;l&&Ch(t,l,o,this,o)}})}return t.sort((a,i)=>a.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=Nh(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){const n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){const n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){this._rootId===-1&&(this._rootId=B1.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===Ml.NULL){a=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),h=Qn.set(0,u.languageId,u.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),m=this.getRule(this._rootId).getName(null,null);let f;m?f=Ma.createRootAndLookUpScopeName(m,h,this):f=Ma.createRoot("unknown",h),t=new Ml(null,this._rootId,-1,-1,!1,null,f,f)}else a=!1,t.reset();e=e+`
334`;const i=this.createOnigString(e),s=i.content.length,o=new q_(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=H1(this,i,a,0,t,o,!0,n);return O1(i),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Nh(e,t){return e=l_(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Ma=class ur{constructor(t,r,n){this.parent=t,this.scopePath=r,this.tokenAttributes=n}static fromExtension(t,r){let n=t,a=t?.scopePath??null;for(const i of r)a=Uo.push(a,i.scopeNames),n=new ur(n,a,i.encodedTokenAttributes);return n}static createRoot(t,r){return new ur(null,new Uo(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const a=n.getMetadataForScope(t),i=new Uo(null,t),s=n.themeProvider.themeMatch(i),o=ur.mergeAttributes(r,a,s);return new ur(null,i,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return ur.equals(this,t)}static equals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.scopeName!==r.scopeName||t.tokenAttributes!==r.tokenAttributes)return!1;t=t.parent,r=r.parent}while(!0)}static mergeAttributes(t,r,n){let a=-1,i=0,s=0;return n!==null&&(a=n.fontStyle,i=n.foregroundId,s=n.backgroundId),Qn.set(t,r.languageId,r.tokenType,null,a,i,s)}pushAttributed(t,r){if(t===null)return this;if(t.indexOf(" ")===-1)return ur._pushAttributed(this,t,r);const n=t.split(/ /g);let a=this;for(const i of n)a=ur._pushAttributed(a,i,r);return a}static _pushAttributed(t,r,n){const a=n.getMetadataForScope(r),i=t.scopePath.push(r),s=n.themeProvider.themeMatch(i),o=ur.mergeAttributes(t.tokenAttributes,a,s);return new ur(t,i,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const r=[];let n=this;for(;n&&n!==t;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===t?r.reverse():void 0}},Ml=class fn{constructor(t,r,n,a,i,s,o,l){this.parent=t,this.ruleId=r,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new fn(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:fn._equals(this,t)}static _equals(t,r){return t===r?!0:this._structuralEquals(t,r)?Ma.equals(t.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.depth!==r.depth||t.ruleId!==r.ruleId||t.endRule!==r.endRule)return!1;t=t.parent,r=r.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){fn._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,a,i,s,o){return new fn(this,t,r,n,a,i,s,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,r){return this.parent&&(r=this.parent._writeString(t,r)),t[r++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,r}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new fn(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let r=this;for(;r&&r._enterPos===t._enterPos;){if(r.ruleId===t.ruleId)return!0;r=r.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,r){const n=Ma.fromExtension(t?.nameScopesList??null,r.nameScopesList);return new fn(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,Ma.fromExtension(n,r.contentNameScopesList))}},V_=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):ts(r,as).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>ts(r,as).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},q_=class{constructor(e,t,r,n){this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,a=!1;if(this.balancedBracketSelectors?.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=e?.getScopeNames()??[];for(const s of this._tokenTypeOverrides)s.matcher(i)&&(n=Qn.set(n,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(n=Qn.set(n,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}const r=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,a=this._binaryTokens.length;n<a;n++)r[n]=this._binaryTokens[n];return r}},W_=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,r,n,a){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,U_(e,i,t,r,n,a,this,this._onigLib))}return this._grammars.get(e)}},G_=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new W_(es.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,r){this._syncRegistry.setTheme(es.createFromRawTheme(t,r))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,r,n){return this.loadGrammarWithConfiguration(t,r,{embeddedLanguages:n})}loadGrammarWithConfiguration(t,r,n){return this._loadGrammar(t,r,n.embeddedLanguages,n.tokenTypes,new V_(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,r,n,a,i){const s=new T_(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(o=>this._loadSingleGrammar(o.scopeName)),s.processQueue();return this._grammarForScopeName(t,r,n,a,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const r=this._options.loadGrammar(t);if(r){const n=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(r,n)}}addGrammar(t,r=[],n=0,a=null){return this._syncRegistry.addGrammar(t,r),this._grammarForScopeName(t.scopeName,n,a)}_grammarForScopeName(t,r=0,n=null,a=null,i=null){return this._syncRegistry.grammarForScopeName(t,r,n,a,i)}},Bl=Ml.NULL;const Y_=/["&'<>`]/g,X_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Q_=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,K_=/[|\\{}()[\]^$+*?.]/g,Ih=new WeakMap;function Z_(e,t){if(e=e.replace(t.subset?J_(t.subset):Y_,n),t.subset||t.escapeOnly)return e;return e.replace(X_,r).replace(Q_,n);function r(a,i,s){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function n(a,i,s){return t.format(a.charCodeAt(0),s.charCodeAt(i+1),t)}}function J_(e){let t=Ih.get(e);return t||(t=eT(e),Ih.set(e,t)),t}function eT(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(K_,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const tT=/[\dA-Fa-f]/;function rT(e,t,r){const n="&#x"+e.toString(16).toUpperCase();return r&&t&&!tT.test(String.fromCharCode(t))?n:n+";"}const nT=/\d/;function aT(e,t,r){const n="&#"+String(e);return r&&t&&!nT.test(String.fromCharCode(t))?n:n+";"}const iT=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
334h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],jo={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub
vendor: 16,312 bytes, lines 334-342
334:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},sT=["cent","copy","divide","gt","lt","not","para","times"],U1={}.hasOwnProperty,Fl={};let Si;for(Si in jo)U1.call(jo,Si)&&(Fl[jo[Si]]=Si);const oT=/[^\dA-Za-z]/;function lT(e,t,r,n){const a=String.fromCharCode(e);if(U1.call(Fl,a)){const i=Fl[a],s="&"+i;return r&&iT.includes(i)&&!sT.includes(i)&&(!n||t&&t!==61&&oT.test(String.fromCharCode(t)))?s:s+";"}return""}function uT(e,t,r){let n=rT(e,t,r.omitOptionalSemicolons),a;if((r.useNamedReferences||r.useShortestReferences)&&(a=lT(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!a)&&r.useShortestReferences){const i=aT(e,t,r.omitOptionalSemicolons);i.length<n.length&&(n=i)}return a&&(!r.useShortestReferences||a.length<n.length)?a:n}function qn(e,t){return Z_(e,Object.assign({format:uT},t))}const cT=/^>|^->|<!--|-->|--!>|<!-$/g,hT=[">"],dT=["<",">"];function mT(e,t,r,n){return n.settings.bogusComments?"<?"+qn(e.value,Object.assign({},n.settings.characterReferences,{subset:hT}))+">":"<!--"+e.value.replace(cT,a)+"-->";function a(i){return qn(i,Object.assign({},n.settings.characterReferences,{subset:dT}))}}function fT(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const at=j1(1),$1=j1(-1),pT=[];function j1(e){return t;function t(r,n,a){const i=r?r.children:pT;let s=(n||0)+e,o=i[s];if(!a)for(;o&&ps(o);)s+=e,o=i[s];return o}}const gT={}.hasOwnProperty;function V1(e){return t;function t(r,n,a){return gT.call(e,r.tagName)&&e[r.tagName](r,n,a)}}const Gu=V1({body:yT,caption:Vo,colgroup:Vo,dd:TT,dt:_T,head:Vo,html:bT,li:ET,optgroup:vT,option:kT,p:xT,rp:Rh,rt:Rh,tbody:AT,td:Lh,tfoot:ST,th:Lh,thead:wT,tr:CT});function Vo(e,t,r){const n=at(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&ps(n.value.charAt(0)))}function bT(e,t,r){const n=at(r,t);return!n||n.type!=="comment"}function yT(e,t,r){const n=at(r,t);return!n||n.type!=="comment"}function xT(e,t,r){const n=at(r,t);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function ET(e,t,r){const n=at(r,t);return!n||n.type==="element"&&n.tagName==="li"}function _T(e,t,r){const n=at(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function TT(e,t,r){const n=at(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function Rh(e,t,r){const n=at(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function vT(e,t,r){const n=at(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function kT(e,t,r){const n=at(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function wT(e,t,r){const n=at(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function AT(e,t,r){const n=at(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function ST(e,t,r){return!at(r,t)}function CT(e,t,r){const n=at(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function Lh(e,t,r){const n=at(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const NT=V1({body:LT,colgroup:DT,head:RT,html:IT,tbody:OT});function IT(e){const t=at(e,-1);return!t||t.type!=="comment"}function RT(e){const t=new Set;for(const n of e.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(t.has(n.tagName))return!1;t.add(n.tagName)}const r=e.children[0];return!r||r.type==="element"}function LT(e){const t=at(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ps(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function DT(e,t,r){const n=$1(r,t),a=at(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&Gu(n,r.children.indexOf(n),r)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function OT(e,t,r){const n=$1(r,t),a=at(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Gu(n,r.children.indexOf(n),r)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const Ci={name:[[`	
335\f\r &/=>`.split(""),`	
336\f\r "&'/=>\``.split("")],[`\0	
337\f\r "&'/<=>`.split(""),`\0	
338\f\r "&'/<=>\``.split("")]],unquoted:[[`	
339\f\r &>`.split(""),`\0	
340\f\r "&'<=>\``.split("")],[`\0	
341\f\r "&'<=>\``.split(""),`\0	
342\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function PT(e,t,r,n){const a=n.schema,i=a.space==="svg"?!1:n.settings.omitOptionalTags;let s=a.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const o=[];let l;a.space==="html"&&e.tagName==="svg"&&(n.schema=an);const u=MT(n,e.properties),c=n.all(a.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=a,c&&(s=!1),(u||!i||!NT(e,t,r))&&(o.push("<",e.tagName,u?" "+u:""),s&&(a.space==="svg"||n.settings.closeSelfClosing)&&(l=u.charAt(u.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(c),!s&&(!i||!Gu(e,t,r))&&o.push("</"+e.tagName+">"),o.join("")}function MT(e,t){const r=[];let n=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const i=BT(e,a,t[a]);i&&r.push(i)}}for(;++n<r.length;){const i=e.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&i!=='"'&&i!=="'"&&(r[n]+=" ")}return r.join("")}function BT(e,t,r){const n=gs(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,o;if(n.overloadedBoolean&&(r===n.attribute||r==="")?r=!0:(n.boolean||n.overloadedBoolean)&&(typeof r!="string"||r===n.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";const l=qn(n.attribute,Object.assign({},e.settings.characterReferences,{subset:Ci.name[a][i]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?Kl:Jl)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?l:(e.settings.preferUnquoted&&(o=qn(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Ci.unquoted[a][i]}))),o!==r&&(e.settings.quoteSmart&&Zi(r,s)>Zi(r,e.alternative)&&(s=e.alternative),o=s+qn(r,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Ci.single:Ci.double)[a][i],attribute:!0}))+s),l+(o&&"="+o))}const FT=["<","&"];function q1(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:qn(e.value,Object.assign({},n.settings.characterReferences,{subset:FT}))}function HT(e,t,r,n){return n.settings.allowDangerousHtml?e.value:q1(e,t,r,n)}function zT(e,t,r,n){return n.all(e)}const UT=Pu("type",{invalid:$T,unknown:jT,handlers:{comment:mT,doctype:fT,element:PT,raw:HT,root:zT,text:q1}});function $T(e){throw new Error("Expected node, not `"+e+"`")}function jT(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const VT={},qT={},WT=[];function GT(e,t){const r=t||VT,n=r.quote||'"',a=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:YT,all:XT,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||_f,characterReferences:r.characterReferences||qT,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?an:Ka,quote:n,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function YT(e,t,r){return UT(e,t,r,this)}function XT(e){const t=[],r=e&&e.children||WT;let n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function is(e,t){const r=typeof e=="string"?{}:{...e.colorReplacements},n=typeof e=="string"?e:e.name;for(const[a,i]of Object.entries(t?.colorReplacements||{}))typeof i=="string"?r[a]=i:a===n&&Object.assign(r,i);return r}function en(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function QT(e){return Array.isArray(e)?e:[e]}async function W1(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Yu(e){return!e||["plaintext","txt","text","plain"].includes(e)}function G1(e){return e==="ansi"||Yu(e)}function Xu(e){return e==="none"}function Y1(e){return Xu(e)}function X1(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(/\s+/g);for(const n of r)n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function Ds(e,t=!1){const r=e.split(/(\r?\n)/g);let n=0;const a=[];for(let i=0;i<r.length;i+=2){const s=t?r[i]+(r[i+1]||""):r[i];a.push([s,n]),n+=r[i].length,n+=r[i+1]?.length||0}return a}function KT(e){const t=Ds(e,!0).map(([a])=>a);function r(a){if(a===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=a,s=0;for(const o of t){if(i<o.length)break;i-=o.length,s++}return{line:s,character:i}}function n(a,i){let s=0;for(let o=0;o<a;o++)s+=t[o].length;return s+=i,s}return{lines:t,indexToPos:r,posToIndex:n}}const Qu="light-dark()",ZT=["color","background-color"];function JT(e,t){let r=0;const n=[];for(const a of t)a>r&&n.push({...e,content:e.content.slice(r,a),offset:e.offset+r}),r=a;return r<e.content.length&&n.push({...e,content:e.content.slice(r),offset:e.offset+r}),n}function ev(e,t){const r=Array.from(t instanceof Set?t:new Set(t)).sort((n,a)=>n-a);return r.length?e.map(n=>n.flatMap(a=>{const i=r.filter(s=>a.offset<s&&s<a.offset+a.content.length).map(s=>s-a.offset).sort((s,o)=>s-o);return i.length?JT(a,i):a})):e}function tv(e,t,r,n,a="css-vars"){const i={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(c=>ss(e.variants[c])),o=new Set(s.flatMap(c=>Object.keys(c))),l={},u=(c,h)=>{const m=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return r+t[c]+(h==="color"?"":m)};return s.forEach((c,h)=>{for(const m of o){const f=c[m]||"inherit";if(h===0&&n&&ZT.includes(m))if(n===Qu&&s.length>1){const b=t.findIndex(w=>w==="light"),E=t.findIndex(w=>w==="dark");if(b===-1||E===-1)throw new Je('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const A=s[b][m]||"inherit",T=s[E][m]||"inherit";l[m]=`light-dark(${A}, ${T})`,a==="css-vars"&&(l[u(h,m)]=f)}else l[m]=f;else a==="css-vars"&&(l[u(h,m)]=f)}}),i.htmlStyle=l,i}function ss(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&ft.Italic&&(t["font-style"]="italic"),e.fontStyle&ft.Bold&&(t["font-weight"]="bold");const r=[];e.fontStyle&ft.Underline&&r.push("underline"),e.fontStyle&ft.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function Hl(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}const Q1=new WeakMap;function Os(e,t){Q1.set(e,t)}function Ya(e){return Q1.get(e)}class ia{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new ia(Object.fromEntries(QT(r).map(n=>[n,Bl])),t)}constructor(...t){if(t.length===2){const[r,n]=t;this.lang=n,this._stacks=r}else{const[r,n,a]=t;this.lang=n,this._stacks={[a]:r}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return rv(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function rv(e){const t=[],r=new Set;function n(a){if(r.has(a))return;r.add(a);const i=a?.nameScopesList?.scopeName;i&&t.push(i),a.parent&&n(a.parent)}return n(e),t}function nv(e,t){if(!(e instanceof ia))throw new Je("Invalid grammar state");return e.getInternalStack(t)}function av(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let n=function(s){if(typeof s=="number"){if(s<0||s>r.source.length)throw new Je(`Invalid decoration offset: ${s}. Code length: ${r.source.length}`);return{...a.indexToPos(s),offset:s}}else{const o=a.lines[s.line];if(o===void 0)throw new Je(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${a.lines.length}`);let l=s.character;if(l<0&&(l=o.length+l),l<0||l>o.length)throw new Je(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${o.length}`);return{...s,character:l,offset:a.posToIndex(s.line,l)}}};const a=KT(r.source),i=(r.options.decorations||[]).map(s=>({...s,start:n(s.start),end:n(s.end)}));iv(i),e.set(r.meta,{decorations:i,converter:a,source:r.source})}return e.get(r.meta)}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const a=t(this).decorations.flatMap(s=>[s.start.offset,s.end.offset]);return ev(r,a)},code(r){if(!this.options.decorations?.length)return;const n=t(this),a=Array.from(r.children).filter(c=>c.type==="element"&&c.tagName==="span");if(a.length!==n.converter.lines.length)throw new Je(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(c,h,m,f){const b=a[c];let E="",A=-1,T=-1;if(h===0&&(A=0),m===0&&(T=0),m===Number.POSITIVE_INFINITY&&(T=b.children.length),A===-1||T===-1)for(let L=0;L<b.children.length;L++)E+=K1(b.children[L]),A===-1&&E.length===h&&(A=L+1),T===-1&&E.length===m&&(T=L+1);if(A===-1)throw new Je(`Failed to find start index for decoration ${JSON.stringify(f.start)}`);if(T===-1)throw new Je(`Failed to find end index for decoration ${JSON.stringify(f.end)}`);const w=b.children.slice(A,T);if(!f.alwaysWrap&&w.length===b.children.length)o(b,f,"line");else if(!f.alwaysWrap&&w.length===1&&w[0].type==="element")o(w[0],f,"token");else{const L={type:"element",tagName:"span",properties:{},children:w};o(L,f,"wrapper"),b.children.splice(A,w.length,L)}}function s(c,h){a[c]=o(a[c],h,"line")}function o(c,h,m){const f=h.properties||{},b=h.transform||(E=>E);return c.tagName=h.tagName||"span",c.properties={...c.properties,...f,class:c.properties.class},h.properties?.class&&X1(c,h.properties.class),c=b(c,m)||c,c}const l=[],u=n.decorations.sort((c,h)=>h.start.offset-c.start.offset||c.end.offset-h.end.offset);for(const c of u){const{start:h,end:m}=c;if(h.line===m.line)i(h.line,h.character,m.character,c);else if(h.line<m.line){i(h.line,h.character,Number.POSITIVE_INFINITY,c);for(let f=h.line+1;f<m.line;f++)l.unshift(()=>s(f,c));i(m.line,0,m.character,c)}}l.forEach(c=>c())}}}function iv(e){for(let t=0;t<e.length;t++){const r=e[t];if(r.start.offset>r.end.offset)throw new Je(`Invalid decoration range: ${JSON.stringify(r.start)}
342 - ${JSON.stringify(r.end)}`);for(let n=t+1;n<e.length;n++){const a=e[n],i=r.start.offset<=a.start.offset&&a.start.offset<r.end.offset,s=r.start.offset<a.end.offset&&a.end.offset<=r.end.offset,o=a.start.offset<=r.start.offset&&r.start.offset<a.end.offset,l=a.start.offset<r.end.offset&&r.end.offset<=a.end.offset;if(i||s||o||l){if(i&&s||o&&l||o&&r.start.offset===r.end.offset||s&&a.start.offset===a.end.offset)continue;throw new Je(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function K1(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(K1).join(""):""}const sv=[av()];function os(e){const t=ov(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...sv]}function ov(e){const t=[],r=[],n=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":r.push(a);break;default:n.push(a)}return{pre:t,post:r,normal:n}}var gn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],qo={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function lv(e,t){const r=e.indexOf("\x1B",t);if(r!==-1&&e[r+1]==="["){const n=e.indexOf("m",r);if(n!==-1)return{sequence:e.substring(r+2,n).split(";"),startPosition:r,position:n+1}}return{position:e.length}}function Dh(e){const t=e.shift();if(t==="2"){const r=e.splice(0,3).map(n=>Number.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(t==="5"){const r=e.shift();if(r)return{type:"table",index:Number(r)}}}function uv(e){const t=[];for(;e.length>0;){const r=e.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)qo[n]&&t.push({type:"setDecoration",value:qo[n]});else if(n<=29){const a=qo[n-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:gn[n-30]}});else if(n===38){const a=Dh(e);a&&t.push({type:"setForegroundColor",value:a})}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:gn[n-40]}});else if(n===48){const a=Dh(e);a&&t.push({type:"setBackgroundColor",value:a})}else n===49?t.push({type:"resetBackgroundColor"}):n===53?t.push({type:"setDecoration",value:"overline"}):n===55?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:gn[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:gn[n-100+8]}})}return t}function cv(){let e=null,t=null,r=new Set;return{parse(n){const a=[];let i=0;do{const s=lv(n,i),o=s.sequence?n.substring(i,s.startPosition):n.substring(i);if(o.length>0&&a.push({value:o,foreground:e,background:t,decorations:new Set(r)}),s.sequence){const l=uv(s.sequence);for(const u of l)u.type==="resetAll"?(e=null,t=null,r.clear()):u.type==="resetForegroundColor"?e=null:u.type==="resetBackgroundColor"?t=null:u.type==="resetDecoration"&&r.delete(u.value);for(const u of l)u.type==="setForegroundColor"?e=u.value:u.type==="setBackgroundColor"?t=u.value:u.type==="setDecoration"&&r.add(u.value)}i=s.position}while(i<n.length);return a}}}var hv={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function dv(e=hv){function t(o){return e[o]}function r(o){return`#${o.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let n;function a(){if(n)return n;n=[];for(let u=0;u<gn.length;u++)n.push(t(gn[u]));let o=[0,95,135,175,215,255];for(let u=0;u<6;u++)for(let c=0;c<6;c++)for(let h=0;h<6;h++)n.push(r([o[u],o[c],o[h]]));let l=8;for(let u=0;u<24;u++,l+=10)n.push(r([l,l,l]));return n}function i(o){return a()[o]}function s(o){switch(o.type){case"named":return t(o.name);case"rgb":return r(o.rgb);case"table":return i(o.index)}}return{value:s}}function mv(e,t,r){const n=is(e,r),a=Ds(t),i=dv(Object.fromEntries(gn.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=cv();return a.map(o=>s.parse(o[0]).map(l=>{let u,c;l.decorations.has("reverse")?(u=l.background?i.value(l.background):e.bg,c=l.foreground?i.value(l.foreground):e.fg):(u=l.foreground?i.value(l.foreground):e.fg,c=l.background?i.value(l.background):void 0),u=en(u,n),c=en(c,n),l.decorations.has("dim")&&(u=fv(u));let h=ft.None;return l.decorations.has("bold")&&(h|=ft.Bold),l.decorations.has("italic")&&(h|=ft.Italic),l.decorations.has("underline")&&(h|=ft.Underline),l.decorations.has("strikethrough")&&(h|=ft.Strikethrough),{content:l.value,offset:o[1],color:u,bgColor:c,fontStyle:h}}))}function fv(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const n=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${n}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(n=>`${n}${n}`).join("")}80`;const r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}function Ku(e,t,r={}){const{lang:n="text",theme:a=e.getLoadedThemes()[0]}=r;if(Yu(n)||Xu(a))return Ds(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=e.setTheme(a);if(n==="ansi")return mv(i,t,r);const o=e.getLanguage(n);if(r.grammarState){if(r.grammarState.lang!==o.name)throw new Je(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${o.name}"`);if(!r.grammarState.themes.includes(i.name))throw new Je(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return gv(t,o,i,s,r)}function pv(...e){if(e.length===2)return Ya(e[1]);const[t,r,n={}]=e,{lang:a="text",theme:i=t.getLoadedThemes()[0]}=n;if(Yu(a)||Xu(i))throw new Je("Plain language does not have grammar state");if(a==="ansi")throw new Je("ANSI language does not have grammar state");const{theme:s,colorMap:o}=t.setTheme(i),l=t.getLanguage(a);return new ia(ls(r,l,s,o,n).stateStack,l.name,s.name)}
vendor: 35,670 bytes, lines 342-343
342function gv(e,t,r,n,a){const i=ls(e,t,r,n,a),s=new ia(ls(e,t,r,n,a).stateStack,t.name,r.name);return Os(i.tokens,s),i.tokens}function ls(e,t,r,n,a){const i=is(r,a),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=a,l=Ds(e);let u=a.grammarState?nv(a.grammarState,r.name)??Bl:a.grammarContextCode!=null?ls(a.grammarContextCode,t,r,n,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:Bl,c=[];const h=[];for(let m=0,f=l.length;m<f;m++){const[b,E]=l[m];if(b===""){c=[],h.push([]);continue}if(s>0&&b.length>=s){c=[],h.push([{content:b,offset:E,color:"",fontStyle:0}]);continue}let A,T,w;a.includeExplanation&&(A=t.tokenizeLine(b,u,o),T=A.tokens,w=0);const L=t.tokenizeLine2(b,u,o),$=L.tokens.length/2;for(let U=0;U<$;U++){const P=L.tokens[2*U],W=U+1<$?L.tokens[2*U+2]:b.length;if(P===W)continue;const se=L.tokens[2*U+1],ae=en(n[Qn.getForeground(se)],i),F=Qn.getFontStyle(se),ne={content:b.substring(P,W),offset:E+P,color:ae,fontStyle:F};if(a.includeExplanation){const ee=[];if(a.includeExplanation!=="scopeName")for(const J of r.settings){let ue;switch(typeof J.scope){case"string":ue=J.scope.split(/,/).map(ce=>ce.trim());break;case"object":ue=J.scope;break;default:continue}ee.push({settings:J,selectors:ue.map(ce=>ce.split(/ /))})}ne.explanation=[];let oe=0;for(;P+oe<W;){const J=T[w],ue=b.substring(J.startIndex,J.endIndex);oe+=ue.length,ne.explanation.push({content:ue,scopes:a.includeExplanation==="scopeName"?bv(J.scopes):yv(ee,J.scopes)}),w+=1}}c.push(ne)}h.push(c),c=[],u=L.ruleStack}return{tokens:h,stateStack:u}}function bv(e){return e.map(t=>({scopeName:t}))}function yv(e,t){const r=[];for(let n=0,a=t.length;n<a;n++){const i=t[n];r[n]={scopeName:i,themeMatches:Ev(e,i,t.slice(0,n))}}return r}function Oh(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function xv(e,t,r){if(!Oh(e[e.length-1],t))return!1;let n=e.length-2,a=r.length-1;for(;n>=0&&a>=0;)Oh(e[n],r[a])&&(n-=1),a-=1;return n===-1}function Ev(e,t,r){const n=[];for(const{selectors:a,settings:i}of e)for(const s of a)if(xv(s,t,r)){n.push(i);break}return n}function Z1(e,t,r){const n=Object.entries(r.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),a=n.map(l=>{const u=Ku(e,t,{...r,theme:l.theme}),c=Ya(u),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:u,state:c,theme:h}}),i=_v(...a.map(l=>l.tokens)),s=i[0].map((l,u)=>l.map((c,h)=>{const m={content:c.content,variants:{},offset:c.offset};return"includeExplanation"in r&&r.includeExplanation&&(m.explanation=c.explanation),i.forEach((f,b)=>{const{content:E,explanation:A,offset:T,...w}=f[u][h];m.variants[n[b].color]=w}),m})),o=a[0].state?new ia(Object.fromEntries(a.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),a[0].state.lang):void 0;return o&&Os(s,o),s}function _v(...e){const t=e.map(()=>[]),r=e.length;for(let n=0;n<e[0].length;n++){const a=e.map(l=>l[n]),i=t.map(()=>[]);t.forEach((l,u)=>l.push(i[u]));const s=a.map(()=>0),o=a.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(u=>u.content.length));for(let u=0;u<r;u++){const c=o[u];c.content.length===l?(i[u].push(c),s[u]+=1,o[u]=a[u][s[u]]):(i[u].push({...c,content:c.content.slice(0,l)}),o[u]={...c,content:c.content.slice(l),offset:c.offset+l})}}}return t}function us(e,t,r){let n,a,i,s,o,l;if("themes"in r){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:h="css-vars"}=r,m=Object.entries(r.themes).filter(T=>T[1]).map(T=>({color:T[0],theme:T[1]})).sort((T,w)=>T.color===u?-1:w.color===u?1:0);if(m.length===0)throw new Je("`themes` option must not be empty");const f=Z1(e,t,r);if(l=Ya(f),u&&Qu!==u&&!m.find(T=>T.color===u))throw new Je(`\`themes\` option must contain the defaultColor key \`${u}\``);const b=m.map(T=>e.getTheme(T.theme)),E=m.map(T=>T.color);i=f.map(T=>T.map(w=>tv(w,E,c,u,h))),l&&Os(i,l);const A=m.map(T=>is(T.theme,r));a=Ph(m,b,A,c,u,"fg",h),n=Ph(m,b,A,c,u,"bg",h),s=`shiki-themes ${b.map(T=>T.name).join(" ")}`,o=u?void 0:[a,n].join(";")}else if("theme"in r){const u=is(r.theme,r);i=Ku(e,t,r);const c=e.getTheme(r.theme);n=en(c.bg,u),a=en(c.fg,u),s=c.name,l=Ya(i)}else throw new Je("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:n,themeName:s,rootStyle:o,grammarState:l}}function Ph(e,t,r,n,a,i,s){return e.map((o,l)=>{const u=en(t[l][i],r[l])||"inherit",c=`${n+o.color}${i==="bg"?"-bg":""}:${u}`;if(l===0&&a){if(a===Qu&&e.length>1){const h=e.findIndex(E=>E.color==="light"),m=e.findIndex(E=>E.color==="dark");if(h===-1||m===-1)throw new Je('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const f=en(t[h][i],r[h])||"inherit",b=en(t[m][i],r[m])||"inherit";return`light-dark(${f}, ${b});${c}`}return u}return s==="css-vars"?c:null}).filter(o=>!!o).join(";")}function cs(e,t,r,n={meta:{},options:r,codeToHast:(a,i)=>cs(e,a,i),codeToTokens:(a,i)=>us(e,a,i)}){let a=t;for(const b of os(r))a=b.preprocess?.call(n,a,r)||a;let{tokens:i,fg:s,bg:o,themeName:l,rootStyle:u,grammarState:c}=us(e,a,r);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:m=!1}=r;h===!0?i=vv(i):h==="never"&&(i=kv(i)),m&&(i=wv(i));const f={...n,get source(){return a}};for(const b of os(r))i=b.tokens?.call(f,i)||i;return Tv(i,{...r,fg:s,bg:o,themeName:l,rootStyle:u},f,c)}function Tv(e,t,r,n=Ya(e)){const a=os(t),i=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t;let u={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([b])=>!b.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:i};const h=[],m={...r,structure:o,addClassToHast:X1,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return u},get code(){return c},get lines(){return h}};if(e.forEach((b,E)=>{E&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&i.push({type:"text",value:`
343`}));let A={type:"element",tagName:"span",properties:{class:"line"},children:[]},T=0;for(const w of b){let L={type:"element",tagName:"span",properties:{...w.htmlAttrs},children:[{type:"text",value:w.content}]};const $=Hl(w.htmlStyle||ss(w));$&&(L.properties.style=$);for(const U of a)L=U?.span?.call(m,L,E+1,T,A,w)||L;o==="inline"?s.children.push(L):o==="classic"&&A.children.push(L),T+=w.content.length}if(o==="classic"){for(const w of a)A=w?.line?.call(m,A,E+1)||A;h.push(A),i.push(A)}}),o==="classic"){for(const b of a)c=b?.code?.call(m,c)||c;u.children.push(c);for(const b of a)u=b?.pre?.call(m,u)||u;s.children.push(u)}let f=s;for(const b of a)f=b?.root?.call(m,f)||f;return n&&Os(f,n),f}function vv(e){return e.map(t=>{const r=[];let n="",a=0;return t.forEach((i,s)=>{const l=!(i.fontStyle&&(i.fontStyle&ft.Underline||i.fontStyle&ft.Strikethrough));l&&i.content.match(/^\s+$/)&&t[s+1]?(a||(a=i.offset),n+=i.content):n?(l?r.push({...i,offset:a,content:n+i.content}):r.push({content:n,offset:a},i),a=0,n=""):r.push(i)}),r})}function kv(e){return e.map(t=>t.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,a,i,s]=n;if(!a&&!s)return r;const o=[{...r,offset:r.offset+a.length,content:i}];return a&&o.unshift({content:a,offset:r.offset}),s&&o.push({content:s,offset:r.offset+a.length+i.length}),o}))}function wv(e){return e.map(t=>{const r=[];for(const n of t){if(r.length===0){r.push({...n});continue}const a=r[r.length-1],i=Hl(a.htmlStyle||ss(a)),s=Hl(n.htmlStyle||ss(n)),o=a.fontStyle&&(a.fontStyle&ft.Underline||a.fontStyle&ft.Strikethrough),l=n.fontStyle&&(n.fontStyle&ft.Underline||n.fontStyle&ft.Strikethrough);!o&&!l&&i===s?a.content+=n.content:r.push({...n})}return r})}const Av=GT;function Sv(e,t,r){const n={meta:{},options:r,codeToHast:(i,s)=>cs(e,i,s),codeToTokens:(i,s)=>us(e,i,s)};let a=Av(cs(e,t,r,n));for(const i of os(r))a=i.postprocess?.call(n,a,r)||a;return a}const Mh={light:"#333333",dark:"#bbbbbb"},Bh={light:"#fffffe",dark:"#1e1e1e"},Fh="__shiki_resolved";function Zu(e){if(e?.[Fh])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:r,fg:n}=t;if(!r||!n){const o=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;o?.settings?.foreground&&(n=o.settings.foreground),o?.settings?.background&&(r=o.settings.background),!n&&t?.colors?.["editor.foreground"]&&(n=t.colors["editor.foreground"]),!r&&t?.colors?.["editor.background"]&&(r=t.colors["editor.background"]),n||(n=t.type==="light"?Mh.light:Mh.dark),r||(r=t.type==="light"?Bh.light:Bh.dark),t.fg=n,t.bg=r}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let a=0;const i=new Map;function s(o){if(i.has(o))return i.get(o);a+=1;const l=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?s(o):(i.set(o,l),l)}t.settings=t.settings.map(o=>{const l=o.settings?.foreground&&!o.settings.foreground.startsWith("#"),u=o.settings?.background&&!o.settings.background.startsWith("#");if(!l&&!u)return o;const c={...o,settings:{...o.settings}};if(l){const h=s(o.settings.foreground);t.colorReplacements[h]=o.settings.foreground,c.settings.foreground=h}if(u){const h=s(o.settings.background);t.colorReplacements[h]=o.settings.background,c.settings.background=h}return c});for(const o of Object.keys(t.colors||{}))if((o==="editor.foreground"||o==="editor.background"||o.startsWith("terminal.ansi"))&&!t.colors[o]?.startsWith("#")){const l=s(t.colors[o]);t.colorReplacements[l]=t.colors[o],t.colors[o]=l}return Object.defineProperty(t,Fh,{enumerable:!1,writable:!1,value:!0}),t}async function J1(e){return Array.from(new Set((await Promise.all(e.filter(t=>!G1(t)).map(async t=>await W1(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function ep(e){return(await Promise.all(e.map(async r=>Y1(r)?null:Zu(await W1(r))))).filter(r=>!!r)}let Cv=3;function Nv(e,t=3){t>Cv||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let Un=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class Iv extends G_{constructor(t,r,n,a={}){super(t),this._resolver=t,this._themes=r,this._langs=n,this._alias=a,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const r=Zu(t);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let r=this._textmateThemeCache.get(t);r||(r=es.createFromRawTheme(t),this._textmateThemeCache.set(t,r)),this._syncRegistry.setTheme(r)}getGrammar(t){if(this._alias[t]){const r=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],r.has(t))throw new Un(`Circular alias \`${Array.from(r).join(" -> ")} -> ${t}\``);r.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const r=new Set([...this._langMap.values()].filter(i=>i.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const n={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const a=this.loadGrammarWithConfiguration(t.scopeName,1,n);if(a.name=t.name,this._resolvedGrammars.set(t.name,a),t.aliases&&t.aliases.forEach(i=>{this._alias[i]=t.name}),this._loadedLanguagesCache=null,r.size)for(const i of r)this._resolvedGrammars.delete(i.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(i.scopeName),this._syncRegistry?._grammars?.delete(i.scopeName),this.loadLanguage(this._langMap.get(i.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const a of t)this.resolveEmbeddedLanguages(a);const r=Array.from(this._langGraph.entries()),n=r.filter(([a,i])=>!i);if(n.length){const a=r.filter(([i,s])=>s&&s.embeddedLangs?.some(o=>n.map(([l])=>l).includes(o))).filter(i=>!n.includes(i));throw new Un(`Missing languages ${n.map(([i])=>`\`${i}\``).join(", ")}, required by ${a.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[a,i]of r)this._resolver.addLanguage(i);for(const[a,i]of r)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const r of t.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class Rv{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,r){this._onigLib={createOnigScanner:n=>t.createScanner(n),createOnigString:n=>t.createString(n)},r.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(r=>{this._langs.set(r,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(r=>{this._injections.get(r)||this._injections.set(r,[]),this._injections.get(r).push(t.scopeName)})}getInjections(t){const r=t.split(".");let n=[];for(let a=1;a<=r.length;a++){const i=r.slice(0,a).join(".");n=[...n,...this._injections.get(i)||[]]}return n}}let ya=0;function Lv(e){ya+=1,e.warnings!==!1&&ya>=10&&ya%10===0&&console.warn(`[Shiki] ${ya} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new Un("`engine` option is required for synchronous mode");const r=(e.langs||[]).flat(1),n=(e.themes||[]).flat(1).map(Zu),a=new Rv(e.engine,r),i=new Iv(a,n,r,e.langAlias);let s;function o(w){A();const L=i.getGrammar(typeof w=="string"?w:w.name);if(!L)throw new Un(`Language \`${w}\` not found, you may need to load it first`);return L}function l(w){if(w==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};A();const L=i.getTheme(w);if(!L)throw new Un(`Theme \`${w}\` not found, you may need to load it first`);return L}function u(w){A();const L=l(w);s!==w&&(i.setTheme(L),s=w);const $=i.getColorMap();return{theme:L,colorMap:$}}function c(){return A(),i.getLoadedThemes()}function h(){return A(),i.getLoadedLanguages()}function m(...w){A(),i.loadLanguages(w.flat(1))}async function f(...w){return m(await J1(w))}function b(...w){A();for(const L of w.flat(1))i.loadTheme(L)}async function E(...w){return A(),b(await ep(w))}function A(){if(t)throw new Un("Shiki instance has been disposed")}function T(){t||(t=!0,i.dispose(),ya-=1)}return{setTheme:u,getTheme:l,getLanguage:o,getLoadedThemes:c,getLoadedLanguages:h,loadLanguage:f,loadLanguageSync:m,loadTheme:E,loadThemeSync:b,dispose:T,[Symbol.dispose]:T}}async function Dv(e){e.engine||Nv("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([ep(e.themes||[]),J1(e.langs||[]),e.engine]);return Lv({...e,themes:t,langs:r,engine:n})}async function Ov(e){const t=await Dv(e);return{getLastGrammarState:(...r)=>pv(t,...r),codeToTokensBase:(r,n)=>Ku(t,r,n),codeToTokensWithThemes:(r,n)=>Z1(t,r,n),codeToTokens:(r,n)=>us(t,r,n),codeToHast:(r,n)=>cs(t,r,n),codeToHtml:(r,n)=>Sv(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function Pv(e){const t=e.langs,r=e.themes,n=e.engine;async function a(i){function s(h){if(typeof h=="string"){if(G1(h))return[];h=i.langAlias?.[h]||h;const m=t[h];if(!m)throw new Je(`Language \`${h}\` is not included in this bundle. You may want to load it from external source.`);return m}return h}function o(h){if(Y1(h))return"none";if(typeof h=="string"){const m=r[h];if(!m)throw new Je(`Theme \`${h}\` is not included in this bundle. You may want to load it from external source.`);return m}return h}const l=(i.themes??[]).map(h=>o(h)),u=(i.langs??[]).map(h=>s(h)),c=await Ov({engine:i.engine??n(),...i,themes:l,langs:u});return{...c,loadLanguage(...h){return c.loadLanguage(...h.map(s))},loadTheme(...h){return c.loadTheme(...h.map(o))},getBundledLanguages(){return t},getBundledThemes(){return r}}}return a}const tp=[{id:"abap",name:"ABAP",import:(()=>k(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>k(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>k(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>k(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>k(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>k(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>k(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>k(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>k(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>k(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>k(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>k(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>k(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>k(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>k(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>k(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>k(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>k(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>k(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>k(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>k(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>k(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>k(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>k(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>k(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>k(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>k(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>k(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>k(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>k(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>k(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>k(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>k(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>k(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>k(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>k(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>k(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>k(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>k(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>k(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>k(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>k(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>k(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>k(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>k(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>k(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>k(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>k(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>k(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>k(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>k(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>k(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>k(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>k(()=>import("./erb-BOJIQeun.js"),__vite__mapDeps([32,1,2,3,33,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>k(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>k(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>k(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>k(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>k(()=>import("./fortran-fixed-form-BZjJHVRy.js"),__vite__mapDeps([41,42])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>k(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>k(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>k(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>k(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>k(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>k(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>k(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>k(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>k(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>k(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>k(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>k(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>k(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>k(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>k(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>k(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>k(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>k(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>k(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>k(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>k(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>k(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>k(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>k(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>k(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>k(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>k(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>k(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>k(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>k(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>k(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>k(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>k(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>k(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>k(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>k(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>k(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>k(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>k(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>k(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>k(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>k(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>k(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>k(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>k(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>k(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>k(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>k(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>k(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>k(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>k(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>k(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>k(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>k(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>k(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>k(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>k(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>k(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>k(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>k(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>k(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>k(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>k(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>k(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>k(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>k(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>k(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>k(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>k(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>k(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>k(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>k(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>k(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>k(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>k(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>k(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>k(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>k(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>k(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>k(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>k(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>k(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>k(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>k(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>k(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>k(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>k(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>k(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>k(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>k(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>k(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>k(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>k(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>k(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>k(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>k(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>k(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>k(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>k(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>k(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>k(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>k(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>k(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>k(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>k(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>k(()=>import("./rst-B0xPkSld.js"),__vite__mapDeps([77,15,1,2,3,23,24,25,26,16,20,28,38,78,33,34,7,8,35,11,36,13,37])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>k(()=>import("./ruby-BvKwtOVI.js"),__vite__mapDeps([33,1,2,3,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>k(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>k(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>k(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>k(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>k(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>k(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>k(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>k(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>k(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>k(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>k(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>k(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>k(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>k(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>k(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>k(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>k(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>k(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>k(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>k(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>k(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>k(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>k(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>k(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>k(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>k(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>k(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>k(()=>import("./terraform-BETggiCN.js"),[]))}
343,{id:"tex",name:"TeX",import:(()=>k(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>k(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>k(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>k(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>k(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>k(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>k(()=>import("./twig-CO9l9SDP.js"),__vite__mapDeps([91,3,2,5,72,1,7,8,16,9,20,33,34,35,11,36,13,23,24,25,26,28,37,38])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>k(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>k(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>k(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,479 bytes, line 343
343,{id:"v",name:"V",import:(()=>k(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>k(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>k(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>k(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>k(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>k(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>k(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>k(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>k(()=>import("./vue-vine-_Ih-lPRR.js"),__vite__mapDeps([94,3,5,67,95,12,92,2,11,9,15,1])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>k(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>k(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>k(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>k(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>k(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>k(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>k(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>k(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>k(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>k(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>k(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>k(()=>import("./zig-VOosw3JB.js"),[]))}],Mv=Object.fromEntries(tp.map(e=>[e.id,e.import])),Bv=Object.fromEntries(tp.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),rp={...Mv,...Bv},Fv=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>k(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>k(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>k(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>k(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>k(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>k(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>k(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>k(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>k(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>k(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>k(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>k(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>k(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>k(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>k(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>k(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>k(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>k(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>k(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>k(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>k(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>k(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>k(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>k(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>k(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>k(()=>
343import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>k(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>k(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>k(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>k(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>k(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>k(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>k(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>k(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>k(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>k(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>k(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>k(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>k(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>k(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>k(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>k(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>k(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>k(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>k(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>k(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>k(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>k(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>k(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>k(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>k(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>k(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>k(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>k(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>k(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>k(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>k(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>k(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>k(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>k(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],Hv=Object.fromEntries(Fv.map(e=>[e.id,e.import]));
vendor: 20,411 bytes, lines 343-375
343class Ju extends Error{constructor(t){super(t),this.name="ShikiError"}}function zv(){return 2147483648}function Uv(){return typeof performance<"u"?performance.now():Date.now()}const $v=(e,t)=>e+(t-e%t)%t;async function jv(e){let t,r;const n={};function a(f){r=f,n.HEAPU8=new Uint8Array(f),n.HEAPU32=new Uint32Array(f)}function i(f,b,E){n.HEAPU8.copyWithin(f,b,b+E)}function s(f){try{return t.grow(f-r.byteLength+65535>>>16),a(t.buffer),1}catch{}}function o(f){const b=n.HEAPU8.length;f=f>>>0;const E=zv();if(f>E)return!1;for(let A=1;A<=4;A*=2){let T=b*(1+.2/A);T=Math.min(T,f+100663296);const w=Math.min(E,$v(Math.max(f,T),65536));if(s(w))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(f,b,E=1024){const A=b+E;let T=b;for(;f[T]&&!(T>=A);)++T;if(T-b>16&&f.buffer&&l)return l.decode(f.subarray(b,T));let w="";for(;b<T;){let L=f[b++];if(!(L&128)){w+=String.fromCharCode(L);continue}const $=f[b++]&63;if((L&224)===192){w+=String.fromCharCode((L&31)<<6|$);continue}const U=f[b++]&63;if((L&240)===224?L=(L&15)<<12|$<<6|U:L=(L&7)<<18|$<<12|U<<6|f[b++]&63,L<65536)w+=String.fromCharCode(L);else{const P=L-65536;w+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return w}function c(f,b){return f?u(n.HEAPU8,f,b):""}const h={emscripten_get_now:Uv,emscripten_memcpy_big:i,emscripten_resize_heap:o,fd_write:()=>0};async function m(){const b=await e({env:h,wasi_snapshot_preview1:h});t=b.memory,a(t.buffer),Object.assign(n,b),n.UTF8ToString=c}return await m(),n}var Vv=Object.defineProperty,qv=(e,t,r)=>t in e?Vv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tt=(e,t,r)=>qv(e,typeof t!="symbol"?t+"":t,r);let ot=null;function Wv(e){throw new Ju(e.UTF8ToString(e.getLastOnigError()))}class Ps{constructor(t){tt(this,"utf16Length"),tt(this,"utf8Length"),tt(this,"utf16Value"),tt(this,"utf8Value"),tt(this,"utf16OffsetToUtf8"),tt(this,"utf8OffsetToUtf16");const r=t.length,n=Ps._utf8ByteLength(t),a=n!==r,i=a?new Uint32Array(r+1):null;a&&(i[r]=n);const s=a?new Uint32Array(n+1):null;a&&(s[n]=r);const o=new Uint8Array(n);let l=0;for(let u=0;u<r;u++){const c=t.charCodeAt(u);let h=c,m=!1;if(c>=55296&&c<=56319&&u+1<r){const f=t.charCodeAt(u+1);f>=56320&&f<=57343&&(h=(c-55296<<10)+65536|f-56320,m=!0)}a&&(i[u]=l,m&&(i[u+1]=l),h<=127?s[l+0]=u:h<=2047?(s[l+0]=u,s[l+1]=u):h<=65535?(s[l+0]=u,s[l+1]=u,s[l+2]=u):(s[l+0]=u,s[l+1]=u,s[l+2]=u,s[l+3]=u)),h<=127?o[l++]=h:h<=2047?(o[l++]=192|(h&1984)>>>6,o[l++]=128|(h&63)>>>0):h<=65535?(o[l++]=224|(h&61440)>>>12,o[l++]=128|(h&4032)>>>6,o[l++]=128|(h&63)>>>0):(o[l++]=240|(h&1835008)>>>18,o[l++]=128|(h&258048)>>>12,o[l++]=128|(h&4032)>>>6,o[l++]=128|(h&63)>>>0),m&&u++}this.utf16Length=r,this.utf8Length=n,this.utf16Value=t,this.utf8Value=o,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let r=0;for(let n=0,a=t.length;n<a;n++){const i=t.charCodeAt(n);let s=i,o=!1;if(i>=55296&&i<=56319&&n+1<a){const l=t.charCodeAt(n+1);l>=56320&&l<=57343&&(s=(i-55296<<10)+65536|l-56320,o=!0)}s<=127?r+=1:s<=2047?r+=2:s<=65535?r+=3:r+=4,o&&n++}return r}createString(t){const r=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,r),r}}const Ms=class cr{constructor(t){if(tt(this,"id",++cr.LAST_ID),tt(this,"_onigBinding"),tt(this,"content"),tt(this,"utf16Length"),tt(this,"utf8Length"),tt(this,"utf16OffsetToUtf8"),tt(this,"utf8OffsetToUtf16"),tt(this,"ptr"),!ot)throw new Ju("Must invoke loadWasm first.");this._onigBinding=ot,this.content=t;const r=new Ps(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!cr._sharedPtrInUse?(cr._sharedPtr||(cr._sharedPtr=ot.omalloc(1e4)),cr._sharedPtrInUse=!0,ot.HEAPU8.set(r.utf8Value,cr._sharedPtr),this.ptr=cr._sharedPtr):this.ptr=r.createString(ot)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===cr._sharedPtr?cr._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};tt(Ms,"LAST_ID",0);tt(Ms,"_sharedPtr",0);tt(Ms,"_sharedPtrInUse",!1);let np=Ms;class Gv{constructor(t){if(tt(this,"_onigBinding"),tt(this,"_ptr"),!ot)throw new Ju("Must invoke loadWasm first.");const r=[],n=[];for(let o=0,l=t.length;o<l;o++){const u=new Ps(t[o]);r[o]=u.createString(ot),n[o]=u.utf8Length}const a=ot.omalloc(4*t.length);ot.HEAPU32.set(r,a/4);const i=ot.omalloc(4*t.length);ot.HEAPU32.set(n,i/4);const s=ot.createOnigScanner(a,i,t.length);for(let o=0,l=t.length;o<l;o++)ot.ofree(r[o]);ot.ofree(i),ot.ofree(a),s===0&&Wv(ot),this._onigBinding=ot,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,r,n){let a=0;if(typeof n=="number"&&(a=n),typeof t=="string"){t=new np(t);const i=this._findNextMatchSync(t,r,!1,a);return t.dispose(),i}return this._findNextMatchSync(t,r,!1,a)}_findNextMatchSync(t,r,n,a){const i=this._onigBinding,s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(r),a);if(s===0)return null;const o=i.HEAPU32;let l=s/4;const u=o[l++],c=o[l++],h=[];for(let m=0;m<c;m++){const f=t.convertUtf8OffsetToUtf16(o[l++]),b=t.convertUtf8OffsetToUtf16(o[l++]);h[m]={start:f,end:b,length:b-f}}return{index:u,captureIndices:h}}}function Yv(e){return typeof e.instantiator=="function"}function Xv(e){return typeof e.default=="function"}function Qv(e){return typeof e.data<"u"}function Kv(e){return typeof Response<"u"&&e instanceof Response}function Zv(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Ni;function Jv(e){if(Ni)return Ni;async function t(){ot=await jv(async r=>{let n=e;return n=await n,typeof n=="function"&&(n=await n(r)),typeof n=="function"&&(n=await n(r)),Yv(n)?n=await n.instantiator(r):Xv(n)?n=await n.default(r):(Qv(n)&&(n=n.data),Kv(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await ek(n)(r):n=await tk(n)(r):Zv(n)?n=await Wo(n)(r):n instanceof WebAssembly.Module?n=await Wo(n)(r):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await Wo(n.default)(r))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return Ni=t(),Ni}function Wo(e){return t=>WebAssembly.instantiate(e,t)}function ek(e){return t=>WebAssembly.instantiateStreaming(e,t)}function tk(e){return async t=>{const r=await e.arrayBuffer();return WebAssembly.instantiate(r,t)}}async function rk(e){return e&&await Jv(e),{createScanner(t){return new Gv(t.map(r=>typeof r=="string"?r:r.source))},createString(t){return new np(t)}}}const Hh=Pv({langs:rp,themes:Hv,engine:()=>rk(k(()=>import("./wasm-CG6Dc4jp.js"),[]))});function sa(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function nk(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}const e0=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),ut=String.raw;function oa(e,t){if(e==null)throw new Error(t??"Value expected");return e}const ap=ut`\[\^?`,ip=`c.? | C(?:-.?)?|${ut`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${ut`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${ut`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${ut`o\{[^\}]*\}?`}|${ut`\d{1,3}`}`,t0=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Ii=new RegExp(ut`
344  \\ (?:
345    ${ip}
346    | [gk]<[^>]*>?
347    | [gk]'[^']*'?
348    | .
349  )
350  | \( (?:
351    \? (?:
352      [:=!>({]
353      | <[=!]
354      | <[^>]*>
355      | '[^']*'
356      | ~\|?
357      | #(?:[^)\\]|\\.?)*
358      | [^:)]*[:)]
359    )?
360    | \*[^\)]*\)?
361  )?
362  | (?:${t0.source})+
363  | ${ap}
364  | .
365`.replace(/\s+/g,""),"gsu"),Go=new RegExp(ut`
366  \\ (?:
367    ${ip}
368    | .
369  )
370  | \[:(?:\^?\p{Alpha}+|\^):\]
371  | ${ap}
372  | &&
373  | .
374`.replace(/\s+/g,""),"gsu");function ak(e,t={}){const r={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const n=vk(r.flags),a=[n.extended],i={captureGroup:r.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(h){a.push(h)},replaceCurrentModX(h){a[a.length-1]=h},singleline:r.rules.singleline};let s=[],o;for(Ii.lastIndex=0;o=Ii.exec(e);){const h=ik(i,e,o[0],Ii.lastIndex);h.tokens?s.push(...h.tokens):h.token&&s.push(h.token),h.lastIndex!==void 0&&(Ii.lastIndex=h.lastIndex)}const l=[];let u=0;s.filter(h=>h.type==="GroupOpen").forEach(h=>{h.kind==="capturing"?h.number=++u:h.raw==="("&&l.push(h)}),u||l.forEach((h,m)=>{h.kind="capturing",h.number=m+1});const c=u||l.length;return{tokens:s.map(h=>h.type==="EscapedNumber"?wk(h,c):h).flat(),flags:n}}function ik(e,t,r,n){const[a,i]=r;if(r==="["||r==="[^"){const s=sk(t,r,n);return{tokens:s.tokens,lastIndex:s.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:zh(r,r)};if(/^\\g[<']/.test(r)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:gk(r)}}if(/^\\k[<']/.test(r)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:op(r)}}if(i==="K")return{token:lp("keep",r)};if(i==="N"||i==="R")return{token:bn("newline",r,{negate:i==="N"})};if(i==="O")return{token:bn("any",r)};if(i==="X")return{token:bn("text_segment",r)};const s=sp(r,{inCharClass:!1});return Array.isArray(s)?{tokens:s}:{token:s}}if(a==="("){if(i==="*")return{token:Ek(r)};if(r==="(?{")throw new Error(`Unsupported callout "${r}"`);if(r.startsWith("(?#")){if(t[n]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:n+1}}if(/^\(\?[-imx]+[:)]$/.test(r))return{token:xk(r,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,r==="("&&!e.captureGroup||r==="(?:")return{token:Fn("group",r)};if(r==="(?>")return{token:Fn("atomic",r)};if(r==="(?="||r==="(?!"||r==="(?<="||r==="(?<!")return{token:Fn(r[2]==="<"?"lookbehind":"lookahead",r,{negate:r.endsWith("!")})};if(r==="("&&e.captureGroup||r.startsWith("(?<")&&r.endsWith(">")||r.startsWith("(?'")&&r.endsWith("'"))return{token:Fn("capturing",r,{...r!=="("&&{name:r.slice(3,-1)}})};if(r.startsWith("(?~")){if(r==="(?~|")throw new Error(`Unsupported absence function kind "${r}"`);return{token:Fn("absence_repeater",r)}}throw r==="(?("?new Error(`Unsupported conditional "${r}"`):new Error(`Invalid or unsupported group option "${r}"`)}if(r===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:mk(r)}}if(e.getCurrentModX()){if(r==="#"){const s=t.indexOf(`
375`,n);return{lastIndex:s===-1?t.length:s}}if(/^\s$/.test(r)){const s=/\s+/y;return s.lastIndex=n,{lastIndex:s.exec(t)?s.lastIndex:n}}}if(r===".")return{token:bn("dot",r)};if(r==="^"||r==="$"){const s=e.singleline?{"^":ut`\A`,$:ut`\Z`}[r]:r;return{token:zh(s,r)}}return r==="|"?{token:lk(r)}:t0.test(r)?{tokens:Ak(r)}:{token:Dr(sa(r),r)}}function sk(e,t,r){const n=[Uh(t[1]==="^",t)];let a=1,i;for(Go.lastIndex=r;i=Go.exec(e);){const s=i[0];if(s[0]==="["&&s[1]!==":")a++,n.push(Uh(s[1]==="^",s));else if(s==="]"){if(n.at(-1).type==="CharacterClassOpen")n.push(Dr(93,s));else if(a--,n.push(uk(s)),!a)break}else{const o=ok(s);Array.isArray(o)?n.push(...o):n.push(o)}}return{tokens:n,lastIndex:Go.lastIndex||e.length}}function ok(e){if(e[0]==="\\")return sp(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!e0.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return bn("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?ck(e):e==="&&"?hk(e):Dr(sa(e),e)}function sp(e,{inCharClass:t}){const r=e[1];if(r==="c"||r==="C")return yk(e);if("dDhHsSwW".includes(r))return _k(e);if(e.startsWith(ut`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return Tk(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const n=e.split(/\\x/).slice(1).map(s=>parseInt(s,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(n)),i=new TextEncoder;return[...a].map(s=>{const o=[...i.encode(s)].map(l=>`\\x${l.toString(16)}`).join("");return Dr(sa(s),o)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(r==="u"||r==="x")return Dr(kk(e),e);if($h.has(r))return Dr($h.get(r),e);if(/\d/.test(r))return dk(t,e);if(e==="\\")throw new Error(ut`Incomplete escape "\"`);if(r==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Dr(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function lk(e){return{type:"Alternator",raw:e}}function zh(e,t){return{type:"Assertion",kind:e,raw:t}}function op(e){return{type:"Backreference",raw:e}}function Dr(e,t){return{type:"Character",value:e,raw:t}}function uk(e){return{type:"CharacterClassClose",raw:e}}function ck(e){return{type:"CharacterClassHyphen",raw:e}}function hk(e){return{type:"CharacterClassIntersector",raw:e}}function Uh(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function bn(e,t,r={}){return{type:"CharacterSet",kind:e,...r,raw:t}}function lp(e,t,r={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:oa(r.flags),raw:t}}function dk(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function mk(e){return{type:"GroupClose",raw:e}}function Fn(e,t,r={}){return{type:"GroupOpen",kind:e,...r,raw:t}}function fk(e,t,r,n){return{type:"NamedCallout",kind:e,tag:t,arguments:r,raw:n}}function pk(e,t,r,n){return{type:"Quantifier",kind:e,min:t,max:r,raw:n}}function gk(e){return{type:"Subroutine",raw:e}}const bk=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),$h=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function yk(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return Dr(sa(t.toUpperCase())-64,e)}function xk(e,t){let{on:r,off:n}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;n??="";const a=(t.getCurrentModX()||r.includes("x"))&&!n.includes("x"),i=Vh(r),s=Vh(n),o={};if(i&&(o.enable=i),s&&(o.disable=s),e.endsWith(")"))return t.replaceCurrentModX(a),lp("flags",e,{flags:o});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,Fn("group",e,{...(i||s)&&{flags:o}});throw new Error(`Unexpected flag modifier "${e}"`)}function Ek(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:r,tag:n,args:a}=t.groups;if(!r)throw new Error(`Invalid named callout "${e}"`);if(n==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const i=a?a.split(",").filter(c=>c!=="").map(c=>/^[+-]?\d+$/.test(c)?+c:c):[],[s,o,l]=i,u=bk.has(r)?r.toLowerCase():"custom";switch(u){case"fail":case"mismatch":case"skip":if(i.length>0)throw new Error(`Named callout arguments not allowed "${i}"`);break;case"error":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(typeof s=="string")throw new Error(`Named callout argument must be a number "${s}"`);break;case"max":if(!i.length||i.length>2)throw new Error(`Named callout must have one or two arguments "${i}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(i.length===2&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${o}"`);break;case"count":case"total_count":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(i.length===1&&(typeof s=="number"||!/^[<>X]$/.test(s)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${s}"`);break;case"cmp":if(i.length!==3)throw new Error(`Named callout must have three arguments "${i}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(typeof o=="number"||!/^(?:[<>!=]=|[<>])$/.test(o))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${o}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${r}"`);default:throw new Error(`Unexpected named callout kind "${u}"`)}return fk(u,n??null,a?.split(",")??null,e)}function jh(e){let t=null,r,n;if(e[0]==="{"){const{minStr:a,maxStr:i}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,s=1e5;if(+a>s||i&&+i>s)throw new Error("Quantifier value unsupported in Oniguruma");if(r=+a,n=i===void 0?+a:i===""?1/0:+i,r>n&&(t="possessive",[r,n]=[n,r]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else r=e[0]==="+"?1:0,n=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return pk(t,r,n,e)}function _k(e){const t=e[1].toLowerCase();return bn({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function Tk(e){const{p:t,neg:r,value:n}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return bn("property",e,{value:n,negate:t==="P"&&!r||t==="p"&&!!r})}function Vh(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function vk(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let r=0;r<e.length;r++){const n=e[r];if(!"imxDPSWy".includes(n))throw new Error(`Invalid flag "${n}"`);if(n==="y"){if(!/^y{[gw]}/.test(e.slice(r)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[r+2]==="g"?"grapheme":"word",r+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[n]]=!0}return t}function kk(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function wk(e,t){const{raw:r,inCharClass:n}=e,a=r.slice(1);if(!n&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[op(r)];const i=[],s=a.match(/^[0-7]+|\d/g);for(let o=0;o<s.length;o++){const l=s[o];let u;if(o===0&&l!=="8"&&l!=="9"){if(u=parseInt(l,8),u>127)throw new Error(ut`Octal encoded byte above 177 unsupported "${r}"`)}else u=sa(l);i.push(Dr(u,(o===0?"\\":"")+l))}return i}function Ak(e){const t=[],r=new RegExp(t0,"gy");let n;for(;n=r.exec(e);){const a=n[0];if(a[0]==="{"){const i=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(i){const{min:s,max:o}=i.groups;if(+s>+o&&a.endsWith("?")){r.lastIndex--,t.push(jh(a.slice(0,-1)));continue}}}t.push(jh(a))}return t}function up(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const r=e.body[0];return!t||Object.keys(t).every(n=>t[n]===r[n])}function Sk(e){return Ck.has(e.type)}const Ck=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function cp(e,t={}){const r={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},n=ak(e,{flags:r.flags,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline}}),a=(m,f)=>{const b=n.tokens[i.nextIndex];switch(i.parent=m,i.nextIndex++,b.type){case"Alternator":return _n();case"Assertion":return Nk(b);case"Backreference":return Ik(b,i);case"Character":return Bs(b.value,{useLastValid:!!f.isCheckingRangeEnd});case"CharacterClassHyphen":return Rk(b,i,f);case"CharacterClassOpen":return Lk(b,i,f);case"CharacterSet":return Dk(b,i);case"Directive":return Hk(b.kind,{flags:b.flags});case"GroupOpen":return Ok(b,i,f);case"NamedCallout":return Uk(b.kind,b.tag,b.arguments);case"Quantifier":return Pk(b,i);
vendor: 7,399 bytes, line 375
375case"Subroutine":return Mk(b,i);default:throw new Error(`Unexpected token type "${b.type}"`)}},i={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:r.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:r.skipBackrefValidation,skipLookbehindValidation:r.skipLookbehindValidation,skipPropertyNameValidation:r.skipPropertyNameValidation,subroutines:[],tokens:n.tokens,unicodePropertyMap:r.unicodePropertyMap,walk:a},s=jk(zk(n.flags));let o=s.body[0];for(;i.nextIndex<n.tokens.length;){const m=a(o,{});m.type==="Alternative"?(s.body.push(m),o=m):o.body.push(m)}const{capturingGroups:l,hasNumberedRef:u,namedGroupsByName:c,subroutines:h}=i;if(u&&c.size&&!r.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:m}of h)if(typeof m=="number"){if(m>l.length)throw new Error("Subroutine uses a group number that's not defined");m&&(l[m-1].isSubroutined=!0)}else if(c.has(m)){if(c.get(m).length>1)throw new Error(ut`Subroutine uses a duplicate group name "\g<${m}>"`);c.get(m)[0].isSubroutined=!0}else throw new Error(ut`Subroutine uses a group name that's not defined "\g<${m}>"`);return s}function Nk({kind:e}){return zl(oa({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===ut`\B`||e===ut`\Y`})}function Ik({raw:e},t){const r=/^\\k[<']/.test(e),n=r?e.slice(3,-1):e.slice(1),a=(i,s=!1)=>{const o=t.capturingGroups.length;let l=!1;if(i>o)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,Ul(s?o+1-i:i,{orphan:l})};if(r){const i=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(n);if(i)return a(+i.groups.num,!!i.groups.sign);if(/[-+]/.test(n))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(n))throw new Error(`Group name not defined to the left "${e}"`);return Ul(n)}return a(+n)}function Rk(e,t,r){const{tokens:n,walk:a}=t,i=t.parent,s=i.body.at(-1),o=n[t.nextIndex];if(!r.isCheckingRangeEnd&&s&&s.type!=="CharacterClass"&&s.type!=="CharacterClassRange"&&o&&o.type!=="CharacterClassOpen"&&o.type!=="CharacterClassClose"&&o.type!=="CharacterClassIntersector"){const l=a(i,{...r,isCheckingRangeEnd:!0});if(s.type==="Character"&&l.type==="Character")return i.body.pop(),Fk(s,l);throw new Error("Invalid character class range")}return Bs(sa("-"))}function Lk({negate:e},t,r){const{tokens:n,walk:a}=t,i=n[t.nextIndex],s=[zi()];let o=Gh(i);for(;o.type!=="CharacterClassClose";){if(o.type==="CharacterClassIntersector")s.push(zi()),t.nextIndex++;else{const u=s.at(-1);u.body.push(a(u,r))}o=Gh(n[t.nextIndex],i)}const l=zi({negate:e});return s.length===1?l.body=s[0].body:(l.kind="intersection",l.body=s.map(u=>u.body.length===1?u.body[0]:u)),t.nextIndex++,l}function Dk({kind:e,negate:t,value:r},n){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:s}=n;if(e==="property"){const o=Fs(r);if(e0.has(o)&&!s?.has(o))e="posix",r=o;else return Hn(r,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:s})}return e==="posix"?$k(r,{negate:t}):$l(e,{negate:t})}function Ok(e,t,r){const{tokens:n,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:s,walk:o}=t,l=Vk(e),u=l.type==="AbsenceFunction",c=Wh(l),h=c&&l.negate;if(l.type==="CapturingGroup"&&(a.push(l),l.name&&nk(i,l.name,[]).push(l)),u&&r.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let m=Yh(n[t.nextIndex]);for(;m.type!=="GroupClose";){if(m.type==="Alternator")l.body.push(_n()),t.nextIndex++;else{const f=l.body.at(-1),b=o(f,{...r,isInAbsenceFunction:r.isInAbsenceFunction||u,isInLookbehind:r.isInLookbehind||c,isInNegLookbehind:r.isInNegLookbehind||h});if(f.body.push(b),(c||r.isInLookbehind)&&!s){const E="Lookbehind includes a pattern not allowed by Oniguruma";if(h||r.isInNegLookbehind){if(qh(b)||b.type==="CapturingGroup")throw new Error(E)}else if(qh(b)||Wh(b)&&b.negate)throw new Error(E)}}m=Yh(n[t.nextIndex])}return t.nextIndex++,l}function Pk({kind:e,min:t,max:r},n){const a=n.parent,i=a.body.at(-1);if(!i||!Sk(i))throw new Error("Quantifier requires a repeatable token");const s=dp(e,t,r,i);return a.body.pop(),s}function Mk({raw:e},t){const{capturingGroups:r,subroutines:n}=t;let a=e.slice(3,-1);const i=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(i){const o=+i.groups.num,l=r.length;if(t.hasNumberedRef=!0,a={"":o,"+":l+o,"-":l+1-o}[i.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const s=mp(a);return n.push(s),s}function Bk(e,t){return{type:"AbsenceFunction",kind:e,body:li(t?.body)}}function _n(e){return{type:"Alternative",body:fp(e?.body)}}function zl(e,t){const r={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(r.negate=!!t?.negate),r}function Ul(e,t){const r=!!t?.orphan;return{type:"Backreference",ref:e,...r&&{orphan:r}}}function hp(e,t){const r={name:void 0,isSubroutined:!1,...t};if(r.name!==void 0&&!qk(r.name))throw new Error(`Group name "${r.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...r.name&&{name:r.name},...r.isSubroutined&&{isSubroutined:r.isSubroutined},body:li(t?.body)}}function Bs(e,t){const r={useLastValid:!1,...t};if(e>1114111){const n=e.toString(16);if(r.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${n}}"`):new Error(`Invalid code point out of range in JS "\\x{${n}}"`)}return{type:"Character",value:e}}function zi(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:fp(e?.body)}}function Fk(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function $l(e,t){const r=!!t?.negate,n={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(n.negate=r),(e==="text_segment"||e==="newline"&&!r)&&(n.variableLength=!0),n}function Hk(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:oa(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function zk(e){return{type:"Flags",...e}}function ar(e){const t=e?.atomic,r=e?.flags;if(t&&r)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...r&&{flags:r},body:li(e?.body)}}function pn(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:li(e?.body)}}function Uk(e,t,r){return{type:"NamedCallout",kind:e,tag:t,arguments:r}}function $k(e,t){const r=!!t?.negate;if(!e0.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:r}}function dp(e,t,r,n){if(t>r)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:r,body:n}}function jk(e,t){return{type:"Regex",body:li(t?.body),flags:e}}function mp(e){return{type:"Subroutine",ref:e}}function Hn(e,t){const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let n=r.unicodePropertyMap?.get(Fs(e));
vendor: 13,100 bytes, lines 375-472
375if(!n){if(r.normalizeUnknownPropertyNames)n=Wk(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(ut`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:n??e,negate:r.negate}}function Vk({flags:e,kind:t,name:r,negate:n,number:a}){switch(t){case"absence_repeater":return Bk("repeater");case"atomic":return ar({atomic:!0});case"capturing":return hp(a,{name:r});case"group":return ar({flags:e});case"lookahead":case"lookbehind":return pn({behind:t==="lookbehind",negate:n});default:throw new Error(`Unexpected group kind "${t}"`)}}function li(e){if(e===void 0)e=[_n()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function fp(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function qh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Wh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function qk(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function Wk(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Fs(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Gh(e,t){return oa(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function Yh(e){return oa(e,"Unclosed group")}function Ba(e,t,r=null){function n(i,s){for(let o=0;o<i.length;o++){const l=a(i[o],s,o,i);o=Math.max(-1,o+l)}}function a(i,s=null,o=null,l=null){let u=0,c=!1;const h={node:i,parent:s,key:o,container:l,root:e,remove(){Ri(l).splice(Math.max(0,Pn(o)+u),1),u--,c=!0},removeAllNextSiblings(){return Ri(l).splice(Pn(o)+1)},removeAllPrevSiblings(){const T=Pn(o)+u;return u-=T,Ri(l).splice(0,Math.max(0,T))},replaceWith(T,w={}){const L=!!w.traverse;l?l[Math.max(0,Pn(o)+u)]=T:oa(s,"Can't replace root node")[o]=T,L&&a(T,s,o,l),c=!0},replaceWithMultiple(T,w={}){const L=!!w.traverse;if(Ri(l).splice(Math.max(0,Pn(o)+u),1,...T),u+=T.length-1,L){let $=0;for(let U=0;U<T.length;U++)$+=a(T[U],s,Pn(o)+U+$,l)}c=!0},skip(){c=!0}},{type:m}=i,f=t["*"],b=t[m],E=typeof f=="function"?f:f?.enter,A=typeof b=="function"?b:b?.enter;if(E?.(h,r),A?.(h,r),!c)switch(m){case"AbsenceFunction":case"CapturingGroup":case"Group":n(i.body,i);break;case"Alternative":case"CharacterClass":n(i.body,i);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(i.min,i,"min"),a(i.max,i,"max");break;case"LookaroundAssertion":n(i.body,i);break;case"Quantifier":a(i.body,i,"body");break;case"Regex":n(i.body,i),a(i.flags,i,"flags");break;default:throw new Error(`Unexpected node type "${m}"`)}return b?.exit?.(h,r),f?.exit?.(h,r),u}return a(e),e}function Ri(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function Pn(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const Gk=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function Yk(e,t){for(let r=0;r<e.length;r++)e[r]>=t&&e[r]++}function Xk(e,t,r,n){return e.slice(0,t)+n+e.slice(t+r.length)}const Zt=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function r0(e,t,r,n){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let s=0,o="";for(const l of e.matchAll(a)){const{0:u,groups:{$skip:c}}=l;if(!c&&(!n||n===Zt.DEFAULT==!s)){r instanceof Function?o+=r(l,{context:s?Zt.CHAR_CLASS:Zt.DEFAULT,negated:i[i.length-1]}):o+=r;continue}u[0]==="["?(s++,i.push(u[1]==="^")):u==="]"&&s&&(s--,i.pop()),o+=u}return o}function pp(e,t,r,n){r0(e,t,r,n)}function Qk(e,t,r=0,n){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=r;let i=0,s;for(;s=a.exec(e);){const{0:o,groups:{$skip:l}}=s;if(!l&&(!n||n===Zt.DEFAULT==!i))return s;o==="["?i++:o==="]"&&i&&i--,a.lastIndex==s.index&&a.lastIndex++}return null}function Li(e,t,r){return!!Qk(e,t,0,r)}function Kk(e,t){const r=/\\?./gsu;r.lastIndex=t;let n=e.length,a=0,i=1,s;for(;s=r.exec(e);){const[o]=s;if(o==="[")a++;else if(a)o==="]"&&a--;else if(o==="(")i++;else if(o===")"&&(i--,!i)){n=s.index;break}}return e.slice(t,n)}const Xh=new RegExp(String.raw`(?<noncapturingStart>${Gk})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function Zk(e,t){const r=t?.hiddenCaptures??[];let n=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:n,hiddenCaptures:r};const a="(?>",i="(?:(?=(",s=[0],o=[];let l=0,u=0,c=NaN,h;do{h=!1;let m=0,f=0,b=!1,E;for(Xh.lastIndex=Number.isNaN(c)?0:c+i.length;E=Xh.exec(e);){const{0:A,index:T,groups:{capturingStart:w,noncapturingStart:L}}=E;if(A==="[")m++;else if(m)A==="]"&&m--;else if(A===a&&!b)c=T,b=!0;else if(b&&L)f++;else if(w)b?f++:(l++,s.push(l+u));else if(A===")"&&b){if(!f){u++;const $=l+u;if(e=`${e.slice(0,c)}${i}${e.slice(c+a.length,T)}))<$$${$}>)${e.slice(T+1)}`,h=!0,o.push($),Yk(r,$),n.size){const U=new Map;n.forEach((P,W)=>{U.set(W>=$?W+1:W,P.map(se=>se>=$?se+1:se))}),n=U}break}f--}}}while(h);return r.push(...o),e=r0(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:m,groups:{backrefNum:f,wrappedBackrefNum:b}})=>{if(f){const E=+f;if(E>s.length-1)throw new Error(`Backref "${m}" greater than number of captures`);return`\\${s[E]}`}return`\\${b}`},Zt.DEFAULT),{pattern:e,captureTransfers:n,hiddenCaptures:r}}const gp=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Yo=new RegExp(String.raw`
376\\(?: \d+
377  | c[A-Za-z]
378  | [gk]<[^>]+>
379  | [pPu]\{[^\}]+\}
380  | u[A-Fa-f\d]{4}
381  | x[A-Fa-f\d]{2}
382  )
383| \((?: \? (?: [:=!>]
384  | <(?:[=!]|[^>]+>)
385  | [A-Za-z\-]+:
386  | \(DEFINE\)
387  ))?
388| (?<qBase>${gp})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
389| \\?.
390`.replace(/\s+/g,""),"gsu");function Jk(e){if(!new RegExp(`${gp}\\+`).test(e))return{pattern:e};const t=[];let r=null,n=null,a="",i=0,s;for(Yo.lastIndex=0;s=Yo.exec(e);){const{0:o,index:l,groups:{qBase:u,qMod:c,invalidQ:h}}=s;if(o==="[")i||(n=l),i++;else if(o==="]")i?i--:n=null;else if(!i)if(c==="+"&&a&&!a.startsWith("(")){if(h)throw new Error(`Invalid quantifier "${o}"`);let m=-1;if(/^\{\d+\}$/.test(u))e=Xk(e,l+u.length,c,"");else{if(a===")"||a==="]"){const f=a===")"?r:n;if(f===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,f)}(?>${e.slice(f,l)}${u})${e.slice(l+o.length)}`}else e=`${e.slice(0,l-a.length)}(?>${a}${u})${e.slice(l+o.length)}`;m+=4}Yo.lastIndex+=m}else o[0]==="("?t.push(l):o===")"&&(r=t.length?t.pop():null);a=o}return{pattern:e}}const Qt=String.raw,ew=Qt`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,jl=Qt`\(\?R=(?<rDepth>[^\)]+)\)|${ew}`,Hs=Qt`\(\?<(?![=!])(?<captureName>[^>]+)>`,bp=Qt`${Hs}|(?<unnamed>\()(?!\?)`,dn=new RegExp(Qt`${Hs}|${jl}|\(\?|\\?.`,"gsu"),Xo="Cannot use multiple overlapping recursions";function tw(e,t){const{hiddenCaptures:r,mode:n}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(jl,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:r};if(n==="plugin"&&Li(e,Qt`\(\?\(DEFINE\)`,Zt.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],s=Li(e,Qt`\\[1-9]`,Zt.DEFAULT),o=new Map,l=[];let u=!1,c=0,h=0,m;for(dn.lastIndex=0;m=dn.exec(e);){const{0:f,groups:{captureName:b,rDepth:E,gRNameOrNum:A,gRDepth:T}}=m;if(f==="[")c++;else if(c)f==="]"&&c--;else if(E){if(Qh(E),u)throw new Error(Xo);if(s)throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const w=e.slice(0,m.index),L=e.slice(dn.lastIndex);if(Li(L,jl,Zt.DEFAULT))throw new Error(Xo);const $=+E-1;e=Kh(w,L,$,!1,r,i,h),a=Jh(a,w,$,i.length,0,h);break}else if(A){Qh(T);let w=!1;for(const ee of l)if(ee.name===A||ee.num===+A){if(w=!0,ee.hasRecursedWithin)throw new Error(Xo);break}if(!w)throw new Error(Qt`Recursive \g cannot be used outside the referenced group "${n==="external"?A:Qt`\g<${A}&R=${T}>`}"`);const L=o.get(A),$=Kk(e,L);if(s&&Li($,Qt`${Hs}|\((?!\?)`,Zt.DEFAULT))throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const U=e.slice(L,m.index),P=$.slice(U.length+f.length),W=i.length,se=+T-1,ae=Kh(U,P,se,!0,r,i,h);a=Jh(a,U,se,i.length-W,W,h);const F=e.slice(0,L),ne=e.slice(L+$.length);e=`${F}${ae}${ne}`,dn.lastIndex+=ae.length-f.length-U.length-P.length,l.forEach(ee=>ee.hasRecursedWithin=!0),u=!0}else if(b)h++,o.set(String(h),dn.lastIndex),o.set(b,dn.lastIndex),l.push({num:h,name:b});else if(f[0]==="("){const w=f==="(";w&&(h++,o.set(String(h),dn.lastIndex)),l.push(w?{num:h}:{})}else f===")"&&l.pop()}return r.push(...i),{pattern:e,captureTransfers:a,hiddenCaptures:r}}function Qh(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function Kh(e,t,r,n,a,i,s){const o=new Set;n&&pp(e+t,Hs,({groups:{captureName:u}})=>{o.add(u)},Zt.DEFAULT);const l=[r,n?o:null,a,i,s];return`${e}${Zh(`(?:${e}`,"forward",...l)}(?:)${Zh(`${t})`,"backward",...l)}${t}`}function Zh(e,t,r,n,a,i,s){const l=c=>t==="forward"?c+2:r-c+2-1;let u="";for(let c=0;c<r;c++){const h=l(c);u+=r0(e,Qt`${bp}|\\k<(?<backref>[^>]+)>`,({0:m,groups:{captureName:f,unnamed:b,backref:E}})=>{if(E&&n&&!n.has(E))return m;const A=`_$${h}`;if(b||f){const T=s+i.length+1;return i.push(T),rw(a,T),b?m:`(?<${f}${A}>`}return Qt`\k<${E}${A}>`},Zt.DEFAULT)}return u}function rw(e,t){for(let r=0;r<e.length;r++)e[r]>=t&&e[r]++}function Jh(e,t,r,n,a,i){if(e.size&&n){let s=0;pp(t,bp,()=>s++,Zt.DEFAULT);const o=i-s+a,l=new Map;return e.forEach((u,c)=>{const h=(n-s*r)/r,m=s*r,f=c>o+s?c+n:c,b=[];for(const E of u)if(E<=o)b.push(E);else if(E>o+s+h)b.push(E+n);else if(E<=o+s)for(let A=0;A<=r;A++)b.push(E+s*A);else for(let A=0;A<=r;A++)b.push(E+m+h*A);l.set(f,b)}),l}return e}var rt=String.fromCodePoint,be=String.raw,Mr={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};Mr.bugFlagVLiteralHyphenIsRange=Mr.unicodeSets?(()=>{try{new RegExp(be`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Mr.bugNestedClassIgnoresNegation=Mr.unicodeSets&&new RegExp("[[^a]]","v").test("a");function hs(e,{enable:t,disable:r}){return{dotAll:!r?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!r?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function Xa(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}function Vl(e,t){return ed[e]>=ed[t]}function nw(e,t){if(e==null)throw new Error(t??"Value expected");return e}var ed={ES2025:2025,ES2024:2024,ES2018:2018},aw={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function yp(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!aw[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=Mr.flagGroups?"ES2025":Mr.unicodeSets?"ES2024":"ES2018"),t}var iw="[	-\r ]",sw=new Set([rt(304),rt(305)]),Nr=be`[\p{L}\p{M}\p{N}\p{Pc}]`;function xp(e){if(sw.has(e))return[e];const t=new Set,r=e.toLowerCase(),n=r.toUpperCase(),a=uw.get(r),i=ow.get(r),s=lw.get(r);return[...n].length===1&&t.add(n),s&&t.add(s),a&&t.add(a),t.add(r),i&&t.add(i),[...t]}var n0=new Map(`C Other
391Cc Control cntrl
392Cf Format
393Cn Unassigned
394Co Private_Use
395Cs Surrogate
396L Letter
397LC Cased_Letter
398Ll Lowercase_Letter
399Lm Modifier_Letter
400Lo Other_Letter
401Lt Titlecase_Letter
402Lu Uppercase_Letter
403M Mark Combining_Mark
404Mc Spacing_Mark
405Me Enclosing_Mark
406Mn Nonspacing_Mark
407N Number
408Nd Decimal_Number digit
409Nl Letter_Number
410No Other_Number
411P Punctuation punct
412Pc Connector_Punctuation
413Pd Dash_Punctuation
414Pe Close_Punctuation
415Pf Final_Punctuation
416Pi Initial_Punctuation
417Po Other_Punctuation
418Ps Open_Punctuation
419S Symbol
420Sc Currency_Symbol
421Sk Modifier_Symbol
422Sm Math_Symbol
423So Other_Symbol
424Z Separator
425Zl Line_Separator
426Zp Paragraph_Separator
427Zs Space_Separator
428ASCII
429ASCII_Hex_Digit AHex
430Alphabetic Alpha
431Any
432Assigned
433Bidi_Control Bidi_C
434Bidi_Mirrored Bidi_M
435Case_Ignorable CI
436Cased
437Changes_When_Casefolded CWCF
438Changes_When_Casemapped CWCM
439Changes_When_Lowercased CWL
440Changes_When_NFKC_Casefolded CWKCF
441Changes_When_Titlecased CWT
442Changes_When_Uppercased CWU
443Dash
444Default_Ignorable_Code_Point DI
445Deprecated Dep
446Diacritic Dia
447Emoji
448Emoji_Component EComp
449Emoji_Modifier EMod
450Emoji_Modifier_Base EBase
451Emoji_Presentation EPres
452Extended_Pictographic ExtPict
453Extender Ext
454Grapheme_Base Gr_Base
455Grapheme_Extend Gr_Ext
456Hex_Digit Hex
457IDS_Binary_Operator IDSB
458IDS_Trinary_Operator IDST
459ID_Continue IDC
460ID_Start IDS
461Ideographic Ideo
462Join_Control Join_C
463Logical_Order_Exception LOE
464Lowercase Lower
465Math
466Noncharacter_Code_Point NChar
467Pattern_Syntax Pat_Syn
468Pattern_White_Space Pat_WS
469Quotation_Mark QMark
470Radical
471Regional_Indicator RI
472Sentence_Terminal STerm
473Soft_Dotted SD
474Terminal_Punctuation Term
475Unified_Ideograph UIdeo
476Uppercase Upper
477Variation_Selector VS
478White_Space space
479XID_Continue XIDC
480XID_Start XIDS`.split(/\s/).map(e=>[Fs(e),e])),ow=new Map([["s",rt(383)],[rt(383),"s"]]),lw=new Map([[rt(223),rt(7838)],[rt(107),rt(8490)],[rt(229),rt(8491)],[rt(969),rt(8486)]]),uw=new Map([Qr(453),Qr(456),Qr(459),Qr(498),...Qo(8072,8079),...Qo(8088,8095),...Qo(8104,8111),Qr(8124),Qr(8140),Qr(8188)]),cw=new Map([["alnum",be`[\p{Alpha}\p{Nd}]`],["alpha",be`\p{Alpha}`],["ascii",be`\p{ASCII}`],["blank",be`[\p{Zs}\t]`],["cntrl",be`\p{Cc}`],["digit",be`\p{Nd}`],["graph",be`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",be`\p{Lower}`],["print",be`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",be`[\p{P}\p{S}]`],["space",be`\p{space}`],["upper",be`\p{Upper}`],["word",be`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",be`\p{AHex}`]]);function hw(e,t){const r=[];for(let n=e;n<=t;n++)r.push(n);return r}function Qr(e){const t=rt(e);return[t.toLowerCase(),t]}function Qo(e,t){return hw(e,t).map(r=>Qr(r))}var Ep=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function dw(e,t){const r={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};_p(e);const n={accuracy:r.accuracy,asciiWordBoundaries:r.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Vl(r.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};Ba(e,mw,n);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},i={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:n.subroutineRefMap};Ba(e,fw,i);const s={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return Ba(e,pw,s),e._originMap=i.groupOriginByCopy,e._strategy=n.strategy,e}var mw={AbsenceFunction({node:e,parent:t,replaceWith:r}){const{body:n,kind:a}=e;if(a==="repeater"){const i=ar();i.body[0].body.push(pn({negate:!0,body:n}),Hn("Any"));const s=ar();s.body[0].body.push(dp("greedy",0,1/0,i)),r(Ye(s,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:r},{flagDirectivesByAlt:n}){const a=e.body.filter(i=>i.kind==="flags");for(let i=r+1;i<t.body.length;i++){const s=t.body[i];Xa(n,s,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const r=vp(t.get(e));if(r){const n=ar({flags:r});n.body[0].body=e.body,e.body=[Ye(n,e)]}}}},Assertion({node:e,parent:t,key:r,container:n,root:a,remove:i,replaceWith:s},o){const{kind:l,negate:u}=e,{asciiWordBoundaries:c,avoidSubclass:h,supportedGNodes:m,wordIsAscii:f}=o;if(l==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${u?"Y":"y"}"`);if(l==="line_end")s(Ye(pn({body:[_n({body:[zl("string_end")]}),_n({body:[Bs(10)]})]}),t));else if(l==="line_start")s(Ye(Ir(be`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(l==="search_start")if(m.has(e))a.flags.sticky=!0,i();else{const b=n[r-1];if(b&&_w(b))s(Ye(pn({negate:!0}),t));else{if(h)throw new Error(be`Uses "\G" in a way that requires a subclass`);s(Kr(zl("string_start"),t)),o.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")s(Ye(Ir(be`(?=\n?\z)`),t));else if(l==="word_boundary"){if(!f&&!c){const b=`(?:(?<=${Nr})(?!${Nr})|(?<!${Nr})(?=${Nr}))`,E=`(?:(?<=${Nr})(?=${Nr})|(?<!${Nr})(?!${Nr}))`;s(Ye(Ir(u?E:b),t))}}else throw new Error(`Unexpected assertion kind "${l}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:r}=e;typeof r=="string"&&!Zo(r)&&(r=Ko(r,t),e.ref=r)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:r}){let{name:n}=e;n&&!Zo(n)&&(n=Ko(n,t),e.name=n),r.set(e.number,e),n&&r.set(n,e)},CharacterClassRange({node:e,parent:t,replaceWith:r}){if(t.kind==="intersection"){const n=zi({body:[e]});
vendor: 17,745 bytes, lines 480-483
480r(Ye(n,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:r},{accuracy:n,minTargetEs2024:a,digitIsAscii:i,spaceIsAscii:s,wordIsAscii:o}){const{kind:l,negate:u,value:c}=e;if(i&&(l==="digit"||c==="digit")){r(Kr($l("digit",{negate:u}),t));return}if(s&&(l==="space"||c==="space")){r(Ye(Jo(Ir(iw),u),t));return}if(o&&(l==="word"||c==="word")){r(Kr($l("word",{negate:u}),t));return}if(l==="any")r(Kr(Hn("Any"),t));else if(l==="digit")r(Kr(Hn("Nd",{negate:u}),t));else if(l!=="dot")if(l==="text_segment"){if(n==="strict")throw new Error(be`Use of "\X" requires non-strict accuracy`);const h="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",m=be`\p{RI}{2}|${h}(?:\u200D${h})*`;r(Ye(Ir(be`(?>\r\n|${a?be`\p{RGI_Emoji}`:m}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")r(Kr(Hn("AHex",{negate:u}),t));else if(l==="newline")r(Ye(Ir(u?`[^
481]`:`(?>\r
482?|[
483\v\f…\u2028\u2029])`),t));else if(l==="posix")if(!a&&(c==="graph"||c==="print")){if(n==="strict")throw new Error(`POSIX class "${c}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[c];u&&(h=`\0-${rt(h.codePointAt(0)-1)}${rt(h.codePointAt(2)+1)}-􏿿`),r(Ye(Ir(`[${h}]`),t))}else r(Ye(Jo(Ir(cw.get(c)),u),t));else if(l==="property")n0.has(Fs(c))||(e.key="sc");else if(l==="space")r(Kr(Hn("space",{negate:u}),t));else if(l==="word")r(Ye(Jo(Ir(Nr),u),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:r,remove:n,replaceWith:a,removeAllPrevSiblings:i,removeAllNextSiblings:s}){const{kind:o,flags:l}=e;if(o==="flags")if(!l.enable&&!l.disable)n();else{const u=ar({flags:l});u.body[0].body=s(),a(Ye(u,t),{traverse:!0})}else if(o==="keep"){const u=r.body[0],h=r.body.length===1&&up(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:r;if(t.parent!==h||h.body.length>1)throw new Error(be`Uses "\K" in a way that's unsupported`);const m=pn({behind:!0});m.body[0].body=i(),a(Ye(m,t))}else throw new Error(`Unexpected directive kind "${o}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(r=>delete e[r]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:r}=e.flags;t?.extended&&delete t.extended,r?.extended&&delete r.extended,t?.dotAll&&r?.dotAll&&delete t.dotAll,t?.ignoreCase&&r?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,r&&!Object.keys(r).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:r}=e;r==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:r}){const{kind:n}=e;if(n==="fail")r(Ye(pn({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${n.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=ar();t.body[0].body.push(e.body),e.body=Ye(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const r=[];let n=!1,a=!1;for(const i of e.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{const s=wp(i.body);s?(n=!0,Array.isArray(s)?r.push(...s):r.push(s)):a=!0}n&&!a&&r.forEach(i=>t.add(i))},exit(e,{accuracy:t,passedLookbehind:r,strategy:n}){if(t==="strict"&&r&&n)throw new Error(be`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:r}=e;typeof r=="string"&&!Zo(r)&&(r=Ko(r,t),e.ref=r)}},fw={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:r}){const{orphan:n,ref:a}=e;n||r.set(e,[...t.get(a).map(({node:i})=>i)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:r,skip:n},{groupOriginByCopy:a,groupsByName:i,multiplexCapturesToLeftByRef:s,openRefs:o,reffedNodesByReferencer:l}){const u=a.get(e);if(u&&o.has(e.number)){const h=Kr(td(e.number),t);l.set(h,o.get(e.number)),r(h);return}o.set(e.number,e),s.set(e.number,[]),e.name&&Xa(s,e.name,[]);const c=s.get(e.name??e.number);for(let h=0;h<c.length;h++){const m=c[h];if(u===m.node||u&&u===m.origin||e===m.origin){c.splice(h,1);break}}if(s.get(e.number).push({node:e,origin:u}),e.name&&s.get(e.name).push({node:e,origin:u}),e.name){const h=Xa(i,e.name,new Map);let m=!1;if(u)m=!0;else for(const f of h.values())if(!f.hasDuplicateNameToRemove){m=!0;break}i.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:m})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=hs(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:r},n){const{isRecursive:a,ref:i}=e;if(a){let c=t;for(;(c=c.parent)&&!(c.type==="CapturingGroup"&&(c.name===i||c.number===i)););n.reffedNodesByReferencer.set(e,c);return}const s=n.subroutineRefMap.get(i),o=i===0,l=o?td(0):Tp(s,n.groupOriginByCopy,null);let u=l;if(!o){const c=vp(yw(s,m=>m.type==="Group"&&!!m.flags)),h=c?hs(n.globalFlags,c):n.globalFlags;gw(h,n.currentFlags)||(u=ar({flags:xw(h)}),u.body[0].body.push(l))}r(Ye(u,t),{traverse:!o})}},pw={Backreference({node:e,parent:t,replaceWith:r},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const i=n.reffedNodesByReferencer.get(e).filter(s=>bw(s,e));if(!i.length)r(Ye(pn({negate:!0}),t));else if(i.length>1){const s=ar({atomic:!0,body:i.reverse().map(o=>_n({body:[Ul(o.number)]}))});r(Ye(s,t))}else e.ref=i[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const r=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let n=0;n<r;n++){const a=hp();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function _p(e){Ba(e,{"*"({node:t,parent:r}){t.parent=r}})}function gw(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function bw(e,t){let r=t;do{if(r.type==="Regex")return!1;if(r.type==="Alternative")continue;if(r===e)return!1;const n=kp(r.parent);for(const a of n){if(a===r)break;if(a===e||Ap(a,e))return!0}}while(r=r.parent);throw new Error("Unexpected path")}function Tp(e,t,r,n){const a=Array.isArray(e)?[]:{};for(const[i,s]of Object.entries(e))i==="parent"?a.parent=Array.isArray(r)?n:r:s&&typeof s=="object"?a[i]=Tp(s,t,a,r):(i==="type"&&s==="CapturingGroup"&&t.set(a,t.get(e)??e),a[i]=s);return a}function td(e){const t=mp(e);return t.isRecursive=!0,t}function yw(e,t){const r=[];for(;e=e.parent;)(!t||t(e))&&r.push(e);return r}function Ko(e,t){if(t.has(e))return t.get(e);const r=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,r),r}function vp(e){const t=["dotAll","ignoreCase"],r={enable:{},disable:{}};return e.forEach(({flags:n})=>{t.forEach(a=>{n.enable?.[a]&&(delete r.disable[a],r.enable[a]=!0),n.disable?.[a]&&(r.disable[a]=!0)})}),Object.keys(r.enable).length||delete r.enable,Object.keys(r.disable).length||delete r.disable,r.enable||r.disable?r:null}function xw({dotAll:e,ignoreCase:t}){const r={};return(e||t)&&(r.enable={},e&&(r.enable.dotAll=!0),t&&(r.enable.ignoreCase=!0)),(!e||!t)&&(r.disable={},!e&&(r.disable.dotAll=!0),!t&&(r.disable.ignoreCase=!0)),r}function kp(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function wp(e){const t=e.find(r=>r.kind==="search_start"||Tw(r,{negate:!1})||!Ew(r));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const r=[];for(const n of t.body){const a=wp(n.body);if(!a)return null;Array.isArray(a)?r.push(...a):r.push(a)}return r}return null}function Ap(e,t){const r=kp(e)??[];for(const n of r)if(n===t||Ap(n,t))return!0;return!1}function Ew({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function _w(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function Tw(e,t){const r={negate:null,...t};return e.type==="LookaroundAssertion"&&(r.negate===null||e.negate===r.negate)&&e.body.length===1&&up(e.body[0],{type:"Assertion",kind:"search_start"})}function Zo(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Ir(e,t){const n=cp(e,{...t,unicodePropertyMap:n0}).body;return n.length>1||n[0].body.length>1?ar({body:n}):n[0].body[0]}function Jo(e,t){return e.negate=t,e}function Kr(e,t){return e.parent=t,e}function Ye(e,t){return _p(e),e.parent=t,e}function vw(e,t){const r=yp(t),n=Vl(r.target,"ES2024"),a=Vl(r.target,"ES2025"),i=r.rules.recursionLimit;if(!Number.isInteger(i)||i<2||i>20)throw new Error("Invalid recursionLimit; use 2-20");let s=null,o=null;if(!a){const f=[e.flags.ignoreCase];Ba(e,kw,{getCurrentModI:()=>f.at(-1),popModI(){f.pop()},pushModI(b){f.push(b)},setHasCasedChar(){f.at(-1)?s=!0:o=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||s)&&!o)};let u=e;const c={accuracy:r.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:u,originMap:e._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&s&&o),useFlagMods:a,useFlagV:n,verbose:r.verbose};function h(f){return c.lastNode=u,u=f,nw(ww[f.type],`Unexpected node type "${f.type}"`)(f,c,h)}const m={pattern:e.body.map(h).join("|"),flags:h(e.flags),options:{...e.options}};return n||(delete m.options.force.v,m.options.disable.v=!0,m.options.unicodeSetsPlugin=null),m._captureTransfers=new Map,m._hiddenCaptures=[],c.captureMap.forEach((f,b)=>{f.hidden&&m._hiddenCaptures.push(b),f.transferTo&&Xa(m._captureTransfers,f.transferTo,[]).push(b)}),m}var kw={"*":{enter({node:e},t){if(nd(e)){const r=t.getCurrentModI();t.pushModI(e.flags?hs({ignoreCase:r},e.flags).ignoreCase:r)}},exit({node:e},t){nd(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){a0(rt(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},r){t(),Sp(e,{firstOnly:!0}).length&&r.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&Ep.has(e.value)&&t.setHasCasedChar()}},ww={Alternative({body:e},t,r){return e.map(r).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?be`\B`:be`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,r){const{body:n,name:a,number:i}=e,s={ignoreCase:t.currentFlags.ignoreCase},o=t.originMap.get(e);return o&&(s.hidden=!0,i>o.number&&(s.transferTo=o.number)),t.captureMap.set(i,s),`(${a?`?<${a}>`:""}${n.map(r).join("|")})`},Character({value:e},t){const r=rt(e),n=Mn(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(n!==r)return n;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&a0(r)){const a=xp(r);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return r},CharacterClass(e,t,r){const{kind:n,negate:a,parent:i}=e;let{body:s}=e;if(n==="intersection"&&!t.useFlagV)throw new Error("Use of class intersection requires min target ES2024");Mr.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&s.some(ad)&&(s=[Bs(45),...s.filter(u=>!ad(u))]);const o=()=>`[${a?"^":""}${s.map(r).join(n==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||Mr.bugNestedClassIgnoresNegation)&&!a){const c=s.filter(h=>h.type==="CharacterClass"&&h.kind==="union"&&h.negate);if(c.length){const h=ar(),m=h.body[0];return h.parent=i,m.parent=h,s=s.filter(f=>!c.includes(f)),e.body=s,s.length?(e.parent=m,m.body.push(e)):h.body.pop(),c.forEach(f=>{const b=_n({body:[f]});f.parent=b,b.parent=h,h.body.push(b)}),r(h)}}t.inCharClass=!0;const u=o();return t.inCharClass=!1,u}const l=s[0];if(n==="union"&&!a&&l&&((!t.useFlagV||!t.verbose)&&i.kind==="union"&&!(Mr.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&i.kind==="intersection"&&s.length===1&&l.type!=="CharacterClassRange"))return s.map(r).join("");if(!t.useFlagV&&i.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return o()},CharacterClassRange(e,t){const r=e.min.value,n=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},i=Mn(r,a),s=Mn(n,a),o=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=Sp(e);Iw(l).forEach(c=>{o.add(Array.isArray(c)?`${Mn(c[0],a)}-${Mn(c[1],a)}`:Mn(c,a))})}return`${i}-${s}${[...o].join("")}`},CharacterSet({kind:e,negate:t,value:r,key:n},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":be`[^\n]`;if(e==="digit")return t?be`\D`:be`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&Ep.has(r))throw new Error(`Unicode property "${r}" can't be case-insensitive when other chars have specific case`);return`${t?be`\P`:be`\p`}{${n?`${n}=`:""}${r}}`}if(e==="word")return t?be`\W`:be`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:r,parent:n},a,i){const s=a.currentFlags;r&&(a.currentFlags=hs(s,r));const o=t.map(i).join("|"),l=!a.verbose&&t.length===1&&n.type!=="Quantifier"&&!e&&(!a.useFlagMods||!r)?o:`(?${Rw(e,r,a.useFlagMods)}${o})`;return a.currentFlags=s,l},LookaroundAssertion({body:e,kind:t,negate:r},n,a){return`(?${`${t==="lookahead"?"":"<"}${r?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,r){return r(e.body)+Lw(e)},Subroutine({isRecursive:e,ref:t},r){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const n=r.recursionLimit;return t===0?`(?R=${n})`:be`\g<${t}&R=${n}>`}},Aw=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Sw=new Set(["-","\\","]","^","["]),Cw=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),rd=new Map([[9,be`\t`],[10,be`\n`],[11,be`\v`],[12,be`\f`],[13,be`\r`],[8232,be`\u2028`],[8233,be`\u2029`],[65279,be`\uFEFF`]]),Nw=new RegExp("^\\p{Cased}$","u");function a0(e){return Nw.test(e)}function Sp(e,t){const r=!!t?.firstOnly,n=e.min.value,a=e.max.value,i=[];if(n<65&&(a===65535||a>=131071)||n===65536&&a>=131071)return i;for(let s=n;s<=a;s++){const o=rt(s);if(!a0(o))continue;const l=xp(o).filter(u=>{const c=u.codePointAt(0);return c<n||c>a});if(l.length&&(i.push(...l),r))break}return i}function Mn(e,{escDigit:t,inCharClass:r,useFlagV:n}){if(rd.has(e))return rd.get(e);if(e<32||e>126&&e<160||e>262143||t&&Dw(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=r?n?Cw:Sw:Aw,i=rt(e);return(a.has(i)?"\\":"")+i}function Iw(e){const t=e.map(a=>a.codePointAt(0)).sort((a,i)=>a-i),r=[];let n=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?n??=t[a]:n===null?r.push(t[a]):(r.push([n,t[a]]),n=null);return r}function Rw(e,t,r){if(e)return">";let n="";if(t&&r){const{enable:a,disable:i}=t;n=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(i?"-":"")+(i?.ignoreCase?"i":"")+(i?.dotAll?"s":"")}return`${n}:`}function Lw({kind:e,max:t,min:r}){let n;return!r&&t===1?n="?":!r&&t===1/0?n="*":r===1&&t===1/0?n="+":r===t?n=`{${r}}`:n=`{${r},${t===1/0?"":t}}`,n+{greedy:"",lazy:"?",possessive:"+"}[e]}function nd({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function Dw(e){return e>47&&e<58}function ad({type:e,value:t}){return e==="Character"&&t===45}var Ow=class ql extends RegExp{#t=new Map;#e=null;#n;#r=null;#a=null;rawOptions={};get source(){return this.#n||"(?:)"}constructor(t,r,n){const a=!!n?.lazyCompile;if(t instanceof RegExp){if(n)throw new Error("Cannot provide options when copying a regexp");const i=t;super(i,r),this.#n=i.source,i instanceof ql&&(this.#t=i.#t,this.#r=i.#r,this.#a=i.#a,this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...n};super(a?"":t,r),this.#n=t,this.#t=Mw(i.hiddenCaptures,i.transfers),this.#a=i.strategy,this.rawOptions=n??{}}a||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:a,...i}=this.rawOptions;this.#e=new ql(this.#n,this.flags,i)}const r=this.global||this.sticky,n=this.lastIndex;if(this.#a==="clip_search"&&r&&n){this.lastIndex=0;const a=this.#i(t.slice(n));return a&&(Pw(a,n,t,this.hasIndices),this.lastIndex+=n),a}return this.#i(t)}#i(t){this.#e.lastIndex=this.lastIndex;const r=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!r||!this.#t.size)return r;const n=[...r];r.length=1;let a;this.hasIndices&&(a=[...r.indices],r.indices.length=1);const i=[0];for(let s=1;s<n.length;s++){const{hidden:o,transferTo:l}=this.#t.get(s)??{};if(o?i.push(null):(i.push(r.length),r.push(n[s]),this.hasIndices&&r.indices.push(a[s])),l&&n[s]!==void 0){const u=i[l];if(!u)throw new Error(`Invalid capture transfer to "${u}"`);if(r[u]=n[s],this.hasIndices&&(r.indices[u]=a[s]),r.groups){this.#r||(this.#r=Bw(this.source));const c=this.#r.get(l);c&&(r.groups[c]=n[s],this.hasIndices&&(r.indices.groups[c]=a[s]))}}}return r}};function Pw(e,t,r,n){if(e.index+=t,e.input=r,n){const a=e.indices;for(let s=0;s<a.length;s++){const o=a[s];o&&(a[s]=[o[0]+t,o[1]+t])}const i=a.groups;
483i&&Object.keys(i).forEach(s=>{const o=i[s];o&&(i[s]=[o[0]+t,o[1]+t])})}}function Mw(e,t){const r=new Map;for(const n of e)r.set(n,{hidden:!0});for(const[n,a]of t)for(const i of a)Xa(r,i,{}).transferTo=n;return r}function Bw(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,r=new Map;let n=0,a=0,i;for(;i=t.exec(e);){const{0:s,groups:{capture:o,name:l}}=i;s==="["?n++:n?s==="]"&&n--:o&&(a++,l&&r.set(a,l))}return r}function Fw(e,t){const r=Hw(e,t);return r.options?new Ow(r.pattern,r.flags,r.options):new RegExp(r.pattern,r.flags)}function Hw(e,t){const r=yp(t),n=cp(e,{flags:r.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline},skipBackrefValidation:r.rules.allowOrphanBackrefs,unicodePropertyMap:n0}),a=dw(n,{accuracy:r.accuracy,asciiWordBoundaries:r.rules.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,bestEffortTarget:r.target}),i=vw(a,r),s=tw(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),o=Jk(s.pattern),l=Zk(o.pattern,{captureTransfers:s.captureTransfers,hiddenCaptures:s.hiddenCaptures}),u={pattern:l.pattern,flags:`${r.hasIndices?"d":""}${r.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(r.avoidSubclass){if(r.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const c=l.hiddenCaptures.sort((b,E)=>b-E),h=Array.from(l.captureTransfers),m=a._strategy,f=u.pattern.length>=r.lazyCompileLength;(c.length||h.length||m||f)&&(u.options={...c.length&&{hiddenCaptures:c},...h.length&&{transfers:h},...m&&{strategy:m},...f&&{lazyCompile:f}})}return u}const id=4294967295;class zw{constructor(t,r={}){this.patterns=t,this.options=r;const{forgiving:n=!1,cache:a,regexConstructor:i}=r;if(!i)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(s=>{if(typeof s!="string")return s;const o=a?.get(s);if(o){if(o instanceof RegExp)return o;if(n)return null;throw o}try{const l=i(s);return a?.set(s,l),l}catch(l){if(a?.set(s,l),n)return null;throw l}})}regexps;findNextMatchSync(t,r,n){const a=typeof t=="string"?t:t.content,i=[];function s(o,l,u=0){return{index:o,captureIndices:l.indices.map(c=>c==null?{start:id,end:id,length:0}:{start:c[0]+u,end:c[1]+u,length:c[1]-c[0]})}}for(let o=0;o<this.regexps.length;o++){const l=this.regexps[o];if(l)try{l.lastIndex=r;const u=l.exec(a);if(!u)continue;if(u.index===r)return s(o,u,0);i.push([o,u,0])}catch(u){if(this.options.forgiving)continue;throw u}}if(i.length){const o=Math.min(...i.map(l=>l[1].index));for(const[l,u,c]of i)if(u.index===o)return s(l,u,c)}return null}}function Uw(e,t){return Fw(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function $w(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=r=>Uw(r,{target:t.target}),{createScanner(r){return new zw(r,t)},createString(r){return{content:r}}}}function i0(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Cn=i0();function Cp(e){Cn=e}var Fa={exec:()=>null};function Re(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(kt.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,t)};return n}var kt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},jw=/^(?:[ \t]*(?:\n|$))+/,Vw=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,qw=/^ {0,3}(`{3,}
483(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ui=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ww=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,s0=/(?:[*+-]|\d{1,9}[.)])/,Np=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Ip=Re(Np).replace(/bull/g,s0).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Gw=Re(Np).replace(/bull/g,s0).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),o0=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Yw=/^[^\n]+/,l0=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Xw=Re(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",l0).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Qw=Re(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,s0).getRegex(),zs="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",u0=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Kw=Re("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",u0).replace("tag",zs).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Rp=Re(o0).replace("hr",ui).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",zs).getRegex(),Zw=Re(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Rp).getRegex(),c0={blockquote:Zw,code:Vw,def:Xw,fences:qw,heading:Ww,hr:ui,html:Kw,lheading:Ip,list:Qw,newline:jw,paragraph:Rp,table:Fa,text:Yw},sd=Re("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ui).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",zs).getRegex(),Jw={...c0,lheading:Gw,table:sd,paragraph:Re(o0).replace("hr",ui).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",sd).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",zs).getRegex()},eA={...c0,html:Re(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",u0).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Fa,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Re(o0).replace("hr",ui).replace("heading",` *#{1,6} *[^
484]`).replace("lheading",Ip).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},tA=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,rA=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Lp=/^( {2,}|\\)\n(?!\s*$)/,nA=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Us=/[\p{P}\p{S}]/u,h0=/[\s\p{P}\p{S}]/u,Dp=/[^\s\p{P}\p{S}]/u,aA=Re(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,h0).getRegex(),Op=/(?!~)[\p{P}\p{S}]/u,iA=/(?!~)[\s\p{P}\p{S}]/u,sA=/(?:[^\s\p{P}\p{S}
vendor: 6,644 bytes, lines 484-493
484]|~)/u,oA=Re(/link|code|html/,"g").replace("link",new RegExp("\\[(?:[^\\[\\]`]|(?<!`)(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("code",new RegExp("(?<!`)(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),Pp=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,lA=Re(Pp,"u").replace(/punct/g,Us).getRegex(),uA=Re(Pp,"u").replace(/punct/g,Op).getRegex(),Mp="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",cA=Re(Mp,"gu").replace(/notPunctSpace/g,Dp).replace(/punctSpace/g,h0).replace(/punct/g,Us).getRegex(),hA=Re(Mp,"gu").replace(/notPunctSpace/g,sA).replace(/punctSpace/g,iA).replace(/punct/g,Op).getRegex(),dA=Re("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Dp).replace(/punctSpace/g,h0).replace(/punct/g,Us).getRegex(),mA=Re(/\\(punct)/,"gu").replace(/punct/g,Us).getRegex(),fA=Re(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),pA=Re(u0).replace("(?:-->|$)","-->").getRegex(),gA=Re("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",pA).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ds=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,bA=Re(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ds).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Bp=Re(/^!?\[(label)\]\[(ref)\]/).replace("label",ds).replace("ref",l0).getRegex(),Fp=Re(/^!?\[(ref)\](?:\[\])?/).replace("ref",l0).getRegex(),yA=Re("reflink|nolink(?!\\()","g").replace("reflink",Bp).replace("nolink",Fp).getRegex(),od=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,d0={_backpedal:Fa,anyPunctuation:mA,autolink:fA,blockSkip:oA,br:Lp,code:rA,del:Fa,emStrongLDelim:lA,emStrongRDelimAst:cA,emStrongRDelimUnd:dA,escape:tA,link:bA,nolink:Fp,punctuation:aA,reflink:Bp,reflinkSearch:yA,tag:gA,text:nA,url:Fa},xA={...d0,link:Re(/^!?\[(label)\]\((.*?)\)/).replace("label",ds).getRegex(),reflink:Re(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ds).getRegex()},Wl={...d0,emStrongRDelimAst:hA,emStrongLDelim:uA,url:Re(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",od).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Re(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",od).getRegex()},EA={...Wl,br:Re(Lp).replace("{2,}","*").getRegex(),text:Re(Wl.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Di={normal:c0,gfm:Jw,pedantic:eA},xa={normal:d0,gfm:Wl,breaks:EA,pedantic:xA},_A={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ld=e=>_A[e];function hr(e,t){if(t){if(kt.escapeTest.test(e))return e.replace(kt.escapeReplace,ld)}else if(kt.escapeTestNoEncode.test(e))return e.replace(kt.escapeReplaceNoEncode,ld);return e}function ud(e){try{e=encodeURI(e).replace(kt.percentDecode,"%")}catch{return null}return e}function cd(e,t){let r=e.replace(kt.findPipe,(i,s,o)=>{let l=!1,u=s;for(;--u>=0&&o[u]==="\\";)l=!l;return l?"|":" |"}),n=r.split(kt.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(kt.slashPipe,"|");return n}function Ea(e,t,r){let n=e.length;if(n===0)return"";let a=0;for(;a<n&&e.charAt(n-a-1)===t;)a++;return e.slice(0,n-a)}function TA(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}function hd(e,t,r,n,a){let i=t.href,s=t.title||null,o=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:s,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,l}function vA(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let a=n[1];return t.split(`
485`).map(i=>{let s=i.match(r.other.beginningSpace);if(s===null)return i;let[o]=s;return o.length>=a.length?i.slice(a.length):i}).join(`
486`)}var ms=class{options;rules;lexer;constructor(e){this.options=e||Cn}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let r=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Ea(r,`
487`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let r=t[0],n=vA(r,t[3]||"",this.rules);return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(this.rules.other.endingHash.test(r)){let n=Ea(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Ea(t[0],`
488`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let r=Ea(t[0],`
489`).split(`
490`),n="",a="",i=[];for(;r.length>0;){let s=!1,o=[],l;for(l=0;l<r.length;l++)if(this.rules.other.blockquoteStart.test(r[l]))o.push(r[l]),s=!0;else if(!s)o.push(r[l]);else break;r=r.slice(l);let u=o.join(`
491`),c=u.replace(this.rules.other.blockquoteSetextReplace,`
492    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
493${u}`:u,a=a?`${a}
494${c}`:c;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=h,r.length===0)break;let m=i.at(-1);if(m?.type==="code")break;if(m?.type==="blockquote"){let f=m,b=f.raw+`
495`+r.join(`
496`),E=this.blockquote(b);i[i.length-1]=E,n=n.substring(0,n.length-f.raw.length)+E.raw,a=a.substring(0,a.length-f.text.length)+E.text;break}else if(m?.type==="list"){let f=m,b=f.raw+`
497`+r.join(`
498`),E=this.list(b);i[i.length-1]=E,n=n.substring(0,n.length-m.raw.length)+E.raw,a=a.substring(0,a.length-f.raw.length)+E.raw,r=b.substring(i.at(-1).raw.length).split(`
499`);continue}}return{type:"blockquote",raw:n,tokens:i,text:a}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),s=!1;for(;e;){let l=!1,u="",c="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;u=t[0],e=e.substring(u.length);let h=t[2].split(`
500`,1)[0].replace(this.rules.other.listReplaceTabs,T=>" ".repeat(3*T.length)),m=e.split(`
501`,1)[0],f=!h.trim(),b=0;if(this.options.pedantic?(b=2,c=h.trimStart()):f?b=t[1].length+1:(b=t[2].search(this.rules.other.nonSpaceChar),b=b>4?1:b,c=h.slice(b),b+=t[1].length),f&&this.rules.other.blankLine.test(m)&&(u+=m+`
502`,e=e.substring(m.length+1),l=!0),!l){let T=this.rules.other.nextBulletRegex(b),w=this.rules.other.hrRegex(b),L=this.rules.other.fencesBeginRegex(b),$=this.rules.other.headingBeginRegex(b),U=this.rules.other.htmlBeginRegex(b);for(;e;){let P=e.split(`
503`,1)[0],W;if(m=P,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting,"  "),W=m):W=m.replace(this.rules.other.tabCharGlobal,"    "),L.test(m)||$.test(m)||U.test(m)||T.test(m)||w.test(m))break;if(W.search(this.rules.other.nonSpaceChar)>=b||!m.trim())c+=`
504`+W.slice(b);else{if(f||h.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||L.test(h)||$.test(h)||w.test(h))break;c+=`
505`+m}!f&&!m.trim()&&(f=!0),u+=P+`
506`,e=e.substring(P.length+1),h=W.slice(b)}}a.loose||(s?a.loose=!0:this.rules.other.doubleBlankLine.test(u)&&(s=!0));let E=null,A;this.options.gfm&&(E=this.rules.other.listIsTask.exec(c),E&&(A=E[0]!=="[ ] ",c=c.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:u,task:!!E,checked:A,loose:!1,text:c,tokens:[]}),a.raw+=u}let o=a.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let l=0;l<a.items.length;l++)if(this.lexer.state.top=!1,a.items[l].tokens=this.lexer.blockTokens(a.items[l].text,[]),!a.loose){let u=a.items[l].tokens.filter(h=>h.type==="space"),c=u.length>0&&u.some(h=>this.rules.other.anyLine.test(h.raw));a.loose=c}if(a.loose)for(let l=0;l<a.items.length;l++)a.items[l].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let r=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:n,title:a}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=cd(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
507`):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let s of n)this.rules.other.tableAlignRight.test(s)?i.align.push("right"):this.rules.other.tableAlignCenter.test(s)?i.align.push("center"):this.rules.other.tableAlignLeft.test(s)?i.align.push("left"):i.align.push(null);for(let s=0;s<r.length;s++)i.header.push({text:r[s],tokens:this.lexer.inline(r[s]),header:!0,align:i.align[s]});for(let s of a)i.rows.push(cd(s,i.header.length).map((o,l)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:i.align[l]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let r=t[1].charAt(t[1].length-1)===`
508`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let r=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let i=Ea(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{let i=TA(t[2],"()");if(i===-2)return;if(i>-1){let s=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,s).trim(),t[3]=""}}let n=t[2],a="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(n);i&&(n=i[1],a=i[3])}else a=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),hd(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=t[n.toLowerCase()];if(!a){let i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return hd(r,a,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let a=[...n[0]].length-1,i,s,o=a,l=0,u=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+a);(n=u.exec(t))!=null;){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(s=[...i].length,n[3]||n[4]){o+=s;continue}else if((n[5]||n[6])&&a%3&&!((a+s)%3)){l+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o+l);let c=[...n[0]][0].length,h=e.slice(0,a+n.index+c+s);
vendor: 5,557 bytes, lines 508-522
508if(Math.min(a,s)%2){let f=h.slice(1,-1);return{type:"em",raw:h,text:f,tokens:this.lexer.inlineTokens(f)}}let m=h.slice(2,-2);return{type:"strong",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),a=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&a&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:t[0],text:r}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let r,n;return t[2]==="@"?(r=t[1],n="mailto:"+r):(r=t[1],n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=t[0],n="mailto:"+r;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);r=t[0],t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let r=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:r}}}},Xt=class Gl{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Cn,this.options.tokenizer=this.options.tokenizer||new ms,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:kt,block:Di.normal,inline:xa.normal};this.options.pedantic?(r.block=Di.pedantic,r.inline=xa.pedantic):this.options.gfm&&(r.block=Di.gfm,this.options.breaks?r.inline=xa.breaks:r.inline=xa.gfm),this.tokenizer.rules=r}static get rules(){return{block:Di,inline:xa}}static lex(t,r){return new Gl(r).lex(t)}static lexInline(t,r){return new Gl(r).inlineTokens(t)}lex(t){t=t.replace(kt.carriageReturn,`
509`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){for(this.options.pedantic&&(t=t.replace(kt.tabCharGlobal,"    ").replace(kt.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(s=>(a=s.call({lexer:this},t,r))?(t=t.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let s=r.at(-1);a.raw.length===1&&s!==void 0?s.raw+=`
510`:r.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
511`)?"":`
512`)+a.raw,s.text+=`
513`+a.text,this.inlineQueue.at(-1).src=s.text):r.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
514`)?"":`
515`)+a.raw,s.text+=`
516`+a.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},r.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),r.push(a);continue}let i=t;if(this.options.extensions?.startBlock){let s=1/0,o=t.slice(1),l;this.options.extensions.startBlock.forEach(u=>{l=u.call({lexer:this},o),typeof l=="number"&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){let s=r.at(-1);n&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(`
517`)?"":`
518`)+a.raw,s.text+=`
519`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(a),n=i.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let s=r.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(`
520`)?"":`
521`)+a.raw,s.text+=`
522`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(a);continue}if(t){let s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n=t,a=null;if(this.tokens.links){let o=Object.keys(this.tokens.links);if(o.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)o.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(a=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let i=!1,s="";for(;t;
vendor: 7,987 bytes, lines 522-541
522){i||(s=""),i=!1;let o;if(this.options.extensions?.inline?.some(u=>(o=u.call({lexer:this},t,r))?(t=t.substring(o.raw.length),r.push(o),!0):!1))continue;if(o=this.tokenizer.escape(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.tag(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.link(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(o.raw.length);let u=r.at(-1);o.type==="text"&&u?.type==="text"?(u.raw+=o.raw,u.text+=o.text):r.push(o);continue}if(o=this.tokenizer.emStrong(t,n,s)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.codespan(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.br(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.del(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.autolink(t)){t=t.substring(o.raw.length),r.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(t))){t=t.substring(o.raw.length),r.push(o);continue}let l=t;if(this.options.extensions?.startInline){let u=1/0,c=t.slice(1),h;this.options.extensions.startInline.forEach(m=>{h=m.call({lexer:this},c),typeof h=="number"&&h>=0&&(u=Math.min(u,h))}),u<1/0&&u>=0&&(l=t.substring(0,u+1))}if(o=this.tokenizer.inlineText(l)){t=t.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(s=o.raw.slice(-1)),i=!0;let u=r.at(-1);u?.type==="text"?(u.raw+=o.raw,u.text+=o.text):r.push(o);continue}if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return r}},fs=class{options;parser;constructor(t){this.options=t||Cn}space(t){return""}code({text:t,lang:r,escaped:n}){let a=(r||"").match(kt.notSpaceStart)?.[0],i=t.replace(kt.endingNewline,"")+`
523`;return a?'<pre><code class="language-'+hr(a)+'">'+(n?i:hr(i,!0))+`</code></pre>
524`:"<pre><code>"+(n?i:hr(i,!0))+`</code></pre>
525`}blockquote({tokens:t}){return`<blockquote>
526${this.parser.parse(t)}</blockquote>
527`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
528`}hr(t){return`<hr>
529`}list(t){let r=t.ordered,n=t.start,a="";for(let o=0;o<t.items.length;o++){let l=t.items[o];a+=this.listitem(l)}let i=r?"ol":"ul",s=r&&n!==1?' start="'+n+'"':"";return"<"+i+s+`>
530`+a+"</"+i+`>
531`}listitem(t){let r="";if(t.task){let n=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=n+" "+hr(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
532`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
533`}table(t){let r="",n="";for(let i=0;i<t.header.length;i++)n+=this.tablecell(t.header[i]);r+=this.tablerow({text:n});let a="";for(let i=0;i<t.rows.length;i++){let s=t.rows[i];n="";for(let o=0;o<s.length;o++)n+=this.tablecell(s[o]);a+=this.tablerow({text:n})}return a&&(a=`<tbody>${a}</tbody>`),`<table>
534<thead>
535`+r+`</thead>
536`+a+`</table>
537`}tablerow({text:t}){return`<tr>
538${t}</tr>
539`}tablecell(t){let r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
540`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${hr(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){let a=this.parser.parseInline(n),i=ud(t);if(i===null)return a;t=i;let s='<a href="'+t+'"';return r&&(s+=' title="'+hr(r)+'"'),s+=">"+a+"</a>",s}image({href:t,title:r,text:n,tokens:a}){a&&(n=this.parser.parseInline(a,this.parser.textRenderer));let i=ud(t);if(i===null)return hr(n);t=i;let s=`<img src="${t}" alt="${n}"`;return r&&(s+=` title="${hr(r)}"`),s+=">",s}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:hr(t.text)}},m0=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},nr=class Yl{options;renderer;textRenderer;constructor(t){this.options=t||Cn,this.options.renderer=this.options.renderer||new fs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new m0}static parse(t,r){return new Yl(r).parse(t)}static parseInline(t,r){return new Yl(r).parseInline(t)}parse(t,r=!0){let n="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let o=i,l=this.options.extensions.renderers[o.type].call({parser:this},o);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){n+=l||"";continue}}let s=i;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"def":{n+=this.renderer.def(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let o=s,l=this.renderer.text(o);for(;a+1<t.length&&t[a+1].type==="text";)o=t[++a],l+=`
541`+this.renderer.text(o);r?n+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):n+=l;continue}default:{let o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return n}parseInline(t,r=this.renderer){let n="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=o||"";continue}}let s=i;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{let o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return n}},wa=class{options;block;constructor(e){this.options=e||Cn}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?Xt.lex:Xt.lexInline}provideParser(){return this.block?nr.parse:nr.parseInline}},kA=class{defaults=i0();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=nr;Renderer=fs;TextRenderer=m0;Lexer=Xt;Tokenizer=ms;Hooks=wa;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{let a=n;for(let i of a.header)r=r.concat(this.walkTokens(i.tokens,t));for(let i of a.rows)for(let s of i)r=r.concat(this.walkTokens(s.tokens,t));break}case"list":{let a=n;r=r.concat(this.walkTokens(a.items,t));break}default:{let a=n;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(i=>
541{let s=a[i].flat(1/0);r=r.concat(this.walkTokens(s,t))}):a.tokens&&(r=r.concat(this.walkTokens(a.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){let i=t.renderers[a.name];i?t.renderers[a.name]=function(...s){let o=a.renderer.apply(this,s);return o===!1&&(o=i.apply(this,s)),o}:t.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=t[a.level];i?i.unshift(a.tokenizer):t[a.level]=[a.tokenizer],a.start&&(a.level==="block"?t.startBlock?t.startBlock.push(a.start):t.startBlock=[a.start]:a.level==="inline"&&(t.startInline?t.startInline.push(a.start):t.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(t.childTokens[a.name]=a.childTokens)}),n.extensions=t),r.renderer){let a=this.defaults.renderer||new fs(this.defaults);for(let i in r.renderer){if(!(i in a))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let s=i,o=r.renderer[s],l=a[s];a[s]=(...u)=>{let c=o.apply(a,u);return c===!1&&(c=l.apply(a,u)),c||""}}n.renderer=a}if(r.tokenizer){let a=this.defaults.tokenizer||new ms(this.defaults);for(let i in r.tokenizer){if(!(i in a))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let s=i,o=r.tokenizer[s],l=a[s];a[s]=(...u)=>{let c=o.apply(a,u);return c===!1&&(c=l.apply(a,u)),c}}n.tokenizer=a}if(r.hooks){let a=this.defaults.hooks||new wa;for(let i in r.hooks){if(!(i in a))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let s=i,o=r.hooks[s],l=a[s];wa.passThroughHooks.has(i)?a[s]=u=>{if(this.defaults.async&&wa.passThroughHooksRespectAsync.has(i))return(async()=>{let h=await o.call(a,u);return l.call(a,h)})();let c=o.call(a,u);return l.call(a,c)}:a[s]=(...u)=>{if(this.defaults.async)return(async()=>{let h=await o.apply(a,u);return h===!1&&(h=await l.apply(a,u)),h})();let c=o.apply(a,u);return c===!1&&(c=l.apply(a,u)),c}}n.hooks=a}if(r.walkTokens){let a=this.defaults.walkTokens,i=r.walkTokens;n.walkTokens=function(s){let o=[];return o.push(i.call(this,s)),a&&(o=o.concat(a.call(this,s))),o}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Xt.lex(e,t??this.defaults)}parser(e,t){return nr.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&n.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let s=a.hooks?await a.hooks.preprocess(t):t,o=await(a.hooks?await a.hooks.provideLexer():e?Xt.lex:Xt.lexInline)(s,a),l=a.hooks?await a.hooks.processAllTokens(o):o;a.walkTokens&&await Promise.all(this.walkTokens(l,a.walkTokens));let u=await(a.hooks?await a.hooks.provideParser():e?nr.parse:nr.parseInline)(l,a);return a.hooks?await a.hooks.postprocess(u):u})().catch(i);try{a.hooks&&(t=a.hooks.preprocess(t));let s=(a.hooks?a.hooks.provideLexer():e?Xt.lex:Xt.lexInline)(t,a);a.hooks&&(s=a.hooks.processAllTokens(s)),a.walkTokens&&this.walkTokens(s,a.walkTokens);let o=(a.hooks?a.hooks.provideParser():e?nr.parse:nr.parseInline)(s,a);return a.hooks&&(o=a.hooks.postprocess(o)),o}catch(s){return i(s)}}}onError(e,t){return r=>{if(r.message+=`
542Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+hr(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}},Tn=new kA;function De(e,t){return Tn.parse(e,t)}De.options=De.setOptions=function(e){return Tn.setOptions(e),De.defaults=Tn.defaults,Cp(De.defaults),De};De.getDefaults=i0;De.defaults=Cn;De.use=function(...e){return Tn.use(...e),De.defaults=Tn.defaults,Cp(De.defaults),De};De.walkTokens=function(e,t){return Tn.walkTokens(e,t)};De.parseInline=Tn.parseInline;De.Parser=nr;De.parser=nr.parse;De.Renderer=fs;De.TextRenderer=m0;De.Lexer=Xt;De.lexer=Xt.lex;De.Tokenizer=ms;De.Hooks=wa;De.parse=De;De.options;De.setOptions;De.use;De.walkTokens;De.parseInline;nr.parse;Xt.lex;var we=(...e)=>bg(yg(e)),f0=(e,t,r)=>{let n=typeof t=="string"?new Blob([t],{type:r}):t,a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},wA=/<pre(\s|>)/,p0=G.createContext({code:""}),AA=class{constructor(){this.lightHighlighter=null,this.darkHighlighter=null,this.lightTheme=null,this.darkTheme=null,this.loadedLanguages=new Set,this.initializationPromise=null}isLanguageSupported(e){return Object.hasOwn(rp,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var r,n;let[a,i]=e,s=$w({forgiving:!0}),o=!this.lightHighlighter||this.lightTheme!==a,l=!this.darkHighlighter||this.darkTheme!==i;(o||l)&&this.loadedLanguages.clear();let u=this.isLanguageSupported(t),c=!this.loadedLanguages.has(t)&&u;if(o?(this.lightHighlighter=await Hh({themes:[a],langs:u?[t]:[],engine:s}),this.lightTheme=a,u&&this.loadedLanguages.add(t)):c&&await((r=this.lightHighlighter)==null?void 0:r.loadLanguage(t)),l){let h=c?[...this.loadedLanguages].concat(u?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await Hh({themes:[i],langs:h.length>0?h:u?[t]:[],engine:s}),this.darkTheme=i}else c&&await((n=this.darkHighlighter)==null?void 0:n.loadLanguage(t));c&&this.loadedLanguages.add(t)}async highlightCode(e,t,r,n){var a,i;this.initializationPromise&&await this.initializationPromise,this.initializationPromise=this.ensureHighlightersInitialized(r,t),await this.initializationPromise,this.initializationPromise=null;let[s,o]=r,l=this.isLanguageSupported(t)?t:this.getFallbackLanguage(),u=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:l,theme:s}),c=(i=this.darkHighlighter)==null?void 0:i.codeToHtml(e,{lang:l,theme:o}),h=m=>n?m.replace(wA,`<pre class="${n}"$1`):m;return[h(u),h(c)]}},SA=new AA,CA=({code:e,language:t,className:r,children:n,preClassName:a,...i})=>{let[s,o]=G.useState(""),[l,u]=G.useState(""),c=G.useRef(!1),[h,m]=G.useContext(mg);return G.useEffect(()=>(c.current=!0,SA.highlightCode(e,t,[h,m],a).then(([f,b])=>{c.current&&(o(f),u(b))}),()=>{c.current=!1}),[e,t,h,m,a]),x.jsx(p0.Provider,{value:{code:e},children:x.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[x.jsxs("div",{className:"flex items-center justify-between bg-muted/80 p-3 text-muted-foreground text-xs","data-code-block-header":!0,"data-language":t,children:[x.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),x.jsx("div",{className:"flex items-center gap-2",children:n})]}),x.jsx("div",{className:"w-full",children:x.jsxs("div",{className:"min-w-full",children:[x.jsx("div",{className:we("overflow-x-auto dark:hidden",r),dangerouslySetInnerHTML:{__html:s},"data-code-block":!0,"data-language":t,...i}),x.jsx("div",{className:we("hidden overflow-x-auto dark:block",r),dangerouslySetInnerHTML:{__html:l},"data-code-block":!0,"data-language":t,...i})]})})]})})},dd={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",da
542x:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},md=({onDownload:e,onError:t,language:r,children:n,className:a,code:i,...s})=>{let{code:o}=G.useContext(p0),{isAnimating:l}=G.useContext(ci),u=i??o,c=`file.${r&&r in dd?dd[r]:"txt"}`,h="text/plain",m=()=>{try{f0(c,u,h),e?.()}catch(f){t?.(f)}};return x.jsx("button",{className:we("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:l,onClick:m,title:"Download file",type:"button",...s,children:n??x.jsx(qu,{size:14})})},fd=({onCopy:e,onError:t,timeout:r=2e3,children:n,className:a,code:i,...s})=>{let[o,l]=G.useState(!1),u=G.useRef(0),{code:c}=G.useContext(p0),{isAnimating:h}=G.useContext(ci),m=i??c,f=async()=>{var E;if(typeof window>"u"||!((E=navigator?.clipboard)!=null&&E.writeText)){t?.(new Error("Clipboard API not available"));return}try{o||(await navigator.clipboard.writeText(m),l(!0),e?.(),u.current=window.setTimeout(()=>l(!1),r))}catch(A){t?.(A)}};G.useEffect(()=>()=>{window.clearTimeout(u.current)},[]);let b=o?k1:w1;return x.jsx("button",{className:we("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:h,onClick:f,type:"button",...s,children:n??x.jsx(b,{size:14})})},NA=({node:e,className:t,src:r,alt:n,...a})=>{let i=async()=>{var s;if(r)try{let o=await(await fetch(r)).blob(),l=new URL(r,window.location.origin).pathname.split("/").pop()||"",u=l.includes(".")&&((s=l.split(".").pop())==null?void 0:s.length)<=4,c="";if(u)c=l;else{let h=o.type,m="png";h.includes("jpeg")||h.includes("jpg")?m="jpg":h.includes("png")?m="png":h.includes("svg")?m="svg":h.includes("gif")?m="gif":h.includes("webp")&&(m="webp"),c=`${(n||l||"image").replace(/\.[^/.]+$/,"")}.${m}`}f0(c,o,o.type)}catch(o){console.error("Failed to download image:",o)}};return r?x.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[x.jsx("img",{alt:n,className:we("max-w-full rounded-lg",t),"data-streamdown":"image",src:r,...a}),x.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),x.jsx("button",{className:we("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:i,title:"Download image",type:"button",children:x.jsx(qu,{size:14})})]}):null}
542,IA=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},r=(await k(async()=>{const{default:n}=await import("./mermaid.core-CkKuBvWw.js").then(a=>a.b8);return{default:n}},__vite__mapDeps([97,98,99,100]))).default;return r.initialize(t),r},RA=({chart:e,className:t,config:r})=>{let[n,a]=G.useState(null),[i,s]=G.useState(!0),[o,l]=G.useState(""),[u,c]=G.useState("");if(G.useEffect(()=>{(async()=>{try{a(null),s(!0);let m=await IA(r),f=e.split("").reduce((A,T)=>(A<<5)-A+T.charCodeAt(0)|0,0),b=`mermaid-${Math.abs(f)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:E}=await m.render(b,e);l(E),c(E)}catch(m){if(!(u||o)){let f=m instanceof Error?m.message:"Failed to render Mermaid chart";a(f)}}finally{s(!1)}})()},[e,r]),i&&!o&&!u)return x.jsx("div",{className:we("my-4 flex justify-center p-4",t),children:x.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[x.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),x.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(n&&!o&&!u)return x.jsxs("div",{className:we("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[x.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",n]}),x.jsxs("details",{className:"mt-2",children:[x.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),x.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let h=o||u;return x.jsx("div",{"aria-label":"Mermaid chart",className:we("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:h},role:"img"})};function Hp(e){var t,r;let n=[],a=[],i=e.querySelectorAll("thead th");for(let o of i)n.push(((t=o.textContent)==null?void 0:t.trim())||"");let s=e.querySelectorAll("tbody tr");for(let o of s){let l=[],u=o.querySelectorAll("td");for(let c of u)l.push(((r=c.textContent)==null?void 0:r.trim())||"");a.push(l)}return{headers:n,rows:a}}function zp(e){let{headers:t,rows:r}=e,n=i=>i.includes(",")||i.includes('"')||i.includes(`
543`)?`"${i.replace(/"/g,'""')}"`:i,a=[];t.length>0&&a.push(t.map(n).join(","));for(let i of r)a.push(i.map(n).join(","));return a.join(`
544`)}function Up(e){let{headers:t,rows:r}=e;if(t.length===0)return"";let n=[],a=t.map(i=>i.replace(/\|/g,"\\|"));n.push(`| ${a.join(" | ")} |`),n.push(`| ${t.map(()=>"---").join(" | ")} |`);for(let i of r){let s=[...i];for(;s.length<t.length;)s.push("");let o=s.map(l=>l.replace(/\|/g,"\\|"));n.push(`| ${o.join(" | ")} |`)}return n.join(`
545`)}var LA=({children:e,className:t,onCopy:r,onError:n,timeout:a=2e3,format:i="markdown"})=>{let[s,o]=G.useState(!1),l=G.useRef(0),{isAnimating:u}=G.useContext(ci),c=async m=>{var f;if(typeof window>"u"||!((f=navigator?.clipboard)!=null&&f.write)){n?.(new Error("Clipboard API not available"));return}try{if(!s){let b=m.currentTarget.closest('[data-streamdown="table-wrapper"]'),E=b?.querySelector("table");if(!E){n?.(new Error("Table not found"));return}let A=Hp(E),T=new ClipboardItem({"text/plain":i==="markdown"?Up(A):zp(A),"text/html":new Blob([E.outerHTML],{type:"text/html"})});await navigator.clipboard.write([T]),o(!0),r?.(),l.current=window.setTimeout(()=>o(!1),a)}}catch(b){n?.(b)}};G.useEffect(()=>()=>{window.clearTimeout(l.current)},[]);let h=s?k1:w1;return x.jsx("button",{className:we("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:c,title:`Copy table as ${i}`,type:"button",children:e??x.jsx(h,{size:14})})},DA=({children:e,className:t,onDownload:r,onError:n})=>{let[a,i]=G.useState(!1),s=G.useRef(null),{isAnimating:o}=G.useContext(ci),l=u=>{var c;try{let h=(c=s.current)==null?void 0:c.closest('[data-streamdown="table-wrapper"]'),m=h?.querySelector("table");if(!m){n?.(new Error("Table not found"));return}let f=Hp(m),b=u==="csv"?zp(f):Up(f);f0(`table.${u==="csv"?"csv":"md"}`,b,u==="csv"?"text/csv":"text/markdown"),i(!1),r?.(u)}catch(h){n?.(h)}};return G.useEffect(()=>{let u=c=>{s.current&&!s.current.contains(c.target)&&i(!1)};return document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[]),x.jsxs("div",{className:"relative",ref:s,children:[x.jsx("button",{className:we("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:o,onClick:()=>i(!a),title:"Download table",type:"button",children:e??x.jsx(qu,{size:14})}),a&&x.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] rounded-md border border-border bg-background shadow-lg",children:[x.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>l("csv"),type:"button",children:"CSV"}),x.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>l("markdown"),type:"button",children:"Markdown"})]})]})},OA=/language-([^\s]+)/;function $s(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;
545if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let r=e.position.start,n=t.position.start,a=e.position.end,i=t.position.end;return r?.line===n?.line&&r?.column===n?.column&&a?.line===i?.line&&a?.column===i?.column}function Ge(e,t){return e.className===t.className&&$s(e.node,t.node)}var Xl=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,g0=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("ol",{className:we("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...n,children:e}),(e,t)=>Ge(e,t));g0.displayName="MarkdownOl";var $p=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("li",{className:we("py-1",t),"data-streamdown":"list-item",...n,children:e}),(e,t)=>e.className===t.className&&$s(e.node,t.node));$p.displayName="MarkdownLi";var jp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("ul",{className:we("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...n,children:e}),(e,t)=>Ge(e,t));jp.displayName="MarkdownUl";var Vp=G.memo(({className:e,node:t,...r})=>x.jsx("hr",{className:we("my-6 border-border",e),"data-streamdown":"horizontal-rule",...r}),(e,t)=>Ge(e,t));Vp.displayName="MarkdownHr";var qp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("span",{className:we("font-semibold",t),"data-streamdown":"strong",...n,children:e}),(e,t)=>Ge(e,t));qp.displayName="MarkdownStrong";var Wp=G.memo(({children:e,className:t,href:r,node:n,...a})=>{let i=r==="streamdown:incomplete-link";return x.jsx("a",{className:we("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":i,"data-streamdown":"link",href:r,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>Ge(e,t)&&e.href===t.href);Wp.displayName="MarkdownA";var Gp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("h1",{className:we("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...n,children:e}),(e,t)=>Ge(e,t));Gp.displayName="MarkdownH1";var Yp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("h2",{className:we("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...n,children:e}),(e,t)=>Ge(e,t));Yp.displayName="MarkdownH2";var Xp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("h3",{className:we("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...n,children:e}),(e,t)=>Ge(e,t));Xp.displayName="MarkdownH3";var Qp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("h4",{className:we("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...n,children:e}),(e,t)=>Ge(e,t));Qp.displayName="MarkdownH4";var Kp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("h5",{className:we("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...n,children:e}),(e,t)=>Ge(e,t));Kp.displayName="MarkdownH5";var Zp=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("h6",{className:we("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...n,children:e}),(e,t)=>Ge(e,t));Zp.displayName="MarkdownH6";var Jp=G.memo(({children:e,className:t,node:r,...n})=>{let a=G.useContext(b0),i=Xl(a,"table");return x.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[i&&x.jsxs("div",{className:"flex items-center justify-end gap-1",children:[x.jsx(LA,{}),x.jsx(DA,{})]}),x.jsx("div",{className:"overflow-x-auto",children:x.jsx("table",{className:we("w-full border-collapse border border-border",t),"data-streamdown":"table",...n,children:e})})]})},(e,t)=>Ge(e,t));Jp.displayName="MarkdownTable";var eg=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("thead",{className:we("bg-muted/80",t),"data-streamdown":"table-header",...n,children:e}),(e,t)=>Ge(e,t));
545eg.displayName="MarkdownThead";var tg=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("tbody",{className:we("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...n,children:e}),(e,t)=>Ge(e,t));tg.displayName="MarkdownTbody";var rg=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("tr",{className:we("border-border border-b",t),"data-streamdown":"table-row",...n,children:e}),(e,t)=>Ge(e,t));rg.displayName="MarkdownTr";var ng=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("th",{className:we("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...n,children:e}),(e,t)=>Ge(e,t));ng.displayName="MarkdownTh";var ag=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("td",{className:we("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...n,children:e}),(e,t)=>Ge(e,t));ag.displayName="MarkdownTd";var ig=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("blockquote",{className:we("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...n,children:e}),(e,t)=>Ge(e,t));ig.displayName="MarkdownBlockquote";var sg=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("sup",{className:we("text-sm",t),"data-streamdown":"superscript",...n,children:e}),(e,t)=>Ge(e,t));sg.displayName="MarkdownSup";var og=G.memo(({children:e,className:t,node:r,...n})=>x.jsx("sub",{className:we("text-sm",t),"data-streamdown":"subscript",...n,children:e}),(e,t)=>Ge(e,t));og.displayName="MarkdownSub";var lg=G.memo(({children:e,className:t,node:r,...n})=>{if("data-footnotes"in n){let a=s=>{var o,l;if(!G.isValidElement(s))return!1;let u=Array.isArray(s.props.children)?s.props.children:[s.props.children],c=!1,h=!1;for(let m of u)if(m){if(typeof m=="string")m.trim()!==""&&(c=!0);else if(G.isValidElement(m))if(((o=m.props)==null?void 0:o["data-footnote-backref"])!==void 0)h=!0;else{let f=Array.isArray(m.props.children)?m.props.children:[m.props.children];for(let b of f){if(typeof b=="string"&&b.trim()!==""){c=!0;break}if(G.isValidElement(b)&&((l=b.props)==null?void 0:l["data-footnote-backref"])===void 0){c=!0;break}}}}return h&&!c},i=Array.isArray(e)?e.map(s=>{if(!G.isValidElement(s))return s;if(s.type===g0){let o=(Array.isArray(s.props.children)?s.props.children:[s.props.children]).filter(l=>!a(l));return o.length===0?null:{...s,props:{...s.props,children:o}}}return s}):e;return(Array.isArray(i)?i.some(s=>s!==null):i!==null)?x.jsx("section",{className:t,...n,children:i}):null}return x.jsx("section",{className:t,...n,children:e})},(e,t)=>Ge(e,t));lg.displayName="MarkdownSection";var PA=({node:e,className:t,children:r,...n})=>{var a,i,s;let o=((a=e?.position)==null?void 0:a.start.line)===((i=e?.position)==null?void 0:i.end.line),l=G.useContext(fg),u=G.useContext(b0);if(o)return x.jsx("code",{className:we("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...n,children:r});let c=t?.match(OA),h=(s=c?.at(1))!=null?s:"",m="";if(G.isValidElement(r)&&r.props&&typeof r.props=="object"&&"children"in r.props&&typeof r.props.children=="string"?m=r.props.children:typeof r=="string"&&(m=r),h==="mermaid"){let b=Xl(u,"mermaid");return x.jsxs("div",{className:we("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[b&&x.jsxs("div",{className:"flex items-center justify-end gap-2",children:[x.jsx(md,{code:m,language:h}),x.jsx(fd,{code:m})]}),x.jsx(RA,{chart:m,config:l})]})}let f=Xl(u,"code");return x.jsx(CA,{className:we("overflow-x-auto border-t",t),code:m,"data-language":h,"data-streamdown":"code-block",language:h,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:f&&x.jsxs(x.Fragment,{children:[x.jsx(md,{code:m,language:h}),x.jsx(fd,{})]})})},ug=G.memo(PA,(e,t)=>e.className===t.className&&$s(e.node,t.node));ug.displayName="MarkdownCode";var cg=G.memo(NA,(e,t)=>e.className===t.className&&$s(e.node,t.node));cg.displayName="MarkdownImg";var hg=G.memo(({children:e,className:t,node:r,...n})=>{var a;let i=(Array.isArray(e)?e:[e]).filter(s=>s!=null&&s!=="");return i.length===1&&G.isValidElement(i[0])&&((a=i[0].props.node)==null?void 0:a.tagName)==="img"?x.jsx(x.Fragment,{children:e}):x.jsx("p",{className:t,...n,children:e})},(e,t)=>Ge(e,t));hg.displayName="MarkdownParagraph";var MA={ol:g0,li:$p,ul:jp,hr:Vp,strong:qp,a:Wp,h1:Gp,h2:Yp,h3:Xp,h4:Qp,h5:Kp,h6:Zp,table:Jp,thead:eg,tbody:tg,tr:rg,th:ng,td:ag,blockquote:ig,code:ug,img:cg,pre:({children:e})=>e,sup:sg,sub:og,p:hg,section:lg},BA=e=>{let t=/\[\^[^\]\s]{1,200}\](?!:)/.test(e),r=/\[\^[^\]\s]{1,200}\]:/.test(e);
545if(t||r)return[e];let n=Xt.lex(e,{gfm:!0}),a=[],i=[];for(let s=0;s<n.length;s++){let o=n[s],l=o.raw;if(i.length>0){if(a[a.length-1]+=l,o.type==="html"){let u=l.match(/<\/(\w+)>/);if(u){let c=u[1];i[i.length-1]===c&&i.pop()}}continue}if(o.type==="html"&&o.block){let u=l.match(/<(\w+)[\s>]/);if(u){let c=u[1];l.includes(`</${c}>`)||i.push(c)}}if(l.trim()==="$$"&&a.length>0){let u=a.at(-1);if(!u){a.push(l);continue}let c=u.trimStart().startsWith("$$"),h=(u.match(/\$\$/g)||[]).length;if(c&&h%2===1){a[a.length-1]=u+l;continue}}if(a.length>0&&l.trimEnd().endsWith("$$")){let u=a.at(-1);if(!u){a.push(l);continue}let c=u.trimStart().startsWith("$$"),h=(u.match(/\$\$/g)||[]).length,m=(l.match(/\$\$/g)||[]).length;if(c&&h%2===1&&!l.trimStart().startsWith("$$")&&m===1){a[a.length-1]=u+l;continue}}a.push(l)}return a},FA=/(!?\[)([^\]]*?)$/,HA=/(\*\*)([^*]*?)$/,zA=/(__)([^_]*?)$/,UA=/(\*\*\*)([^*]*?)$/,$A=/(\*)([^*]*?)$/,jA=/(_)([^_]*?)$/,VA=/(`)([^`]*?)$/,qA=/(~~)([^~]*?)$/,js=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(`
546`)},WA=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,r=e.match(t);if(r){let a=r[1]==="!",i=r[2],s=r[3],o=e.lastIndexOf(`${a?"!":""}[${i}](${s}`),l=e.substring(0,o);return a?l:`${l}[${i}](streamdown:incomplete-link)`}let n=e.match(FA);if(n){if(n[1].startsWith("!")){let a=e.lastIndexOf(n[1]);return e.substring(0,a)}return`${e}](streamdown:incomplete-link)`}return e},GA=e=>{if(js(e))return e;let t=e.match(HA);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;let n=e.lastIndexOf(t[1]),a=e.substring(0,n).lastIndexOf(`
547`),i=a===-1?0:a+1,s=e.substring(i,n);if(/^[\s]*[-*+][\s]+$/.test(s)&&r.includes(`
548`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},YA=e=>{let t=e.match(zA);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;let n=e.lastIndexOf(t[1]),a=e.substring(0,n).lastIndexOf(`
549`),i=a===-1?0:a+1,s=e.substring(i,n);if(/^[\s]*[-*+][\s]+$/.test(s)&&r.includes(`
550`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},XA=e=>e.split("").reduce((t,r,n)=>{if(r==="*"){let a=e[n-1],i=e[n+1];if(a==="\\")return t;let s=n;for(let o=n-1;o>=0;o--){if(e[o]===`
551`){s=o+1;break}if(o===0){s=0;break}}if(e.substring(s,n).trim()===""&&(i===" "||i==="	"))return t;if(a!=="*"&&i!=="*")return t+1}return t},0),QA=e=>{if(js(e))return e;if(e.match($A)){let t=-1;for(let n=0;n<e.length;n++)if(e[n]==="*"&&e[n-1]!=="*"&&e[n+1]!=="*"){t=n;break}if(t===-1)return e;let r=e.substring(t+1);if(!r||/^[\s_~*`]*$/.test(r))return e;if(XA(e)%2===1)return`${e}*`}return e},dg=(e,t)=>{let r=!1,n=!1;for(let a=0;a<e.length&&a<t;a++){if(e[a]==="\\"&&e[a+1]==="$"){a++;continue}e[a]==="$"&&(e[a+1]==="$"?(n=!n,a++,r=!1):n||(r=!r))}return r||n},KA=e=>e.split("").reduce((t,r,n)=>{if(r==="_"){let a=e[n-1],i=e[n+1];if(a==="\\"||dg(e,n)||a&&i&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(i))return t;if(a!=="_"&&i!=="_")return t+1}return t},0),ZA=e=>{if(js(e))return e;if(e.match(jA)){let t=-1;for(let n=0;n<e.length;n++)if(e[n]==="_"&&e[n-1]!=="_"&&e[n+1]!=="_"&&e[n-1]!=="\\"&&!dg(e,n)){let a=n>0?e[n-1]:"",i=n<e.length-1?e[n+1]:"";if(a&&i&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(i))continue;t=n;break}if(t===-1)return e;let r=e.substring(t+1);if(!r||/^[\s_~*`]*$/.test(r))return e;if(KA(e)%2===1){let n=e.match(/\n+$/);return n?`${e.slice(0,-n[0].length)}_${n[0]}`:`${e}_`}}return e},JA=(e,t)=>{let r=e.substring(t,t+3)==="```",n=t>0&&e.substring(t-1,t+2)==="```",a=t>1&&e.substring(t-2,t+1)==="```";return r||n||a},eS=e=>{let t=0;for(let r=0;r<e.length;r++)e[r]==="`"&&!JA(e,r)&&t++;return t},tS=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(`
552`))return e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;let t=(e.match(/```/g)||[]).length,r=t%2===1;if(t>0&&t%2===0&&e.includes(`
553`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let n=e.match(VA);if(n&&!r){let a=n[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(eS(e)%2===1)return`${e}\``}return e},rS=e=>{let t=e.match(qA);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},nS=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(`
554`,t)!==-1&&!e.endsWith(`
555`)?`${e}
556$$`:`${e}$$`},aS=e=>{let t=0,r=e.match(/\*+/g)||[];for(let n of r){let a=n.length;a>=3&&(t+=Math.floor(a/3))}return t},iS=e=>{if(js(e)||/^\*{4,}$/.test(e))return e;let t=e.match(UA);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;if(aS(e)%2===1)return`${e}***`}return e},sS=e=>{if(!e||typeof e!="string")return e;let t=e,r=WA(t);return r.endsWith("](streamdown:incomplete-link)")?r:(t=r,t=iS(t),t=GA(t),t=YA(t),t=QA(t),t=ZA(t),t=tS(t),t=rS(t),t=nS(t),t)},oS={harden:[Q9,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:Ix,katex:[b8,{errorColor:"var(--color-muted-foreground)"}]},lS={gfm:[F9,{}],math:[X9,{singleDollarTextMath:!1}]},mg=G.createContext(["github-light","github-dark"]),fg=G.createContext(void 0),b0=G.createContext(!0),ci=G.createContext({isAnimating:!1}),pg=G.memo(({content:e,shouldParseIncompleteMarkdown:t,...r})=>{let n=G.useMemo(()=>typeof e=="string"&&t?sS(e.trim()):e,[e,t]);return x.jsx(V6,{...r,children:n})},(e,t)=>e.content===t.content);pg.displayName="Block";var Ql=G.memo(({children:e,parseIncompleteMarkdown:t=!0,components:r,rehypePlugins:n=Object.values(oS),remarkPlugins:a=Object.values(lS
556),className:i,shikiTheme:s=["github-light","github-dark"],mermaidConfig:o,controls:l=!0,isAnimating:u=!1,...c})=>{let h=G.useId(),m=G.useMemo(()=>BA(typeof e=="string"?e:""),[e]);return x.jsx(mg.Provider,{value:s,children:x.jsx(fg.Provider,{value:o,children:x.jsx(b0.Provider,{value:l,children:x.jsx(ci.Provider,{value:{isAnimating:u},children:x.jsx("div",{className:we("space-y-4",i),children:m.map((f,b)=>x.jsx(pg,{components:{...MA,...r},content:f,rehypePlugins:n,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...c},`${h}-block-${b}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);Ql.displayName="Streamdown";const uS={light:"",dark:".dark"},gg=G.createContext(null);function cS(){const e=G.useContext(gg);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}function el({id:e,className:t,children:r,config:n,...a}){const i=G.useId(),s=`chart-${e||i.replace(/:/g,"")}`;return x.jsx(gg.Provider,{"data-loc":"client/src/components/ui/chart.tsx:51",value:{config:n},children:x.jsxs("div",{"data-loc":"client/src/components/ui/chart.tsx:52","data-slot":"chart","data-chart":s,className:mn("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",t),...a,children:[x.jsx(hS,{"data-loc":"client/src/components/ui/chart.tsx:61",id:s,config:n}),x.jsx(Og,{"data-loc":"client/src/components/ui/chart.tsx:62",children:r})]})})}const hS=({id:e,config:t})=>{const r=Object.entries(t).filter(([,n])=>n.theme||n.color);return r.length?x.jsx("style",{"data-loc":"client/src/components/ui/chart.tsx:80",dangerouslySetInnerHTML:{__html:Object.entries(uS).map(([n,a])=>`
557${a} [data-chart=${e}] {
558${r.map(([i,s])=>{const o=s.theme?.[n]||s.color;return o?`  --color-${i}: ${o};`:null}).join(`
559`)}
560}
561`).join(`
562`)}}):null},tl=Dg;function rl({active:e,payload:t,className:r,indicator:n="dot",hideLabel:a=!1,hideIndicator:i=!1,label:s,labelFormatter:o,labelClassName:l,formatter:u,color:c,nameKey:h,labelKey:m}){const{config:f}=cS(),b=G.useMemo(()=>{if(a||!t?.length)return null;const[A]=t,T=`${m||A?.dataKey||A?.name||"value"}`,w=pd(f,A,T),L=!m&&typeof s=="string"?f[s]?.label||s:w?.label;return o?x.jsx("div",{"data-loc":"client/src/components/ui/chart.tsx:144",className:mn("font-medium",l),children:o(L,t)}):L?x.jsx("div",{"data-loc":"client/src/components/ui/chart.tsx:154",className:mn("font-medium",l),children:L}):null},[s,o,t,a,l,f,m]);if(!e||!t?.length)return null;const E=t.length===1&&n!=="dot";return x.jsxs("div",{"data-loc":"client/src/components/ui/chart.tsx:172",className:mn("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",r),children:[E?null:b,x.jsx("div",{"data-loc":"client/src/components/ui/chart.tsx:179",className:"grid gap-1.5",children:t.filter(A=>A.type!=="none").map((A,T)=>{const w=`${h||A.name||A.dataKey||"value"}`,L=pd(f,A,w),$=c||A.payload.fill||A.color;return x.jsx("div",{"data-loc":"client/src/components/ui/chart.tsx:188",className:mn("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",n==="dot"&&"items-center"),children:u&&A?.value!==void 0&&A.name?u(A.value,A.name,A,T,A.payload):x.jsxs(x.Fragment,{children:[L?.icon?x.jsx(L.icon,{"data-loc":"client/src/components/ui/chart.tsx:200"}):!i&&x.jsx("div",{"data-loc":"client/src/components/ui/chart.tsx:203",className:mn("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":n==="dot","w-1":n==="line","w-0 border-[1.5px] border-dashed bg-transparent":n==="dashed","my-0.5":E&&n==="dashed"}),style:{"--color-bg":$,"--color-border":$}}),x.jsxs("div",{"data-loc":"client/src/components/ui/chart.tsx:223",className:mn("flex flex-1 justify-between leading-none",E?"items-end":"items-center"),children:[x.jsxs("div",{"data-loc":"client/src/components/ui/chart.tsx:229",className:"grid gap-1.5",children:[E?b:null,x.jsx("span",{"data-loc":"client/src/components/ui/chart.tsx:231",className:"text-muted-foreground",children:L?.label||A.name})]}),A.value&&x.jsx("span",{"data-loc":"client/src/components/ui/chart.tsx:236",className:"text-foreground font-mono font-medium tabular-nums",children:A.value.toLocaleStr
562ing()})]})]})},A.dataKey)})})]})}function pd(e,t,r){if(typeof t!="object"||t===null)return;const n="payload"in t&&typeof t.payload=="object"&&t.payload!==null?t.payload:void 0;let a=r;return r in t&&typeof t[r]=="string"?a=t[r]:n&&r in n&&typeof n[r]=="string"&&(a=n[r]),a in e?e[a]:e[r]}function dS(e){const t=new Date(e),r=t.getDay(),n=t.getDate()-r+(r===0?-6:1);return t.setDate(n),t.setHours(0,0,0,0),t}function gd(e){const t=new Date(e);return t.setDate(t.getDate()+6),`${e.getMonth()+1}/${e.getDate()} - ${t.getMonth()+1}/${t.getDate()}`}function mS(){const[e]=G.useState(()=>dS(new Date)),[t,r]=G.useState("good"),[n,a]=G.useState(""),[i,s]=G.useState(null),[o,l]=G.useState(null),[u,c]=G.useState(!1),h=G.useRef(null),[m,f]=G.useState(""),[b,E]=G.useState(""),[A,T]=G.useState(""),[w,L]=G.useState(!1),[$,U]=G.useState(!1),[P,W]=G.useState(!1),[se,ae]=G.useState("recomp"),[F,ne]=G.useState("3"),[ee,oe]=G.useState("moderate"),{data:J,isLoading:ue}=Bt.weeklyReview.getRecent.useQuery({limit:4}),{data:ce}=Bt.profile.getProfile.useQuery(),{data:Le}=Bt.cycle.getSettings.useQuery(),{data:Ve}=Bt.cycle.getLogs.useQuery(),{data:Ae,refetch:R}=Bt.bodyMeasurements.getTrend.useQuery({days:90}),{data:Se,refetch:He}=Bt.bodyMeasurements.getLatest.useQuery(),{data:D,refetch:it}=Bt.bodyMeasurements.getHistory.useQuery({limit:50}),ht=Bt.bodyMeasurements.add.useMutation(),qe=Bt.bodyMeasurements.delete.useMutation(),dt=Bt.weeklyReview.generate.useMutation(),ct=Bt.healthReport.analyze.useMutation(),At=Bt.useUtils(),yt=Bt.profile.updateProfile.useMutation({onSuccess:async()=>{await Promise.all([At.profile.getProfile.invalidate(),At.recommendations.getDaily.invalidate()]),W(!1),Et.success("計劃已更新,AI 建議熱量會按新策略重新計算。")},onError:j=>Et.error(`更新計劃失敗:${j.message}`)}),$r=j=>{const Ce=Array.isArray(j.aiSuggestions)?j.aiSuggestions:typeof j.aiSuggestions=="string"?(()=>{try{const H=JSON.parse(j.aiSuggestions);return Array.isArray(H)?H:[]}catch{return[]}})():[];s({avgDailyCalories:Number(j.avgDailyCalories||0),avgDailyProtein:Number(j.avgDailyProtein||0),avgDailyCarbs:Number(j.avgDailyCarbs||0),avgDailyFat:Number(j.avgDailyFat||0),totalWorkouts:Number(j.totalWorkouts||0),avgSleepHours:Number(j.avgSleepHours||0),avgWaterIntake:Number(j.avgWaterIntake||0),socialDiningCount:Number(j.socialDiningCount||0),aiSummary:j.aiSummary||"呢份覆盤未有可顯示嘅 AI 內容。",aiSuggestions:Ce,overallScore:Number(j.overallScore||0),weightChange:0,latestWeight:null,calorieStrategy:{status:j.calorieAdjustmentStatus||"insufficient_data",autoAdjustment:Number(j.autoCalorieAdjustment||0),adjustmentDelta:Number(j.autoCalorieAdjustmentDelta||0),reason:j.autoCalorieAdjustmentReason||"這週尚未有熱量策略紀錄。"},goalCaloriesAfter:j.goalCaloriesAfter?Number(j.goalCaloriesAfter):null,isHistorical:!0,weekStartDate:j.weekStartDate,weekEndDate:j.weekEndDate}),window.scrollTo({top:0,behavior:"smooth"})},jr=async()=>{const j=parseFloat(m);if(isNaN(j)||j<20||j>300){Et.error("請輸入有效體重(20-300 kg)");return}L(!0);try{const Ce=parseFloat(b),H=parseFloat(A);await ht.mutateAsync({weight:j,bodyFatPercentage:!isNaN(Ce)&&Ce>=3&&Ce<=60?Ce:void 0,muscleMass:!isNaN(H)&&H>=10&&H<=150?H:void 0}),Et.success(`✅ 已記錄體重 ${j} kg`),f(""),E(""),T(""),He(),R(),it()}catch(Ce){Et.error("記錄失敗:"+(Ce.message||"試多次"))}finally{L(!1)}},la=async()=>{try{const j=await dt.mutateAsync({weekStartDate:e,userMood:t,userNotes:n||void 0,healthReportData:o||void 0});s(j.review),Et.success("覆盤生成完成!🎉")}catch(j){Et.error("生成唔到:"+(j.message||"試多次"))}},ln=j=>{const Ce=j.target.files?.[0];if(!Ce)return;if(Ce.size>20*1024*1024){Et.error("檔案太大,最大 20MB");return}c(!0);const H=new FileReader;H.onload=te=>{const me=(te.target?.result).split(",")[1];ct.mutate({fileBase64:me,mimeType:Ce.type,fileName:Ce.name},{onSuccess:he=>{c(!1),l(he.extractedData),Et.success("報告已辨識!AI 覆盤會整合呢份數據 ✅");const _e=he.extractedData;_e?.weight&&f(String(_e.weight)),_e?.bodyFatPercentage&&E(String(_e.bodyFatPercentage)),_e?.muscleMass&&T(String(_e.muscleMass)),_e?.weight&&Et.info(`📊 已自動填入體重 ${_e.weight}kg,記得按「記錄」儲存!`,{duration:5e3})},onError:he=>{c(!1),Et.error("辨識唔到報告:"+he.message)}})},H.readAsDataURL(Ce)},vr=G.useMemo(()=>
562{if(!Ae||Ae.length<2)return null;const j=Ae[Ae.length-1].weight,Ce=Ae[0].weight;return{change:j-Ce,latest:j,first:Ce}},[Ae]),Ot=G.useMemo(()=>{const j=ce?.targetBodyFatPercentage?Number(ce.targetBodyFatPercentage):null,Ce=Se?.bodyFatPercentage?Number(Se.bodyFatPercentage):null,H=Ae?.[0]?.bodyFatPercentage?Number(Ae[0].bodyFatPercentage):null,te=Number(ce?.goalTimelineMonths||0);if(j!==null&&Ce!==null){if(Ce<=j)return{status:"achieved",title:"已達到目前體脂目標,想更新下一步?",description:"可以設定新目標時間,或改為專注增肌、維持與身體重組。"};if(H!==null&&Ae&&Ae.length>=2&&te>0){const me=new Date(Ae[0].date).getTime(),he=new Date(Ae[Ae.length-1].date).getTime(),_e=Math.max(1,Math.round((he-me)/864e5)),xt=H-j,Vt=H-Ce,qt=xt*(_e/(te*30.44)),Vr=qt>0?Vt/qt:1;return Vr>=1.2?{status:"ahead",title:"進度比原定節奏快,想更新下一步?",description:"可考慮放慢熱量赤字、延長目標時間或切換為增肌減脂,令成果更穩定。"}:Vr<=.8?{status:"needs_adjustment",title:"進度比原定節奏慢,想調整計劃?",description:"可微調活動量、訓練習慣、目標時間或每日熱量,唔使硬撐原定方案。"}:{status:"on_track",title:"體脂正朝目標前進,想微調計劃?",description:"可按近況更新每日熱量、訓練習慣或目標時間,令節奏更貼合生活。"}}return{status:"needs_setup",title:"再記多幾次體成分,AI 就可判斷進度節奏",description:"有目標時間、體脂與至少兩次記錄後,覆盤會顯示你係落後、超前定按計劃進行。"}}return{status:"needs_setup",title:"設定好目標,AI 先可以幫你調整節奏",description:"補齊目標時間、體脂與肌肉目標後,覆盤會按你嘅進度提供更貼身建議。"}},[Ae,Se?.bodyFatPercentage,ce?.goalTimelineMonths,ce?.targetBodyFatPercentage]),Pt=G.useMemo(()=>{if(!Le?.enabled||!Le.lastPeriodStart)return null;const j=new Date(Le.lastPeriodStart),H=Math.max(1,Math.floor((new Date().getTime()-j.getTime())/864e5)+1),te=Le.averageCycleLength||28,me=Array.isArray(Ve?.[0]?.symptoms)?Ve[0].symptoms:[],he={cramps:"腹部不適",fatigue:"攰",headache:"頭痛",mood:"心情起伏",bloating:"脹",sleep:"瞓得差",appetite:"胃口轉變"},_e=me.includes("fatigue")||me.includes("sleep")||me.includes("cramps"),xt=me.includes("appetite");return{day:H,average:te,symptoms:me.map(Vt=>he[Vt]||Vt).slice(0,3),guidance:_e?"如果今週覺得攰、瞓得差或有不適,可按感受降低訓練量、加多恢復;正餐照食足蛋白質、碳水同水分。":xt?"胃口有變化時,先維持規律正餐、蛋白質、纖維同水分,唔使靠極端節食補救。":"保持規律正餐、水分同按感受調整訓練;記低幾個週期後,先更容易睇到自己嘅模式。"}},[Ve,Le]),kr=G.useMemo(()=>{const j=Number(ce?.tdee||0);return j?Math.round(j*(se==="lose_weight"?.8:se==="gain_muscle"?1.15:se==="recomp"?.92:1)):null},[se,ce?.tdee]),wr=()=>{ae(ce?.goal||"recomp"),ne(String(ce?.goalTimelineMonths||3)),oe(ce?.activityLevel||"moderate"),W(!0)},hi=()=>{if(!ce){Et.error("請先完成個人資料設定。");return}const j=Number(F);if(!Number.isInteger(j)||j<1||j>24){Et.error("目標時間請填 1 至 24 個月。");return}yt.mutate({gender:ce.gender||"female",height:Number(ce.height||158),weight:Number(Se?.weight||ce.weight||50),bodyFatPercentage:Number(Se?.bodyFatPercentage||ce.bodyFatPercentage||25),targetBodyFatPercentage:Number(ce.targetBodyFatPercentage||20),targetMusclePercentage:Number(ce.targetMusclePercentage||35),goal:se,goalTimelineMonths:j,age:Number(ce.age||25),activityLevel:ee,socialDiningFrequency:ce.socialDiningFrequency||"once_week",businessDiningFrequency:ce.businessDiningFrequency||"rarely",drinkingHabit:ce.drinkingHabit||"social_only",exerciseTypes:ce.exerciseTypes||[],exerciseFrequency:ce.exerciseFrequency||"two_three_week",workType:ce.workType||"office_sitting",lateNightSnack:ce.lateNightSnack||"sometimes",mealPattern:ce.mealPattern||"regular_three",cookingHabit:ce.cookingHabit||"mostly_eat_out"})},ua=j=>j>=80?"text-green-400":j>=60?"text-blue-400":j>=40?"text-yellow-400":"text-red-400",Vs=j=>j>=80?"border-green-500/30 bg-green-500/5":j>=60?"border-blue-500/30 bg-blue-500/5":j>=40?"border-yellow-500/30 bg-yellow-500/5":"border-red-500/30 bg-red-500/5",qs={great:"🤩",good:"😊",okay:"😐",bad:"😔",terrible:"😢"};return x.jsx(xg,{"data-loc":"client/src/pages/WeeklyReview.tsx:365",title:"每週覆盤",showBack:!0,children:x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:366",className:"px-4 py-5 sm:py-
5627",children:x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:367",className:"mx-auto max-w-3xl space-y-5",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:368",className:"mb-1",children:[x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:369",className:"section-kicker",children:"WEEKLY COACH REPORT"}),x.jsxs("h1",{"data-loc":"client/src/pages/WeeklyReview.tsx:370",className:"mt-1 flex items-center gap-2 text-2xl font-bold tracking-tight text-foreground md:text-3xl",children:[x.jsx(Eg,{"data-loc":"client/src/pages/WeeklyReview.tsx:371",className:"h-6 w-6 text-cyan-200"}),"每週覆盤"]}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:374",className:"mt-1 text-sm text-muted-foreground",children:"將本週記錄化成下一步,唔靠壓力,靠趨勢。"})]}),x.jsx(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:379",className:Ot.status==="needs_adjustment"?"card-warm-action border-amber-300/20":"card-ai-signal border-cyan-300/16",children:x.jsxs(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:380",className:"p-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:381",className:"flex items-start gap-3",children:[x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:382",className:`w-9 h-9 shrink-0 rounded-full flex items-center justify-center ${Ot.status==="needs_adjustment"?"bg-amber-300/12":"bg-cyan-300/12"}`,children:x.jsx(ro,{"data-loc":"client/src/pages/WeeklyReview.tsx:383",className:`w-4 h-4 ${Ot.status==="needs_adjustment"?"text-amber-200":"text-cyan-200"}`})}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:385",children:[x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:386",className:"text-sm font-semibold text-foreground",children:Ot.title}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:387",className:"text-xs text-muted-foreground mt-0.5",children:Ot.description})]})]}),x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:390",onClick:wr,variant:"outline",size:"sm",className:`w-full sm:w-auto ${Ot.status==="needs_adjustment"?"border-amber-300/30 bg-amber-300/8 text-amber-100 hover:bg-amber-300/14":"border-cyan-300/30 bg-cyan-300/8 text-cyan-100 hover:bg-cyan-300/14"}`,children:"調整計劃"})]})}),P&&x.jsxs(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:397",className:"card-ai-signal border-cyan-300/16",children:[x.jsxs(In,{"data-loc":"client/src/pages/WeeklyReview.tsx:398",className:"pb-3",children:[x.jsxs(Rn,{"data-loc":"client/src/pages/WeeklyReview.tsx:399",className:"text-base flex items-center gap-2",children:[x.jsx(ro,{"data-loc":"client/src/pages/WeeklyReview.tsx:400",className:"w-4 h-4 text-cyan-200"}),"快速調整本週策略"]}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:403",className:"text-xs text-muted-foreground",children:"儲存後會按新目標、時間與活動量重新計算每日熱量建議。"})]}),x.jsxs(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:405",className:"space-y-3",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:406",className:"grid grid-cols-2 gap-3",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:407",children:[x.jsx(ha,{"data-loc":"client/src/pages/WeeklyReview.tsx:408",className:"text-xs",children:"目標方向"}),x.jsxs(Gs,{"data-loc":"client/src/pages/WeeklyReview.tsx:409",value:se,onValueChange:j=>ae(j),children:[x.jsx(Ys,{"data-loc":"client/src/pages/WeeklyReview.tsx:410",className:"mt-1",children:x.jsx(Xs,{"data-loc":"client/src/pages/WeeklyReview.tsx:410"})}),x.jsxs(Qs,{"data-loc":"client/src/pages/WeeklyReview.tsx:411",children:[x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:412",value:"recomp",children:"增肌減脂"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:413",value:"gain_muscle",children:"增肌"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:414",value:"lose_weight",children:"減脂"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:415",value:"maintain",children:"維持"})]})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:419",children:[x.jsx(ha,{"data-loc":"client/src/pages/WeeklyReview.tsx:420",className:"text-xs",children:"目標時間(月)"}),x.jsx(Rg,{"data-loc":"client/src/pages/WeeklyReview.tsx:421",value:F,inputMode:"numeric",onChange:j=>ne(j.target.value.replace(/[^0-9]/g,"")),className:"input-fitdiet mt-1"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:424",children:[x.jsx(ha,{"data-loc":"client/src/pages/WeeklyReview.tsx:425",className:"text-xs",children:"平日活動量/訓練節奏"}),x.jsxs(Gs,{"data-loc":"client/src/pages/WeeklyReview.tsx:426",value:ee,onValueChange:j=>oe(j),children:[x.jsx(Ys,{"data-loc":"client/src/pages/WeeklyReview.tsx:427",className:"mt-1",children:x.jsx(Xs,{"data-loc":"client/src/pages/WeeklyReview.tsx:427"})}),x.jsxs(Qs,{"data-loc":"client/src/pages/WeeklyReview.tsx:428",children:[x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:429",value:"sedentary",children:"久坐為主"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:430",value:"light",children:"輕度活動"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:431",value:"moderate",children:"中度活動"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:432",value:"active",children:"高活動量"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:433",value:"very_active",children:"非常高活動量"})]})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:437",className:"card-glass-subtle rounded-xl p-3 text-sm",children:[x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:438",className:"text-muted-foreground",children:"調整後建議每日攝取:"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:439",className:"ml-1 font-bold text-cyan-200",children:kr?`${kr} kcal`:"完成個人資料後可計算"}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:440",className:"mt-1 text-xs text-muted-foreground",children:"目標時間會影響每週進度節奏;活動量會影響估算 TDEE。"})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:442",className:"grid grid-cols-2 gap-3",children:[x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:443",variant:"outline",onClick:()=>W(!1),children:"取消"}),x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:444",onClick:hi,disabled:yt.isPending,children:yt.isPending?"儲存中...":"儲存並重算"})]}),x.jsx(_g,{"data-loc":"client/src/pages/WeeklyReview.tsx:448",href:`/profile-setup?from=weekly-review&status=${Ot.status}`,className:"block text-center text-xs text-muted-foreground hover:text-primary",children:"想一併調整體脂、肌肉與生活習慣?去完整設定 →"})]})]}),x.jsx(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:456",className:"card-glass-subtle overflow-hidden border-white/8",children:x.jsxs(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:457",className:"pt-4 pb-4 space-y-3",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:458",className:"flex items-center justify-between",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:459",className:"flex items-center gap-2",children:[x.jsx(_0,{"data-loc":"client/src/pages/WeeklyReview.tsx:460",className:"w-4 h-4 text-cyan-200"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:461",className:"text-sm font-medium text-foreground",children:"體重記錄"})]}),Se&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:464",className:"text-lg font-bold text-foreground",children:[Se.weight.toFixed(1)," kg"]})]}),vr&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:468",className:"flex items-center gap-2",children:[x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:469",className:"text-xs text-muted-foreground",children:"14日變化:"}),x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:470",className:"text-sm font-medium text-foreground",children:[vr.change>0?"+":"",vr.change.toFixed(1)," kg"]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:476",className:"grid grid-cols-3 gap-2",children:[x.jsx("input",{"data-loc":"client/src/pages/WeeklyReview.tsx:477",type:"number",step:"0.1",min:"20",max:"300",value:m,onChange:j=>
562f(j.target.value),onKeyDown:j=>j.key==="Enter"&&jr(),placeholder:Se?`體重 ${Se.weight.toFixed(1)}kg`:"體重 (kg)",className:"input-fitdiet h-9 px-3 py-1 text-sm"}),x.jsx("input",{"data-loc":"client/src/pages/WeeklyReview.tsx:488",type:"number",step:"0.1",min:"3",max:"60",value:b,onChange:j=>E(j.target.value),onKeyDown:j=>j.key==="Enter"&&jr(),placeholder:Se?.bodyFatPercentage?`體脂 ${Se.bodyFatPercentage.toFixed(1)}%`:"體脂 (%)",className:"input-fitdiet h-9 px-3 py-1 text-sm"}),x.jsx("input",{"data-loc":"client/src/pages/WeeklyReview.tsx:499",type:"number",step:"0.1",min:"10",max:"150",value:A,onChange:j=>T(j.target.value),onKeyDown:j=>j.key==="Enter"&&jr(),placeholder:Se?.muscleMass?`肌肉 ${Se.muscleMass.toFixed(1)}kg`:"肌肉 (kg)",className:"input-fitdiet h-9 px-3 py-1 text-sm"})]}),x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:511",size:"sm",onClick:jr,disabled:w||!m,className:"w-full h-9",children:w?x.jsx(y0,{"data-loc":"client/src/pages/WeeklyReview.tsx:512",className:"w-4 h-4 animate-spin"}):"記錄"}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:514",className:"text-[10px] text-muted-foreground",children:"建議每週記錄一次,唔使每日量 🙂"}),Ae&&Ae.length>=2&&(()=>{const j=Ae.map(he=>({date:new Date(he.date).toLocaleDateString("zh-HK",{month:"numeric",day:"numeric"}),weight:he.weight,bodyFat:he.bodyFatPercentage??void 0,muscle:he.muscleMass??void 0})),Ce=ce?.targetBodyFatPercentage?Number(ce.targetBodyFatPercentage):null,H=ce?.targetMusclePercentage?Number(ce.targetMusclePercentage):null,te=Ae.some(he=>he.bodyFatPercentage!=null),me=Ae.some(he=>he.muscleMass!=null);return x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:529",className:"mt-2 space-y-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:531",children:[x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:532",className:"text-xs text-muted-foreground mb-1",children:"體重趨勢(kg)"}),x.jsx(el,{"data-loc":"client/src/pages/WeeklyReview.tsx:533",config:{weight:{label:"體重",color:"#67e8f9"}},className:"h-[140px] w-full",children:x.jsxs(Ks,{"data-loc":"client/src/pages/WeeklyReview.tsx:534",data:j,margin:{top:8,right:8,left:-20,bottom:0},children:[x.jsx(Zs,{"data-loc":"client/src/pages/WeeklyReview.tsx:535",strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.1)"}),x.jsx(Js,{"data-loc":"client/src/pages/WeeklyReview.tsx:536",dataKey:"date",tick:{fontSize:9,fill:"#9ca3af"},tickLine:!1,axisLine:!1,interval:"preserveStartEnd"}),x.jsx(eo,{"data-loc":"client/src/pages/WeeklyReview.tsx:537",tick:{fontSize:9,fill:"#9ca3af"},tickLine:!1,axisLine:!1,domain:["auto","auto"]}),x.jsx(tl,{"data-loc":"client/src/pages/WeeklyReview.tsx:538",content:x.jsx(rl,{"data-loc":"client/src/pages/WeeklyReview.tsx:538",formatter:he=>[`${he} kg`,"體重"]})}),x.jsx(to,{"data-loc":"client/src/pages/WeeklyReview.tsx:539",type:"monotone",dataKey:"weight",stroke:"#67e8f9",strokeWidth:2.5,dot:{r:4,fill:"#67e8f9",strokeWidth:0},activeDot:{r:6}})]})})]}),te&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:546",children:[x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:547",className:"text-xs text-muted-foreground mb-1",children:["體脂率趨勢(%)",Ce&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:547",className:"ml-1 text-amber-300",children:["目標 ",Ce,"%"]})]}),x.jsx(el,{"data-loc":"client/src/pages/WeeklyReview.tsx:548",config:{bodyFat:{label:"體脂率",color:"#fb923c"}},className:"h-[140px] w-full",children:x.jsxs(Ks,{"data-loc":"client/src/pages/WeeklyReview.tsx:549",data:j,margin:{top:8,right:8,left:-20,bottom:0},children:[x.jsx(Zs,{"data-loc":"client/src/pages/WeeklyReview.tsx:550",strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.1)"}),x.jsx(Js,{"data-loc":"client/src/pages/WeeklyReview.tsx:551",dataKey:"date",tick:{fontSize:9,fill:"#9ca3af"},tickLine:!1,axisLine:!1,interval:"preserveStartEnd"}),x.jsx(eo,{"data-loc":"client/src/pages/WeeklyReview.tsx:552",tick:{fontSize:9,fill:"#9ca3af"},tickLine:!1,axisLine:!1,domain:["auto","auto"]}),x.jsx(tl,{"data-loc":"client/src/pages/WeeklyReview.tsx:553",content:x.jsx(rl,{"data-loc":"client/src/pages/WeeklyReview.tsx:553",formatter:he=>[`${he}%`,"體脂率"]})}),Ce&&x.jsx(E0,{"data-loc":"client/src/pages/WeeklyReview.tsx:555",y:Ce,stroke:"#facc15",strokeDasharray:"4 4",strokeWidth:1.5,label:{value:`目標 ${Ce}%`,position:"insideTopRight",fontSize:9,fill:"#facc15"}}),x.jsx(to,{"data-loc":"client/src/pages/WeeklyReview.tsx:559",type:"monotone",dataKey:"bodyFat",stroke:"#fb923c",strokeWidth:2.5,dot:{r:4,fill:"#fb923c",strokeWidth:0},activeDot:{r:6},connectNulls:!0})]})})]}),me&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:567",children:[x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:568",className:"text-xs text-muted-foreground mb-1",children:["肌肉量趨勢(kg)",H&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:568",className:"ml-1 text-violet-300",children:["目標 ",H,"%"]})]}),x.jsx(el,{"data-loc":"client/src/pages/WeeklyReview.tsx:569",config:{muscle:{label:"肌肉量",color:"#c4b5fd"}},className:"h-[140px] w-full",children:x.jsxs(Ks,{"data-loc":"client/src/pages/WeeklyReview.tsx:570",data:j,margin:{top:8,right:8,left:-20,bottom:0},children:[x.jsx(Zs,{"data-loc":"client/src/pages/WeeklyReview.tsx:571",strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.1)"}),x.jsx(Js,{"data-loc":"client/src/pages/WeeklyReview.tsx:572",dataKey:"date",tick:{fontSize:9,fill:"#9ca3af"}
562,tickLine:!1,axisLine:!1,interval:"preserveStartEnd"}),x.jsx(eo,{"data-loc":"client/src/pages/WeeklyReview.tsx:573",tick:{fontSize:9,fill:"#9ca3af"},tickLine:!1,axisLine:!1,domain:["auto","auto"]}),x.jsx(tl,{"data-loc":"client/src/pages/WeeklyReview.tsx:574",content:x.jsx(rl,{"data-loc":"client/src/pages/WeeklyReview.tsx:574",formatter:he=>[`${he} kg`,"肌肉量"]})}),H&&x.jsx(E0,{"data-loc":"client/src/pages/WeeklyReview.tsx:576",y:H,stroke:"#a78bfa",strokeDasharray:"4 4",strokeWidth:1.5,label:{value:`目標 ${H}%`,position:"insideTopRight",fontSize:9,fill:"#a78bfa"}}),x.jsx(to,{"data-loc":"client/src/pages/WeeklyReview.tsx:580",type:"monotone",dataKey:"muscle",stroke:"#c4b5fd",strokeWidth:2.5,dot:{r:4,fill:"#c4b5fd",strokeWidth:0},activeDot:{r:6},connectNulls:!0})]})})]})]})})(),Ae&&Ae.length<2&&x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:589",className:"text-[10px] text-muted-foreground text-center py-2",children:"記錄多於一次後,趨勢圖將會顯示 📈"}),D&&D.length>0&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:594",className:"mt-2",children:[x.jsxs("button",{"data-loc":"client/src/pages/WeeklyReview.tsx:595",onClick:()=>U(j=>!j),className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors w-full",children:[$?x.jsx(Pg,{"data-loc":"client/src/pages/WeeklyReview.tsx:599",className:"w-3 h-3"}):x.jsx(Tg,{"data-loc":"client/src/pages/WeeklyReview.tsx:599",className:"w-3 h-3"}),"所有上磅記錄(",D.length," 次)"]}),$&&x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:603",className:"mt-2 space-y-1 max-h-[280px] overflow-y-auto",children:D.map(j=>x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:605",className:"flex items-center justify-between py-2 px-3 rounded-lg bg-muted/30 text-sm",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:606",className:"flex flex-col gap-0.5",children:[x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:607",className:"text-xs text-muted-foreground",children:new Date(j.measuredAt).toLocaleDateString("zh-HK",{month:"numeric",day:"numeric",year:"numeric"})}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:610",className:"flex gap-3",children:[x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:611",className:"font-medium text-blue-400",children:[j.weight.toFixed(1)," kg"]}),j.bodyFatPercentage!=null&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:613",className:"text-orange-400",children:["體脂 ",j.bodyFatPercentage.toFixed(1),"%"]}),j.muscleMass!=null&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:616",className:"text-green-400",children:["肌肉 ",j.muscleMass.toFixed(1)," kg"]})]})]}),x.jsx("button",{"data-loc":"client/src/pages/WeeklyReview.tsx:620",onClick:async()=>{try{await qe.mutateAsync({id:j.id}),it(),He(),R(),Et.success("已刪除記錄")}catch{Et.error("刪除失敗")}},className:"text-muted-foreground hover:text-red-400 transition-colors p-1",children:x.jsx(Mg,{"data-loc":"client/src/pages/WeeklyReview.tsx:634",className:"w-3.5 h-3.5"})})]},j.id))})]})]})}),!i&&x.jsxs(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:647",className:"card-premium overflow-hidden",children:[x.jsxs(In,{"data-loc":"client/src/pages/WeeklyReview.tsx:648",className:"pb-3",children:[x.jsxs(Rn,{"data-loc":"client/src/pages/WeeklyReview.tsx:649",className:"text-lg flex items-center gap-2",children:[x.jsx(vg,{"data-loc":"client/src/pages/WeeklyReview.tsx:650",className:"w-5 h-5 text-purple-500"}),"生成本週覆盤"]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:653",className:"text-sm text-muted-foreground",children:["覆盤週期:",gd(e)]})]}),x.jsxs(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:657",className:"space-y-4",children:[Pt&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:659",className:"rounded-xl border border-fuchsia-400/20 bg-fuchsia-950/15 p-3",children:[x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:660",className:"text-sm font-semibold text-fuchsia-200",children:"週期自我觀察(可選)"}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:661",className:"mt-1 text-xs leading-relaxed text-muted-foreground",children:["估算第 ",Pt.day," 日(你設定嘅平均週期為 ",Pt.average," 日)。週期反應因人而異;如覺得攰或不適,可按自己感受調整訓練量、安排恢復、保持均衡飲食與水分,App 唔會自動改動熱量或訓練。"]}),Pt.symptoms.length>0&&x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:662",className:"mt-2 text-xs text-fuchsia-100/80",children:["上次自我記錄:",Pt.symptoms.join("、")]}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:663",className:"mt-2 rounded-lg bg-black/10 p-2 text-xs leading-relaxed text-fuchsia-50/90",children:Pt.guidance})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:667",children:[x.jsx(ha,{"data-loc":"client/src/pages/WeeklyReview.tsx:668",className:"text-sm font-medium",children:"你呢個禮拜感覺點?"}),x.jsxs(Gs,{"data-loc":"client/src/pages/WeeklyReview.tsx:669",value:t,onValueChange:j=>r(j),children:[x.jsx(Ys,{"data-loc":"client/src/pages/WeeklyReview.tsx:670",className:"mt-1.5",children:x.jsx(Xs,{"data-loc":"client/src/pages/WeeklyReview.tsx:670"})}),x.jsxs(Qs,{"data-loc":"client/src/pages/WeeklyReview.tsx:671",children:[x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:672",value:"great",children:"🤩 超正!好滿意"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:673",value:"good",children:"😊 幾好,有進步"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:674",value:"okay",children:"😐 一般般"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:675",value:"bad",children:"😔 唔太理想"}),x.jsx(St,{"data-loc":"client/src/pages/WeeklyReview.tsx:676",value:"terrible",children:"😢 好差,需要改善"})]})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:682",children:[x.jsx(ha,{"data-loc":"client/src/pages/WeeklyReview.tsx:683",className:"text-sm font-medium",children:"有冇想補充嘅?(可選)"}),x.jsx(Ig,{"data-loc":"client/src/pages/WeeklyReview.tsx:684",placeholder:"ä¾
562‹å¦‚:呢個禮拜有兩次應酬、工作好忙冇時間做運動...",value:n,onChange:j=>a(j.target.value),className:"mt-1.5 h-20"})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:693",className:"border border-dashed border-border rounded-lg p-3",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:694",className:"flex items-center justify-between",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:695",className:"flex items-center gap-2",children:[x.jsx(Bg,{"data-loc":"client/src/pages/WeeklyReview.tsx:696",className:"w-4 h-4 text-blue-400"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:697",className:"text-sm text-foreground/80",children:"附加健康報告(可選)"})]}),!o&&!u&&x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:700",variant:"outline",size:"sm",onClick:()=>h.current?.click(),children:"上傳"})]}),u&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:710",className:"flex items-center gap-2 mt-2 text-sm text-blue-400",children:[x.jsx(y0,{"data-loc":"client/src/pages/WeeklyReview.tsx:711",className:"w-4 h-4 animate-spin"}),"AI 辨識中..."]}),o&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:716",className:"mt-2 bg-green-500/10 border border-green-500/20 rounded p-2",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:717",className:"flex items-center gap-2 text-sm text-green-400",children:[x.jsx(Fg,{"data-loc":"client/src/pages/WeeklyReview.tsx:718",className:"w-4 h-4"}),"已附加報告數據"]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:721",className:"grid grid-cols-3 gap-1 mt-1 text-xs text-muted-foreground",children:[o.weight&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:722",children:["體重: ",o.weight,"kg"]}),o.bodyFatPercentage&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:723",children:["體脂: ",o.bodyFatPercentage,"%"]}),o.muscleMass&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:724",children:["肌肉: ",o.muscleMass,"kg"]}),o.visceralFat&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:725",children:["內臟脂肪: ",o.visceralFat]}),o.bmi&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:726",children:["BMI: ",o.bmi]}),o.basalMetabolicRate&&x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:727",children:["BMR: ",o.basalMetabolicRate]})]}),x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:729",variant:"ghost",size:"sm",className:"mt-1 text-xs text-muted-foreground",onClick:()=>l(null),children:"移除報告"})]}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:739",className:"text-xs text-foreground/70 mt-1",children:"InBody、電子磅截圖、體檢 PDF 等"}),x.jsx("input",{"data-loc":"client/src/pages/WeeklyReview.tsx:742",ref:h,type:"file",accept:"image/*,.pdf,.heic",onChange:ln,className:"hidden"})]}),x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:752",onClick:la,disabled:dt.isPending,className:"w-full h-12 bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-700 hover:to-indigo-700 text-lg font-semibold",children:dt.isPending?x.jsxs(x.Fragment,{children:[x.jsx(x0,{"data-loc":"client/src/pages/WeeklyReview.tsx:759",className:"w-5 h-5 mr-2"}),"AI 分析緊你嘅數據..."]}):x.jsxs(x.Fragment,{children:[x.jsx(Ws,{"data-loc":"client/src/pages/WeeklyReview.tsx:764",className:"w-5 h-5 mr-2"}),"生成 AI 覆盤"]})})]})]}),i&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:775",className:"space-y-4 animate-in fade-in duration-500",children:[x.jsx(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:777",className:`card-premium overflow-hidden ${Vs(i.overallScore)} border`,children:x.jsx(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:778",className:"pt-5",children:x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:779",className:"text-center",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:780",className:"flex items-center justify-center gap-3 mb-2",children:[x.jsx(kg,{"data-loc":"client/src/pages/WeeklyReview.tsx:781",className:`w-7 h-7 ${ua(i.overallScore)}`}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:782",className:`text-4xl font-bold ${ua(i.overallScore)}`,children:i.overallScore}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:785",className:"text-muted-foreground text-lg",children:"/100"})]}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:787",className:"text-sm text-muted-foreground",children:i.overallScore>=80?"好勁呀!繼續保持 🔥":i.overallScore>=60?"做得唔錯,仲有進步空間 💪":i.overallScore>=40?"加油!下星期會更好 ✊":"唔緊要,一步一步嚟 🌱"})]})})}),i.calorieStrategy&&x.jsx(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:801",className:"card-glass-subtle overflow-hidden border-cyan-300/16",children:x.jsx(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:802",className:"p-4",children:x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:803",className:"flex items-start gap-3",children:[x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:804",className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-cyan-300/10",children:x.jsx(Ws,{"data-loc":"client/src/pages/WeeklyReview.tsx:805",className:"h-4 w-4 text-cyan-300"})}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:807",className:"min-w-0 flex-1",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:808",className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:[x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:809",className:"text-sm font-semibold text-foreground",children:"覆盤後每日目標"}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:810",className:"text-lg font-bold text-cyan-200",children:i.goalCaloriesAfter?`${i.goalCaloriesAfter} kcal`:"維持現行目標"})]}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:814",className:"mt-1 text-xs leading-relaxed text-muted-foreground",children:i.calorieStrategy.reason}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:815",className:"mt-2 text-xs font-medium text-foreground
562/80",children:i.calorieStrategy.status==="applied"?`已自動${i.calorieStrategy.adjustmentDelta>0?"上調":"下調"} ${Math.abs(i.calorieStrategy.adjustmentDelta)} kcal/日;下次覆盤會按新趨勢再判斷。`:i.calorieStrategy.status==="insufficient_data"?"資料未足夠,今週唔會自動改熱量。":"數據趨勢穩定,今週維持現行目標。"})]})]})})}),x.jsxs(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:829",className:"card-premium overflow-hidden",children:[x.jsx(In,{"data-loc":"client/src/pages/WeeklyReview.tsx:830",className:"pb-3",children:x.jsxs(Rn,{"data-loc":"client/src/pages/WeeklyReview.tsx:831",className:"text-base flex items-center gap-2",children:[x.jsx(wg,{"data-loc":"client/src/pages/WeeklyReview.tsx:832",className:"w-4 h-4 text-blue-500"}),"本週數據"]})}),x.jsxs(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:836",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:837",className:"grid grid-cols-2 gap-2",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:838",className:"bg-orange-500/10 p-3 rounded-lg border border-orange-500/20",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:839",className:"flex items-center gap-1.5 mb-1",children:[x.jsx(Ag,{"data-loc":"client/src/pages/WeeklyReview.tsx:840",className:"w-3.5 h-3.5 text-orange-400"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:841",className:"text-xs text-muted-foreground",children:"平均每日熱量"})]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:843",className:"text-lg font-bold text-orange-400",children:[i.avgDailyCalories," kcal"]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:845",className:"bg-green-500/10 p-3 rounded-lg border border-green-500/20",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:846",className:"flex items-center gap-1.5 mb-1",children:[x.jsx(Sg,{"data-loc":"client/src/pages/WeeklyReview.tsx:847",className:"w-3.5 h-3.5 text-green-400"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:848",className:"text-xs text-muted-foreground",children:"訓練次數"})]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:850",className:"text-lg font-bold text-green-400",children:[i.totalWorkouts," 次"]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:852",className:"bg-indigo-500/10 p-3 rounded-lg border border-indigo-500/20",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:853",className:"flex items-center gap-1.5 mb-1",children:[x.jsx(Cg,{"data-loc":"client/src/pages/WeeklyReview.tsx:854",className:"w-3.5 h-3.5 text-indigo-400"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:855",className:"text-xs text-muted-foreground",children:"平均睡眠"})]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:857",className:"text-lg font-bold text-indigo-400",children:[i.avgSleepHours," 小時"]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:859",className:"bg-cyan-500/10 p-3 rounded-lg border border-cyan-500/20",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:860",className:"flex items-center gap-1.5 mb-1",children:[x.jsx(Ng,{"data-loc":"client/src/pages/WeeklyReview.tsx:861",className:"w-3.5 h-3.5 text-cyan-400"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:862",className:"text-xs text-muted-foreground",children:"平均飲水"})]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:864",className:"text-lg font-bold text-cyan-400",children:[i.avgWaterIntake," ml"]})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:869",className:"mt-3 bg-secondary/60 p-3 rounded-lg",children:[x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:870",className:"text-xs text-muted-foreground mb-1.5",children:"每日平均營養分佈"}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:871",className:"flex gap-3 text-sm",children:[x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:872",className:"text-green-400 font-medium",children:["è›
562‹ç™½ ",i.avgDailyProtein,"g"]}),x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:873",className:"text-yellow-400 font-medium",children:["碳水 ",i.avgDailyCarbs,"g"]}),x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:874",className:"text-red-400 font-medium",children:["脂肪 ",i.avgDailyFat,"g"]})]})]}),i.weightChange&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:880",className:"mt-3 bg-blue-500/10 p-3 rounded-lg border border-blue-500/20",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:881",className:"flex items-center gap-2",children:[x.jsx(_0,{"data-loc":"client/src/pages/WeeklyReview.tsx:882",className:"w-4 h-4 text-blue-400"}),x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:883",className:"text-xs text-muted-foreground",children:"本週體重變化"})]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:885",className:`text-sm font-medium mt-1 ${i.weightChange<0?"text-green-400":i.weightChange>0?"text-red-400":"text-muted-foreground"}`,children:[i.weightChange>0?"+":"",i.weightChange.toFixed(1)," kg"]})]}),i.socialDiningCount>0&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:895",className:"mt-3 flex items-center gap-2 text-sm text-amber-400 bg-amber-500/10 p-3 rounded-lg border border-amber-500/20",children:[x.jsx(Hg,{"data-loc":"client/src/pages/WeeklyReview.tsx:896",className:"w-4 h-4"}),x.jsxs("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:897",children:["本週聚餐/應酬約 ",i.socialDiningCount," 次"]})]})]})]}),x.jsxs(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:904",className:"card-premium",children:[x.jsx(In,{"data-loc":"client/src/pages/WeeklyReview.tsx:905",className:"pb-3",children:x.jsxs(Rn,{"data-loc":"client/src/pages/WeeklyReview.tsx:906",className:"text-base flex items-center gap-2",children:[x.jsx(Ws,{"data-loc":"client/src/pages/WeeklyReview.tsx:907",className:"w-4 h-4 text-purple-500"}),"AI 教練點評"]})}),x.jsx(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:911",children:x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:912",className:"bg-purple-500/5 p-4 rounded-lg border border-purple-500/20",children:x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:913",className:"text-sm text-foreground/80 leading-relaxed prose prose-sm prose-invert max-w-none [&_strong]:text-foreground [&_hr]:border-border/50 [&_ul]:pl-4 [&_li]:my-0.5",children:x.jsx(Ql,{"data-loc":"client/src/pages/WeeklyReview.tsx:914",children:i.aiSummary})})})})]}),i.aiSuggestions&&i.aiSuggestions.length>0&&x.jsxs(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:922",className:"card-premium overflow-hidden",children:[x.jsx(In,{"data-loc":"client/src/pages/WeeklyReview.tsx:923",className:"pb-3",children:x.jsxs(Rn,{"data-loc":"client/src/pages/WeeklyReview.tsx:924",className:"text-base flex items-center gap-2",children:[x.jsx(ro,{"data-loc":"client/src/pages/WeeklyReview.tsx:925",className:"w-4 h-4 text-amber-500"}),"下星期改善建議"]})}),x.jsx(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:929",children:x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:930",className:"space-y-2",children:i.aiSuggestions.map((j,Ce)=>x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:932",className:"flex items-start gap-2 bg-amber-500/5 p-3 rounded-lg border border-amber-500/20",children:[x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:936",className:"bg-amber-500/20 text-amber-400 w-5 h-5 rounded-full flex items-center justify-center text-xs font-bold flex-shrink-0",children:Ce+1}),x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:939",className:"text-sm text-foreground/80 prose prose-sm prose-invert max-w-none [&_strong]:text-amber-300 [&_p]:my-0",children:x.jsx(Ql,{"data-loc":"client/src/pages/WeeklyReview.tsx:940",children:j})})]},Ce))})})]}),x.jsx("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:950",className:"flex justify-center",children:x.jsx(Lg,{"data-loc":"client/src/pages/WeeklyReview.tsx:951",type:"weekly",data:{weekRange:gd(e),workoutCount:i.totalWorkouts||0,totalCaloriesBurned:i.totalCaloriesBurned||0,avgCaloriesIntake:i.avgDailyCalories||0,weightChange:i.weightChange||0,proteinAvg:i.avgDailyProtein||0},trigger:x.jsxs(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:962",variant:"outline",className:"gap-1.5",children:[x.jsx(zg,{"data-loc":"client/src/pages/WeeklyReview.tsx:963",className:"w-4 h-4"}),"分享週報 Story"]})})}),x.jsx(Sr,{"data-loc":"client/src/pages/WeeklyReview.tsx:971",variant:"outline",onClick:()=>s(null),className:"w-full",children:i.isHistorical?"返回過往覆盤":"重新生成覆盤"})]}),!i&&J&&J.length>0&&x.jsxs(or,{"data-loc":"client/src/pages/WeeklyReview.tsx:983",className:"card-premium overflow-hidden",children:[x.jsx(In,{"data-loc":"client/src/pages/WeeklyReview.tsx:984",className:"pb-3",children:x.jsx(Rn,{"data-loc":"client/src/pages/WeeklyReview.tsx:985",className:"text-base",children:"過往覆盤記錄"})}),x.jsx(lr,{"data-loc":"client/src/pages/WeeklyReview.tsx:987",className:"space-y-2",children:J.map(j=>x.jsxs("button",{"data-loc":"client/src/pages/WeeklyReview.tsx:989",type:"button",onClick:()=>$r(j),className:"w-full flex items-center justify-between p-3 bg-secondary/60 rounded-lg border border-border text-left transition-colors hover:bg-secondary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",children:[x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:995",children:[x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:996",className:"text-sm font-medium text-foreground
562/80",children:[new Date(j.weekStartDate).toLocaleDateString("zh-HK",{month:"short",day:"numeric"})," -"," ",new Date(j.weekEndDate).toLocaleDateString("zh-HK",{month:"short",day:"numeric"})]}),x.jsxs("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:1000",className:"text-xs text-muted-foreground",children:[j.userMood?qs[j.userMood]:""," 平均 ",Number(j.avgDailyCalories||0).toFixed(0)," kcal/日"]})]}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:1004",className:"text-right flex items-center gap-2",children:[x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:1005",className:"text-xs text-primary whitespace-nowrap",children:"睇返內容"}),x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:1006",children:[x.jsx("span",{"data-loc":"client/src/pages/WeeklyReview.tsx:1007",className:`text-2xl font-bold ${ua(j.overallScore||0)}`,children:j.overallScore||"-"}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:1010",className:"text-xs text-muted-foreground",children:"分"})]})]})]},j.id))})]}),ue&&x.jsxs("div",{"data-loc":"client/src/pages/WeeklyReview.tsx:1020",className:"text-center py-8",children:[x.jsx(x0,{"data-loc":"client/src/pages/WeeklyReview.tsx:1021",className:"w-6 h-6 mx-auto"}),x.jsx("p",{"data-loc":"client/src/pages/WeeklyReview.tsx:1022",className:"text-sm text-muted-foreground mt-2",children:"載入中..."})]})]})})})}const MS=Object.freeze(Object.defineProperty({__proto__:null,default:mS},Symbol.toStringTag,{value:"Module"}));export{MS as W,RS as a,De as k};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.