vendor: 4,386 bytes, lines 1-6
1import{c as Pr,a8 as Je,a9 as Ft,j as L,r as ne,o as vr,a as Ve,X as zr,B as Lr,L as Nr}from"./index-CwhY44Ud.js";import{L as Dr}from"./loader-circle-DcTssVox.js";import{S as Or}from"./send-Bw8GKkFC.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const $n=Pr("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);function _r(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Fr=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Mr={};function Wn(e,n){return(Mr.jsx?Rr:Fr).test(e)}const Br=/[ \t\n\f\r]/g;function jr(e){return typeof e=="object"?e.type==="text"?Xn(e.value):!1:Xn(e)}function Xn(e){return e.replace(Br,"")===""}class je{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}je.prototype.normal={};je.prototype.property={};je.prototype.space=void 0;function Rt(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new je(t,r,n)}function dn(e){return e.toLowerCase()}class ie{constructor(n,t){this.attribute=t,this.property=n}}ie.prototype.attribute="";ie.prototype.booleanish=!1;ie.prototype.boolean=!1;ie.prototype.commaOrSpaceSeparated=!1;ie.prototype.commaSeparated=!1;ie.prototype.defined=!1;ie.prototype.mustUseProperty=!1;ie.prototype.number=!1;ie.prototype.overloadedBoolean=!1;ie.prototype.property="";ie.prototype.spaceSeparated=!1;ie.prototype.space=void 0;let Hr=0;const z=Ee(),Y=Ee(),mn=Ee(),b=Ee(),H=Ee(),Pe=Ee(),ae=Ee();function Ee(){return 2**++Hr}const gn=Object.freeze(Object.defineProperty({__proto__:null,boolean:z,booleanish:Y,commaOrSpaceSeparated:ae,commaSeparated:Pe,number:b,overloadedBoolean:mn,spaceSeparated:H},Symbol.toStringTag,{value:"Module"})),tn=Object.keys(gn);class In extends ie{constructor(n,t,r,i){let l=-1;if(super(n,t),Yn(this,"space",i),typeof r=="number")for(;++l<tn.length;){const o=tn[l];Yn(this,tn[l],(r&gn[o])===gn[o])}}}In.prototype.defined=!0;function Yn(e,n,t){t&&(e[n]=t)}function ze(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const l=new In(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),n[r]=l,t[dn(r)]=r,t[dn(l.attribute)]=r}return new je(n,t,e.space)}const Mt=ze({properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:H,ariaCurrent:null,ariaDescribedBy:H,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:H,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:H,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:H,ariaLevel:b,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:H,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:H,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:Y,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function Bt(e,n){return n in e?e[n]:n}function jt(e,n){return Bt(e,n.toLowerCase())}const Ur=ze({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pe,acceptCharset:H,accessKey:H,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:H,autoFocus:z,autoPlay:z,blocking:H,capture:null,charSet:null,checked:z,cite:null,className:H,cols:b,colSpan:null,content:null,contentEditable:Y,controls:z,controlsList:H,coords:b|Pe,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:mn,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:H,height:b,hidden:mn,high:b,href:null,hrefLang:null,htmlFor:H,httpEquiv:H,id:null,imageSizes:null,imageSrcSet:null,inert:z,
6inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:H,itemRef:H,itemScope:z,itemType:H,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,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:z,optimum:b,pattern:null,ping:H,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:H,required:z,reversed:z,rows:b,rowSpan:b,sandbox:H,scope:null,scoped:z,seamless:z,selected:z,shadowRootClonable:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:Y,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:H,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:jt}),Vr=ze({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
6-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ae,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:H,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:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,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:Pe,g2:Pe,glyphName:Pe,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:ae,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,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:b,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: 4,565 bytes, lines 6-7
6Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:H,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ae,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ae,rev:ae,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ae,requiredFeatures:ae,requiredFonts:ae,requiredFormats:ae,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:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:ae,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ae,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ae,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Bt}),Ht=ze({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Ut=ze({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:jt}),Vt=ze({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),qr={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"},$r=/[A-Z]/g,Jn=/-[a-z]/g,Wr=/^data[-\w.:]+$/i;function Xr(e,n){const t=dn(n);let r=n,i=ie;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Wr.test(n)){if(n.charAt(4)==="-"){const l=n.slice(5).replace(Jn,Jr);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=n.slice(4);if(!Jn.test(l)){let o=l.replace($r,Yr);o.charAt(0)!=="-"&&(o="-"+o),n="data"+o}}i=In}return new i(r,n)}function Yr(e){return"-"+e.toLowerCase()}function Jr(e){return e.charAt(1).toUpperCase()}const Kr=Rt([Mt,Ur,Ht,Ut,Vt],"html"),Tn=Rt([Mt,Vr,Ht,Ut,Vt],"svg");function Qr(e){return e.join(" ").trim()}var An={},Kn=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Gr=/\n/g,Zr=/^\s*/,ei=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ni=/^:\s*/,ti=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ri=/^[;\s]*/,ii=/^\s+|\s+$/g,li=` 7`,Qn="/",Gn="*",Ce="",oi="comment",ai="declaration";function ui(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function i(y){var k=y.match(Gr);k&&(t+=k.length);var A=y.lastIndexOf(li);r=~A?y.length-A:r+y.length}function l(){var y={line:t,column:r};return function(k){return k.position=new o(y),c(),k}}function o(y){this.start=y,this.end={line:t,column:r},this.source=n.source}o.prototype.content=e;function a(y){var k=new Error(n.source+":"+t+":"+r+": "+y);if(k.reason=y,k.filename=n.source,k.line=t,k.column=r,k.source=e,!n.silent)throw k}function u(y){var k=y.exec(e);if(k){var A=k[0];return i(A),e=e.slice(A.length),k}}function c(){u(Zr)}function s(y){var k;for(y=y||[];
vendor: 2,429 bytes, line 7
7k=f();)k!==!1&&y.push(k);return y}function f(){var y=l();if(!(Qn!=e.charAt(0)||Gn!=e.charAt(1))){for(var k=2;Ce!=e.charAt(k)&&(Gn!=e.charAt(k)||Qn!=e.charAt(k+1));)++k;if(k+=2,Ce===e.charAt(k-1))return a("End of comment missing");var A=e.slice(2,k-2);return r+=2,i(A),e=e.slice(k),r+=2,y({type:oi,comment:A})}}function m(){var y=l(),k=u(ei);if(k){if(f(),!u(ni))return a("property missing ':'");var A=u(ti),w=y({type:ai,property:Zn(k[0].replace(Kn,Ce)),value:A?Zn(A[0].replace(Kn,Ce)):Ce});return u(ri),w}}function p(){var y=[];s(y);for(var k;k=m();)k!==!1&&(y.push(k),s(y));return y}return c(),p()}function Zn(e){return e?e.replace(ii,Ce):Ce}var si=ui,ci=Je&&Je.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(An,"__esModule",{value:!0});An.default=fi;const pi=ci(si);function fi(e,n){let t=null;if(!e||typeof e!="string")return t;const r=(0,pi.default)(e),i=typeof n=="function";return r.forEach(l=>{if(l.type!=="declaration")return;const{property:o,value:a}=l;i?n(o,a,l):a&&(t=t||{},t[o]=a)}),t}var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.camelCase=void 0;var hi=/^--[a-zA-Z0-9_-]+$/,di=/-([a-z])/g,mi=/^[^-]+$/,gi=/^-(webkit|moz|ms|o|khtml)-/,yi=/^-(ms)-/,xi=function(e){return!e||mi.test(e)||hi.test(e)},ki=function(e,n){return n.toUpperCase()},et=function(e,n){return"".concat(n,"-")},bi=function(e,n){return n===void 0&&(n={}),xi(e)?e:(e=e.toLowerCase(),n.reactCompat?e=e.replace(yi,et):e=e.replace(gi,et),e.replace(di,ki))};Ge.camelCase=bi;var wi=Je&&Je.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Si=wi(An),Ci=Ge;function yn(e,n){var t={};return!e||typeof e!="string"||(0,Si.default)(e,function(r,i){r&&i&&(t[(0,Ci.camelCase)(r,n)]=i)}),t}yn.default=yn;var Ei=yn;const Ii=Ft(Ei),qt=$t("end"),Pn=$t("start");function $t(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Ti(e){const n=Pn(e),t=qt(e);if(n&&t)return{start:n,end:t}}function Fe(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?nt(e.position):"start"in e||"end"in e?nt(e):"line"in e||"column"in e?xn(e):""}function xn(e){return tt(e&&e.line)+":"+tt(e&&e.column)}function nt(e){return xn(e&&e.start)+"-"+xn(e&&e.end)}function tt(e){return e&&typeof e=="number"?e:1}
vendor: 1,907 bytes, line 7
7class Z extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",l={},o=!1;if(t&&("line"in t&&"column"in t?l={place:t}:"start"in t&&"end"in t?l={place:t}:"type"in t?l={ancestors:[t],place:t.position}:l={...t}),typeof n=="string"?i=n:!l.cause&&n&&(o=!0,i=n.message,l.cause=n),!l.ruleId&&!l.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?l.ruleId=r:(l.source=r.slice(0,u),l.ruleId=r.slice(u+1))}if(!l.place&&l.ancestors&&l.ancestors){const u=l.ancestors[l.ancestors.length-1];u&&(l.place=u.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=Fe(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Z.prototype.file="";Z.prototype.name="";Z.prototype.reason="";Z.prototype.message="";Z.prototype.stack="";Z.prototype.column=void 0;Z.prototype.line=void 0;Z.prototype.ancestors=void 0;Z.prototype.cause=void 0;Z.prototype.fatal=void 0;Z.prototype.place=void 0;Z.prototype.ruleId=void 0;Z.prototype.source=void 0;const vn={}.hasOwnProperty,Ai=new Map,Pi=/[A-Z]/g,vi=new Set(["table","tbody","thead","tfoot","tr"]),zi=new Set(["td","th"]),Wt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Li(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Bi(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 9,207 bytes, line 7
7if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Mi(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Tn:Kr,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},l=Xt(i,e,void 0);return l&&typeof l!="string"?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}function Xt(e,n,t){if(n.type==="element")return Ni(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return Di(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return _i(e,n,t);if(n.type==="mdxjsEsm")return Oi(e,n);if(n.type==="root")return Fi(e,n,t);if(n.type==="text")return Ri(e,n)}function Ni(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Tn,e.schema=i),e.ancestors.push(n);const l=Jt(e,n.tagName,!1),o=ji(e,n);let a=Ln(e,n);return vi.has(n.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!jr(u):!0})),Yt(e,o,l,n),zn(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function Di(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Be(e,n.position)}function Oi(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Be(e,n.position)}function _i(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=Tn,e.schema=i),e.ancestors.push(n);const l=n.name===null?e.Fragment:Jt(e,n.name,!0),o=Hi(e,n),a=Ln(e,n);return Yt(e,o,l,n),zn(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function Fi(e,n,t){const r={};return zn(r,Ln(e,n)),e.create(n,e.Fragment,r,t)}function Ri(e,n){return n.value}function Yt(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function zn(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function Mi(e,n,t){return r;function r(i,l,o,a){const c=Array.isArray(o.children)?t:n;return a?c(l,o,a):c(l,o)}}function Bi(e,n){return t;function t(r,i,l,o){const a=Array.isArray(l.children),u=Pn(r);return n(i,l,o,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function ji(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&vn.call(n.properties,i)){const l=Ui(e,i,n.properties[i]);if(l){const[o,a]=l;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&zi.has(n.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function Hi(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,e.evaluater.evaluateExpression(a.argument))}else Be(e,n.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,l=e.evaluater.evaluateExpression(a.expression)}else Be(e,n.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function Ln(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:Ai;for(;++r<n.children.length;){const l=n.children[r];let o;if(e.passKeys){const u=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(u){const c=i.get(u)||0;o=u+"-"+c,i.set(u,c+1)}}const a=Xt(e,l,o);a!==void 0&&t.push(a)}return t}function Ui(e,n,t){const r=Xr(e.schema,n);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?_r(t):Qr(t)),r.property==="style"){let i=typeof t=="object"?t:Vi(e,String(t));return e.stylePropertyNameCase==="css"&&(i=qi(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?qr[r.property]||r.property:r.attribute,t]}}function Vi(e,n){try{return Ii(n,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const r=t,i=new Z("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Wt+"#cannot-parse-style-attribute",i}}function Jt(e,n,t){let r;if(!t)r={type:"Literal",value:n};else if(n.includes(".")){const i=n.split(".");let l=-1,o;for(;++l<i.length;){const a=Wn(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(l&&a.type==="Literal"),optional:!1}:a}r=o}else r=Wn(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(r.type==="Literal"){const i=r.value;return vn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Be(e)}function Be(e,n){const t=new Z("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=Wt+"#cannot-handle-mdx-estrees-without-createevaluater",t}function qi(e){const n={};let t;for(t in e)vn.call(e,t)&&(n[$i(t)]=e[t]);return n}function $i(e){let n=e.replace(Pi,Wi);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function Wi(e){return"-"+e.toLowerCase()}const rn={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"]},Xi={};function Yi(e,n){const t=Xi,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return Kt(e,r,i)}function Kt(e,n,t){if(Ji(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return rt(e.children,n,t)}return Array.isArray(e)?rt(e,n,t):""}function rt(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=Kt(e[i],n,t);return r.join("")}function Ji(e){return!!(e&&typeof e=="object")}const it=document.createElement("i");function Nn(e){const n="&"+e+";";it.innerHTML=n;const t=it.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}function ge(e,n,t,r){const i=e.length;let l=0,o;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);l<r.length;)o=r.slice(l,l+1e4),o.unshift(n,0),e.splice(...o),l+=1e4,n+=1e4}function se(e,n){return e.length>0?(ge(e,e.length,0,n),e):n}const lt={}.hasOwnProperty;function Ki(e){const n={};let t=-1;for(;++t<e.length;)Qi(n,e[t]);return n}function Qi(e,n){let t;for(t in n){const i=(lt.call(e,t)?e[t]:void 0)||(e[t]={}),l=n[t];let o;if(l)for(o in l){lt.call(i,o)||(i[o]=[]);const a=l[o];Gi(i[o],Array.isArray(a)?a:a?[a]:[])}}}function Gi(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);ge(e,0,0,r)}function Qt(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function ve(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const me=we(/[A-Za-z]/),ue=we(/[\dA-Za-z]/),Zi=we(/[#-'*+\--9=?A-Z^-~]/);function kn(e){return e!==null&&(e<32||e===127)}const bn=we(/\d/),el=we(/[\dA-Fa-f]/),nl=we(/[!-/:-@[-`{-~]/);function P(e){return e!==null&&e<-2}function re(e){return e!==null&&(e<0||e===32)}function _(e){return e===-2||e===-1||e===32}const tl=we(new RegExp("\\p{P}|\\p{S}","u")),rl=we(/\s/);function we(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Le(e){const n=[];let t=-1,r=0,i=0;for(;++t<e.length;){const l=e.charCodeAt(t);let o="";if(l===37&&ue(e.charCodeAt(t+1))&&ue(e.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const a=e.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function U(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(u){return _(u)?(e.enter(t),a(u)):n(u)}function a(u){return _(u)&&l++<i?(e.consume(u),a):(e.exit(t),n(u))}}const il={tokenize:ll};function ll(e){const n=e.attempt(this.parser.constructs.contentInitial,r,i);let t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),U(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),l(a)}function l(a){const u=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=u),t=u,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return P(a)?(e.consume(a),e.exit("chunkText"),l):(e.consume(a),o)}}const ol={tokenize:al},ot={tokenize:ul};function al(e){const n=this,t=[];let r=0,i,l,o;return a;function a(I){if(r<t.length){const M=t[r];
vendor: 7,958 bytes, line 7
7return n.containerState=M[1],e.attempt(M[0].continuation,u,c)(I)}return c(I)}function u(I){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&N();const M=n.events.length;let V=M,x;for(;V--;)if(n.events[V][0]==="exit"&&n.events[V][1].type==="chunkFlow"){x=n.events[V][1].end;break}w(r);let F=M;for(;F<n.events.length;)n.events[F][1].end={...x},F++;return ge(n.events,V+1,0,n.events.slice(M)),n.events.length=F,c(I)}return a(I)}function c(I){if(r===t.length){if(!i)return m(I);if(i.currentConstruct&&i.currentConstruct.concrete)return y(I);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(ot,s,f)(I)}function s(I){return i&&N(),w(r),m(I)}function f(I){return n.parser.lazy[n.now().line]=r!==t.length,o=n.now().offset,y(I)}function m(I){return n.containerState={},e.attempt(ot,p,y)(I)}function p(I){return r++,t.push([n.currentConstruct,n.containerState]),m(I)}function y(I){if(I===null){i&&N(),w(0),e.consume(I);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:l}),k(I)}function k(I){if(I===null){A(e.exit("chunkFlow"),!0),w(0),e.consume(I);return}return P(I)?(e.consume(I),A(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(I),k)}function A(I,M){const V=n.sliceStream(I);if(M&&V.push(null),I.previous=l,l&&(l.next=I),l=I,i.defineSkip(I.start),i.write(V),n.parser.lazy[I.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<o&&(!i.events[x][1].end||i.events[x][1].end.offset>o))return;const F=n.events.length;let W=F,R,C;for(;W--;)if(n.events[W][0]==="exit"&&n.events[W][1].type==="chunkFlow"){if(R){C=n.events[W][1].end;break}R=!0}for(w(r),x=F;x<n.events.length;)n.events[x][1].end={...C},x++;ge(n.events,W+1,0,n.events.slice(F)),n.events.length=x}}function w(I){let M=t.length;for(;M-- >I;){const V=t[M];n.containerState=V[1],V[0].exit.call(n,e)}t.length=I}function N(){i.write([null]),l=void 0,i=void 0,n.containerState._closeFlow=void 0}}function ul(e,n,t){return U(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function at(e){if(e===null||re(e)||rl(e))return 1;if(tl(e))return 2}function Dn(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const l=e[i].resolveAll;l&&!r.includes(l)&&(n=l(n,t),r.push(l))}return n}const wn={name:"attention",resolveAll:sl,tokenize:cl};function sl(e,n){let t=-1,r,i,l,o,a,u,c,s;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const f={...e[r][1].end},m={...e[t][1].start};ut(f,-u),ut(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:m},l={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[t][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[t][1].start={...a.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=se(c,[["enter",e[r][1],n],["exit",e[r][1],n]])),c=se(c,[["enter",i,n],["enter",o,n],["exit",o,n],["enter",l,n]]),c=se(c,Dn(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),c=se(c,[["exit",l,n],["enter",a,n],["exit",a,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(s=2,c=se(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,ge(e,r-1,t-r+3,c),t=r+c.length-s-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function cl(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=at(r);let l;return o;function o(u){return l=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===l)return e.consume(u),a;const c=e.exit("attentionSequence"),s=at(u),f=!s||s===2&&i||t.includes(u),m=!i||i===2&&s||t.includes(r);return c._open=!!(l===42?f:f&&(i||!m)),c._close=!!(l===42?m:m&&(s||!f)),n(u)}}function ut(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const pl={name:"autolink",tokenize:fl};function fl(e,n,t){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(p){return me(p)?(e.consume(p),o):p===64?t(p):c(p)}function o(p){return p===43||p===45||p===46||ue(p)?(r=1,a(p)):c(p)}function a(p){return p===58?(e.consume(p),r=0,u):(p===43||p===45||p===46||ue(p))&&r++<32?(e.consume(p),a):(r=0,c(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):p===null||p===32||p===60||kn(p)?t(p):(e.consume(p),u)}function c(p){return p===64?(e.consume(p),s):Zi(p)?(e.consume(p),c):t(p)}function s(p){return ue(p)?f(p):t(p)}function f(p){return p===46?(e.consume(p),r=0,s):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):m(p)}function m(p){if((p===45||ue(p))&&r++<63){const y=p===45?m:f;return e.consume(p),y}return t(p)}}const Ze={partial:!0,tokenize:hl};function hl(e,n,t){return r;function r(l){return _(l)?U(e,i,"linePrefix")(l):i(l)}function i(l){return l===null||P(l)?n(l):t(l)}}const Gt={continuation:{tokenize:ml},exit:gl,name:"blockQuote",tokenize:dl};function dl(e,n,t){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return t(o)}function l(o){return _(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(o))}}function ml(e,n,t){const r=this;return i;function i(o){return _(o)?U(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(Gt,n,t)(o)}}function gl(e){e.exit("blockQuote")}const Zt={name:"characterEscape",tokenize:yl};function yl(e,n,t){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),i}function i(l){return nl(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(l)}}const er={name:"characterReference",tokenize:xl};function xl(e,n,t){const r=this;let i=0,l,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),l=31,o=ue,s(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=el,s):(e.enter("characterReferenceValue"),l=7,o=bn,s(f))}function s(f){if(f===59&&i){const m=e.exit("characterReferenceValue");return o===ue&&!Nn(r.sliceSerialize(m))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return o(f)&&i++<l?(e.consume(f),s):t(f)}}const st={partial:!0,tokenize:bl},ct={concrete:!0,name:"codeFenced",tokenize:kl};function kl(e,n,t){const r=this,i={partial:!0,tokenize:V};let l=0,o=0,a;return u;function u(x){return c(x)}function c(x){const F=r.events[r.events.length-1];return l=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,a=x,e.enter("co
7deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(x)}function s(x){return x===a?(o++,e.consume(x),s):o<3?t(x):(e.exit("codeFencedFenceSequence"),_(x)?U(e,f,"whitespace")(x):f(x))}function f(x){return x===null||P(x)?(e.exit("codeFencedFence"),r.interrupt?n(x):e.check(st,k,M)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===null||P(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(x)):_(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),U(e,p,"whitespace")(x)):x===96&&x===a?t(x):(e.consume(x),m)}function p(x){return x===null||P(x)?f(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===null||P(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(x)):x===96&&x===a?t(x):(e.consume(x),y)}function k(x){return e.attempt(i,M,A)(x)}function A(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),w}function w(x){return l>0&&_(x)?U(e,N,"linePrefix",l+1)(x):N(x)}function N(x){return x===null||P(x)?e.check(st,k,M)(x):(e.enter("codeFlowValue"),I(x))}function I(x){return x===null||P(x)?(e.exit("codeFlowValue"),N(x)):(e.consume(x),I)}function M(x){return e.exit("codeFenced"),n(x)}function V(x,F,W){let R=0;return C;function C(D){return x.enter("lineEnding"),x.consume(D),x.exit("lineEnding"),E}function E(D){return x.enter("codeFencedFence"),_(D)?U(x,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):T(D)}function T(D){return D===a?(x.enter("codeFencedFenceSequence"),B(D)):W(D)}function B(D){return D===a?(R++,x.consume(D),B):R>=o?(x.exit("codeFencedFenceSequence"),_(D)?U(x,$,"whitespace")(D):$(D)):W(D)}function $(D){return D===null||P(D)?(x.exit("codeFencedFence"),F(D)):W(D)}}}function bl(e,n,t){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}const ln={name:"codeIndented",tokenize:Sl},wl={partial:!0,tokenize:Cl};function Sl(e,n,t){const r=this;return i;function i(c){return e.enter("codeIndented"),U(e,l,"linePrefix",5)(c)}function l(c){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?o(c):t(c)}function o(c){return c===null?u(c):P(c)?e.attempt(wl,o,u)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||P(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function u(c){return e.exit("codeIndented"),n(c)}}function Cl(e,n,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):P(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):U(e,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):P(o)?i(o):t(o)}}const El={name:"codeText",previous:Tl,resolve:Il,tokenize:Al};function Il(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function Tl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Al(e,n,t){let r=0,i,l;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?t(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(l=e.enter("codeTextSequence"),i=0,s(f)):P(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||P(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),c)}function s(f){return f===96?(e.consume(f),i++,s):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(f)):(l.type="codeTextData",c(f))}}class Pl{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,t){const r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(n,r):n>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(n,t,r){const i=t||0;this.setCursor(Math.trunc(n));const l=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);
vendor: 8,016 bytes, line 7
7return r&&Oe(this.left,r),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),Oe(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),Oe(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const t=this.left.splice(n,Number.POSITIVE_INFINITY);Oe(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);Oe(this.left,t.reverse())}}}function Oe(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function nr(e){const n={};let t=-1,r,i,l,o,a,u,c;const s=new Pl(e);for(;++t<s.length;){for(;t in n;)t=n[t];if(r=s.get(t),t&&r[1].type==="chunkFlow"&&s.get(t-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,l=0,l<u.length&&u[l][1].type==="lineEndingBlank"&&(l+=2),l<u.length&&u[l][1].type==="content"))for(;++l<u.length&&u[l][1].type!=="content";)u[l][1].type==="chunkText"&&(u[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,vl(s,t)),t=n[t],c=!0);else if(r[1]._container){for(l=t,i=void 0;l--;)if(o=s.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(s.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...s.get(i)[1].start},a=s.slice(i,t),a.unshift(r),s.splice(i,t-i+1,a))}}return ge(e,0,Number.POSITIVE_INFINITY,s.slice(0)),!c}function vl(e,n){const t=e.get(n)[1],r=e.get(n)[2];let i=n-1;const l=[];let o=t._tokenizer;o||(o=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,u=[],c={};let s,f,m=-1,p=t,y=0,k=0;const A=[k];for(;p;){for(;e.get(++i)[1]!==p;);l.push(i),p._tokenizer||(s=r.sliceStream(p),p.next||s.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(s),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=t;++m<a.length;)a[m][0]==="exit"&&a[m-1][0]==="enter"&&a[m][1].type===a[m-1][1].type&&a[m][1].start.line!==a[m][1].end.line&&(k=m+1,A.push(k),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):A.pop(),m=A.length;m--;){const w=a.slice(A[m],A[m+1]),N=l.pop();u.push([N,N+w.length-1]),e.splice(N,2,w)}for(u.reverse(),m=-1;++m<u.length;)c[y+u[m][0]]=y+u[m][1],y+=u[m][1]-u[m][0]-1;return c}const zl={resolve:Nl,tokenize:Dl},Ll={partial:!0,tokenize:Ol};function Nl(e){return nr(e),e}function Dl(e,n){let t;return r;function r(a){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):P(a)?e.check(Ll,o,l)(a):(e.consume(a),i)}function l(a){return e.exit("chunkContent"),e.exit("content"),n(a)}function o(a){return e.consume(a),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function Ol(e,n,t){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),U(e,l,"linePrefix")}function l(o){if(o===null||P(o))return t(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}}function tr(e,n,t,r,i,l,o,a,u){const c=u||Number.POSITIVE_INFINITY;let s=0;return f;function f(w){return w===60?(e.enter(r),e.enter(i),e.enter(l),e.consume(w),e.exit(l),m):w===null||w===32||w===41||kn(w)?t(w):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),k(w))}function m(w){return w===62?(e.enter(l),e.consume(w),e.exit(l),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(e.exit("chunkString"),e.exit(a),m(w)):w===null||w===60||P(w)?t(w):(e.consume(w),w===92?y:p)}function y(w){return w===60||w===62||w===92?(e.consume(w),p):p(w)}function k(w){return!s&&(w===null||w===41||re(w))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),n(w)):s<c&&w===40?(e.consume(w),s++,k):w===41?(e.consume(w),s--,k):w===null||w===32||w===40||kn(w)?t(w):(e.consume(w),w===92?A:k)}function A(w){return w===40||w===41||w===92?(e.consume(w),k):k(w)}}function rr(e,n,t,r,i,l){const o=this;let a=0,u;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(l),s}function s(p){return a>999||p===null||p===91||p===93&&!u||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(p):p===93?(e.exit(l),e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):P(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||P(p)||a++>999?(e.exit("chunkString"),s(p)):(e.consume(p),u||(u=!_(p)),p===92?m:f)}function m(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function ir(e,n,t,r,i,l){let o;return a;function a(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),o=m===40?41:m,u):t(m)}function u(m){return m===o?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),n):(e.enter(l),c(m))}function c(m){return m===o?(e.exit(l),u(o)):m===null?t(m):P(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),U(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(m))}function s(m){return m===o||m===null||P(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?f:s)}function f(m){return m===o||m===92?(e.consume(m),s):s(m)}}function Re(e,n){let t;return r;function r(i){return P(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):_(i)?U(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const _l={name:"definition",tokenize:Rl},Fl={partial:!0,tokenize:Ml};function Rl(e,n,t){const r=this;let i;return l;function l(p){return e.enter("definition"),o(p)}function o(p){return rr.call(r,e,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=ve(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):t(p)}function u(p){return re(p)?Re(e,c)(p):c(p)}function c(p){return tr(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function s(p){return e.attempt(Fl,f,f)(p)}function f(p){return _(p)?U(e,m,"whitespace")(p):m(p)}function m(p){return p===null||P(p)?(e.exit("definition"),r.parser.defined.push(i),n(p)):t(p)}}function Ml(e,n,t){return r;function r(a){return re(a)?Re(e,i)(a):t(a)}function i(a){return ir(e,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return _(a)?U(e,o,"whitespace")(a):o(a)}function o(a){return a===null||P(a)?n(a):t(a)}}const Bl={name:"hardBreakEscape",tokenize:jl};function jl(e,n,t){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),i}function i(l){return P(l)?(e.exit("hardBreakEscape"),n(l)):t(l)}}const Hl={name:"headingAtx",resolve:Ul,tokenize:Vl};function Ul(e,n){let t=e.length-2,r=3,i,l;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},l={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},ge(e,r,t-r+1,[["enter",i,n],["enter",l,n],["exit",l,n],["exit",i,n]])),e}function Vl(e,n,t){let r=0;return i;function i(s){return e.enter("atxHeading"),l(s)}function l(s){return e.enter("atxHeadingSequence"),o(s)}function o(s){return s===35&&r++<6?(e.consume(s),o):s===null||re
vendor: 16,797 bytes, line 7
7(s)?(e.exit("atxHeadingSequence"),a(s)):t(s)}function a(s){return s===35?(e.enter("atxHeadingSequence"),u(s)):s===null||P(s)?(e.exit("atxHeading"),n(s)):_(s)?U(e,a,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function u(s){return s===35?(e.consume(s),u):(e.exit("atxHeadingSequence"),a(s))}function c(s){return s===null||s===35||re(s)?(e.exit("atxHeadingText"),a(s)):(e.consume(s),c)}}const ql=["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"],pt=["pre","script","style","textarea"],$l={concrete:!0,name:"htmlFlow",resolveTo:Yl,tokenize:Jl},Wl={partial:!0,tokenize:Ql},Xl={partial:!0,tokenize:Kl};function Yl(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function Jl(e,n,t){const r=this;let i,l,o,a,u;return c;function c(d){return s(d)}function s(d){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(d),f}function f(d){return d===33?(e.consume(d),m):d===47?(e.consume(d),l=!0,k):d===63?(e.consume(d),i=3,r.interrupt?n:h):me(d)?(e.consume(d),o=String.fromCharCode(d),A):t(d)}function m(d){return d===45?(e.consume(d),i=2,p):d===91?(e.consume(d),i=5,a=0,y):me(d)?(e.consume(d),i=4,r.interrupt?n:h):t(d)}function p(d){return d===45?(e.consume(d),r.interrupt?n:h):t(d)}function y(d){const ee="CDATA[";return d===ee.charCodeAt(a++)?(e.consume(d),a===ee.length?r.interrupt?n:T:y):t(d)}function k(d){return me(d)?(e.consume(d),o=String.fromCharCode(d),A):t(d)}function A(d){if(d===null||d===47||d===62||re(d)){const ee=d===47,G=o.toLowerCase();return!ee&&!l&&pt.includes(G)?(i=1,r.interrupt?n(d):T(d)):ql.includes(o.toLowerCase())?(i=6,ee?(e.consume(d),w):r.interrupt?n(d):T(d)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(d):l?N(d):I(d))}return d===45||ue(d)?(e.consume(d),o+=String.fromCharCode(d),A):t(d)}function w(d){return d===62?(e.consume(d),r.interrupt?n:T):t(d)}function N(d){return _(d)?(e.consume(d),N):C(d)}function I(d){return d===47?(e.consume(d),C):d===58||d===95||me(d)?(e.consume(d),M):_(d)?(e.consume(d),I):C(d)}function M(d){return d===45||d===46||d===58||d===95||ue(d)?(e.consume(d),M):V(d)}function V(d){return d===61?(e.consume(d),x):_(d)?(e.consume(d),V):I(d)}function x(d){return d===null||d===60||d===61||d===62||d===96?t(d):d===34||d===39?(e.consume(d),u=d,F):_(d)?(e.consume(d),x):W(d)}function F(d){return d===u?(e.consume(d),u=null,R):d===null||P(d)?t(d):(e.consume(d),F)}function W(d){return d===null||d===34||d===39||d===47||d===60||d===61||d===62||d===96||re(d)?V(d):(e.consume(d),W)}function R(d){return d===47||d===62||_(d)?I(d):t(d)}function C(d){return d===62?(e.consume(d),E):t(d)}function E(d){return d===null||P(d)?T(d):_(d)?(e.consume(d),E):t(d)}function T(d){return d===45&&i===2?(e.consume(d),J):d===60&&i===1?(e.consume(d),q):d===62&&i===4?(e.consume(d),K):d===63&&i===3?(e.consume(d),h):d===93&&i===5?(e.consume(d),ce):P(d)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Wl,le,B)(d)):d===null||P(d)?(e.exit("htmlFlowData"),B(d)):(e.consume(d),T)}function B(d){return e.check(Xl,$,le)(d)}function $(d){return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),D}function D(d){return d===null||P(d)?B(d):(e.enter("htmlFlowData"),T(d))}function J(d){return d===45?(e.consume(d),h):T(d)}function q(d){return d===47?(e.consume(d),o="",Q):T(d)}function Q(d){if(d===62){const ee=o.toLowerCase();return pt.includes(ee)?(e.consume(d),K):T(d)}return me(d)&&o.length<8?(e.consume(d),o+=String.fromCharCode(d),Q):T(d)}function ce(d){return d===93?(e.consume(d),h):T(d)}function h(d){return d===62?(e.consume(d),K):d===45&&i===2?(e.consume(d),h):T(d)}function K(d){return d===null||P(d)?(e.exit("htmlFlowData"),le(d)):(e.consume(d),K)}function le(d){return e.exit("htmlFlow"),n(d)}}function Kl(e,n,t){const r=this;return i;function i(o){return P(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}function Ql(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ze,n,t)}}const Gl={name:"htmlText",tokenize:Zl};function Zl(e,n,t){const r=this;let i,l,o;return a;function a(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),u}function u(h){return h===33?(e.consume(h),c):h===47?(e.consume(h),V):h===63?(e.consume(h),I):me(h)?(e.consume(h),W):t(h)}function c(h){return h===45?(e.consume(h),s):h===91?(e.consume(h),l=0,y):me(h)?(e.consume(h),N):t(h)}function s(h){return h===45?(e.consume(h),p):t(h)}function f(h){return h===null?t(h):h===45?(e.consume(h),m):P(h)?(o=f,q(h)):(e.consume(h),f)}function m(h){return h===45?(e.consume(h),p):f(h)}function p(h){return h===62?J(h):h===45?m(h):f(h)}function y(h){const K="CDATA[";return h===K.charCodeAt(l++)?(e.consume(h),l===K.length?k:y):t(h)}function k(h){return h===null?t(h):h===93?(e.consume(h),A):P(h)?(o=k,q(h)):(e.consume(h),k)}function A(h){return h===93?(e.consume(h),w):k(h)}function w(h){return h===62?J(h):h===93?(e.consume(h),w):k(h)}function N(h){return h===null||h===62?J(h):P(h)?(o=N,q(h)):(e.consume(h),N)}function I(h){return h===null?t(h):h===63?(e.consume(h),M):P(h)?(o=I,q(h)):(e.consume(h),I)}function M(h){return h===62?J(h):I(h)}function V(h){return me(h)?(e.consume(h),x):t(h)}function x(h){return h===45||ue(h)?(e.consume(h),x):F(h)}function F(h){return P(h)?(o=F,q(h)):_(h)?(e.consume(h),F):J(h)}function W(h){return h===45||ue(h)?(e.consume(h),W):h===47||h===62||re(h)?R(h):t(h)}function R(h){return h===47?(e.consume(h),J):h===58||h===95||me(h)?(e.consume(h),C):P(h)?(o=R,q(h)):_(h)?(e.consume(h),R):J(h)}function C(h){return h===45||h===46||h===58||h===95||ue(h)?(e.consume(h),C):E(h)}function E(h){return h===61?(e.consume(h),T):P(h)?(o=E,q(h)):_(h)?(e.consume(h),E):R(h)}function T(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(e.consume(h),i=h,B):P(h)?(o=T,q(h)):_(h)?(e.consume(h),T):(e.consume(h),$)}function B(h){return h===i?(e.consume(h),i=void 0,D):h===null?t(h):P(h)?(o=B,q(h)):(e.consume(h),B)}function $(h){return h===null||h===34||h===39||h===60||h===61||h===96?t(h):h===47||h===62||re(h)?R(h):(e.consume(h),$)}function D(h){return h===47||h===62||re(h)?R(h):t(h)}function J(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),n):t(h)}function q(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Q}function Q(h){return _(h)?U(e,ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):ce(h)}function ce(h){return e.enter("htmlTextData"),o(h)}}const On={name:"labelEnd",resolveAll:ro,resolveTo:io,tokenize:lo},eo={tokenize:oo},no={tokenize:ao},to={tokenize:uo};function ro(e){let n=-1;const t=[];for(;++n<e.length;){const r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&ge(e,0,e.length,t),e}function io(e,n){let t=e.length,r=0,i,l,o,a;for(;t--;)if(i=e[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const u={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},s={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",u,n],["enter",c,n]],a=se(a,e.slice(l+1,l+r+3)),a=se(a,[["enter",s,n]]),a=se(a,Dn(n.parser.constructs.insideSpan.null,e.slice(l+r+4,o-3),n)),a=se(a,[["exit",s,n],e[o-2],e[o-1],["exit",c,n]]),a=se(a,e.slice(o+1)),a=se(a,[["exit",u,n]]),ge(e,l,e.length,a),e}function lo(e,n,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return a;function a(m){return l?l._inactive?f(m):(o=r.parser.defined.includes(ve(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):t(m)}function u(m){return m===40?e.attempt(eo,s,o?s:f)(m):m===91?e.attempt(no,s,o?c:f)(m):o?s(m):f(m)}function c(m){return e.attempt(to,s,f)(m)}function s(m){return n(m)}function f(m){return l._balanced=!0,t(m)}}function oo(e,n,t){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return re(f)?Re(e,l)(f):l(f)}function l(f){return f===41?s(f):tr(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return re(f)?Re(e,u)(f):s(f)}function a(f){return t(f)}function u(f){return f===34||f===39||f===40?ir(e,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):s(f)}function c(f){return re(f)?Re(e,s)(f):s(f)}function s(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}function ao(e,n,t){const r=this;return i;function i(a){return rr.call(r,e,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(ve(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(a):t(a)}function o(a){return t(a)}}function uo(e,n,t){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),i}function i(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),n):t(l)}}const so={name:"labelStartImage",resolveAll:On.resolveAll,tokenize:co};function co(e,n,t){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),l}function l(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):n(a)}}const po={name:"labelStartLink",resolveAll:On.resolveAll,tokenize:fo};function fo(e,n,t){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):n(o)}}const on={name:"lineEnding",tokenize:ho};function ho(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),U(e,n,"linePrefix")}}const Xe={name:"thematicBreak",tokenize:mo};function mo(e,n,t){let r=0,i;return l;function l(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||P(c))?(e.exit("thematicBreak"),n(c)):t(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),_(c)?U(e,a,"whitespace")(c):a(c))}}const te={continuation:{tokenize:ko},exit:wo,name:"list",tokenize:xo},go={partial:!0,tokenize:So},yo={partial:!0,tokenize:bo};function xo(e,n,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:bn(p)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Xe,t,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return t(p)}function u(p){return bn(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):t(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Ze,r.interrupt?t:s,e.attempt(go,m,f))}function s(p){return r.containerState.initialBlankLine=!0,l++,m(p)}function f(p){return _(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):t(p)}function m(p){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function ko(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Ze,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,U(e,n,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!_(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(yo,n,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,U(e,e.attempt(te,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function bo(e,n,t){const r=this;return U(e,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(l):t(l)}}function wo(e){e.exit(this.containerState.type)}function So(e,n,t){const r=this;return U(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!_(l)&&o&&o[1].type==="listItemPrefixWhitespace"?n(l):t(l)}}const ft={name:"setextUnderline",resolveTo:Co,tokenize:Eo};function Co(e,n){let t=e.length,r,i,l;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!l&&e[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",l?(e.splice(i,0,["enter",o,n]),e.splice(l+1,0,["exit",e[r][1],n]),e[r][1].end={...e[l][1].end}):e[r][1]=o,e.push(["exit",o,n]),e}function Eo(e,n,t){const r=this;let i;return l;function l(c){let s=r.events.length,f;for(;s--;)if(r.events[s][1].type!=="lineEnding"&&r.events[s][1].type!=="linePrefix"&&r.events[s][1].type!=="content"){f=r.events[s][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):t(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),_(c)?U(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||P(c)?(e.exit("setextHeadingLine"),n(c)):t(c)}}const Io={tokenize:To};function To(e){const n=this,t=e.attempt(Ze,r,e.attempt(this.parser.constructs.flowInitial,i,U(e,e.attempt(this.parser.constructs.flow,i,e.attempt(zl,i)),"linePrefix")));return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const Ao={resolveAll:or()},Po=lr("string"),vo=lr("text");function lr(e){return{resolveAll:or(e==="text"?zo:void 0),tokenize:n};function n(t){const r=this,i=this.parser.constructs[e],l=t.attempt(i,o,a);return o;function o(s){return c(s)?l(s):a(s)}function a(s){if(s===null){t.consume(s);return}return t.enter("data"),t.consume(s),u}function u(s){return c(s)?(t.exit("data"),l(s)):(t.consume(s),u)}function c(s){if(s===null)return!0;const f=i[s];let m=-1;if(f)for(;++m<f.length;){const p=f[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function or(e){return n;function n(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return e?e(t,r):t}}function zo(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const r=e[t-1][1],i=n.sliceStream(r);let l=i.length,o=-1,a=0,u;for(;l--;){const c=i[l];if(typeof c=="string"){for(o=c.length;
vendor: 1,203 bytes, line 7
7c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)u=!0,a++;else if(c!==-1){l++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(a=0),a){const c={type:t===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:r.start._bufferIndex+o,_index:r.start._index+l,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(t,0,["enter",c,n],["exit",c,n]),t+=2)}t++}return e}const Lo={42:te,43:te,45:te,48:te,49:te,50:te,51:te,52:te,53:te,54:te,55:te,56:te,57:te,62:Gt},No={91:_l},Do={[-2]:ln,[-1]:ln,32:ln},Oo={35:Hl,42:Xe,45:[ft,Xe],60:$l,61:ft,95:Xe,96:ct,126:ct},_o={38:er,92:Zt},Fo={[-5]:on,[-4]:on,[-3]:on,33:so,38:er,42:wn,60:[pl,Gl],91:po,92:[Bl,Zt],93:On,95:wn,96:El},Ro={null:[wn,Ao]},Mo={null:[42,95]},Bo={null:[]},jo=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Mo,contentInitial:No,disable:Bo,document:Lo,flow:Oo,flowInitial:Do,insideSpan:Ro,string:_o,text:Fo},Symbol.toStringTag,{value:"Module"}));function Ho(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},l=[];let o=[],a=[];
vendor: 14,419 bytes, lines 7-9
7const u={attempt:F(V),check:F(x),consume:N,enter:I,exit:M,interrupt:F(x,{interrupt:!0})},c={code:null,containerState:{},defineSkip:k,events:[],now:y,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:f};let s=n.tokenize.call(c,u);return n.resolveAll&&l.push(n),c;function f(E){return o=se(o,E),A(),o[o.length-1]!==null?[]:(W(n,0),c.events=Dn(l,c.events,c),c.events)}function m(E,T){return Vo(p(E),T)}function p(E){return Uo(o,E)}function y(){const{_bufferIndex:E,_index:T,line:B,column:$,offset:D}=r;return{_bufferIndex:E,_index:T,line:B,column:$,offset:D}}function k(E){i[E.line]=E.column,C()}function A(){let E;for(;r._index<o.length;){const T=o[r._index];if(typeof T=="string")for(E=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===E&&r._bufferIndex<T.length;)w(T.charCodeAt(r._bufferIndex));else w(T)}}function w(E){s=s(E)}function N(E){P(E)?(r.line++,r.column=1,r.offset+=E===-3?2:1,C()):E!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=E}function I(E,T){const B=T||{};return B.type=E,B.start=y(),c.events.push(["enter",B,c]),a.push(B),B}function M(E){const T=a.pop();return T.end=y(),c.events.push(["exit",T,c]),T}function V(E,T){W(E,T.from)}function x(E,T){T.restore()}function F(E,T){return B;function B($,D,J){let q,Q,ce,h;return Array.isArray($)?le($):"tokenize"in $?le([$]):K($);function K(X){return Ie;function Ie(pe){const ke=pe!==null&&X[pe],he=pe!==null&&X.null,Ue=[...Array.isArray(ke)?ke:ke?[ke]:[],...Array.isArray(he)?he:he?[he]:[]];return le(Ue)(pe)}}function le(X){return q=X,Q=0,X.length===0?J:d(X[Q])}function d(X){return Ie;function Ie(pe){return h=R(),ce=X,X.partial||(c.currentConstruct=X),X.name&&c.parser.constructs.disable.null.includes(X.name)?G():X.tokenize.call(T?Object.assign(Object.create(c),T):c,u,ee,G)(pe)}}function ee(X){return E(ce,h),D}function G(X){return h.restore(),++Q<q.length?d(q[Q]):J}}}function W(E,T){E.resolveAll&&!l.includes(E)&&l.push(E),E.resolve&&ge(c.events,T,c.events.length-T,E.resolve(c.events.slice(T),c)),E.resolveTo&&(c.events=E.resolveTo(c.events,c))}function R(){const E=y(),T=c.previous,B=c.currentConstruct,$=c.events.length,D=Array.from(a);return{from:$,restore:J};function J(){r=E,c.previous=T,c.currentConstruct=B,c.events.length=$,a=D,C()}}function C(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Uo(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,l=n.end._bufferIndex;let o;if(t===i)o=[e[t].slice(r,l)];else{if(o=e.slice(t,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(e[i].slice(0,l))}return o}function Vo(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const l=e[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=` 8`;break}case-3:{o=`\r 9`;break}case-2:{o=n?" ":" ";break}case-1:{if(!n&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}function qo(e){const r={constructs:Ki([jo,...(e||{}).extensions||[]]),content:i(il),defined:[],document:i(ol),flow:i(Io),lazy:{},string:i(Po),text:i(vo)};return r;function i(l){return o;function o(a){return Ho(r,l,a)}}}function $o(e){for(;!nr(e););return e}const ht=/[\0\t\n\r]/g;function Wo(){let e=1,n="",t=!0,r;return i;function i(l,o,a){const u=[];let c,s,f,m,p;for(l=n+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),f=0,n="",t&&(l.charCodeAt(0)===65279&&f++,t=void 0);f<l.length;){if(ht.lastIndex=f,c=ht.exec(l),m=c&&c.index!==void 0?c.index:l.length,p=l.charCodeAt(m),!c){n=l.slice(f);break}if(p===10&&f===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<m&&(u.push(l.slice(f,m)),e+=m-f),p){case 0:{u.push(65533),e++;break}case 9:{for(s=Math.ceil(e/4)*4,u.push(-2);e++<s;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}f=m+1}return a&&(r&&u.push(-5),n&&u.push(n),u.push(null)),u}}const Xo=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Yo(e){return e.replace(Xo,Jo)}function Jo(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return Qt(t.slice(l?2:1),l?16:10)}return Nn(t)||e}const ar={}.hasOwnProperty;function Ko(e,n,t){return typeof n!="string"&&(t=n,n=void 0),Qo(t)($o(qo(t).document().write(Wo()(e,n,!0))))}function Qo(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Vn),autolinkProtocol:R,autolinkEmail:R,atxHeading:l(jn),blockQuote:l(he),characterEscape:R,characterReference:R,codeFenced:l(Ue),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(Ue,o),codeText:l(kr,o),codeTextData:R,data:R,codeFlowValue:R,definition:l(br),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(wr),hardBreakEscape:l(Hn),hardBreakTrailing:l(Hn),htmlFlow:l(Un,o),htmlFlowData:R,htmlText:l(Un,o),htmlTextData:R,image:l(Sr),label:o,link:l(Vn),listItem:l(Cr),listItemValue:m,listOrdered:l(qn,f),listUnordered:l(qn),paragraph:l(Er),reference:d,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(jn),strong:l(Ir),thematicBreak:l(Ar)},exit:{atxHeading:u(),atxHeadingSequence:V,autolink:u(),autolinkEmail:ke,autolinkProtocol:pe,blockQuote:u(),characterEscapeValue:C,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:X,characterReference:Ie,codeFenced:u(A),codeFencedFence:k,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:C,codeIndented:u(w),codeText:u(D),codeTextData:C,data:C,definition:u(),definitionDestinationString:M,definitionLabelString:N,definitionTitleString:I,emphasis:u(),hardBreakEscape:u(T),hardBreakTrailing:u(T),htmlFlow:u(B),htmlFlowData:C,htmlText:u($),htmlTextData:C,image:u(q),label:ce,labelText:Q,lineEnding:E,link:u(J),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ee,resourceDestinationString:h,resourceTitleString:K,resource:le,setextHeading:u(W),setextHeadingLineSequence:F,setextHeadingText:x,strong:u(),thematicBreak:u()}};ur(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(g){let S={type:"root",children:[]};const v={stack:[S],tokenStack:[],config:n,enter:a,exit:c,buffer:o,resume:s,data:t},O=[];let j=-1;for(;++j<g.length;)if(g[j][1].type==="listOrdered"||g[j][1].type==="listUnordered")if(g[j][0]==="enter")O.push(j);else{const fe=O.pop();j=i(g,fe,j)}for(j=-1;++j<g.length;){const fe=n[g[j][0]];ar.call(fe,g[j][1].type)&&fe[g[j][1].type].call(Object.assign({sliceSerialize:g[j][2].sliceSerialize},v),g[j][1])}if(v.tokenStack.length>0){const fe=v.tokenStack[v.tokenStack.length-1];(fe[1]||dt).call(v,void 0,fe[0])}for(S.position={start:be(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:be(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},j=-1;++j<n.transforms.length;)S=n.transforms[j](S)||S;return S}function i(g,S,v){let O=S-1,j=-1,fe=!1,Se,ye,Ne,De;for(;++O<=v;){const oe=g[O];switch(oe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{oe[0]==="enter"?j++:j--,De=void 0;break}case"lineEndingBlank":{oe[0]==="enter"&&(Se&&!De&&!j&&!Ne&&(Ne=O),De=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:De=void 0}if(!j&&oe[0]==="enter"&&oe[1].type==="listItemPrefix"||j===-1&&oe[0]==="exit"&&(oe[1].type==="listUnordered"||oe[1].type==="listOrdered")){if(Se){let Te=O;for(ye=void 0;Te--;){const xe=g[Te];if(xe[1].type==="lineEnding"||xe[1].type==="lineEndingBlank"){if(xe[0]==="exit")continue;ye&&(g[ye][1].type="lineEndingBlank",fe=!0),xe[1].type="lineEnding",ye=Te}else if(!(xe[1].type==="linePrefix"||xe[1].type==="blockQuotePrefix"||xe[1].type==="blockQuotePrefixWhitespace"||xe[1].type==="blockQuoteMarker"||xe[1].type==="listItemIndent"))break}Ne&&(!ye||Ne<ye)&&(Se._spread=!0),Se.end=Object.assign({},ye?g[ye][1].start:oe[1].end),g.splice(ye||O,0,["exit",Se,oe[2]]),O++,v++}if(oe[1].type==="listItemPrefix"){const Te={type:"listItem",_spread:!1,start:Object.assign({},oe[1].start),end:void 0};Se=Te,g.splice(O,0,["enter",Te,oe[2]]),O++,v++,Ne=void 0,De=!0}}}return g[S][1]._spread=fe,v}function l(g,S){return v;function v(O){a.call(this,g(O),O),S&&S.call(this,O)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(g,S,v){this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([S,v||void 0]),g.position={start:be(S.start),end:void 0}}function u(g){return S;function S(v){g&&g.call(this,v),c.call(this,v)}}function c(g,S){const v=this.stack.pop(),O=this.tokenStack.pop();if(O)O[0].type!==g.type&&(S?S.call(this,g,O[0]):(O[1]||dt).call(this,g,O[0]));else throw new Error("Cannot close `"+g.type+"` ("+Fe({start:g.start,end:g.end})+"): itâs not open");v.position.end=be(g.end)}function s(){return Yi(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(g){if(this.data.expectingFirstListItemValue){const S=this.stack[this.stack.length-2];S.start=Number.parseInt(this.sliceSerialize(g),10),this.data.expectingFirstListItemValue=void 0}}function p(){const g=this.resume(),S=this.stack[this.stack.length-1];S.lang=g}function y(){const g=this.resume(),S=this.stack[this.stack.length-1];S.meta=g}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/(\r?\n|\r)$/g,"")}function N(g){const S=this.resume(),v=this.stack[this.stack.length-1];v.label=S,v.identifier=ve(this.sliceSerialize(g)).toLowerCase()}function I(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function M(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function V(g){const S=this.stack[this.stack.length-1];if(!S.depth){const v=this.sliceSerialize(g).length;S.depth=v}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function F(g){const S=this.stack[this.stack.length-1];S.depth=this.sliceSerialize(g).codePointAt(0)===61?1:2}function W(){this.data.setextHeadingSlurpLineEnding=void 0}function R(g){const v=this.stack[this.stack.length-1].children;let O=v[v.length-1];(!O||O.type!=="text")&&(O=Tr(),O.position={start:be(g.start),end:void 0},v.push(O)),this.stack.push(O)}function C(g){const S=this.stack.pop();S.value+=this.sliceSerialize(g),S.position.end=be(g.end)}function E(g){const S=this.stack[this.stack.length-1];if(this.data.atHardBreak){const v=S.children[S.children.length-1];v.position.end=be(g.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(S.type)&&(R.call(this,g),C.call(this,g))}function T(){this.data.atHardBreak=!0}function B(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function $(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function D(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function J(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function q(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function Q(g){const S=this.sliceSerialize(g),v=this.stack[this.stack.length-2];v.label=Yo(S),v.identifier=ve(S).toLowerCase()}function ce(){const g=this.stack[this.stack.length-1],S=this.resume(),v=this.stack[this.stack.length-1];if(this.data.inReference=!0,v.type==="link"){const O=g.children;v.children=O}else v.alt=S}function h(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function K(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function le(){this.data.inReference=void 0}function d(){this.data.referenceType="collapsed"}function ee(g){const S=this.resume(),v=this.stack[this.stack.length-1];v.label=S,v.identifier=ve(this.sliceSerialize(g)).toLowerCase(),this.data.referenceType="full"}function G(g){this.data.characterReferenceType=g.type}function X(g){const S=this.sliceSerialize(g),v=this.data.characterReferenceType;let O;v?(O=Qt(S,v==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):O=Nn(S);const j=this.stack[this.stack.length-1];j.value+=O}function Ie(g){const S=this.stack.pop();S.position.end=be(g.end)}function pe(g){C.call(this,g);const S=this.stack[this.stack.length-1];S.url=this.sliceSerialize(g)}function ke(g){C.call(this,g);const S=this.stack[this.stack.length-1];S.url="mailto:"+this.sliceSerialize(g)}function he(){return{type:"blockquote",children:[]}}function Ue(){return{type:"code",lang:null,meta:null,value:""}}function kr(){return{type:"inlineCode",value:""}}function br(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function wr(){return{type:"emphasis",children:[]}}function jn(){return{type:"heading",depth:0,children:[]}}function Hn(){return{type:"break"}}function Un(){return{type:"html",value:""}}function Sr(){return{type:"image",title:null,url:"",alt:null}}function Vn(){return{type:"link",title:null,url:"",children:[]}}function qn(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function Cr(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function Er(){return{type:"paragraph",children:[]}}function Ir(){return{type:"strong",children:[]}}function Tr(){return{type:"text",value:""}}function Ar(){return{type:"thematicBreak"}}}function be(e){return{line:e.line,column:e.column,offset:e.offset}}function ur(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?ur(e,r):Go(e,r)}}function Go(e,n){let t;for(t in n)if(ar.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function dt(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Fe({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Fe({start:n.start,end:n.end}
vendor: 10,608 bytes, lines 9-13
9)+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Fe({start:n.start,end:n.end})+") is still open")}function Zo(e){const n=this;n.parser=t;function t(r){return Ko(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function ea(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function na(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` 10`}]}function ta(e,n){const t=n.value?n.value+` 11`:"",r={},i=n.lang?n.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(l.data={meta:n.meta}),e.patch(n,l),l=e.applyData(n,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(n,l),l}function ra(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function ia(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function la(e,n){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(n.identifier).toUpperCase(),i=Le(r.toLowerCase()),l=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=l+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+i,id:t+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(n,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,c),e.applyData(n,c)}function oa(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function aa(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}}function sr(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+r}];const i=e.all(n),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function ua(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return sr(e,n);const i={src:Le(r.url||""),alt:n.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(n,l),e.applyData(n,l)}function sa(e,n){const t={src:Le(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function ca(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function pa(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return sr(e,n);const i={href:Le(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"a",properties:i,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)}function fa(e,n){const t={href:Le(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function ha(e,n,t){const r=e.all(n),i=t?da(t):cr(n),l={},o=[];if(typeof n.checked=="boolean"){const s=r[0];let f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const s=r[a];(i||a!==0||s.type!=="element"||s.tagName!=="p")&&o.push({type:"text",value:` 12`}),s.type==="element"&&s.tagName==="p"&&!i?o.push(...s.children):o.push(s)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 13`});const c={type:"element",tagName:"li",properties:l,children:o};return e.patch(n,c),e.applyData(n,c)}function da(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const t=e.children;let r=-1;for(;!n&&++r<t.length;)n=cr(t[r])}return n}function cr(e){const n=e.spread;return n??e.children.length>1}function ma(e,n){const t={},r=e.all(n);let i=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const l={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,l),e.applyData(n,l)}function ga(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function ya(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)}function xa(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function ka(e,n){const t=e.all(n),r=t.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],o),i.push(o)}if(t.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},a=Pn(n.children[1]),u=qt(n.children[n.children.length-1]);a&&u&&(o.position={start:a,end:u}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(n,l),e.applyData(n,l)}function ba(e,n,t){const r=t?t.children:void 0,l=(r?r.indexOf(n):1)===0?"th":"td",o=t&&t.type==="table"?t.align:void 0,a=o?o.length:n.children.length;let u=-1;const c=[];for(;++u<a;){const f=n.children[u],m={},p=o?o[u]:void 0;p&&(m.align=p);let y={type:"element",tagName:l,properties:m,children:[]};f&&(y.children=e.all(f),e.patch(f,y),y=e.applyData(f,y)),c.push(y)}const s={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(n,s),e.applyData(n,s)}function wa(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}const mt=9,gt=32;function Sa(e){const n=String(e),t=/\r?\n|\r/g;let r=t.exec(n),i=0;const l=[];for(;r;)l.push(yt(n.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=t.exec(n);return l.push(yt(n.slice(i),i>0,!1)),l.join("")}function yt(e,n,t){let r=0,i=e.length;if(n){let l=e.codePointAt(r);for(;l===mt||l===gt;)r++,l=e.codePointAt(r)}if(t){let l=e.codePointAt(i-1);for(;l===mt||l===gt;)i--,l=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Ca(e,n){const t={type:"text",value:Sa(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function Ea(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}const Ia={blockquote:ea,break:na,code:ta,delete:ra,emphasis:ia,footnoteReference:la,heading:oa,html:aa,imageReference:ua,image:sa,inlineCode:ca,linkReference:pa,link:fa,listItem:ha,list:ma,paragraph:ga,root:ya,strong:xa,table:ka,tableCell:wa,tableRow:ba,text:Ca,thematicBreak:Ea,toml:qe,yaml:qe,definition:qe,footnoteDefinition:qe};function qe(){}const pr=-1,en=0,Me=1,Ke=2,_n=3,Fn=4,Rn=5,Mn=6,fr=7,hr=8,xt=typeof self=="object"?self:globalThis,Ta=(e,n)=>{const t=(i,l)=>(e.set(l,i),i),r=i=>{if(e.has(i))return e.get(i);const[l,o]=n[i];switch(l){case en:case pr:return t(o,i);case Me:{const a=t([],i);for(const u of o)a.push(r(u));return a}case Ke:{const a=t({},i);for(const[u,c]of o)a[r(u)]=r(c);return a}case _n:return t(new Date(o),i);case Fn:{const{source:a,flags:u}=o;return t(new RegExp(a,u),i)}case Rn:{const a=t(new Map,i);for(const[u,c]of o)a.set(r(u),r(c));return a}case Mn:{const a=t(new Set,i);for(const u of o)a.add(r(u));return a}case fr:{const{name:a,message:u}=o;return t(new xt[a](u),i)}case hr:return t(BigInt(o),i);case"BigInt":return t(Object(BigInt(o)),i);case"ArrayBuffer":return t(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:a}=new Uint8Array(o);return t(new DataView(a),o)}}return t(new xt[l](o),i)};return r},kt=e=>Ta(new Map,e)(0),Ae="",{toString:Aa}={},{keys:Pa}=Object,_e=e=>{const n=typeof e;if(n!=="object"||!e)return[en,n];const t=Aa.call(e).slice(8,-1);switch(t){case"Array":return[Me,Ae];case"Object":return[Ke,Ae];case"Date":return[_n,Ae];case"RegExp":return[Fn,Ae];case"Map":return[Rn,Ae];case"Set":return[Mn,Ae];case"DataView":return[Me,t]}return t.includes("Array")?[Me,t]:t.includes("Error")?[fr,t]:[Ke,t]},$e=([e,n])=>e===en&&(n==="function"||n==="symbol"),va=(e,n,t,r)=>{const i=(o,a)=>{const u=r.push(o)-1;return t.set(a,u),u},l=o=>{if(t.has(o))return t.get(o);let[a,u]=_e(o);switch(a){case en:{let s=o;switch(u){case"bigint":a=hr,s=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);s=null;break;case"undefined":return i([pr],o)}return i([a,s],o)}case Me:{if(u){let m=o;return u==="DataView"?m=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(m=new Uint8Array(o)),i([u,[...m]],o)}const s=[],f=i([a,s],o);for(const m of o)s.push(l(m));return f}case Ke:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(n&&"toJSON"in o)return l(o.toJSON());const s=[],f=i([a,s],o);for(const m of Pa(o))(e||!$e(_e(o[m])))&&s.push([l(m),l(o[m])]);return f}case _n:return i([a,o.toISOString()],o);case Fn:{const{source:s,flags:f}=o;return i([a,{source:s,flags:f}],o)}case Rn:{const s=[],f=i([a,s],o);for(const[m,p]of o)(e||!($e(_e(m))||$e(_e(p))))&&s.push([l(m),l(p)]);return f}case Mn:{const s=[],f=i([a,s],o);for(const m of o)(e||!$e(_e(m)))&&s.push(l(m));return f}}const{message:c}=o;return i([a,{name:u,message:c}],o)};return l},bt=(e,{json:n,lossy:t}={})=>{const r=[];return va(!(n||t),!!n,new Map,r)(e),r},Qe=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?kt(bt(e,n)):structuredClone(e):(e,n)=>kt(bt(e,n));function za(e,n){const t=[{type:"text",value:"â©"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function La(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}
vendor: 21,325 bytes, lines 13-19
13function Na(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||za,r=e.options.footnoteBackLabel||La,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;const s=e.all(c),f=String(c.identifier).toUpperCase(),m=Le(f.toLowerCase());let p=0;const y=[],k=e.footnoteCounts.get(f);for(;k!==void 0&&++p<=k;){y.length>0&&y.push({type:"text",value:" "});let N=typeof t=="string"?t:t(u,p);typeof N=="string"&&(N={type:"text",value:N}),y.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+m+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}const A=s[s.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const N=A.children[A.children.length-1];N&&N.type==="text"?N.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...y)}else s.push(...y);const w={type:"element",tagName:"li",properties:{id:n+"fn-"+m},children:e.wrap(s,!0)};e.patch(c,w),a.push(w)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Qe(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 14`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:` 15`}]}}const dr=function(e){if(e==null)return Fa;if(typeof e=="function")return nn(e);if(typeof e=="object")return Array.isArray(e)?Da(e):Oa(e);if(typeof e=="string")return _a(e);throw new Error("Expected function, string, or object as test")};function Da(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=dr(e[t]);return nn(r);function r(...i){let l=-1;for(;++l<n.length;)if(n[l].apply(this,i))return!0;return!1}}function Oa(e){const n=e;return nn(t);function t(r){const i=r;let l;for(l in e)if(i[l]!==n[l])return!1;return!0}}function _a(e){return nn(n);function n(t){return t&&t.type===e}}function nn(e){return n;function n(t,r,i){return!!(Ra(t)&&e.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function Fa(){return!0}function Ra(e){return e!==null&&typeof e=="object"&&"type"in e}const mr=[],Ma=!0,wt=!1,Ba="skip";function ja(e,n,t,r){let i;typeof n=="function"&&typeof t!="function"?(r=t,t=n):i=n;const l=dr(i),o=r?-1:1;a(e,void 0,[])();function a(u,c,s){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(u.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=mr,y,k,A;if((!n||l(u,c,s[s.length-1]||void 0))&&(p=Ha(t(u,s)),p[0]===wt))return p;if("children"in u&&u.children){const w=u;if(w.children&&p[0]!==Ba)for(k=(r?w.children.length:-1)+o,A=s.concat(w);k>-1&&k<w.children.length;){const N=w.children[k];if(y=a(N,k,A)(),y[0]===wt)return y;k=typeof y[1]=="number"?y[1]:k+o}}return p}}}function Ha(e){return Array.isArray(e)?e:typeof e=="number"?[Ma,e]:e==null?mr:[e]}function gr(e,n,t,r){let i,l,o;typeof n=="function"&&typeof t!="function"?(l=void 0,o=n,i=t):(l=n,o=t,i=r),ja(e,l,a,i);function a(u,c){const s=c[c.length-1],f=s?s.children.indexOf(u):void 0;return o(u,f,s)}}const Sn={}.hasOwnProperty,Ua={};function Va(e,n){const t=n||Ua,r=new Map,i=new Map,l=new Map,o={...Ia,...t.handlers},a={all:c,applyData:$a,definitionById:r,footnoteById:i,footnoteCounts:l,footnoteOrder:[],handlers:o,one:u,options:t,patch:qa,wrap:Xa};return gr(e,function(s){if(s.type==="definition"||s.type==="footnoteDefinition"){const f=s.type==="definition"?r:i,m=String(s.identifier).toUpperCase();f.has(m)||f.set(m,s)}}),a;function u(s,f){const m=s.type,p=a.handlers[m];if(Sn.call(a.handlers,m)&&p)return p(a,s,f);if(a.options.passThrough&&a.options.passThrough.includes(m)){if("children"in s){const{children:k,...A}=s,w=Qe(A);return w.children=a.all(s),w}return Qe(s)}return(a.options.unknownHandler||Wa)(a,s,f)}function c(s){const f=[];if("children"in s){const m=s.children;let p=-1;for(;++p<m.length;){const y=a.one(m[p],s);if(y){if(p&&m[p-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=St(y.value)),!Array.isArray(y)&&y.type==="element")){const k=y.children[0];k&&k.type==="text"&&(k.value=St(k.value))}Array.isArray(y)?f.push(...y):f.push(y)}}}return f}}function qa(e,n){e.position&&(n.position=Ti(e))}function $a(e,n){let t=n;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,l=e.data.hProperties;if(typeof r=="string")if(t.type==="element")t.tagName=r;else{const o="children"in t?t.children:[t];t={type:"element",tagName:r,properties:{},children:o}}t.type==="element"&&l&&Object.assign(t.properties,Qe(l)),"children"in t&&t.children&&i!==null&&i!==void 0&&(t.children=i)}return t}function Wa(e,n){const t=n.data||{},r="value"in n&&!(Sn.call(t,"hProperties")||Sn.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function Xa(e,n){const t=[];let r=-1;for(n&&t.push({type:"text",value:` 16`});++r<e.length;)r&&t.push({type:"text",value:` 17`}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:` 18`}),t}function St(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function Ct(e,n){const t=Va(e,n),r=t.one(e,void 0),i=Na(t),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:` 19`},i),l}function Ya(e,n){return e&&"run"in e?async function(t,r){const i=Ct(t,{file:r,...n});await e.run(i,r)}:function(t,r){return Ct(t,{file:r,...e||n})}}function Et(e){if(e)throw e}var Ye=Object.prototype.hasOwnProperty,yr=Object.prototype.toString,It=Object.defineProperty,Tt=Object.getOwnPropertyDescriptor,At=function(n){return typeof Array.isArray=="function"?Array.isArray(n):yr.call(n)==="[object Array]"},Pt=function(n){if(!n||yr.call(n)!=="[object Object]")return!1;var t=Ye.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&Ye.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||Ye.call(n,i)},vt=function(n,t){It&&t.name==="__proto__"?It(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},zt=function(n,t){if(t==="__proto__")if(Ye.call(n,t)){if(Tt)return Tt(n,t).value}else return;return n[t]},Ja=function e(){var n,t,r,i,l,o,a=arguments[0],u=1,c=arguments.length,s=!1;for(typeof a=="boolean"&&(s=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<c;++u)if(n=arguments[u],n!=null)for(t in n)r=zt(a,t),i=zt(n,t),a!==i&&(s&&i&&(Pt(i)||(l=At(i)))?(l?(l=!1,o=r&&At(r)?r:[]):o=r&&Pt(r)?r:{},vt(a,{name:t,newValue:e(s,o,i)})):typeof i<"u"&&vt(a,{name:t,newValue:i}));return a};const an=Ft(Ja);function Cn(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ka(){const e=[],n={run:t,use:r};return n;function t(...i){let l=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(u,...c){const s=e[++l];let f=-1;if(u){o(u);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,s?Qa(s,a)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),n}}function Qa(e,n){let t;return r;function r(...o){const a=e.length>o.length;let u;a&&o.push(i);try{u=e.apply(this,o)}catch(c){const s=c;if(a&&t)throw s;return i(s)}a||(u&&u.then&&typeof u.then=="function"?u.then(l,i):u instanceof Error?i(u):l(u))}function i(o,...a){t||(t=!0,n(o,...a))}function l(o){i(null,o)}}const de={basename:Ga,dirname:Za,extname:eu,join:nu,sep:"/"};function Ga(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');He(e);let t=0,r=-1,i=e.length,l;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let o=-1,a=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),a>-1&&(e.codePointAt(i)===n.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function Za(e){if(He(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function eu(e){He(e);let n=e.length,t=-1,r=0,i=-1,l=0,o;for(;n--;){const a=e.codePointAt(n);if(a===47){if(o){r=n+1;break}continue}t<0&&(o=!0,t=n+1),a===46?i<0?i=n:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function nu(...e){let n=-1,t;for(;++n<e.length;)He(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":tu(t)}function tu(e){He(e);const n=e.codePointAt(0)===47;let t=ru(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function ru(e,n){let t="",r=0,i=-1,l=0,o=-1,a,u;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||l===1))if(i!==o-1&&l===2){if(t.length<2||r!==2||t.codePointAt(t.length-1)!==46||t.codePointAt(t.length-2)!==46){if(t.length>2){if(u=t.lastIndexOf("/"),u!==t.length-1){u<0?(t="",r=0):(t=t.slice(0,u),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,o):t=e.slice(i+1,o),r=o-i-1;i=o,l=0}else a===46&&l>-1?l++:l=-1}return t}function He(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const iu={cwd:lu};function lu(){return"/"}function En(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function ou(e){if(typeof e=="string")e=new URL(e);else if(!En(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return au(e)}function au(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t<n.length;)if(n.codePointAt(t)===37&&n.codePointAt(t+1)===50){const r=n.codePointAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(n)}const un=["history","path","basename","stem","extname","dirname"];class xr{constructor(n){let t;n?En(n)?t={path:n}:typeof n=="string"||uu(n)?t={value:n}:t=n:t={},this.cwd="cwd"in t?"":iu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<un.length;){const l=un[r];l in t&&t[l]!==void 0&&t[l]!==null&&(this[l]=l==="history"?[...t[l]]:t[l])}let i;for(i in t)un.includes(i)||(this[i]=t[i])}get basename(){return typeof this.path=="string"?de.basename(this.path):void 0}set basename(n){cn(n,"basename"),sn(n,"basename"),this.path=de.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?de.dirname(this.path):void 0}set dirname(n){Lt(this.basename,"dirname"),this.path=de.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?de.extname(this.path):void 0}set extname(n){if(sn(n,"extname"),Lt(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=de.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){En(n)&&(n=ou(n)),cn(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?de.basename(this.path,this.extname):void 0}set stem(n){cn(n,"stem"),sn(n,"stem"),this.path=de.join(this.dirname||"",n+(this.extname||""))}fail(n,t,r){const i=this.message(n,t,r);throw i.fatal=!0,i}info(n,t,r){const i=this.message(n,t,r);return i.fatal=void 0,i}message(n,t,r){const i=new Z(n,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function sn(e,n){if(e&&e.includes(de.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+de.sep+"`")}function cn(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function Lt(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function uu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const su=function(e){const r=this.constructor.prototype,i=r[e],l=function(){return i.apply(l,arguments)};return Object.setPrototypeOf(l,r),l},cu={}.hasOwnProperty;class Bn extends su{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=Ka()}copy(){const n=new Bn;let t=-1;for(;++t<this.attachers.length;){const r=this.attachers[t];n.use(...r)}return n.data(an(!0,{},this.namespace)),n}data(n,t){return typeof n=="string"?arguments.length===2?(hn("data",this.frozen),this.namespace[n]=t,this):cu.call(this.namespace,n)&&this.namespace[n]||void 0:n?(hn("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=t.call(n,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const t=We(n),r=this.parser||this.Parser;return pn("parse",r),r(String(t),t)}process(n,t){const r=this;return this.freeze(),pn("process",this.parser||this.Parser),fn("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(l,o){const a=We(n),u=r.parse(a);r.run(u,a,function(s,f,m){if(s||!f||!m)return c(s);const p=f,y=r.stringify(p,m);hu(y)?m.value=y:m.result=y,c(s,m)});function c(s,f){s||!f?o(s):l?l(f):t(void 0,f)}}}processSync(n){let t=!1,r;return this.freeze(),pn("processSync",this.parser||this.Parser),fn("processSync",this.compiler||this.Compiler),this.process(n,i),Dt("processSync","process",t),r;function i(l,o){t=!0,Et(l),r=o}}run(n,t,r){Nt(n),this.freeze();const i=this.transformers;return!r&&typeof t=="function"&&(r=t,t=void 0),r?l(void 0,r):new Promise(l);function l(o,a){const u=We(t);i.run(n,u,c);function c(s,f,m){const p=f||n;s?a(s):o?o(p):r(void 0,p,m)}}}runSync(n,t){let r=!1,i;return this.run(n,t,l),Dt("runSync","run",r),i;function l(o,a){Et(o),i=a,r=!0}}stringify(n,t){this.freeze();const r=We(t),i=this.compiler||this.Compiler;return fn("stringify",i),Nt(n),i(n,r)}use(n,...t){const r=this.attachers,i=this.namespace;if(hn("use",this.frozen),n!=null)if(typeof n=="function")u(n,t);else if(typeof n=="object")Array.isArray(n)?a(n):o(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function l(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[s,...f]=c;u(s,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))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");a(c.plugins),c.settings&&(i.settings=an(!0,i.settings,c.settings))}function a(c){let s=-1;if(c!=null)if(Array.isArray(c))for(;++s<c.length;){const f=c[s];l(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,s){let f=-1,m=-1;for(;++f<r.length;)if(r[f][0]===c){m=f;break}if(m===-1)r.push([c,...s]);else if(s.length>0){let[p,...y]=s;const k=r[m][1];Cn(k)&&Cn(p)&&(p=an(!0,k,p)),r[m]=[c,p,...y]}}}}const pu=new Bn().freeze();function pn(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function fn(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function hn(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Nt(e){if(!Cn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Dt(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function We(e){return fu(e)?e:new xr(e)}function fu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function hu(e){return typeof e=="string"||du(e)}function du(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const mu="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ot=[],_t={allowDangerousHtml:!0},gu=/^(https?|ircs?|mailto|xmpp)$/i,yu=[{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 xu(e){const n=ku(e),t=bu(e);return wu(n.runSync(n.parse(t),t),e)}function ku(e){const n=e.rehypePlugins||Ot,t=e.remarkPlugins||Ot,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,..._t}:_t;return pu().use(Zo).use(t).use(Ya,r).use(n)}function bu(e){const n=e.children||"",t=new xr;return typeof n=="string"&&(t.value=n),t}function wu(e,n){const t=n.allowedElements,r=n.allowElement,i=n.components,l=n.disallowedElements,o=n.skipHtml,a=n.unwrapDisallowed,u=n.urlTransform||Su;for(const s of yu)Object.hasOwn(n,s.from)&&(""+s.from+(s.to?"use `"+s.to+"` instead":"remove it")+mu+s.id,void 0);return gr(e,c),Li(e,{Fragment:L.Fragment,components:i,ignoreInvalidStyle:!0,jsx:L.jsx,jsxs:L.jsxs,passKeys:!0,passNode:!0});function c(s,f,m){if(s.type==="raw"&&m&&typeof f=="number")return o?m.children.splice(f,1):m.children[f]={type:"text",value:s.value},f;if(s.type==="element"){let p;for(p in rn)if(Object.hasOwn(rn,p)&&Object.hasOwn(s.properties,p)){const y=s.properties[p],k=rn[p];(k===null||k.includes(s.tagName))&&(s.properties[p]=u(String(y||""),p,s))}}if(s.type==="element"){let p=t?!t.includes(s.tagName):l?l.includes(s.tagName):!1;if(!p&&r&&typeof f=="number"&&(p=!r(s,f,m)),p&&m&&typeof f=="number")return a&&s.children?m.children.splice(f,1,...s.children):m.children.splice(f,1),f}}}function Su(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n===-1||i!==-1&&n>i||t!==-1&&n>t||r!==-1&&n>r||gu.test(e.slice(0,n))?e:""}const Cu="https://hpbwchhshoqrpfgcptuc.supabase.co/functions/v1/website-chat",Eu=2e3,Pu=()=>{var R;const[e,n]=ne.useState(!1),[t,r]=ne.useState([]),[i,l]=ne.useState(""),[o,a]=ne.useState(!1),[u,c]=ne.useState(null),[s]=ne.useState(()=>{const C=localStorage.getItem("sobo_visitor_id");if(C)return C;const E=crypto.randomUUID();return localStorage.setItem("sobo_visitor_id",E),E}),[f,m]=ne.useState(""),p=ne.useRef(0),[y,k]=ne.useState(null),A=ne.useRef(null),w=ne.useRef(null),N=vr(),I=()=>{var C;(C=A.current)==null||C.scrollIntoView({behavior:"smooth"})};ne.useEffect(()=>{I()},[t]),ne.useEffect(()=>{e&&w.current&&w.current.focus()},[e]);const M=ne.useCallback(async()=>{var $,D,J;if(!i.trim()||o)return;if(f){l("");return}const C=Date.now();if(C-p.current<Eu){k("Please wait a moment before sending another message."),setTimeout(()=>k(null),3e3);return}p.current=C,k(null);const E={role:"user",content:i.trim()},T=[...t,E];r(T),l(""),a(!0);let B="";try{const q=await fetch(Cu,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImhwYndjaGhzaG9xcnBmZ2NwdHVjIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzAyMzIwNTEsImV4cCI6MjA4NTgwODA1MX0.9S6hN7woYsFbU4KNaG4K
19obcfhzK0ylZnmqJBCwKKKFg"},body:JSON.stringify({messages:T,conversationId:u,visitorId:s,pageUrl:N.pathname,_hp:f,_ts:C})}),Q=q.headers.get("X-Conversation-Id");if(Q&&!u&&c(Q),!q.ok||!q.body){if(q.status===429){k("You're sending messages too quickly. Please wait a moment."),setTimeout(()=>k(null),5e3),a(!1);return}throw new Error("Failed to get response")}const ce=q.body.getReader(),h=new TextDecoder;let K="";for(r(le=>[...le,{role:"assistant",content:""}]);;){const{done:le,value:d}=await ce.read();if(le)break;K+=h.decode(d,{stream:!0});let ee;for(;(ee=K.indexOf(` 20`))!==-1;){let G=K.slice(0,ee);if(K=K.slice(ee+1),G.endsWith("\r")&&(G=G.slice(0,-1)),G.startsWith(":")||G.trim()===""||!G.startsWith("data: "))continue;const X=G.slice(6).trim();if(X==="[DONE]")break;try{const pe=(J=(D=($=JSON.parse(X).choices)==null?void 0:$[0])==null?void 0:D.delta)==null?void 0:J.content;pe&&(B+=pe,r(ke=>{const he=[...ke];return he[he.length-1]={role:"assistant",content:B},he}))}catch{K=G+` 21`+K;break}}}}catch(q){console.error("Chat error:",q),r(Q=>[...Q,{role:"assistant",content:"Sorry, I'm having trouble connecting. Please try again or [contact us directly](/contact)."}])}finally{a(!1)}},[i,o,t,u,s,N.pathname,f]),V=C=>{C.key==="Enter"&&!C.shiftKey&&(C.preventDefault(),M())},x=({href:C,children:E})=>C!=null&&C.startsWith("/")?L.jsx(Nr,{to:C,className:"text-primary underline hover:text-primary/80",onClick:()=>n(!1),children:E}):L.jsx("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline hover:text-primary/80",children:E}),F=["What tools does Sobo connect to?","How much does Sobo cost?","How does the AI diagnostic work?"],W=C=>{l(C)};return L.jsxs(L.Fragment,{children:[L.jsx("button",{onClick:()=>n(!e),className:Ve("fixed bottom-6 right-6 z-50 w-14 h-14 rounded-full text-white shadow-lg flex items-center justify-center transition-all duration-300 hover:scale-110",e&&"rotate-90"),style:{backgroundColor:"hsl(270, 60%, 50%)"},"aria-label":e?"Close chat":"Open chat",children:e?L.jsx(zr,{className:"w-6 h-6"}):L.jsx($n,{className:"w-6 h-6"})}),L.jsxs("div",{className:Ve("fixed bottom-24 right-6 z-50 w-[380px] max-w-[calc(100vw-3rem)] bg-background border rounded-2xl shadow-2xl flex flex-col overflow-hidden transition-all duration-300",e?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 translate-y-4 pointer-events-none"),style:{height:"500px",maxHeight:"calc(100vh - 150px)"},children:[L.jsxs("div",{className:"text-white px-4 py-3 flex items-center gap-3",style:{backgroundColor:"hsl(270, 60%, 50%)"},children:[L.jsx("div",{className:"w-10 h-10 rounded-full bg-white/20 flex items-center justify-center",children:L.jsx($n,{className:"w-5 h-5"})}),L.jsxs("div",{children:[L.jsx("h3",{className:"font-semibold",children:"Sobo Assistant"}),L.jsx("p",{className:"text-xs opacity-80",children:"Ask me anything about Sobo"})]})]}),L.jsxs("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:[t.length===0&&L.jsxs("div",{className:"text-center text-muted-foreground text-sm py-6",children:[L.jsx("p",{className:"mb-4",children:"ð Hi! I'm here to help."}),L.jsx("p",{className:"mb-4",children:"Ask me about Sobo's services, pricing, or how fractional consulting works."}),L.jsx("div",{className:"flex flex-col gap-2",children:F.map((C,E)=>L.jsx("button",{onClick:()=>W(C),className:"text-left px-3 py-2 rounded-lg text-sm text-foreground transition-colors border",style:{backgroundColor:"hsla(270, 60%, 50%, 0.1)",borderColor:"hsla(270, 60%, 50%, 0.2)"},children:C},E))})]}),t.map((C,E)=>L.jsx("div",{className:Ve("flex",C.role==="user"?"justify-end":"justify-start"),children:L.jsx("div",{className:Ve("max-w-[85%] rounded-2xl px-4 py-2 text-sm",C.role==="user"?"text-white rounded-br-md":"bg-muted rounded-bl-md"),style:C.role==="user"?{backgroundColor:"hsl(270, 60%, 50%)"}:void 0,children:C.role==="assistant"?L.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none",children:L.jsx(xu,{components:{a:x},children:C.content||"..."})}):C.content})},E)),o&&((R=t[t.length-1])==null?void 0:R.role)==="user"&&L.jsx("div",{className:"flex justify-start",children:L.jsx("div",{className:"bg-muted rounded-2xl rounded-bl-md px-4 py-2",children:L.jsx(Dr,{className:"w-4 h-4 animate-spin"})})}),y&&L.jsx("div",{className:"text-center text-xs text-destructive py-1",children:y}),L.jsx("div",{ref:A})]}),L.jsxs("div",{"aria-hidden":"true",style:{position:"absolute",left:"-9999px",opacity:0,height:0,overflow:"hidden"},children:[L.jsx("label",{htmlFor:"chat-hp-field",children:"Leave this empty"}),L.jsx("input",{id:"chat-hp-field",type:"text",tabIndex:-1,autoComplete:"off",value:f,onChange:C=>m(C.target.value)})]}),L.jsx("div",{className:"border-t p-3",children:L.jsxs("div",{className:"flex gap-2",children:[L.jsx("input",{ref:w,type:"text",value:i,onChange:C=>l(C.target.value),onKeyDown:V,placeholder:"Type a message...",className:"flex-1 px-4 py-2 bg-muted rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-secondary",disabled:o}),L.jsx(Lr,{size:"icon",onClick:M,disabled:!i.trim()||o,className:"rounded-full text-white hover:opacity-90",style:{backgroundColor:"hsl(270, 60%, 50%)"},children:L.jsx(Or,{className:"w-4 h-4"})})]})})]})]})};export{Pu as ChatWidget};
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.