vendor: 8,759 bytes, lines 1-5
1import{b as xe,q as oa,j as d,s as Hn,k as _r,P as Kt,e as zt,d as Ir,i as aa,w as sa,B as ua,X as ca,x as fa,E as It,H as ut}from"./ui-CVLqE0wk.js";import{D as pa,b as bt}from"./index-RAbzHmh6.js";import{P as ha,h as da,R as ga,u as ma,F as xa,a as pt,b as ii,f as Ut,c as qt,d as Tr,p as ya,o as ba}from"./ViewerShell-CpDg4lxk.js";import"./three-DSLMOd35.js";var kn="Dialog",[al]=aa(kn),[ka,Ve]=al(kn),sl=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:l,modal:o=!0}=e,a=xe.useRef(null),s=xe.useRef(null),[u,c]=oa({prop:r,defaultProp:i??!1,onChange:l,caller:kn});return d.jsx(ka,{scope:t,triggerRef:a,contentRef:s,contentId:Hn(),titleId:Hn(),descriptionId:Hn(),open:u,onOpenChange:c,onOpenToggle:xe.useCallback(()=>c(f=>!f),[c]),modal:o,children:n})};sl.displayName=kn;var ul="DialogTrigger",wa=xe.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ve(ul,n),l=Ir(t,i.triggerRef);return d.jsx(Kt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Pr(i.open),...r,ref:l,onClick:zt(e.onClick,i.onOpenToggle)})});wa.displayName=ul;var Rr="DialogPortal",[va,cl]=al(Rr,{forceMount:void 0}),fl=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,l=Ve(Rr,t);return d.jsx(va,{scope:t,forceMount:n,children:xe.Children.map(r,o=>d.jsx(_r,{present:n||l.open,children:d.jsx(ha,{asChild:!0,container:i,children:o})}))})};fl.displayName=Rr;var gn="DialogOverlay",pl=xe.forwardRef((e,t)=>{const n=cl(gn,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,l=Ve(gn,e.__scopeDialog);return l.modal?d.jsx(_r,{present:r||l.open,children:d.jsx(Ea,{...i,ref:t})}):null});pl.displayName=gn;var Sa=sa("DialogOverlay.RemoveScroll"),Ea=xe.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ve(gn,n);return d.jsx(ga,{as:Sa,allowPinchZoom:!0,shards:[i.contentRef],children:d.jsx(Kt.div,{"data-state":Pr(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),xt="DialogContent",hl=xe.forwardRef((e,t)=>{const n=cl(xt,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,l=Ve(xt,e.__scopeDialog);return d.jsx(_r,{present:r||l.open,children:l.modal?d.jsx(Ca,{...i,ref:t}):d.jsx(Na,{...i,ref:t})})});hl.displayName=xt;var Ca=xe.forwardRef((e,t)=>{const n=Ve(xt,e.__scopeDialog),r=xe.useRef(null),i=Ir(t,n.contentRef,r);return xe.useEffect(()=>{const l=r.current;if(l)return da(l)},[]),d.jsx(dl,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:zt(e.onCloseAutoFocus,l=>{l.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:zt(e.onPointerDownOutside,l=>{const o=l.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&l.preventDefault()}),onFocusOutside:zt(e.onFocusOutside,l=>l.preventDefault())})}),Na=xe.forwardRef((e,t)=>{const n=Ve(xt,e.__scopeDialog),r=xe.useRef(!1),i=xe.useRef(!1);return d.jsx(dl,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{e.onCloseAutoFocus?.(l),l.defaultPrevented||(r.current||n.triggerRef.current?.focus(),l.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:l=>{e.onInteractOutside?.(l),l.defaultPrevented||(r.current=!0,l.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=l.target;n.triggerRef.current?.contains(o)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&i.current&&l.preventDefault()}})}),dl=xe.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,...o}=e,a=Ve(xt,n),s=xe.useRef(null),u=Ir(t,s);return ma(),d.jsxs(d.Fragment,{children:[d.jsx(xa,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:l,children:d.jsx(pa,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Pr(a.open),...o,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),d.jsxs(d.Fragment,{children:[d.jsx(Aa,{titleId:a.titleId}),d.jsx(Ia,{contentRef:s,descriptionId:a.descriptionId})]})]})}),Lr="DialogTitle",gl=xe.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ve(Lr,n);return d.jsx(Kt.h2,{id:i.titleId,...r,ref:t})});gl.displayName=Lr;var ml="DialogDescription",xl=xe.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ve(ml,n);return d.jsx(Kt.p,{id:i.descriptionId,...r,ref:t})});xl.displayName=ml;var yl="DialogClose",bl=xe.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ve(yl,n);return d.jsx(Kt.button,{type:"button",...r,ref:t,onClick:zt(e.onClick,()=>i.onOpenChange(!1))})});bl.displayName=yl;function Pr(e){return e?"open":"closed"}var kl="DialogTitleWarning",[_g,wl]=ua(kl,{contentName:xt,titleName:Lr,docsSlug:"dialog"}),Aa=({titleId:e})=>{const t=wl(kl),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return xe.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},_a="DialogDescriptionWarning",Ia=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${wl(_a).contentName}}.`;return xe.useEffect(()=>{const i=e.current?.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Ta=sl,Ra=fl,La=pl,Pa=hl,ja=gl,Oa=xl,Da=bl;function Ma({...e}){return d.jsx(Ta,{"data-slot":"dialog",...e})}function Fa({...e}){return d.jsx(Ra,{"data-slot":"dialog-portal",...e})}function za({className:e,...t}){return d.jsx(La,{"data-slot":"dialog-overlay",className:bt("fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0",e),...t})}function Ba({className:e,children:t,...n}){return d.jsxs(Fa,{children:[d.jsx(za,{}),d.jsx(Pa,{"data-slot":"dialog-content",className:bt("fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 rounded-xl bg-[var(--surface-0)] shadow-lg data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",e),...n,children:t})]})}function $a({className:e,...t}){return d.jsx("div",{"data-slot":"dialog-header",className:bt("flex flex-col gap-1.5",e),...t})}function Ha({className:e,...t}){return d.jsx(ja,{"data-slot":"dialog-title",className:bt("text-sm font-semibold text-[var(--text-primary)]",e),...t})}function Ua({className:e,...t}){return d.jsx(Oa,{"data-slot":"dialog-description",className:bt("text-xs text-[var(--text-secondary)]",e),...t})}function qa({className:e,children:t,...n}){return d.jsxs(Da,{"data-slot":"dialog-close",className:bt("inline-flex size-6 items-center justify-center rounded-md text-[var(--text-tertiary)] transition-colors duration-100 hover:bg-[var(--surface-2)] hover:text-[var(--text-primary)]",e),...n,children:[t??d.jsx(ca,{className:"size-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})}const Va=fa("inline-flex max-w-full items-center rounded-full px-2 py-[1px] text-[10px] font-medium tracking-[0.01em]",{variants:{variant:{default:"bg-[var(--accent-soft)] text-[var(--accent)]",success:"bg-[rgba(26,138,74,0.08)] text-[var(--success)]",warning:"bg-[rgba(194,120,3,0.08)] text-[var(--warning)]",destructive:"bg-[rgba(209,52,21,0.08)] text-[var(--destructive)]",secondary:"bg-[var(--surface-2)] text-[var(--text-tertiary)]"}},defaultVariants:{variant:"default"}});function de({className:e,variant:t,...n}){return d.jsx("span",{className:bt(Va({variant:t,className:e})),...n})}function Wa(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ga=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ka=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ja={};function li(e,t){return(Ja.jsx?Ka:Ga).test(e)}const Xa=/[ \t\n\f\r]/g;function Ya(e){return typeof e=="object"?e.type==="text"?oi(e.value):!1:oi(e)}function oi(e){return e.replace(Xa,"")===""}class Jt{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Jt.prototype.normal={};Jt.prototype.property={};Jt.prototype.space=void 0;function vl(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Jt(n,r,t)}function dr(e){return e.toLowerCase()}class Me{constructor(t,n){this.attribute=n,this.property=t}}Me.prototype.attribute="";Me.prototype.booleanish=!1;Me.prototype.boolean=!1;Me.prototype.commaOrSpaceSeparated=!1;Me.prototype.commaSeparated=!1;Me.prototype.defined=!1;Me.prototype.mustUseProperty=!1;Me.prototype.number=!1;Me.prototype.overloadedBoolean=!1;Me.prototype.property="";Me.prototype.spaceSeparated=!1;Me.prototype.space=void 0;let Qa=0;
vendor: 4,595 bytes, line 5
5const X=kt(),we=kt(),gr=kt(),I=kt(),he=kt(),At=kt(),ze=kt();function kt(){return 2**++Qa}const mr=Object.freeze(Object.defineProperty({__proto__:null,boolean:X,booleanish:we,commaOrSpaceSeparated:ze,commaSeparated:At,number:I,overloadedBoolean:gr,spaceSeparated:he},Symbol.toStringTag,{value:"Module"})),Un=Object.keys(mr);class jr extends Me{constructor(t,n,r,i){let l=-1;if(super(t,n),ai(this,"space",i),typeof r=="number")for(;++l<Un.length;){const o=Un[l];ai(this,Un[l],(r&mr[o])===mr[o])}}}jr.prototype.defined=!0;function ai(e,t,n){n&&(e[t]=n)}function Tt(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const l=new jr(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[dr(r)]=r,n[dr(l.attribute)]=r}return new Jt(t,n,e.space)}const Sl=Tt({properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:we,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:he,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:I,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:he,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:we,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function El(e,t){return t in e?e[t]:t}function Cl(e,t){return El(e,t.toLowerCase())}const Za=Tt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:At,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:X,allowPaymentRequest:X,allowUserMedia:X,alt:null,as:null,async:X,autoCapitalize:null,autoComplete:he,autoFocus:X,autoPlay:X,blocking:he,capture:null,charSet:null,checked:X,cite:null,className:he,cols:I,colSpan:null,content:null,contentEditable:we,controls:X,controlsList:he,coords:I|At,crossOrigin:null,data:null,dateTime:null,decoding:null,default:X,defer:X,dir:null,dirName:null,disabled:X,download:gr,draggable:we,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:X,formTarget:null,headers:he,height:I,hidden:gr,high:I,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:X,inputMode:null,integrity:null,is:null,isMap:X,itemId:null,itemProp:he,itemRef:he,itemScope:X,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:X,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:X,muted:X,name:null,nonce:null,noModule:X,noValidate:X,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:X,optimum:I,pattern:null,ping:he,placeholder:null,playsInl
5ine:X,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:X,referrerPolicy:null,rel:he,required:X,reversed:X,rows:I,rowSpan:I,sandbox:he,scope:null,scoped:X,seamless:X,selected:X,shadowRootClonable:X,shadowRootDelegatesFocus:X,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:we,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:X,useMap:null,value:we,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:he,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:X,declare:X,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:X,noHref:X,noShade:X,noWrap:X,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:we,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:X,disableRemotePlayback:X,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:Cl}),es=Tt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
5-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:ze,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:he,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:X,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:At,g2:At,glyphName:At,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:ze,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 5,116 bytes, lines 5-6
5Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ze,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ze,rev:ze,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ze,requiredFeatures:ze,requiredFonts:ze,requiredFormats:ze,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:ze,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ze,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ze,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:El}),Nl=Tt({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Al=Tt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Cl}),_l=Tt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),ts={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"},ns=/[A-Z]/g,si=/-[a-z]/g,rs=/^data[-\w.:]+$/i;function is(e,t){const n=dr(t);let r=t,i=Me;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&rs.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(si,os);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!si.test(l)){let o=l.replace(ns,ls);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=jr}return new i(r,t)}function ls(e){return"-"+e.toLowerCase()}function os(e){return e.charAt(1).toUpperCase()}const as=vl([Sl,Za,Nl,Al,_l],"html"),Or=vl([Sl,es,Nl,Al,_l],"svg");function ss(e){return e.join(" ").trim()}var St={},qn,ui;function us(){if(ui)return qn;ui=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,a=/^\s+|\s+$/g,s=` 6`,u="/",c="*",f="",h="comment",p="declaration";function x(w,y){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];y=y||{};var N=1,E=1;function F(M){var R=M.match(t);R&&(N+=R.length);var re=M.lastIndexOf(s);E=~re?M.length-re:E+M.length}function O(){var M={line:N,column:E};return function(R){return R.position=new k(M),G(),R}}function k(M){this.start=M,this.end={line:N,column:E},this.source=y.source}k.prototype.content=w;function z(M){var R=new Error(y.source+":"+N+":"+E+": "+M);if(R.reason=M,R.filename=y.source,R.line=N,R.column=E,R.source=w,!y.silent)throw R}function W(M){var R=M.exec(w);if(R){var re=R[0];return F(re),w=w.slice(re.length),R}}function G(){W(n)}function v(M){var R;for(M=M||[];R=P();)R!==!1&&M.push(R);return M}function P(){var M=O();if(!(u!=w.charAt(0)||c!=w.charAt(1))){for(var R=2;f!=w.charAt(R)&&(c!=w.charAt(R)||u!=w.charAt(R+1));)++R;if(R+=2,f===w.charAt(R-1))return z("End of comment missing");var re=w.slice(2,R-2);return E+=2,F(re),w=w.slice(R),E+=2,M({type:h,comment:re})}}function D(){var M=O(),R=W(r);if(R){if(P(),!W(i))return z("property missing ':'");var re=W(l),ce=M({type:p,property:S(R[0].replace(e,f)),value:re?S(re[0].replace(e,f)):f});return W(o),ce}}function ne(){var M=[];
vendor: 3,963 bytes, line 6
6v(M);for(var R;R=D();)R!==!1&&(M.push(R),v(M));return M}return G(),ne()}function S(w){return w?w.replace(a,f):f}return qn=x,qn}var ci;function cs(){if(ci)return St;ci=1;var e=St&&St.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(St,"__esModule",{value:!0}),St.default=n;const t=e(us());function n(r,i){let l=null;if(!r||typeof r!="string")return l;const o=(0,t.default)(r),a=typeof i=="function";return o.forEach(s=>{if(s.type!=="declaration")return;const{property:u,value:c}=s;a?i(u,c,s):c&&(l=l||{},l[u]=c)}),l}return St}var Ot={},fi;function fs(){if(fi)return Ot;fi=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,l=function(u){return!u||n.test(u)||e.test(u)},o=function(u,c){return c.toUpperCase()},a=function(u,c){return"".concat(c,"-")},s=function(u,c){return c===void 0&&(c={}),l(u)?u:(u=u.toLowerCase(),c.reactCompat?u=u.replace(i,a):u=u.replace(r,a),u.replace(t,o))};return Ot.camelCase=s,Ot}var Dt,pi;function ps(){if(pi)return Dt;pi=1;var e=Dt&&Dt.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(cs()),n=fs();function r(i,l){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(a,s){a&&s&&(o[(0,n.camelCase)(a,l)]=s)}),o}return r.default=r,Dt=r,Dt}var hs=ps();const ds=It(hs),Il=Tl("end"),Dr=Tl("start");function Tl(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function gs(e){const t=Dr(e),n=Il(e);if(t&&n)return{start:t,end:n}}function Bt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?hi(e.position):"start"in e||"end"in e?hi(e):"line"in e||"column"in e?xr(e):""}function xr(e){return di(e&&e.line)+":"+di(e&&e.column)}function hi(e){return xr(e&&e.start)+"-"+xr(e&&e.end)}function di(e){return e&&typeof e=="number"?e:1}class Ie extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",l={},o=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l={...n}),typeof t=="string"?i=t:!l.cause&&t&&(o=!0,i=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?l.ruleId=r:(l.source=r.slice(0,s),l.ruleId=r.slice(s+1))}if(!l.place&&l.ancestors&&l.ancestors){const s=l.ancestors[l.ancestors.length-1];s&&(l.place=s.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=Bt(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}}Ie.prototype.file="";Ie.prototype.name="";Ie.prototype.reason="";Ie.prototype.message="";Ie.prototype.stack="";Ie.prototype.column=void 0;Ie.prototype.line=void 0;Ie.prototype.ancestors=void 0;Ie.prototype.cause=void 0;Ie.prototype.fatal=void 0;Ie.prototype.place=void 0;Ie.prototype.ruleId=void 0;Ie.prototype.source=void 0;const Mr={}.hasOwnProperty,ms=new Map,xs=/[A-Z]/g,ys=new Set(["table","tbody","thead","tfoot","tr"]),bs=new Set(["td","th"]),Rl="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ks(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=_s(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 6
6if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=As(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Or:as,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=Ll(i,e,void 0);return l&&typeof l!="string"?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}function Ll(e,t,n){if(t.type==="element")return ws(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return vs(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Es(e,t,n);if(t.type==="mdxjsEsm")return Ss(e,t);if(t.type==="root")return Cs(e,t,n);if(t.type==="text")return Ns(e,t)}function ws(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Or,e.schema=i),e.ancestors.push(t);const l=jl(e,t.tagName,!1),o=Is(e,t);let a=zr(e,t);return ys.has(t.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!Ya(s):!0})),Pl(e,o,l,t),Fr(o,a),e.ancestors.pop(),e.schema=r,e.create(t,l,o,n)}function vs(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Vt(e,t.position)}function Ss(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Vt(e,t.position)}function Es(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Or,e.schema=i),e.ancestors.push(t);const l=t.name===null?e.Fragment:jl(e,t.name,!0),o=Ts(e,t),a=zr(e,t);return Pl(e,o,l,t),Fr(o,a),e.ancestors.pop(),e.schema=r,e.create(t,l,o,n)}function Cs(e,t,n){const r={};return Fr(r,zr(e,t)),e.create(t,e.Fragment,r,n)}function Ns(e,t){return t.value}function Pl(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Fr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function As(e,t,n){return r;function r(i,l,o,a){const u=Array.isArray(o.children)?n:t;return a?u(l,o,a):u(l,o)}}function _s(e,t){return n;function n(r,i,l,o){const a=Array.isArray(l.children),s=Dr(r);return t(i,l,o,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function Is(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Mr.call(t.properties,i)){const l=Rs(e,i,t.properties[i]);if(l){const[o,a]=l;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&bs.has(t.tagName)?r=a:n[o]=a}}if(r){const l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Ts(e,t){const n={};for(const r of t.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(n,e.evaluater.evaluateExpression(a.argument))}else Vt(e,t.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 Vt(e,t.position);else l=r.value===null?!0:r.value;n[i]=l}return n}function zr(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:ms;for(;++r<t.children.length;){const l=t.children[r];let o;if(e.passKeys){const s=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(s){const u=i.get(s)||0;o=s+"-"+u,i.set(s,u+1)}}const a=Ll(e,l,o);a!==void 0&&n.push(a)}return n}function Rs(e,t,n){const r=is(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Wa(n):ss(n)),r.property==="style"){let i=typeof n=="object"?n:Ls(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Ps(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?ts[r.property]||r.property:r.attribute,n]}}function Ls(e,t){try{return ds(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Ie("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=Rl+"#cannot-parse-style-attribute",i}}function jl(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let l=-1,o;for(;++l<i.length;){const a=li(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=li(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Mr.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Vt(e)}function Vt(e,t){const n=new Ie("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Rl+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Ps(e){const t={};let n;for(n in e)Mr.call(e,n)&&(t[js(n)]=e[n]);return t}function js(e){let t=e.replace(xs,Os);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Os(e){return"-"+e.toLowerCase()}const Vn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Ds={};function Br(e,t){const n=Ds,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ol(e,r,i)}function Ol(e,t,n){if(Ms(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return gi(e.children,t,n)}return Array.isArray(e)?gi(e,t,n):""}function gi(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ol(e[i],t,n);return r.join("")}function Ms(e){return!!(e&&typeof e=="object")}const mi=document.createElement("i");function $r(e){const t="&"+e+";";mi.innerHTML=t;const n=mi.textContent;
vendor: 10,876 bytes, line 6
6return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Be(e,t,n,r){const i=e.length;let l=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);l<r.length;)o=r.slice(l,l+1e4),o.unshift(t,0),e.splice(...o),l+=1e4,t+=1e4}function Ue(e,t){return e.length>0?(Be(e,e.length,0,t),e):t}const xi={}.hasOwnProperty;function Dl(e){const t={};let n=-1;for(;++n<e.length;)Fs(t,e[n]);return t}function Fs(e,t){let n;for(n in t){const i=(xi.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];let o;if(l)for(o in l){xi.call(i,o)||(i[o]=[]);const a=l[o];zs(i[o],Array.isArray(a)?a:a?[a]:[])}}}function zs(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Be(e,0,0,r)}function Ml(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function qe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Le=ht(/[A-Za-z]/),_e=ht(/[\dA-Za-z]/),Bs=ht(/[#-'*+\--9=?A-Z^-~]/);function mn(e){return e!==null&&(e<32||e===127)}const yr=ht(/\d/),$s=ht(/[\dA-Fa-f]/),Hs=ht(/[!-/:-@[-`{-~]/);function U(e){return e!==null&&e<-2}function fe(e){return e!==null&&(e<0||e===32)}function te(e){return e===-2||e===-1||e===32}const wn=ht(new RegExp("\\p{P}|\\p{S}","u")),yt=ht(/\s/);function ht(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Rt(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const l=e.charCodeAt(n);let o="";if(l===37&&_e(e.charCodeAt(n+1))&&_e(e.charCodeAt(n+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(n+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function le(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(s){return te(s)?(e.enter(n),a(s)):t(s)}function a(s){return te(s)&&l++<i?(e.consume(s),a):(e.exit(n),t(s))}}const Us={tokenize:qs};function qs(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),le(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),l(a)}function l(a){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return U(a)?(e.consume(a),e.exit("chunkText"),l):(e.consume(a),o)}}const Vs={tokenize:Ws},yi={tokenize:Gs};function Ws(e){const t=this,n=[];let r=0,i,l,o;return a;function a(E){if(r<n.length){const F=n[r];return t.containerState=F[1],e.attempt(F[0].continuation,s,u)(E)}return u(E)}function s(E){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&N();const F=t.events.length;let O=F,k;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){k=t.events[O][1].end;break}y(r);let z=F;for(;z<t.events.length;)t.events[z][1].end={...k},z++;return Be(t.events,O+1,0,t.events.slice(F)),t.events.length=z,u(E)}return a(E)}function u(E){if(r===n.length){if(!i)return h(E);if(i.currentConstruct&&i.currentConstruct.concrete)return x(E);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yi,c,f)(E)}function c(E){return i&&N(),y(r),h(E)}function f(E){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,x(E)}function h(E){return t.containerState={},e.attempt(yi,p,x)(E)}function p(E){return r++,n.push([t.currentConstruct,t.containerState]),h(E)}function x(E){if(E===null){i&&N(),y(0),e.consume(E);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:l}),S(E)}function S(E){if(E===null){w(e.exit("chunkFlow"),!0),y(0),e.consume(E);return}return U(E)?(e.consume(E),w(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(E),S)}function w(E,F){const O=t.sliceStream(E);if(F&&O.push(null),E.previous=l,l&&(l.next=E),l=E,i.defineSkip(E.start),i.write(O),t.parser.lazy[E.start.line]){let k=i.events.length;for(;k--;)if(i.events[k][1].start.offset<o&&(!i.events[k][1].end||i.events[k][1].end.offset>o))return;const z=t.events.length;let W=z,G,v;for(;W--;)if(t.events[W][0]==="exit"&&t.events[W][1].type==="chunkFlow"){if(G){v=t.events[W][1].end;break}G=!0}for(y(r),k=z;k<t.events.length;)t.events[k][1].end={...v},k++;Be(t.events,W+1,0,t.events.slice(z)),t.events.length=k}}function y(E){let F=n.length;for(;F-- >E;){const O=n[F];t.containerState=O[1],O[0].exit.call(t,e)}n.length=E}function N(){i.write([null]),l=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Gs(e,t,n){return le(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _t(e){if(e===null||fe(e)||yt(e))return 1;if(wn(e))return 2}function vn(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const l=e[i].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}const br={name:"attention",resolveAll:Ks,tokenize:Js};function Ks(e,t){let n=-1,r,i,l,o,a,s,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},h={...e[n][1].start};bi(f,-s),bi(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},l={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Ue(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Ue(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",l,t]]),u=Ue(u,vn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Ue(u,[["exit",l,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Ue(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Be(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Js(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=_t(r);let l;return o;function o(s){return l=s,e.enter("attentionSequence"),a(s)}function a(s){if(s===l)return e.consume(s),a;const u=e.exit("attentionSequence"),c=_t(s),f=!c||c===2&&i||n.includes(s),h=!i||i===2&&c||n.includes(r);return u._open=!!(l===42?f:f&&(i||!h)),u._close=!!(l===42?h:h&&(c||!f)),t(s)}}function bi(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Xs={name:"autolink",tokenize:Ys};function Ys(e,t,n){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 Le(p)?(e.consume(p),o):p===64?n(p):u(p)}function o(p){return p===43||p===45||p===46||_e(p)?(r=1,a(p)):u(p)}function a(p){return p===58?(e.consume(p),r=0,s):(p===43||p===45||p===46||_e(p))&&r++<32?(e.consume(p),a):(r=0,u(p))}function s(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||mn(p)?n(p):(e.consume(p),s)}function u(p){return p===64?(e.consume(p),c):Bs(p)?(e.consume(p),u):n(p)}function c(p){return _e(p)?f(p):n(p)}function f(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):h(p)}function h(p){if((p===45||_e(p))&&r++<63){const x=p===45?h:f;return e.consume(p),x}return n(p)}}const Xt={partial:!0,tokenize:Qs};function Qs(e,t,n){return r;function r(l){return te(l)?le(e,i,"linePrefix")(l):i(l)}function i(l){return l===null||U(l)?t(l):n(l)}}const Fl={continuation:{tokenize:eu},exit:tu,name:"blockQuote",tokenize:Zs};function Zs(e,t,n){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 n(o)}function l(o){return te(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function eu(e,t,n){const r=this;return i;function i(o){return te(o)?le(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(Fl,t,n)(o)}}function tu(e){e.exit("blockQuote")}const zl={name:"characterEscape",tokenize:nu};function nu(e,t,n){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),i}function i(l){return Hs(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}const Bl={name:"characterReference",tokenize:ru};function ru(e,t,n){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"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),l=31,o=_e,c(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=$s,c):(e.enter("characterReferenceValue"),l=7,o=yr,c(f))}function c(f){if(f===59&&i){const h=e.exit("characterReferenceValue");return o===_e&&!$r(r.sliceSerialize(h))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<l?(e.consume(f),c):n(f)}}const ki={partial:!0,tokenize:lu},wi={concrete:!0,name:"codeFenced",tokenize:iu};function iu(e,t,n){const r=this,i={partial:!0,tokenize:O};let l=0,o=0,a;return s;function s(k){return u(k)}function u(k){const z=r.events[r.events.length-1];return l=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,a=k,e.enter("co
6deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(k)}function c(k){return k===a?(o++,e.consume(k),c):o<3?n(k):(e.exit("codeFencedFenceSequence"),te(k)?le(e,f,"whitespace")(k):f(k))}function f(k){return k===null||U(k)?(e.exit("codeFencedFence"),r.interrupt?t(k):e.check(ki,S,F)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(k))}function h(k){return k===null||U(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(k)):te(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),le(e,p,"whitespace")(k)):k===96&&k===a?n(k):(e.consume(k),h)}function p(k){return k===null||U(k)?f(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(k))}function x(k){return k===null||U(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(k)):k===96&&k===a?n(k):(e.consume(k),x)}function S(k){return e.attempt(i,F,w)(k)}function w(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),y}function y(k){return l>0&&te(k)?le(e,N,"linePrefix",l+1)(k):N(k)}function N(k){return k===null||U(k)?e.check(ki,S,F)(k):(e.enter("codeFlowValue"),E(k))}function E(k){return k===null||U(k)?(e.exit("codeFlowValue"),N(k)):(e.consume(k),E)}function F(k){return e.exit("codeFenced"),t(k)}function O(k,z,W){let G=0;return v;function v(R){return k.enter("lineEnding"),k.consume(R),k.exit("lineEnding"),P}function P(R){return k.enter("codeFencedFence"),te(R)?le(k,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):D(R)}function D(R){return R===a?(k.enter("codeFencedFenceSequence"),ne(R)):W(R)}function ne(R){return R===a?(G++,k.consume(R),ne):G>=o?(k.exit("codeFencedFenceSequence"),te(R)?le(k,M,"whitespace")(R):M(R)):W(R)}function M(R){return R===null||U(R)?(k.exit("codeFencedFence"),z(R)):W(R)}}}function lu(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Wn={name:"codeIndented",tokenize:au},ou={partial:!0,tokenize:su};function au(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),le(e,l,"linePrefix",5)(u)}function l(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(u):n(u)}function o(u){return u===null?s(u):U(u)?e.attempt(ou,o,s)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||U(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),a)}function s(u){return e.exit("codeIndented"),t(u)}}function su(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):U(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):le(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?t(o):U(o)?i(o):n(o)}}const uu={name:"codeText",previous:fu,resolve:cu,tokenize:pu};function cu(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||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),t-=r-i-2,r=i+2),i=void 0);return e}function fu(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function pu(e,t,n){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"),s(f))}function s(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(l=e.enter("codeTextSequence"),i=0,c(f)):U(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||U(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),u)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(l.type="codeTextData",u(f))}}class hu{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Mt(this.left,r),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Mt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Mt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Mt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Mt(this.left,n.reverse())}}}function Mt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function $l(e){const t={};let n=-1,r,i,l,o,a,s,u;const c=new hu(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,l=0,l<s.length&&s[l][1].type==="lineEndingBlank"&&(l+=2),l<s.length&&s[l][1].type==="content"))for(;++l<s.length&&s[l][1].type!=="content";)s[l][1].type==="chunkText"&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,du(c,n)),n=t[n],u=!0);else if(r[1]._container){for(l=n,i=void 0;l--;)if(o=c.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(c.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={...c.get(i)[1].start},a=c.slice(i,n),a.unshift(r),c.splice(i,n-i+1,a))}}return Be(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function du(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const l=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,s=[],u={};let c,f,h=-1,p=n,x=0,S=0;const w=[S];for(;p;){for(;e.get(++i)[1]!==p;);l.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&o.defineSki
vendor: 18,583 bytes, line 6
6p(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(S=h+1,w.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):w.pop(),h=w.length;h--;){const y=a.slice(w[h],w[h+1]),N=l.pop();s.push([N,N+y.length-1]),e.splice(N,2,y)}for(s.reverse(),h=-1;++h<s.length;)u[x+s[h][0]]=x+s[h][1],x+=s[h][1]-s[h][0]-1;return u}const gu={resolve:xu,tokenize:yu},mu={partial:!0,tokenize:bu};function xu(e){return $l(e),e}function yu(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):U(a)?e.check(mu,o,l)(a):(e.consume(a),i)}function l(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function bu(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),le(e,l,"linePrefix")}function l(o){if(o===null||U(o))return n(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?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Hl(e,t,n,r,i,l,o,a,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(y){return y===60?(e.enter(r),e.enter(i),e.enter(l),e.consume(y),e.exit(l),h):y===null||y===32||y===41||mn(y)?n(y):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),S(y))}function h(y){return y===62?(e.enter(l),e.consume(y),e.exit(l),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(a),h(y)):y===null||y===60||U(y)?n(y):(e.consume(y),y===92?x:p)}function x(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function S(y){return!c&&(y===null||y===41||fe(y))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(y)):c<u&&y===40?(e.consume(y),c++,S):y===41?(e.consume(y),c--,S):y===null||y===32||y===40||mn(y)?n(y):(e.consume(y),y===92?w:S)}function w(y){return y===40||y===41||y===92?(e.consume(y),S):S(y)}}function Ul(e,t,n,r,i,l){const o=this;let a=0,s;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(l),c}function c(p){return a>999||p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(l),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):U(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||U(p)||a++>999?(e.exit("chunkString"),c(p)):(e.consume(p),s||(s=!te(p)),p===92?h:f)}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function ql(e,t,n,r,i,l){let o;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,s):n(h)}function s(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(l),u(h))}function u(h){return h===o?(e.exit(l),s(o)):h===null?n(h):U(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),le(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===o||h===null||U(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?f:c)}function f(h){return h===o||h===92?(e.consume(h),c):c(h)}}function $t(e,t){let n;return r;function r(i){return U(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):te(i)?le(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ku={name:"definition",tokenize:vu},wu={partial:!0,tokenize:Su};function vu(e,t,n){const r=this;let i;return l;function l(p){return e.enter("definition"),o(p)}function o(p){return Ul.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=qe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):n(p)}function s(p){return fe(p)?$t(e,u)(p):u(p)}function u(p){return Hl(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(wu,f,f)(p)}function f(p){return te(p)?le(e,h,"whitespace")(p):h(p)}function h(p){return p===null||U(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function Su(e,t,n){return r;function r(a){return fe(a)?$t(e,i)(a):n(a)}function i(a){return ql(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return te(a)?le(e,o,"whitespace")(a):o(a)}function o(a){return a===null||U(a)?t(a):n(a)}}const Eu={name:"hardBreakEscape",tokenize:Cu};function Cu(e,t,n){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),i}function i(l){return U(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}const Nu={name:"headingAtx",resolve:Au,tokenize:_u};function Au(e,t){let n=e.length-2,r=3,i,l;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},l={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Be(e,r,n-r+1,[["enter",i,t],["enter",l,t],["exit",l,t],["exit",i,t]])),e}function _u(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),l(c)}function l(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||fe(c)?(e.exit("atxHeadingSequence"),a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||U(c)?(e.exit("atxHeading"),t(c)):te(c)?le(e,a,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||fe(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),u)}}const Iu=["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"],vi=["pre","script","style","textarea"],Tu={concrete:!0,name:"htmlFlow",resolveTo:Pu,tokenize:ju},Ru={partial:!0,tokenize:Du},Lu={partial:!0,tokenize:Ou};function Pu(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function ju(e,t,n){const r=this;let i,l,o,a,s;return u;function u(m){return c(m)}function c(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),f}function f(m){return m===33?(e.consume(m),h):m===47?(e.consume(m),l=!0,S):m===63?(e.consume(m),i=3,r.interrupt?t:g):Le(m)?(e.consume(m),o=String.fromCharCode(m),w):n(m)}function h(m){return m===45?(e.consume(m),i=2,p):m===91?(e.consume(m),i=5,a=0,x):Le(m)?(e.consume(m),i=4,r.interrupt?t:g):n(m)}function p(m){return m===45?(e.consume(m),r.interrupt?t:g):n(m)}function x(m){const Te="CDATA[";return m===Te.charCodeAt(a++)?(e.consume(m),a===Te.length?r.interrupt?t:D:x):n(m)}function S(m){return Le(m)?(e.consume(m),o=String.fromCharCode(m),w):n(m)}function w(m){if(m===null||m===47||m===62||fe(m)){const Te=m===47,$e=o.toLowerCase();return!Te&&!l&&vi.includes($e)?(i=1,r.interrupt?t(m):D(m)):Iu.includes(o.toLowerCase())?(i=6,Te?(e.consume(m),y):r.interrupt?t(m):D(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):l?N(m):E(m))}return m===45||_e(m)?(e.consume(m),o+=String.fromCharCode(m),w):n(m)}function y(m){return m===62?(e.consume(m),r.interrupt?t:D):n(m)}function N(m){return te(m)?(e.consume(m),N):v(m)}function E(m){return m===47?(e.consume(m),v):m===58||m===95||Le(m)?(e.consume(m),F):te(m)?(e.consume(m),E):v(m)}function F(m){return m===45||m===46||m===58||m===95||_e(m)?(e.consume(m),F):O(m)}function O(m){return m===61?(e.consume(m),k):te(m)?(e.consume(m),O):E(m)}function k(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),s=m,z):te(m)?(e.consume(m),k):W(m)}function z(m){return m===s?(e.consume(m),s=null,G):m===null||U(m)?n(m):(e.consume(m),z)}function W(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||fe(m)?O(m):(e.consume(m),W)}function G(m){return m===47||m===62||te(m)?E(m):n(m)}function v(m){return m===62?(e.consume(m),P):n(m)}function P(m){return m===null||U(m)?D(m):te(m)?(e.consume(m),P):n(m)}function D(m){return m===45&&i===2?(e.consume(m),re):m===60&&i===1?(e.consume(m),ce):m===62&&i===4?(e.consume(m),ye):m===63&&i===3?(e.consume(m),g):m===93&&i===5?(e.consume(m),Ae):U(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Ru,Ee,ne)(m)):m===null||U(m)?(e.exit("htmlFlowData"),ne(m)):(e.consume(m),D)}function ne(m){return e.check(Lu,M,Ee)(m)}function M(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),R}function R(m){return m===null||U(m)?ne(m):(e.enter("htmlFlowData"),D(m))}function re(m){return m===45?(e.consume(m),g):D(m)}function ce(m){return m===47?(e.consume(m),o="",Se):D(m)}function Se(m){if(m===62){const Te=o.toLowerCase();return vi.includes(Te)?(e.consume(m),ye):D(m)}return Le(m)&&o.length<8?(e.consume(m),o+=String.fromCharCode(m),Se):D(m)}function Ae(m){return m===93?(e.consume(m),g):D(m)}function g(m){return m===62?(e.consume(m),ye):m===45&&i===2?(e.consume(m),g):D(m)}function ye(m){return m===null||U(m)?(e.exit("htmlFlowData"),Ee(m)):(e.consume(m),ye)}function Ee(m){return e.exit("htmlFlow"),t(m)}}function Ou(e,t,n){const r=this;return i;function i(o){return U(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):n(o)}function l(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Du(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Xt,t,n)}}const Mu={name:"htmlText",tokenize:Fu};function Fu(e,t,n){const r=this;let i,l,o;return a;function a(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),s}function s(g){return g===33?(e.consume(g),u):g===47?(e.consume(g),O):g===63?(e.consume(g),E):Le(g)?(e.consume(g),W):n(g)}function u(g){return g===45?(e.consume(g),c):g===91?(e.consume(g),l=0,x):Le(g)?(e.consume(g),N):n(g)}function c(g){return g===45?(e.consume(g),p):n(g)}function f(g){return g===null?n(g):g===45?(e.consume(g),h):U(g)?(o=f,ce(g)):(e.consume(g),f)}function h(g){return g===45?(e.consume(g),p):f(g)}function p(g){return g===62?re(g):g===45?h(g):f(g)}function x(g){const ye="CDATA[";return g===ye.charCodeAt(l++)?(e.consume(g),l===ye.length?S:x):n(g)}function S(g){return g===null?n(g):g===93?(e.consume(g),w):U(g)?(o=S,ce(g)):(e.consume(g),S)}function w(g){return g===93?(e.consume(g),y):S(g)}function y(g){return g===62?re(g):g===93?(e.consume(g),y):S(g)}function N(g){return g===null||g===62?re(g):U(g)?(o=N,ce(g)):(e.consume(g),N)}function E(g){return g===null?n(g):g===63?(e.consume(g),F):U(g)?(o=E,ce(g)):(e.consume(g),E)}function F(g){return g===62?re(g):E(g)}function O(g){return Le(g)?(e.consume(g),k):n(g)}function k(g){return g===45||_e(g)?(e.consume(g),k):z(g)}function z(g){return U(g)?(o=z,ce(g)):te(g)?(e.consume(g),z):re(g)}function W(g){return g===45||_e(g)?(e.consume(g),W):g===47||g===62||fe(g)?G(g):n(g)}function G(g){return g===47?(e.consume(g),re):g===58||g===95||Le(g)?(e.consume(g),v):U(g)?(o=G,ce(g)):te(g)?(e.consume(g),G):re(g)}function v(g){return g===45||g===46||g===58||g===95||_e(g)?(e.consume(g),v):P(g)}function P(g){return g===61?(e.consume(g),D):U(g)?(o=P,ce(g)):te(g)?(e.consume(g),P):G(g)}function D(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,ne):U(g)?(o=D,ce(g)):te(g)?(e.consume(g),D):(e.consume(g),M)}function ne(g){return g===i?(e.consume(g),i=void 0,R):g===null?n(g):U(g)?(o=ne,ce(g)):(e.consume(g),ne)}function M(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||fe(g)?G(g):(e.consume(g),M)}function R(g){return g===47||g===62||fe(g)?G(g):n(g)}function re(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function ce(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Se}function Se(g){return te(g)?le(e,Ae,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Ae(g)}function Ae(g){return e.enter("htmlTextData"),o(g)}}const Hr={name:"labelEnd",resolveAll:Hu,resolveTo:Uu,tokenize:qu},zu={tokenize:Vu},Bu={tokenize:Wu},$u={tokenize:Gu};function Hu(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Be(e,0,e.length,n),e}function Uu(e,t){let n=e.length,r=0,i,l,o,a;for(;n--;)if(i=e[n][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const s={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",s,t],["enter",u,t]],a=Ue(a,e.slice(l+1,l+r+3)),a=Ue(a,[["enter",c,t]]),a=Ue(a,vn(t.parser.constructs.insideSpan.null,e.slice(l+r+4,o-3),t)),a=Ue(a,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),a=Ue(a,e.slice(o+1)),a=Ue(a,[["exit",s,t]]),Be(e,l,e.length,a),e}function qu(e,t,n){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(h){return l?l._inactive?f(h):(o=r.parser.defined.includes(qe(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):n(h)}function s(h){return h===40?e.attempt(zu,c,o?c:f)(h):h===91?e.attempt(Bu,c,o?u:f)(h):o?c(h):f(h)}function u(h){return e.attempt($u,c,f)(h)}function c(h){return t(h)}function f(h){return l._balanced=!0,n(h)}}function Vu(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return fe(f)?$t(e,l)(f):l(f)}function l(f){return f===41?c(f):Hl(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return fe(f)?$t(e,s)(f):c(f)}function a(f){return n(f)}function s(f){return f===34||f===39||f===40?ql(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function u(f){return fe(f)?$t(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Wu(e,t,n){const r=this;return i;function i(a){return Ul.call(r,e,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(qe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}function Gu(e,t,n){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"),t):n(l)}}const Ku={name:"labelStartImage",resolveAll:Hr.resolveAll,tokenize:Ju};function Ju(e,t,n){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):n(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Xu={name:"labelStartLink",resolveAll:Hr.resolveAll,tokenize:Yu};function Yu(e,t,n){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?n(o):t(o)}}const Gn={name:"lineEnding",tokenize:Qu};function Qu(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),le(e,t,"linePrefix")}}const hn={name:"thematicBreak",tokenize:Zu};function Zu(e,t,n){let r=0,i;return l;function l(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||U(u))?(e.exit("thematicBreak"),t(u)):n(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),te(u)?le(e,a,"whitespace")(u):a(u))}}const De={continuation:{tokenize:rc},exit:lc,name:"list",tokenize:nc},ec={partial:!0,tokenize:oc},tc={partial:!0,tokenize:ic};function nc(e,t,n){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 x=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:yr(p)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(hn,n,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return n(p)}function s(p){return yr(p)&&++o<10?(e.consume(p),s):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):n(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Xt,r.interrupt?n:c,e.attempt(ec,h,f))}
vendor: 5,358 bytes, line 6
6function c(p){return r.containerState.initialBlankLine=!0,l++,h(p)}function f(p){return te(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):n(p)}function h(p){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function rc(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Xt,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,le(e,t,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!te(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(tc,t,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,le(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function ic(e,t,n){const r=this;return le(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?t(l):n(l)}}function lc(e){e.exit(this.containerState.type)}function oc(e,t,n){const r=this;return le(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!te(l)&&o&&o[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}const Si={name:"setextUnderline",resolveTo:ac,tokenize:sc};function ac(e,t){let n=e.length,r,i,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);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,t]),e.splice(l+1,0,["exit",e[r][1],t]),e[r][1].end={...e[l][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function sc(e,t,n){const r=this;let i;return l;function l(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=u,o(u)):n(u)}function o(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),te(u)?le(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||U(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const uc={tokenize:cc};function cc(e){const t=this,n=e.attempt(Xt,r,e.attempt(this.parser.constructs.flowInitial,i,le(e,e.attempt(this.parser.constructs.flow,i,e.attempt(gu,i)),"linePrefix")));return n;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const fc={resolveAll:Wl()},pc=Vl("string"),hc=Vl("text");function Vl(e){return{resolveAll:Wl(e==="text"?dc:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],l=n.attempt(i,o,a);return o;function o(c){return u(c)?l(c):a(c)}function a(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),s}function s(c){return u(c)?(n.exit("data"),l(c)):(n.consume(c),s)}function u(c){if(c===null)return!0;const f=i[c];let h=-1;if(f)for(;++h<f.length;){const p=f[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Wl(e){return t;function t(n,r){let i=-1,l;for(;++i<=n.length;)l===void 0?n[i]&&n[i][1].type==="data"&&(l=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==l+2&&(n[l][1].end=n[i-1][1].end,n.splice(l+2,i-l-2),i=l+2),l=void 0);return e?e(n,r):n}}function dc(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let l=i.length,o=-1,a=0,s;for(;l--;){const u=i[l];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(u===-2)s=!0,a++;else if(u!==-1){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const u={type:n===e.length||s||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={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const gc={42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:Fl},mc={91:ku},xc={[-2]:Wn,[-1]:Wn,32:Wn},yc={35:Nu,42:hn,45:[Si,hn],60:Tu,61:Si,95:hn,96:wi,126:wi},bc={38:Bl,92:zl},kc={[-5]:Gn,[-4]:Gn,[-3]:Gn,33:Ku,38:Bl,42:br,60:[Xs,Mu],91:Xu,92:[Eu,zl],93:Hr,95:br,96:uu},wc={null:[br,fc]},vc={null:[42,95]},Sc={null:[]},Ec=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:vc,contentInitial:mc,disable:Sc,document:gc,flow:yc,flowInitial:xc,insideSpan:wc,string:bc,text:kc},Symbol.toStringTag,{value:"Module"}));function Cc(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 14,676 bytes, lines 6-8
6olumn:n&&n.column||1,offset:n&&n.offset||0};const i={},l=[];let o=[],a=[];const s={attempt:z(O),check:z(k),consume:N,enter:E,exit:F,interrupt:z(k,{interrupt:!0})},u={code:null,containerState:{},defineSkip:S,events:[],now:x,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:f};let c=t.tokenize.call(u,s);return t.resolveAll&&l.push(t),u;function f(P){return o=Ue(o,P),w(),o[o.length-1]!==null?[]:(W(t,0),u.events=vn(l,u.events,u),u.events)}function h(P,D){return Ac(p(P),D)}function p(P){return Nc(o,P)}function x(){const{_bufferIndex:P,_index:D,line:ne,column:M,offset:R}=r;return{_bufferIndex:P,_index:D,line:ne,column:M,offset:R}}function S(P){i[P.line]=P.column,v()}function w(){let P;for(;r._index<o.length;){const D=o[r._index];if(typeof D=="string")for(P=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<D.length;)y(D.charCodeAt(r._bufferIndex));else y(D)}}function y(P){c=c(P)}function N(P){U(P)?(r.line++,r.column=1,r.offset+=P===-3?2:1,v()):P!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=P}function E(P,D){const ne=D||{};return ne.type=P,ne.start=x(),u.events.push(["enter",ne,u]),a.push(ne),ne}function F(P){const D=a.pop();return D.end=x(),u.events.push(["exit",D,u]),D}function O(P,D){W(P,D.from)}function k(P,D){D.restore()}function z(P,D){return ne;function ne(M,R,re){let ce,Se,Ae,g;return Array.isArray(M)?Ee(M):"tokenize"in M?Ee([M]):ye(M);function ye(ge){return Ze;function Ze(Ne){const We=Ne!==null&&ge[Ne],Ge=Ne!==null&&ge.null,nt=[...Array.isArray(We)?We:We?[We]:[],...Array.isArray(Ge)?Ge:Ge?[Ge]:[]];return Ee(nt)(Ne)}}function Ee(ge){return ce=ge,Se=0,ge.length===0?re:m(ge[Se])}function m(ge){return Ze;function Ze(Ne){return g=G(),Ae=ge,ge.partial||(u.currentConstruct=ge),ge.name&&u.parser.constructs.disable.null.includes(ge.name)?$e():ge.tokenize.call(D?Object.assign(Object.create(u),D):u,s,Te,$e)(Ne)}}function Te(ge){return P(Ae,g),R}function $e(ge){return g.restore(),++Se<ce.length?m(ce[Se]):re}}}function W(P,D){P.resolveAll&&!l.includes(P)&&l.push(P),P.resolve&&Be(u.events,D,u.events.length-D,P.resolve(u.events.slice(D),u)),P.resolveTo&&(u.events=P.resolveTo(u.events,u))}function G(){const P=x(),D=u.previous,ne=u.currentConstruct,M=u.events.length,R=Array.from(a);return{from:M,restore:re};function re(){r=P,u.previous=D,u.currentConstruct=ne,u.events.length=M,a=R,v()}}function v(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Nc(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,l=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,l)];else{if(o=e.slice(n,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 Ac(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const l=e[n];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=` 7`;break}case-3:{o=`\r 8`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}function _c(e){const r={constructs:Dl([Ec,...(e||{}).extensions||[]]),content:i(Us),defined:[],document:i(Vs),flow:i(uc),lazy:{},string:i(pc),text:i(hc)};return r;function i(l){return o;function o(a){return Cc(r,l,a)}}}function Ic(e){for(;!$l(e););return e}const Ei=/[\0\t\n\r]/g;function Tc(){let e=1,t="",n=!0,r;return i;function i(l,o,a){const s=[];let u,c,f,h,p;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),f=0,t="",n&&(l.charCodeAt(0)===65279&&f++,n=void 0);f<l.length;){if(Ei.lastIndex=f,u=Ei.exec(l),h=u&&u.index!==void 0?u.index:l.length,p=l.charCodeAt(h),!u){t=l.slice(f);break}if(p===10&&f===h&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),f<h&&(s.push(l.slice(f,h)),e+=h-f),p){case 0:{s.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,s.push(-2);e++<c;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}f=h+1}return a&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const Rc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Lc(e){return e.replace(Rc,Pc)}function Pc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),l=i===120||i===88;return Ml(n.slice(l?2:1),l?16:10)}return $r(n)||e}const Gl={}.hasOwnProperty;function jc(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),Oc(n)(Ic(_c(n).document().write(Tc()(e,t,!0))))}function Oc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(en),autolinkProtocol:G,autolinkEmail:G,atxHeading:l(Qt),blockQuote:l(Ge),characterEscape:G,characterReference:G,codeFenced:l(nt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(nt,o),codeText:l(Nn,o),codeTextData:G,data:G,codeFlowValue:G,definition:l(An),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(_n),hardBreakEscape:l(Pt),hardBreakTrailing:l(Pt),htmlFlow:l(Zt,o),htmlFlowData:G,htmlText:l(Zt,o),htmlTextData:G,image:l(In),label:o,link:l(en),listItem:l(Tn),listItemValue:h,listOrdered:l(jt,f),listUnordered:l(jt),paragraph:l(Rn),reference:m,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(Qt),strong:l(Ln),thematicBreak:l(jn)},exit:{atxHeading:s(),atxHeadingSequence:O,autolink:s(),autolinkEmail:We,autolinkProtocol:Ne,blockQuote:s(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:$e,characterReferenceMarkerNumeric:$e,characterReferenceValue:ge,characterReference:Ze,codeFenced:s(w),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:x,codeFlowValue:v,codeIndented:s(y),codeText:s(R),codeTextData:v,data:v,definition:s(),definitionDestinationString:F,definitionLabelString:N,definitionTitleString:E,emphasis:s(),hardBreakEscape:s(D),hardBreakTrailing:s(D),htmlFlow:s(ne),htmlFlowData:v,htmlText:s(M),htmlTextData:v,image:s(ce),label:Ae,labelText:Se,lineEnding:P,link:s(re),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:Te,resourceDestinationString:g,resourceTitleString:ye,resource:Ee,setextHeading:s(W),setextHeadingLineSequence:z,setextHeadingText:k,strong:s(),thematicBreak:s()}};Kl(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(C){let T={type:"root",children:[]};const K={stack:[T],tokenStack:[],config:t,enter:a,exit:u,buffer:o,resume:c,data:n},Q=[];let oe=-1;for(;++oe<C.length;)if(C[oe][1].type==="listOrdered"||C[oe][1].type==="listUnordered")if(C[oe][0]==="enter")Q.push(oe);else{const Pe=Q.pop();oe=i(C,Pe,oe)}for(oe=-1;++oe<C.length;){const Pe=t[C[oe][0]];Gl.call(Pe,C[oe][1].type)&&Pe[C[oe][1].type].call(Object.assign({sliceSerialize:C[oe][2].sliceSerialize},K),C[oe][1])}if(K.tokenStack.length>0){const Pe=K.tokenStack[K.tokenStack.length-1];(Pe[1]||Ci).call(K,void 0,Pe[0])}for(T.position={start:st(C.length>0?C[0][1].start:{line:1,column:1,offset:0}),end:st(C.length>0?C[C.length-2][1].end:{line:1,column:1,offset:0})},oe=-1;++oe<t.transforms.length;)T=t.transforms[oe](T)||T;return T}function i(C,T,K){let Q=T-1,oe=-1,Pe=!1,be,Fe,rt,it;for(;++Q<=K;){const je=C[Q];switch(je[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{je[0]==="enter"?oe++:oe--,it=void 0;break}case"lineEndingBlank":{je[0]==="enter"&&(be&&!it&&!oe&&!rt&&(rt=Q),it=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:it=void 0}if(!oe&&je[0]==="enter"&&je[1].type==="listItemPrefix"||oe===-1&&je[0]==="exit"&&(je[1].type==="listUnordered"||je[1].type==="listOrdered")){if(be){let lt=Q;for(Fe=void 0;lt--;){const b=C[lt];if(b[1].type==="lineEnding"||b[1].type==="lineEndingBlank"){if(b[0]==="exit")continue;Fe&&(C[Fe][1].type="lineEndingBlank",Pe=!0),b[1].type="lineEnding",Fe=lt}else if(!(b[1].type==="linePrefix"||b[1].type==="blockQuotePrefix"||b[1].type==="blockQuotePrefixWhitespace"||b[1].type==="blockQuoteMarker"||b[1].type==="listItemIndent"))break}rt&&(!Fe||rt<Fe)&&(be._spread=!0),be.end=Object.assign({},Fe?C[Fe][1].start:je[1].end),C.splice(Fe||Q,0,["exit",be,je[2]]),Q++,K++}if(je[1].type==="listItemPrefix"){const lt={type:"listItem",_spread:!1,start:Object.assign({},je[1].start),end:void 0};be=lt,C.splice(Q,0,["enter",lt,je[2]]),Q++,K++,rt=void 0,it=!0}}}return C[T][1]._spread=Pe,K}function l(C,T){return K;function K(Q){a.call(this,C(Q),Q),T&&T.call(this,Q)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(C,T,K){this.stack[this.stack.length-1].children.push(C),this.stack.push(C),this.tokenStack.push([T,K||void 0]),C.position={start:st(T.start),end:void 0}}function s(C){return T;function T(K){C&&C.call(this,K),u.call(this,K)}}function u(C,T){const K=this.stack.pop(),Q=this.tokenStack.pop();if(Q)Q[0].type!==C.type&&(T?T.call(this,C,Q[0]):(Q[1]||Ci).call(this,C,Q[0]));else throw new Error("Cannot close `"+C.type+"` ("+Bt({start:C.start,end:C.end})+"): itâs not open");K.position.end=st(C.end)}function c(){return Br(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function h(C){if(this.data.expectingFirstListItemValue){const T=this.stack[this.stack.length-2];T.start=Number.parseInt(this.sliceSerialize(C),10),this.data.expectingFirstListItemValue=void 0}}function p(){const C=this.resume(),T=this.stack[this.stack.length-1];T.lang=C}function x(){const C=this.resume(),T=this.stack[this.stack.length-1];T.meta=C}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C.replace(/(\r?\n|\r)$/g,"")}function N(C){const T=this.resume(),K=this.stack[this.stack.length-1];K.label=T,K.identifier=qe(this.sliceSerialize(C)).toLowerCase()}function E(){const C=this.resume(),T=this.stack[this.stack.length-1];T.title=C}function F(){const C=this.resume(),T=this.stack[this.stack.length-1];T.url=C}function O(C){const T=this.stack[this.stack.length-1];if(!T.depth){const K=this.sliceSerialize(C).length;T.depth=K}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function z(C){const T=this.stack[this.stack.length-1];T.depth=this.sliceSerialize(C).codePointAt(0)===61?1:2}function W(){this.data.setextHeadingSlurpLineEnding=void 0}function G(C){const K=this.stack[this.stack.length-1].children;let Q=K[K.length-1];(!Q||Q.type!=="text")&&(Q=Pn(),Q.position={start:st(C.start),end:void 0},K.push(Q)),this.stack.push(Q)}function v(C){const T=this.stack.pop();T.value+=this.sliceSerialize(C),T.position.end=st(C.end)}function P(C){const T=this.stack[this.stack.length-1];if(this.data.atHardBreak){const K=T.children[T.children.length-1];K.position.end=st(C.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(T.type)&&(G.call(this,C),v.call(this,C))}function D(){this.data.atHardBreak=!0}function ne(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C}function M(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C}function R(){const C=this.resume(),T=this.stack[this.stack.length-1];T.value=C}function re(){const C=this.stack[this.stack.length-1];if(this.data.inReference){const T=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=T,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function ce(){const C=this.stack[this.stack.length-1];if(this.data.inReference){const T=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=T,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function Se(C){const T=this.sliceSerialize(C),K=this.stack[this.stack.length-2];K.label=Lc(T),K.identifier=qe(T).toLowerCase()}function Ae(){const C=this.stack[this.stack.length-1],T=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){const Q=C.children;K.children=Q}else K.alt=T}function g(){const C=this.resume(),T=this.stack[this.stack.length-1];T.url=C}function ye(){const C=this.resume(),T=this.stack[this.stack.length-1];T.title=C}function Ee(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function Te(C){const T=this.resume(),K=this.stack[this.stack.length-1];K.label=T,K.identifier=qe(this.sliceSerialize(C)).toLowerCase(),this.data.referenceType="full"}function $e(C){this.data.characterReferenceType=C.type}function ge(C){const T=this.sliceSerialize(C),K=this.data.characterReferenceType;let Q;K?(Q=Ml(T,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Q=$r(T);const oe=this.stack[this.stack.length-1];oe.value+=Q}function Ze(C){const T=this.stack.pop();T.position.end=st(C.end)}function Ne(C){v.call(this,C);const T=this.stack[this.stack.length-1];T.url=this.sliceSerialize(C)}function We(C){v.call(this,C);const T=this.stack[this.stack.length-1];T.url="mailto:"+this.sliceSerialize(C)}function Ge(){return{type:"blockquote",children:[]}}function nt(){return{type:"code",lang:null,meta:null,value:""}}function Nn(){return{type:"inlineCode",value:""}}function An(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function _n(){return{type:"emphasis",children:[]}}function Qt(){return{type:"heading",depth:0,children:[]}}function Pt(){return{type:"break"}}function Zt(){return{type:"html",value:""}}function In(){return{type:"image",title:null,url:"",alt:null}}function en(){return{type:"link",title:null,url:"",children:[]}}function jt(C){return{type:"list",ordered:C.type==="listOrdered",start:null,spread:C._spread,children:[]}}function Tn(C){return{type:"listItem",spread:C._spread,checked:null,children:[]}}function Rn(){return{type:"paragraph",children:[]}}function Ln(){return{type:"strong",children:[]}}function Pn(){return{type:"text",value:""}}function jn(){return{type:"thematicBreak"}}}function st(e){return{line:e.line,column:e.column,offset:e.offset}}function Kl(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Kl(e,r):Dc(e,r)}}function Dc(e,t){let n;for(n in t)if(Gl.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Ci(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Bt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Bt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Bt({start:t.start,end:t.end}
vendor: 4,414 bytes, lines 8-12
8)+") is still open")}function Mc(e){const t=this;t.parser=n;function n(r){return jc(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Fc(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function zc(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 9`}]}function Bc(e,t){const n=t.value?t.value+` 10`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l}function $c(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hc(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Uc(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Rt(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 s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function qc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Vc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Jl(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),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 Wc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Jl(e,t);const i={src:Rt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,l),e.applyData(t,l)}function Gc(e,t){const n={src:Rt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Kc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Jc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Jl(e,t);const i={href:Rt(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function Xc(e,t){const n={href:Rt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Yc(e,t,n){const r=e.all(t),i=n?Qc(n):Xl(t),l={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(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:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const c=r[a];(i||a!==0||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:` 11`}),c.type==="element"&&c.tagName==="p"&&!i?o.push(...c.children):o.push(c)}const s=r[r.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&o.push({type:"text",value:` 12`});const u={type:"element",tagName:"li",properties:l,children:o};
vendor: 5,214 bytes, line 12
12return e.patch(t,u),e.applyData(t,u)}function Qc(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Xl(n[r])}return t}function Xl(e){const t=e.spread;return t??e.children.length>1}function Zc(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.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")){n.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)}function ef(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tf(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function nf(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rf(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=Dr(t.children[1]),s=Il(t.children[t.children.length-1]);a&&s&&(o.position={start:a,end:s}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,l),e.applyData(t,l)}function lf(e,t,n){const r=n?n.children:void 0,l=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,a=o?o.length:t.children.length;let s=-1;const u=[];for(;++s<a;){const f=t.children[s],h={},p=o?o[s]:void 0;p&&(h.align=p);let x={type:"element",tagName:l,properties:h,children:[]};f&&(x.children=e.all(f),e.patch(f,x),x=e.applyData(f,x)),u.push(x)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function of(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Ni=9,Ai=32;function af(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const l=[];for(;r;)l.push(_i(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return l.push(_i(t.slice(i),i>0,!1)),l.join("")}function _i(e,t,n){let r=0,i=e.length;if(t){let l=e.codePointAt(r);for(;l===Ni||l===Ai;)r++,l=e.codePointAt(r)}if(n){let l=e.codePointAt(i-1);for(;l===Ni||l===Ai;)i--,l=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function sf(e,t){const n={type:"text",value:af(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function uf(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const cf={blockquote:Fc,break:zc,code:Bc,delete:$c,emphasis:Hc,footnoteReference:Uc,heading:qc,html:Vc,imageReference:Wc,image:Gc,inlineCode:Kc,linkReference:Jc,link:Xc,listItem:Yc,list:Zc,paragraph:ef,root:tf,strong:nf,table:rf,tableCell:of,tableRow:lf,text:sf,thematicBreak:uf,toml:an,yaml:an,definition:an,footnoteDefinition:an};function an(){}const Yl=-1,Sn=0,Ht=1,xn=2,Ur=3,qr=4,Vr=5,Wr=6,Ql=7,Zl=8,Ii=typeof self=="object"?self:globalThis,ff=(e,t)=>{const n=(i,l)=>(e.set(l,i),i),r=i=>{if(e.has(i))return e.get(i);const[l,o]=t[i];switch(l){case Sn:case Yl:return n(o,i);case Ht:{const a=n([],i);for(const s of o)a.push(r(s));return a}case xn:{const a=n({},i);for(const[s,u]of o)a[r(s)]=r(u);return a}case Ur:return n(new Date(o),i);case qr:{const{source:a,flags:s}=o;return n(new RegExp(a,s),i)}case Vr:{const a=n(new Map,i);for(const[s,u]of o)a.set(r(s),r(u));return a}case Wr:{const a=n(new Set,i);for(const s of o)a.add(r(s));return a}case Ql:{const{name:a,message:s}=o;return n(new Ii[a](s),i)}case Zl:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:a}=new Uint8Array(o);return n(new DataView(a),o)}}return n(new Ii[l](o),i)};return r},Ti=e=>ff(new Map,e)(0),Et="",{toString:pf}={},{keys:hf}=Object,Ft=e=>{const t=typeof e;if(t!=="object"||!e)return[Sn,t];const n=pf.call(e).slice(8,-1);switch(n){case"Array":return[Ht,Et];case"Object":return[xn,Et];case"Date":return[Ur,Et];case"RegExp":return[qr,Et];case"Map":return[Vr,Et];case"Set":return[Wr,Et];case"DataView":return[Ht,n]}return n.includes("Array")?[Ht,n]:n.includes("Error")?[Ql,n]:[xn,n]},sn=([e,t])=>e===Sn&&(t==="function"||t==="symbol"),df=(e,t,n,r)=>{const i=(o,a)=>{const s=r.push(o)-1;return n.set(a,s),s},l=o=>{if(n.has(o))return n.get(o);let[a,s]=Ft(o);switch(a){case Sn:{let c=o;switch(s){case"bigint":a=Zl,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);c=null;break;case"undefined":return i([Yl],o)}return i([a,c],o)}case Ht:{if(s){let h=o;return s==="DataView"?h=new Uint8Array(o.buffer):s==="ArrayBuffer"&&(h=new Uint8Array(o)),i([s,[...h]],o)}const c=[],f=i([a,c],o);for(const h of o)c.push(l(h));return f}case xn:{if(s)switch(s){case"BigInt":return i([s,o.toString()],o);case"Boolean":case"Number":case"String":return i([s,o.valueOf()],o)}if(t&&"toJSON"in o)return l(o.toJSON());const c=[],f=i([a,c],o);
vendor: 2,426 bytes, lines 12-13
12for(const h of hf(o))(e||!sn(Ft(o[h])))&&c.push([l(h),l(o[h])]);return f}case Ur:return i([a,o.toISOString()],o);case qr:{const{source:c,flags:f}=o;return i([a,{source:c,flags:f}],o)}case Vr:{const c=[],f=i([a,c],o);for(const[h,p]of o)(e||!(sn(Ft(h))||sn(Ft(p))))&&c.push([l(h),l(p)]);return f}case Wr:{const c=[],f=i([a,c],o);for(const h of o)(e||!sn(Ft(h)))&&c.push(l(h));return f}}const{message:u}=o;return i([a,{name:s,message:u}],o)};return l},Ri=(e,{json:t,lossy:n}={})=>{const r=[];return df(!(t||n),!!t,new Map,r)(e),r},yn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ti(Ri(e,t)):structuredClone(e):(e,t)=>Ti(Ri(e,t));function gf(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function mf(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function xf(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||gf,r=e.options.footnoteBackLabel||mf,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let s=-1;for(;++s<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[s]);if(!u)continue;const c=e.all(u),f=String(u.identifier).toUpperCase(),h=Rt(f.toLowerCase());let p=0;const x=[],S=e.footnoteCounts.get(f);for(;S!==void 0&&++p<=S;){x.length>0&&x.push({type:"text",value:" "});let N=typeof n=="string"?n:n(s,p);typeof N=="string"&&(N={type:"text",value:N}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,p),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}const w=c[c.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const N=w.children[w.children.length-1];N&&N.type==="text"?N.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...x)}else c.push(...x);const y={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(c,!0)};e.patch(u,y),a.push(y)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...yn(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 13`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
vendor: 4,926 bytes, lines 13-18
13,{type:"text",value:` 14`}]}}const En=(function(e){if(e==null)return wf;if(typeof e=="function")return Cn(e);if(typeof e=="object")return Array.isArray(e)?yf(e):bf(e);if(typeof e=="string")return kf(e);throw new Error("Expected function, string, or object as test")});function yf(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=En(e[n]);return Cn(r);function r(...i){let l=-1;for(;++l<t.length;)if(t[l].apply(this,i))return!0;return!1}}function bf(e){const t=e;return Cn(n);function n(r){const i=r;let l;for(l in e)if(i[l]!==t[l])return!1;return!0}}function kf(e){return Cn(t);function t(n){return n&&n.type===e}}function Cn(e){return t;function t(n,r,i){return!!(vf(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function wf(){return!0}function vf(e){return e!==null&&typeof e=="object"&&"type"in e}const eo=[],Sf=!0,kr=!1,Ef="skip";function to(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const l=En(i),o=r?-1:1;a(e,void 0,[])();function a(s,u,c){const f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){const p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(s.type+(p?"<"+p+">":""))+")"})}return h;function h(){let p=eo,x,S,w;if((!t||l(s,u,c[c.length-1]||void 0))&&(p=Cf(n(s,c)),p[0]===kr))return p;if("children"in s&&s.children){const y=s;if(y.children&&p[0]!==Ef)for(S=(r?y.children.length:-1)+o,w=c.concat(y);S>-1&&S<y.children.length;){const N=y.children[S];if(x=a(N,S,w)(),x[0]===kr)return x;S=typeof x[1]=="number"?x[1]:S+o}}return p}}}function Cf(e){return Array.isArray(e)?e:typeof e=="number"?[Sf,e]:e==null?eo:[e]}function Gr(e,t,n,r){let i,l,o;typeof t=="function"&&typeof n!="function"?(l=void 0,o=t,i=n):(l=t,o=n,i=r),to(e,l,a,i);function a(s,u){const c=u[u.length-1],f=c?c.children.indexOf(s):void 0;return o(s,f,c)}}const wr={}.hasOwnProperty,Nf={};function Af(e,t){const n=t||Nf,r=new Map,i=new Map,l=new Map,o={...cf,...n.handlers},a={all:u,applyData:If,definitionById:r,footnoteById:i,footnoteCounts:l,footnoteOrder:[],handlers:o,one:s,options:n,patch:_f,wrap:Rf};return Gr(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,h=String(c.identifier).toUpperCase();f.has(h)||f.set(h,c)}}),a;function s(c,f){const h=c.type,p=a.handlers[h];if(wr.call(a.handlers,h)&&p)return p(a,c,f);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in c){const{children:S,...w}=c,y=yn(w);return y.children=a.all(c),y}return yn(c)}return(a.options.unknownHandler||Tf)(a,c,f)}function u(c){const f=[];if("children"in c){const h=c.children;let p=-1;for(;++p<h.length;){const x=a.one(h[p],c);if(x){if(p&&h[p-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=Li(x.value)),!Array.isArray(x)&&x.type==="element")){const S=x.children[0];S&&S.type==="text"&&(S.value=Li(S.value))}Array.isArray(x)?f.push(...x):f.push(x)}}}return f}}function _f(e,t){e.position&&(t.position=gs(e))}function If(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,l=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&l&&Object.assign(n.properties,yn(l)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Tf(e,t){const n=t.data||{},r="value"in t&&!(wr.call(n,"hProperties")||wr.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Rf(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 15`});++r<e.length;)r&&n.push({type:"text",value:` 16`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 17`}),n}function Li(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Pi(e,t){const n=Af(e,t),r=n.one(e,void 0),i=xf(n),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:` 18`},i),l}function Lf(e,t){return e&&"run"in e?async function(n,r){const i=Pi(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Pi(n,{file:r,...e||t})}}function ji(e){if(e)throw e}var Kn,Oi;function Pf(){if(Oi)return Kn;Oi=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(u){return typeof Array.isArray=="function"?Array.isArray(u):t.call(u)==="[object Array]"},l=function(u){if(!u||t.call(u)!=="[object Object]")return!1;var c=e.call(u,"constructor"),f=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!c&&!f)return!1;var h;for(h in u);return typeof h>"u"||e.call(u,h)},o=function(u,c){n&&c.name==="__proto__"?n(u,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):u[c.name]=c.newValue}
vendor: 10,062 bytes, line 18
18,a=function(u,c){if(c==="__proto__")if(e.call(u,c)){if(r)return r(u,c).value}else return;return u[c]};return Kn=function s(){var u,c,f,h,p,x,S=arguments[0],w=1,y=arguments.length,N=!1;for(typeof S=="boolean"&&(N=S,S=arguments[1]||{},w=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});w<y;++w)if(u=arguments[w],u!=null)for(c in u)f=a(S,c),h=a(u,c),S!==h&&(N&&h&&(l(h)||(p=i(h)))?(p?(p=!1,x=f&&i(f)?f:[]):x=f&&l(f)?f:{},o(S,{name:c,newValue:s(N,x,h)})):typeof h<"u"&&o(S,{name:c,newValue:h}));return S},Kn}var jf=Pf();const Jn=It(jf);function vr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Of(){const e=[],t={run:n,use:r};return t;function n(...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(s,...u){const c=e[++l];let f=-1;if(s){o(s);return}for(;++f<i.length;)(u[f]===null||u[f]===void 0)&&(u[f]=i[f]);i=u,c?Df(c,a)(...u):o(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Df(e,t){let n;return r;function r(...o){const a=e.length>o.length;let s;a&&o.push(i);try{s=e.apply(this,o)}catch(u){const c=u;if(a&&n)throw c;return i(c)}a||(s&&s.then&&typeof s.then=="function"?s.then(l,i):s instanceof Error?i(s):l(s))}function i(o,...a){n||(n=!0,t(o,...a))}function l(o){i(null,o)}}const Ye={basename:Mf,dirname:Ff,extname:zf,join:Bf,sep:"/"};function Mf(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Yt(e);let n=0,r=-1,i=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){n=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){n=i+1;break}}else o<0&&(l=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Ff(e){if(Yt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function zf(e){Yt(e);let t=e.length,n=-1,r=0,i=-1,l=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||n<0||l===0||l===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Bf(...e){let t=-1,n;for(;++t<e.length;)Yt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":$f(n)}function $f(e){Yt(e);const t=e.codePointAt(0)===47;let n=Hf(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Hf(e,t){let n="",r=0,i=-1,l=0,o=-1,a,s;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(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=o,l=0;continue}}else if(n.length>0){n="",r=0,i=o,l=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,l=0}else a===46&&l>-1?l++:l=-1}return n}function Yt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Uf={cwd:qf};function qf(){return"/"}function Sr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Vf(e){if(typeof e=="string")e=new URL(e);else if(!Sr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Wf(e)}function Wf(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Xn=["history","path","basename","stem","extname","dirname"];class no{constructor(t){let n;t?Sr(t)?n={path:t}:typeof t=="string"||Gf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Uf.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Xn.length;){const l=Xn[r];l in n&&n[l]!==void 0&&n[l]!==null&&(this[l]=l==="history"?[...n[l]]:n[l])}let i;for(i in n)Xn.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ye.basename(this.path):void 0}set basename(t){Qn(t,"basename"),Yn(t,"basename"),this.path=Ye.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ye.dirname(this.path):void 0}set dirname(t){Di(this.basename,"dirname"),this.path=Ye.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ye.extname(this.path):void 0}set extname(t){if(Yn(t,"extname"),Di(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ye.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Sr(t)&&(t=Vf(t)),Qn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ye.basename(this.path,this.extname):void 0}set stem(t){Qn(t,"stem"),Yn(t,"stem"),this.path=Ye.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Ie(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Yn(e,t){if(e&&e.includes(Ye.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ye.sep+"`")}function Qn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Di(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Gf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Kf=(function(e){const r=this.constructor.prototype,i=r[e],l=function(){return i.apply(l,arguments)};return Object.setPrototypeOf(l,r),l}),Jf={}.hasOwnProperty;class Kr extends Kf{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=Of()}copy(){const t=new Kr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Jn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(tr("data",this.frozen),this.namespace[t]=n,this):Jf.call(this.namespace,t)&&this.namespace[t]||void 0:t?(tr("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=un(t),r=this.parser||this.Parser;return Zn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Zn("process",this.parser||this.Parser),er("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(l,o){const a=un(t),s=r.parse(a);r.run(s,a,function(c,f,h){if(c||!f||!h)return u(c);const p=f,x=r.stringify(p,h);Qf(x)?h.value=x:h.result=x,u(c,h)});function u(c,f){c||!f?o(c):l?l(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Zn("processSync",this.parser||this.Parser),er("processSync",this.compiler||this.Compiler),this.process(t,i),Fi("processSync","process",n),r;function i(l,o){n=!0,ji(l),r=o}}run(t,n,r){Mi(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?l(void 0,r):new Promise(l);function l(o,a){const s=un(n);i.run(t,s,u);function u(c,f,h){const p=f||t;c?a(c):o?o(p):r(void 0,p,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,l),Fi("runSync","run",r),i;function l(o,a){ji(o),i=a,r=!0}}stringify(t,n){this.freeze();const r=un(n),i=this.compiler||this.Compiler;return er("stringify",i),Mi(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(tr("use",this.frozen),t!=null)if(typeof t=="function")s(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...f]=u;s(c,f)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(u.plugins),u.settings&&(i.settings=Jn(!0,i.settings,u.settings))}function a(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const f=u[c];l(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,c){let f=-1,h=-1;for(;++f<r.length;)if(r[f][0]===u){h=f;break}if(h===-1)r.push([u,...c]);else if(c.length>0){let[p,...x]=c;const S=r[h][1];vr(S)&&vr(p)&&(p=Jn(!0,S,p)),r[h]=[u,p,...x]}}}}
vendor: 4,156 bytes, line 18
18const Xf=new Kr().freeze();function Zn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function er(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function tr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Mi(e){if(!vr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Fi(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function un(e){return Yf(e)?e:new no(e)}function Yf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Qf(e){return typeof e=="string"||Zf(e)}function Zf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ep="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",zi=[],Bi={allowDangerousHtml:!0},tp=/^(https?|ircs?|mailto|xmpp)$/i,np=[{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 rp(e){const t=ip(e),n=lp(e);return op(t.runSync(t.parse(n),n),e)}function ip(e){const t=e.rehypePlugins||zi,n=e.remarkPlugins||zi,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Bi}:Bi;return Xf().use(Mc).use(n).use(Lf,r).use(t)}function lp(e){const t=e.children||"",n=new no;return typeof t=="string"&&(n.value=t),n}function op(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,l=t.disallowedElements,o=t.skipHtml,a=t.unwrapDisallowed,s=t.urlTransform||ap;for(const c of np)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+ep+c.id,void 0);return Gr(e,u),ks(e,{Fragment:d.Fragment,components:i,ignoreInvalidStyle:!0,jsx:d.jsx,jsxs:d.jsxs,passKeys:!0,passNode:!0});function u(c,f,h){if(c.type==="raw"&&h&&typeof f=="number")return o?h.children.splice(f,1):h.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let p;for(p in Vn)if(Object.hasOwn(Vn,p)&&Object.hasOwn(c.properties,p)){const x=c.properties[p],S=Vn[p];(S===null||S.includes(c.tagName))&&(c.properties[p]=s(String(x||""),p,c))}}if(c.type==="element"){let p=n?!n.includes(c.tagName):l?l.includes(c.tagName):!1;if(!p&&r&&typeof f=="number"&&(p=!r(c,f,h)),p&&h&&typeof f=="number")return a&&c.children?h.children.splice(f,1,...c.children):h.children.splice(f,1),f}}}function ap(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||tp.test(e.slice(0,t))?e:""}function $i(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function sp(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function up(e,t,n){const i=En((n||{}).ignore||[]),l=cp(t);let o=-1;for(;++o<l.length;)to(e,"text",a);function a(u,c){let f=-1,h;for(;++f<c.length;){const p=c[f],x=h?h.children:void 0;if(i(p,x?x.indexOf(p):void 0,h))return;h=p}if(h)return s(u,c)}
vendor: 4,901 bytes, lines 18-19
18function s(u,c){const f=c[c.length-1],h=l[o][0],p=l[o][1];let x=0;const w=f.children.indexOf(u);let y=!1,N=[];h.lastIndex=0;let E=h.exec(u.value);for(;E;){const F=E.index,O={index:E.index,input:E.input,stack:[...c,u]};let k=p(...E,O);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?h.lastIndex=F+1:(x!==F&&N.push({type:"text",value:u.value.slice(x,F)}),Array.isArray(k)?N.push(...k):k&&N.push(k),x=F+E[0].length,y=!0),!h.global)break;E=h.exec(u.value)}return y?(x<u.value.length&&N.push({type:"text",value:u.value.slice(x)}),f.children.splice(w,1,...N)):N=[u],w+N.length}}function cp(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([fp(i[0]),pp(i[1])])}return t}function fp(e){return typeof e=="string"?new RegExp(sp(e),"g"):e}function pp(e){return typeof e=="function"?e:function(){return e}}const nr="phrasing",rr=["autolink","link","image","label"];function hp(){return{transforms:[kp],enter:{literalAutolink:gp,literalAutolinkEmail:ir,literalAutolinkHttp:ir,literalAutolinkWww:ir},exit:{literalAutolink:bp,literalAutolinkEmail:yp,literalAutolinkHttp:mp,literalAutolinkWww:xp}}}function dp(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nr,notInConstruct:rr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nr,notInConstruct:rr},{character:":",before:"[ps]",after:"\\/",inConstruct:nr,notInConstruct:rr}]}}function gp(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ir(e){this.config.enter.autolinkProtocol.call(this,e)}function mp(e){this.config.exit.autolinkProtocol.call(this,e)}function xp(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function yp(e){this.config.exit.autolinkEmail.call(this,e)}function bp(e){this.exit(e)}function kp(e){up(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wp],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),vp]],{ignore:["link","linkReference"]})}function wp(e,t,n,r,i){let l="";if(!ro(i)||(/^w/i.test(t)&&(n=t+n,t="",l="http://"),!Sp(n)))return!1;const o=Ep(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:l+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function vp(e,t,n,r){return!ro(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Sp(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Ep(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=$i(e,"(");let l=$i(e,")");for(;r!==-1&&i>l;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),l++;return[e,n]}function ro(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||yt(n)||wn(n))&&(!t||n!==47)}io.peek=Pp;function Cp(){this.buffer()}function Np(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ap(){this.buffer()}function _p(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ip(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qe(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Tp(e){this.exit(e)}function Rp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qe(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Lp(e){this.exit(e)}function Pp(){return"["}function io(e,t,n,r){const i=n.createTracker(r);let l=i.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return l+=i.move(n.safe(n.associationId(e),{after:"]",before:l})),a(),o(),l+=i.move("]"),l}function jp(){return{enter:{gfmFootnoteCallString:Cp,gfmFootnoteCall:Np,gfmFootnoteDefinitionLabelString:Ap,gfmFootnoteDefinition:_p},exit:{gfmFootnoteCallString:Ip,gfmFootnoteCall:Tp,gfmFootnoteDefinitionLabelString:Rp,gfmFootnoteDefinition:Lp}}}function Op(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:io},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,l,o){const a=l.createTracker(o);let s=a.move("[^");const u=l.enter("footnoteDefinition"),c=l.enter("label");return s+=a.move(l.safe(l.associationId(r),{before:s,after:"]"})),c(),s+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),s+=a.move((t?` 19`:" ")+l.indentLines(l.containerFlow(r,a.current()),t?lo:Dp))),u(),s}}function Dp(e,t,n){return t===0?e:lo(e,t,n)}function lo(e,t,n){return(n?"":" ")+e}const Mp=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];oo.peek=Hp;
vendor: 11,767 bytes, lines 19-31
19function Fp(){return{canContainEols:["delete"],enter:{strikethrough:Bp},exit:{strikethrough:$p}}}function zp(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Mp}],handlers:{delete:oo}}}function Bp(e){this.enter({type:"delete",children:[]},e)}function $p(e){this.exit(e)}function oo(e,t,n,r){const i=n.createTracker(r),l=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),l(),o}function Hp(){return"~"}function Up(e){return e.length}function qp(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Up,l=[],o=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const S=[],w=[];let y=-1;for(e[c].length>u&&(u=e[c].length);++y<e[c].length;){const N=Vp(e[c][y]);if(n.alignDelimiters!==!1){const E=i(N);w[y]=E,(s[y]===void 0||E>s[y])&&(s[y]=E)}S.push(N)}o[c]=S,a[c]=w}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<u;)l[f]=Hi(r[f]);else{const S=Hi(r);for(;++f<u;)l[f]=S}f=-1;const h=[],p=[];for(;++f<u;){const S=l[f];let w="",y="";S===99?(w=":",y=":"):S===108?w=":":S===114&&(y=":");let N=n.alignDelimiters===!1?1:Math.max(1,s[f]-w.length-y.length);const E=w+"-".repeat(N)+y;n.alignDelimiters!==!1&&(N=w.length+N+y.length,N>s[f]&&(s[f]=N),p[f]=N),h[f]=E}o.splice(1,0,h),a.splice(1,0,p),c=-1;const x=[];for(;++c<o.length;){const S=o[c],w=a[c];f=-1;const y=[];for(;++f<u;){const N=S[f]||"";let E="",F="";if(n.alignDelimiters!==!1){const O=s[f]-(w[f]||0),k=l[f];k===114?E=" ".repeat(O):k===99?O%2?(E=" ".repeat(O/2+.5),F=" ".repeat(O/2-.5)):(E=" ".repeat(O/2),F=E):F=" ".repeat(O)}n.delimiterStart!==!1&&!f&&y.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&N==="")&&(n.delimiterStart!==!1||f)&&y.push(" "),n.alignDelimiters!==!1&&y.push(E),y.push(N),n.alignDelimiters!==!1&&y.push(F),n.padding!==!1&&y.push(" "),(n.delimiterEnd!==!1||f!==u-1)&&y.push("|")}x.push(n.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return x.join(` 20`)}function Vp(e){return e==null?"":String(e)}function Hi(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Wp(e,t,n,r){const i=n.enter("blockquote"),l=n.createTracker(r);l.move("> "),l.shift(2);const o=n.indentLines(n.containerFlow(e,l.current()),Gp);return i(),o}function Gp(e,t,n){return">"+(n?"":" ")+e}function Kp(e,t){return Ui(e,t.inConstruct,!0)&&!Ui(e,t.notInConstruct,!1)}function Ui(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function qi(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===` 21`&&Kp(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\ 22`}function Jp(e,t){const n=String(e);let r=n.indexOf(t),i=r,l=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++l>o&&(o=l):l=1,i=r+t.length,r=n.indexOf(t,i);return o}function Xp(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Yp(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Qp(e,t,n,r){const i=Yp(n),l=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Xp(e,n)){const f=n.enter("codeIndented"),h=n.indentLines(l,Zp);return f(),h}const a=n.createTracker(r),s=i.repeat(Math.max(Jp(l,i)+1,3)),u=n.enter("codeFenced");let c=a.move(s);if(e.lang){const f=n.enter(`codeFencedLang${o}`);c+=a.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...a.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${o}`);c+=a.move(" "),c+=a.move(n.safe(e.meta,{before:c,after:` 23`,encode:["`"],...a.current()})),f()}return c+=a.move(` 24`),l&&(c+=a.move(l+` 25`)),c+=a.move(s),u(),c}function Zp(e,t,n){return(n?"":" ")+e}function Jr(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function eh(e,t,n,r){const i=Jr(n),l=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const s=n.createTracker(r);let u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(a=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":` 26`,...s.current()}))),a(),e.title&&(a=n.enter(`title${l}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),a()),o(),u}function th(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Wt(e){return"&#x"+e.toString(16).toUpperCase()+";"}function bn(e,t,n){const r=_t(e),i=_t(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}ao.peek=nh;function ao(e,t,n,r){const i=th(n),l=n.enter("emphasis"),o=n.createTracker(r),a=o.move(i);let s=o.move(n.containerPhrasing(e,{after:i,before:a,...o.current()}));const u=s.charCodeAt(0),c=bn(r.before.charCodeAt(r.before.length-1),u,i);c.inside&&(s=Wt(u)+s.slice(1));const f=s.charCodeAt(s.length-1),h=bn(r.after.charCodeAt(0),f,i);h.inside&&(s=s.slice(0,-1)+Wt(f));const p=o.move(i);return l(),n.attentionEncodeSurroundingInfo={after:h.outside,before:c.outside},a+s+p}function nh(e,t,n){return n.options.emphasis||"*"}function rh(e,t){let n=!1;return Gr(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,kr}),!!((!e.depth||e.depth<3)&&Br(e)&&(t.options.setext||n))}function ih(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),l=n.createTracker(r);if(rh(e,n)){const c=n.enter("headingSetext"),f=n.enter("phrasing"),h=n.containerPhrasing(e,{...l.current(),before:` 27`,after:` 28`});return f(),c(),h+` 29`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(` 30`))+1))}const o="#".repeat(i),a=n.enter("headingAtx"),s=n.enter("phrasing");l.move(o+" ");let u=n.containerPhrasing(e,{before:"# ",after:` 31`,...l.current()});return/^[\t ]/.test(u)&&(u=Wt(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,n.options.closeAtx&&(u+=" "+o),s(),a(),u}so.peek=lh;function so(e){return e.value||""}function lh(){return"<"}uo.peek=oh;function uo(e,t,n,r){const i=Jr(n),l=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const s=n.createTracker(r);let u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(a=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=n.enter(`title${l}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),a()),u+=s.move(")"),o(),u}function oh(){return"!"}co.peek=ah;function co(e,t,n,r){const i=e.referenceType,l=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let s=a.move("![");const u=n.safe(e.alt,{before:s,after:"]",...a.current()});s+=a.move(u+"]["),o();const c=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return o(),n.stack=c,l(),i==="full"||!u||u!==f?s+=a.move(f+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function ah(){return"!"}fo.peek=sh;function fo(e,t,n){let r=e.value||"",i="`",l=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++l<n.unsafe.length;){const o=n.unsafe[l],a=n.compilePattern(o);let s;if(o.atBreak)for(;s=a.exec(r);){let u=s.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(s.index+1)}}return i+r+i}function sh(){return"`"}function po(e,t){const n=Br(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}ho.peek=uh;function ho(e,t,n,r){const i=Jr(n),l=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let a,s;if(po(e,n)){const c=n.stack;n.stack=[],a=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),a(),n.stack=c,f}a=n.enter("link"),s=n.enter("label");let u=o.move("[");return u+=o.move(n.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(n.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(s=n.enter("destinationRaw"),u+=o.move(n.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),s(),e.title&&(s=n.enter(`title${l}`),u+=o.move(" "+i),u+=o.move(n.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),s()),u+=o.move(")"),a(),u}function uh(e,t,n){return po(e,n)?"<":"["}go.peek=ch;function go(e,t,n,r){const i=e.referenceType,l=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let s=a.move("[");const u=n.containerPhrasing(e,{before:s,after:"]",...a.current()});s+=a.move(u+"]["),o();const c=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return o(),n.stack=c,l(),i==="full"||!u||u!==f?s+=a.move(f+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function ch(){return"["}function Xr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function fh(e){const t=Xr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ph(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function mo(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function hh(e,t,n,r){const i=n.enter("list"),l=n.bulletCurrent;let o=e.ordered?ph(n):Xr(n);const a=e.ordered?o==="."?")":".":fh(n);let s=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(s=!0),mo(n)===o&&c){let f=-1;for(;++f<e.children.length;){const h=e.children[f];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(o=a),n.bulletCurrent=o;const u=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=l,i(),u}function dh(e){const t=e.options.listItemIndent||"one";
vendor: 7,545 bytes, lines 31-33
31if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function gh(e,t,n,r){const i=dh(n);let l=n.bulletCurrent||Xr(n);t&&t.type==="list"&&t.ordered&&(l=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+l);let o=l.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=n.createTracker(r);a.move(l+" ".repeat(o-l.length)),a.shift(o);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,a.current()),c);return s(),u;function c(f,h,p){return h?(p?"":" ".repeat(o))+f:(p?l:l+" ".repeat(o-l.length))+f}}function mh(e,t,n,r){const i=n.enter("paragraph"),l=n.enter("phrasing"),o=n.containerPhrasing(e,r);return l(),i(),o}const xh=En(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function yh(e,t,n,r){return(e.children.some(function(o){return xh(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function bh(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}xo.peek=kh;function xo(e,t,n,r){const i=bh(n),l=n.enter("strong"),o=n.createTracker(r),a=o.move(i+i);let s=o.move(n.containerPhrasing(e,{after:i,before:a,...o.current()}));const u=s.charCodeAt(0),c=bn(r.before.charCodeAt(r.before.length-1),u,i);c.inside&&(s=Wt(u)+s.slice(1));const f=s.charCodeAt(s.length-1),h=bn(r.after.charCodeAt(0),f,i);h.inside&&(s=s.slice(0,-1)+Wt(f));const p=o.move(i+i);return l(),n.attentionEncodeSurroundingInfo={after:h.outside,before:c.outside},a+s+p}function kh(e,t,n){return n.options.strong||"*"}function wh(e,t,n,r){return n.safe(e.value,r)}function vh(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Sh(e,t,n){const r=(mo(n)+(n.options.ruleSpaces?" ":"")).repeat(vh(n));return n.options.ruleSpaces?r.slice(0,-1):r}const yo={blockquote:Wp,break:qi,code:Qp,definition:eh,emphasis:ao,hardBreak:qi,heading:ih,html:so,image:uo,imageReference:co,inlineCode:fo,link:ho,linkReference:go,list:hh,listItem:gh,paragraph:mh,root:yh,strong:xo,text:wh,thematicBreak:Sh};function Eh(){return{enter:{table:Ch,tableData:Vi,tableHeader:Vi,tableRow:Ah},exit:{codeText:_h,table:Nh,tableData:lr,tableHeader:lr,tableRow:lr}}}function Ch(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Nh(e){this.exit(e),this.data.inTable=void 0}function Ah(e){this.enter({type:"tableRow",children:[]},e)}function lr(e){this.exit(e)}function Vi(e){this.enter({type:"tableCell",children:[]},e)}function _h(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Ih));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Ih(e,t){return t==="|"?t:e}function Th(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 32`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:o,tableCell:s,tableRow:a}};function o(p,x,S,w){return u(c(p,S,w),p.align)}function a(p,x,S,w){const y=f(p,S,w),N=u([y]);return N.slice(0,N.indexOf(` 33`))}function s(p,x,S,w){const y=S.enter("tableCell"),N=S.enter("phrasing"),E=S.containerPhrasing(p,{...w,before:l,after:l});return N(),y(),E}function u(p,x){return qp(p,{align:x,alignDelimiters:r,padding:n,stringLength:i})}function c(p,x,S){const w=p.children;let y=-1;const N=[],E=x.enter("table");for(;++y<w.length;)N[y]=f(w[y],x,S);return E(),N}function f(p,x,S){const w=p.children;let y=-1;const N=[],E=x.enter("tableRow");for(;++y<w.length;)N[y]=s(w[y],p,x,S);return E(),N}function h(p,x,S){let w=yo.inlineCode(p,x,S);return S.stack.includes("tableCell")&&(w=w.replace(/\|/g,"\\$&")),w}}function Rh(){return{exit:{taskListCheckValueChecked:Wi,taskListCheckValueUnchecked:Wi,paragraph:Ph}}}function Lh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:jh}}}function Wi(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Ph(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let l=-1,o;for(;++l<i.length;){const a=i[l];if(a.type==="paragraph"){o=a;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function jh(e,t,n,r){const i=e.children[0],l=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);l&&a.move(o);let s=yo.listItem(e,t,n,{...r,...a.current()});return l&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(c){return c+o}}function Oh(){return[hp(),jp(),Fp(),Eh(),Rh()]}function Dh(e){return{extensions:[dp(),Op(e),zp(),Th(e),Lh()]}}const Mh={tokenize:Uh,partial:!0},bo={tokenize:qh,partial:!0},ko={tokenize:Vh,partial:!0},wo={tokenize:Wh,partial:!0},Fh={tokenize:Gh,partial:!0},vo={name:"wwwAutolink",tokenize:$h,previous:Eo},So={name:"protocolAutolink",tokenize:Hh,previous:Co},tt={name:"emailAutolink",tokenize:Bh,previous:No},Qe={};function zh(){return{text:Qe}}let gt=48;for(;gt<123;)Qe[gt]=tt,gt++,gt===58?gt=65:gt===91&&(gt=97);Qe[43]=tt;Qe[45]=tt;Qe[46]=tt;Qe[95]=tt;Qe[72]=[tt,So];Qe[104]=[tt,So];Qe[87]=[tt,vo];Qe[119]=[tt,vo];function Bh(e,t,n){const r=this;let i,l;return o;function o(f){return!Er(f)||!No.call(r,r.previous)||Yr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return Er(f)?(e.consume(f),a):f===64?(e.consume(f),s):n(f)}function s(f){return f===46?e.check(Fh,c,u)(f):f===45||f===95||_e(f)?(l=!0,e.consume(f),s):c(f)}function u(f){return e.consume(f),i=!0,s}function c(f){return l&&i&&Le(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function $h(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!Eo.call(r,r.previous)||Yr(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Mh,e.attempt(bo,e.attempt(ko,l),n),n)(o))}function l(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Hh(e,t,n){const r=this;let i="",l=!1;return o;function o(f){return(f===72||f===104)&&Co.call(r,r.previous)&&!Yr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(Le(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(f),s}return n(f)}function s(f){return f===47?(e.consume(f),l?u:(l=!0,s)):n(f)}function u(f){return f===null||mn(f)||fe(f)||yt(f)||wn(f)?n(f):e.attempt(bo,e.attempt(ko,c),n)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}
vendor: 4,354 bytes, line 33
33function Uh(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),l):n(o)}function l(o){return o===null?n(o):t(o)}}function qh(e,t,n){let r,i,l;return o;function o(u){return u===46||u===95?e.check(wo,s,a)(u):u===null||fe(u)||yt(u)||u!==45&&wn(u)?s(u):(l=!0,e.consume(u),o)}function a(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),o}function s(u){return i||r||!l?n(u):t(u)}}function Vh(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?l(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(wo,t,l)(o):o===null||fe(o)||yt(o)?t(o):(e.consume(o),i)}function l(o){return o===41&&r++,e.consume(o),i}}function Wh(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),l):a===93?(e.consume(a),i):a===60||a===null||fe(a)||yt(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||fe(a)||yt(a)?t(a):r(a)}function l(a){return Le(a)?o(a):n(a)}function o(a){return a===59?(e.consume(a),r):Le(a)?(e.consume(a),o):n(a)}}function Gh(e,t,n){return r;function r(l){return e.consume(l),i}function i(l){return _e(l)?n(l):t(l)}}function Eo(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||fe(e)}function Co(e){return!Le(e)}function No(e){return!(e===47||Er(e))}function Er(e){return e===43||e===45||e===46||e===95||_e(e)}function Yr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Kh={tokenize:nd,partial:!0};function Jh(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Zh,continuation:{tokenize:ed},exit:td}},text:{91:{name:"gfmFootnoteCall",tokenize:Qh},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Xh,resolveTo:Yh}}}}function Xh(e,t,n){const r=this;let i=r.events.length;const l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return a;function a(s){if(!o||!o._balanced)return n(s);const u=qe(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!l.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function Yh(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",l,t],["enter",o,t],["exit",o,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function Qh(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l=0,o;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),s}function s(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(l>999||f===93&&!o||f===null||f===91||fe(f))return n(f);if(f===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(qe(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return fe(f)||(o=!0),l++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),l++,u):u(f)}
vendor: 8,840 bytes, line 33
33}function Zh(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l,o=0,a;return s;function s(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(x)}function c(x){if(o>999||x===93&&!a||x===null||x===91||fe(x))return n(x);if(x===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return l=qe(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return fe(x)||(a=!0),o++,e.consume(x),x===92?f:c}function f(x){return x===91||x===92||x===93?(e.consume(x),o++,c):c(x)}function h(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),i.includes(l)||i.push(l),le(e,p,"gfmFootnoteDefinitionWhitespace")):n(x)}function p(x){return t(x)}}function ed(e,t,n){return e.check(Xt,t,e.attempt(Kh,t,n))}function td(e){e.exit("gfmFootnoteDefinition")}function nd(e,t,n){const r=this;return le(e,i,"gfmFootnoteDefinitionIndent",5);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(l):n(l)}}function rd(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:l,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,a){let s=-1;for(;++s<o.length;)if(o[s][0]==="enter"&&o[s][1].type==="strikethroughSequenceTemporary"&&o[s][1]._close){let u=s;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[s][1].end.offset-o[s][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[s][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[s][1].end)},f={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[s][1].start)},h=[["enter",c,a],["enter",o[u][1],a],["exit",o[u][1],a],["enter",f,a]],p=a.parser.constructs.insideSpan.null;p&&Be(h,h.length,0,vn(p,o.slice(u+1,s),a)),Be(h,h.length,0,[["exit",f,a],["enter",o[s][1],a],["exit",o[s][1],a],["exit",c,a]]),Be(o,u-1,s-u+3,h),s=u+h.length-2;break}}for(s=-1;++s<o.length;)o[s][1].type==="strikethroughSequenceTemporary"&&(o[s][1].type="data");return o}function l(o,a,s){const u=this.previous,c=this.events;let f=0;return h;function h(x){return u===126&&c[c.length-1][1].type!=="characterEscape"?s(x):(o.enter("strikethroughSequenceTemporary"),p(x))}function p(x){const S=_t(u);if(x===126)return f>1?s(x):(o.consume(x),f++,p);if(f<2&&!n)return s(x);const w=o.exit("strikethroughSequenceTemporary"),y=_t(x);return w._open=!y||y===2&&!!S,w._close=!S||S===2&&!!y,a(x)}}}class id{constructor(){this.map=[]}add(t,n,r){ld(this,t,n,r)}consume(t){if(this.map.sort(function(l,o){return l[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const l of i)t.push(l);i=r.pop()}this.map.length=0}}function ld(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function od(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const l=r.length-1;r[l]=r[l]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function ad(){return{flow:{null:{name:"table",tokenize:sd,resolveAll:ud}}}}function sd(e,t,n){const r=this;let i=0,l=0,o;return a;function a(v){let P=r.events.length-1;for(;P>-1;){const M=r.events[P][1].type;if(M==="lineEnding"||M==="linePrefix")P--;else break}const D=P>-1?r.events[P][1].type:null,ne=D==="tableHead"||D==="tableRow"?k:s;return ne===k&&r.parser.lazy[r.now().line]?n(v):ne(v)}function s(v){return e.enter("tableHead"),e.enter("tableRow"),u(v)}function u(v){return v===124||(o=!0,l+=1),c(v)}function c(v){return v===null?n(v):U(v)?l>1?(l=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):n(v):te(v)?le(e,c,"whitespace")(v):(l+=1,o&&(o=!1,i+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),o=!0,c):(e.enter("data"),f(v)))}function f(v){return v===null||v===124||fe(v)?(e.exit("data"),c(v)):(e.consume(v),v===92?h:f)}function h(v){return v===92||v===124?(e.consume(v),f):f(v)}function p(v){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(v):(e.enter("tableDelimiterRow"),o=!1,te(v)?le(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):x(v))}function x(v){return v===45||v===58?w(v):v===124?(o=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),S):O(v)}function S(v){return te(v)?le(e,w,"whitespace")(v):w(v)}function w(v){return v===58?(l+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),y):v===45?(l+=1,y(v)):v===null||U(v)?F(v):O(v)}function y(v){return v===45?(e.enter("tableDelimiterFiller"),N(v)):O(v)}function N(v){return v===45?(e.consume(v),N):v===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(v))}function E(v){return te(v)?le(e,F,"whitespace")(v):F(v)}function F(v){return v===124?x(v):v===null||U(v)?!o||i!==l?O(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):O(v)}function O(v){return n(v)}function k(v){return e.enter("tableRow"),z(v)}function z(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),z):v===null||U(v)?(e.exit("tableRow"),t(v)):te(v)?le(e,z,"whitespace")(v):(e.enter("data"),W(v))}function W(v){return v===null||v===124||fe(v)?(e.exit("data"),z(v)):(e.consume(v),v===92?G:W)}function G(v){return v===92||v===124?(e.consume(v),W):W(v)}}function ud(e,t){let n=-1,r=!0,i=0,l=[0,0,0,0],o=[0,0,0,0],a=!1,s=0,u,c,f;const h=new id;for(;++n<e.length;){const p=e[n],x=p[1];p[0]==="enter"?x.type==="tableHead"?(a=!1,s!==0&&(Gi(h,t,s,u,c),c=void 0,s=0),u={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},h.add(n,0,[["enter",u,t]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,f=void 0,l=[0,0,0,0],o=[0,n+1,0,0],a&&(a=!1,c={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},h.add(n,0,[["enter",c,t]])),i=x.type==="tableDelimiterRow"?2:c?3:1):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(l[1]!==0&&(o[0]=o[1],f=cn(h,t,l,i,void 0,f),l=[0,0,0,0]),o[2]=n)):x.type==="tableCellDivider"&&(r?r=!1:(l[1]!==0&&(o[0]=o[1],f=cn(h,t,l,i,void 0,f)),l=o,o=[l[1],n,0,0])):x.type==="tableHead"?(a=!0,s=n):x.type==="tableRow"||x.type==="tableDelimiterRow"?(s=n,l[1]!==0?(o[0]=o[1],f=cn(h,t,l,i,n,f)):o[1]!==0&&(f=cn(h,t,o,i,n,f)),i=0):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(o[3]=n)}for(s!==0&&Gi(h,t,s,u,c),h.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=od(t.events,n))}return e}function cn(e,t,n,r,i,l){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(l.end=Object.assign({},Ct(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));const s=Ct(t.events,n[1]);if(l={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",l,t]]),n[2]!==0){const u=Ct(t.events,n[2]),c=Ct(t.events,n[3]),f={type:a,start:Object.assign({},u),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const h=t.events[n[2]],p=t.events[n[3]];if(h[1].end=Object.assign({},p[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const x=n[2]+1,S=n[3]-n[2]-1;e.add(x,S,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(l.end=Object.assign({},Ct(t.events,i)),e.add(i,0,[["exit",l,t]]),l=void 0),l}function Gi(e,t,n,r,i){const l=[],o=Ct(t.events,n);i&&(i.end=Object.assign({},o),l.push(["exit",i,t])),r.end=Object.assign({},o),l.push(["exit",r,t]),e.add(n+1,0,l)}function Ct(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const cd={name:"tasklistCheck",tokenize:pd};function fd(){return{text:{91:cd}}}
vendor: 9,492 bytes, lines 33-34
33function pd(e,t,n){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),l)}function l(s){return fe(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),o):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),o):n(s)}function o(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(s)}function a(s){return U(s)?t(s):te(s)?e.check({tokenize:hd},t,n)(s):n(s)}}function hd(e,t,n){return le(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function dd(e){return Dl([zh(),Jh(),rd(e),ad(),fd()])}const gd={};function md(e){const t=this,n=e||gd,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),l=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(dd(n)),l.push(Oh()),o.push(Dh(n))}function xd(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function yd(e,t){if(e==null)return{};var n,r,i=xd(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Cr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bd(e){if(Array.isArray(e))return Cr(e)}function kd(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wd(e,t){if(e){if(typeof e=="string")return Cr(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cr(e,t):void 0}}function vd(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 34In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nr(e){return bd(e)||kd(e)||wd(e)||vd()}function Gt(e){"@babel/helpers - typeof";return Gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gt(e)}function Sd(e,t){if(Gt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ed(e){var t=Sd(e,"string");return Gt(t)=="symbol"?t:t+""}function Ao(e,t,n){return(t=Ed(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(){return Ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ar.apply(null,arguments)}function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ki(Object(n),!0).forEach(function(r){Ao(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ki(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Cd(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var or={};function Nd(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return or[t]||(or[t]=Cd(e)),or[t]}function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(l){return l!=="token"}),i=Nd(r);return i.reduce(function(l,o){return Nt(Nt({},l),n[o])},t)}function Ji(e){return e.join(" ")}function _d(e,t){var n=0;return function(r){return n+=1,r.map(function(i,l){return _o({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(l)})})}}function _o(e){var t=e.node,n=e.stylesheet,r=e.style,i=r===void 0?{}:r,l=e.useInlineStyles,o=e.key,a=t.properties,s=t.type,u=t.tagName,c=t.value;if(s==="text")return c;if(u){var f=_d(n,l),h;if(!l)h=Nt(Nt({},a),{},{className:Ji(a.className)});else{var p=Object.keys(n).reduce(function(y,N){return N.split(".").forEach(function(E){y.includes(E)||y.push(E)}),y},[]),x=a.className&&a.className.includes("token")?["token"]:[],S=a.className&&x.concat(a.className.filter(function(y){return!p.includes(y)}));h=Nt(Nt({},a),{},{className:Ji(S)||void 0,style:Ad(a.className,Object.assign({},a.style,i),n)})}var w=f(t.children);return ut.createElement(u,Ar({key:o},h),w)}}const Id=(function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1});var Td=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
34t%2?Xi(Object(n),!0).forEach(function(r){Ao(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xi(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Rd=/\n/g;function Ld(e){return e.match(Rd)}function Pd(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map(function(i,l){var o=l+n;return ut.createElement("span",{key:"line-".concat(l),className:"react-syntax-highlighter-line-number",style:typeof r=="function"?r(o):r},"".concat(o,` 35`))})}function jd(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,i=r===void 0?{float:"left",paddingRight:"10px"}:r,l=e.numberStyle,o=l===void 0?{}:l,a=e.startingLineNumber;return ut.createElement("code",{style:Object.assign({},n,i)},Pd({lines:t.replace(/\n$/,"").split(` 36`),style:o,startingLineNumber:a}))}function Od(e){return"".concat(e.toString().length,".25em")}function Io(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function To(e,t,n){var r={display:"inline-block",minWidth:Od(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},i=typeof e=="function"?e(t):e,l=ct(ct({},r),i);return l}function dn(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,i=e.largestLineNumber,l=e.showInlineLineNumbers,o=e.lineProps,a=o===void 0?{}:o,s=e.className,u=s===void 0?[]:s,c=e.showLineNumbers,f=e.wrapLongLines,h=e.wrapLines,p=h===void 0?!1:h,x=p?ct({},typeof a=="function"?a(n):a):{};if(x.className=x.className?[].concat(Nr(x.className.trim().split(/\s+/)),Nr(u)):u,n&&l){var S=To(r,n,i);t.unshift(Io(n,S))}return f&c&&(x.style=ct({display:"flex"},x.style)),{type:"element",tagName:"span",properties:x,children:t}}function Ro(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];e.length===void 0&&(e=[e]);for(var r=0;r<e.length;r++){var i=e[r];if(i.type==="text")n.push(dn({children:[i],className:Nr(new Set(t))}));else if(i.children){var l,o=t.concat(((l=i.properties)===null||l===void 0?void 0:l.className)||[]);Ro(i.children,o).forEach(function(a){return n.push(a)})}}return n}function Dd(e,t,n,r,i,l,o,a,s){var u,c=Ro(e.value),f=[],h=-1,p=0;function x(O,k){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return dn({children:O,lineNumber:k,lineNumberStyle:a,largestLineNumber:o,showInlineLineNumbers:i,lineProps:n,className:z,showLineNumbers:r,wrapLongLines:s,wrapLines:t})}function S(O,k){if(r&&k&&i){var z=To(a,k,o);O.unshift(Io(k,z))}return O}function w(O,k){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||z.length>0?x(O,k,z):S(O,k)}for(var y=function(){var k=c[p],z=k.children[0].value,W=Ld(z);
36if(W){var G=z.split(` 37`);G.forEach(function(v,P){var D=r&&f.length+l,ne={type:"text",value:"".concat(v,` 38`)};if(P===0){var M=c.slice(h+1,p).concat(dn({children:[ne],className:k.properties.className})),R=w(M,D);f.push(R)}else if(P===G.length-1){var re=c[p+1]&&c[p+1].children&&c[p+1].children[0],ce={type:"text",value:"".concat(v)};if(re){var Se=dn({children:[ce],className:k.properties.className});c.splice(p+1,0,Se)}else{var Ae=[ce],g=w(Ae,D,k.properties.className);f.push(g)}}else{var ye=[ne],Ee=w(ye,D,k.properties.className);f.push(Ee)}}),h=p}p++};p<c.length;)y();if(h!==c.length-1){var N=c.slice(h+1,c.length);if(N&&N.length){var E=r&&f.length+l,F=w(N,E);f.push(F)}}return t?f:(u=[]).concat.apply(u,f)}function Md(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(i,l){return _o({node:i,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(l)})})}function Lo(e){return e&&typeof e.highlightAuto<"u"}function Fd(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(Lo(t)){var l=Id(t,n);return n==="text"?{value:i,language:"text"}:l?t.highlight(n,r):t.highlightAuto(r)}try{return n&&n!=="text"?{value:t.highlight(r,n)}:{value:i}}catch{return{value:i}}}function zd(e,t){return function(r){var i,l,o=r.language,a=r.children,s=r.style,u=s===void 0?t:s,c=r.customStyle,f=c===void 0?{}:c,h=r.codeTagProps,p=h===void 0?{className:o?"language-".concat(o):void 0,style:ct(ct({},u['code[class*="language-"]']),u['code[class*="language-'.concat(o,'"]')])}:h,x=r.useInlineStyles,S=x===void 0?!0:x,w=r.showLineNumbers,y=w===void 0?!1:w,N=r.showInlineLineNumbers,E=N===void 0?!0:N,F=r.startingLineNumber,O=F===void 0?1:F,k=r.lineNumberContainerStyle,z=r.lineNumberStyle,W=z===void 0?{}:z,G=r.wrapLines,v=r.wrapLongLines,P=v===void 0?!1:v,D=r.lineProps,ne=D===void 0?{}:D,M=r.renderer,R=r.PreTag,re=R===void 0?"pre":R,ce=r.CodeTag,Se=ce===void 0?"code":ce,Ae=r.code,g=Ae===void 0?(Array.isArray(a)?a[0]:a)||"":Ae,ye=r.astGenerator,Ee=yd(r,Td);ye=ye||e;var m=y?ut.createElement(jd,{containerStyle:k,codeStyle:p.style||{},numberStyle:W,startingLineNumber:O,codeString:g}):null,Te=u.hljs||u['pre[class*="language-"]']||{backgroundColor:"#fff"},$e=Lo(ye)?"hljs":"prismjs",ge=S?Object.assign({},Ee,{style:Object.assign({},Te,f)}):Object.assign({},Ee,{className:Ee.className?"".concat($e," ").concat(Ee.className):$e,style:Object.assign({},f)});if(P?p.style=ct({whiteSpace:"pre-wrap"},p.style):p.style=ct({whiteSpace:"pre"},p.style),!ye)return ut.createElement(re,ge,m,ut.createElement(Se,p,g));(G===void 0&&M||P)&&(G=!0),M=M||Md;var Ze=[{type:"text",value:g}],Ne=Fd({astGenerator:ye,language:o,code:g,defaultCodeValue:Ze});Ne.language===null&&(Ne.value=Ze);var We=(i=(l=g.match(/\n/g))===null||l===void 0?void 0:l.length)!==null&&i!==void 0?i:0,Ge=O+We,nt=Dd(Ne,G,ne,y,E,O,Ge,W,P);return ut.createElement(re,ge,ut.createElement(Se,p,!E&&m,M({rows:nt,stylesheet:u,useInlineStyles:S})))}}var mt={},ar,Yi;function Bd(){if(Yi)return ar;Yi=1;function e(b){return b instanceof Map?b.clear=b.delete=b.set=function(){throw new Error("map is read-only")}:b instanceof Set&&(b.add=b.clear=b.delete=function(){throw new Error("set is read-only")}),Object.freeze(b),Object.getOwnPropertyNames(b).forEach(function(A){var L=b[A];typeof L=="object"&&!Object.isFrozen(L)&&e(L)}),b}var t=e,n=e;t.default=n;class r{constructor(A){A.data===void 0&&(A.data={}),this.data=A.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function i(b){return b.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function l(b,...A){const L=Object.create(null);for(const q in b)L[q]=b[q];return A.forEach(function(q){for(const se in q)L[se]=q[se]}),L}const o="</span>",a=b=>!!b.kind;class s{constructor(A,L){this.buffer="",this.classPrefix=L.classPrefix,A.walk(this)}addText(A){this.buffer+=i(A)}openNode(A){if(!a(A))return;let L=A.kind;A.sublanguage||(L=`${this.classPrefix}${L}`),this.span(L)}closeNode(A){a(A)&&(this.buffer+=o)}value(){return this.buffer}span(A){this.buffer+=`<span class="${A}">`}}class u{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(A){this.top.children.push(A)}openNode(A){const L={kind:A,children:[]};this.add(L),this.stack.push(L)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(A){return this.constructor._walk(A,this.rootNode)}static _walk(A,L){return typeof L=="string"?A.addText(L):L.children&&(A.openNode(L),L.children.forEac
38h(q=>this._walk(A,q)),A.closeNode(L)),A}static _collapse(A){typeof A!="string"&&A.children&&(A.children.every(L=>typeof L=="string")?A.children=[A.children.join("")]:A.children.forEach(L=>{u._collapse(L)}))}}class c extends u{constructor(A){super(),this.options=A}addKeyword(A,L){A!==""&&(this.openNode(L),this.addText(A),this.closeNode())}addText(A){A!==""&&this.add(A)}addSublanguage(A,L){const q=A.root;q.kind=L,q.sublanguage=!0,this.add(q)}toHTML(){return new s(this,this.options).value()}finalize(){return!0}}function f(b){return new RegExp(b.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function h(b){return b?typeof b=="string"?b:b.source:null}function p(...b){return b.map(L=>h(L)).join("")}function x(...b){return"("+b.map(L=>h(L)).join("|")+")"}function S(b){return new RegExp(b.toString()+"|").exec("").length-1}function w(b,A){const L=b&&b.exec(A);return L&&L.index===0}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function N(b,A="|"){let L=0;return b.map(q=>{L+=1;const se=L;let ae=h(q),ve="";for(;ae.length>0;){const j=y.exec(ae);if(!j){ve+=ae;break}ve+=ae.substring(0,j.index),ae=ae.substring(j.index+j[0].length),j[0][0]==="\\"&&j[1]?ve+="\\"+String(Number(j[1])+se):(ve+=j[0],j[0]==="("&&L++)}return ve}).map(q=>`(${q})`).join(A)}const E=/\b\B/,F="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",k="\\b\\d+(\\.\\d+)?",z="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",W="\\b(0b[01]+)",G="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",v=(b={})=>{const A=/^#![ ]*\//;return b.binary&&(b.begin=p(A,/.*\b/,b.binary,/\b.*/)),l({className:"meta",begin:A,end:/$/,relevance:0,"on:begin":(L,q)=>{L.index!==0&&q.ignoreMatch()}},b)},P={begin:"\\\\[\\s\\S]",relevance:0},D={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[P]},ne={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[P]},M={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},R=function(b,A,L={}){const q=l({className:"comment",begin:b,end:A,contains:[]},L);return q.contains.push(M),q.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),q},re=R("//","$"),ce=R("/\\*","\\*/"),Se=R("#","$"),Ae={className:"number",begin:k,relevance:0},g={className:"number",begin:z,relevance:0},ye={className:"number",begin:W,relevance:0},Ee={className:"number",begin:k+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},m={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[P,{begin:/\[/,end:/\]/,relevance:0,contains:[P]}]}]},Te={className:"title",begin:F,relevance:0},$e={className:"title",begin:O,relevance:0},ge={begin:"\\.\\s*"+O,relevance:0};var Ne=Object.freeze({__proto__:null,MATCH_NOTHING_RE:E,IDENT_RE:F,UNDERSCORE_IDENT_RE:O,NUMBER_RE:k,C_NUMBER_RE:z,BINARY_NUMBER_RE:W,RE_STARTERS_RE:G,SHEBANG:v,BACKSLASH_ESCAPE:P,APOS_STRING_MODE:D,QUOTE_STRING_MODE:ne,PHRASAL_WORDS_MODE:M,COMMENT:R,C_LINE_COMMENT_MODE:re,C_BLOCK_COMMENT_MODE:ce,HASH_COMMENT_MODE:Se,NUMBER_MODE:Ae,C_NUMBER_MODE:g,BINARY_NUMBER_MODE:ye,CSS_NUMBER_MODE:Ee,REGEXP_MODE:m,TITLE_MODE:Te,UNDERSCORE_TITLE_MODE:$e,METHOD_GUARD:ge,END_SAME_AS_BEGIN:function(b){return Object.assign(b,{"on:begin":(A,L)=>{L.data._beginMatch=A[1]},"on:end":(A,L)=>{L.data._beginMatch!==A[1]&&L.ignoreMatch()}})}});function We(b,A){b.input[b.index-1]==="."&&A.ignoreMatch()}function Ge(b,A){A&&b.beginKeywords&&(b.begin="\\b("+b.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",b.__beforeBegin=We,b.keywords=b.keywords||b.beginKeywords,delete b.beginKeywords,b.relevance===void 0&&(b.relevance=0))}function nt(b,A){Array.isArray(b.illegal)&&(b.illegal=x(...b.illegal))}function Nn(b,A){if(b.match){if(b.begin||b.end)throw new Error("begin & end are not supported with match");b.begin=b.match,delete b.match}}function An(b,A){b.relevance===void 0&&(b.relevance=1)}const _n=["of","and","for","in","not","or","if","then","parent","list","value"],Qt="keyword";function Pt(b,A,L=Qt){const q={};return typeof b=="string"?se(L,b.split(" ")):Array.isArray(b)?se(L,b):Object.keys(b).forEach(function(ae){Object.assign(q,Pt(b[ae],A,ae))}),q;function se(ae,ve){A&&(ve=ve.map(j=>j.toLowerCase())),ve.forEach(function(j){const $=j.split("|");q[$[0]]=[ae,Zt($[0],$[1])]})}}function Zt(b,A){return A?Number(A):In(b)?0:1}function In(b){return _n.includes(b.toLowerCase())}function en(b,{plugins:A}){function L(j,$){return new RegExp(h(j),"m"+(b.case_insensitive?"i":"")+($?"g":""))}class q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule($,J){J.position=this.position++,this.matchIndexes[this.matchAt]=J,this.regexes.push([J,$]),this.matchAt+=S($)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const $=this.regexes.map(J=>J[1]);this.matcherRe=L(N($),!0),this.lastIndex=0}exec($){this.matcherRe.lastIndex=this.lastIndex;const J=this.matcherRe.exec($);if(!J)return null;const Y=J.findIndex((ot,On)=>On>0&&ot!==void 0),me=this.matchIndexes[Y];return J.splice(0,Y),Object.assign(J,me)}}class se{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher($){if(this.multiRegexes[$])return this.multiRegexes[$];const J=new q;return this.rules.slice($).forEach(([Y,me])=>J.addRule(Y,me)),J.compile(),this.multiRegexes[$]=J,J}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule($,J){this.rules.push([$,J]),J.type==="begin"&&this.count++}exec($){const J=this.getMatcher(this.regexIndex);J.lastIndex=this.lastIndex;let Y=J.exec($);
38if(this.resumingScanAtSamePosition()&&!(Y&&Y.index===this.lastIndex)){const me=this.getMatcher(0);me.lastIndex=this.lastIndex+1,Y=me.exec($)}return Y&&(this.regexIndex+=Y.position+1,this.regexIndex===this.count&&this.considerAll()),Y}}function ae(j){const $=new se;return j.contains.forEach(J=>$.addRule(J.begin,{rule:J,type:"begin"})),j.terminatorEnd&&$.addRule(j.terminatorEnd,{type:"end"}),j.illegal&&$.addRule(j.illegal,{type:"illegal"}),$}function ve(j,$){const J=j;if(j.isCompiled)return J;[Nn].forEach(me=>me(j,$)),b.compilerExtensions.forEach(me=>me(j,$)),j.__beforeBegin=null,[Ge,nt,An].forEach(me=>me(j,$)),j.isCompiled=!0;let Y=null;if(typeof j.keywords=="object"&&(Y=j.keywords.$pattern,delete j.keywords.$pattern),j.keywords&&(j.keywords=Pt(j.keywords,b.case_insensitive)),j.lexemes&&Y)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Y=Y||j.lexemes||/\w+/,J.keywordPatternRe=L(Y,!0),$&&(j.begin||(j.begin=/\B|\b/),J.beginRe=L(j.begin),j.endSameAsBegin&&(j.end=j.begin),!j.end&&!j.endsWithParent&&(j.end=/\B|\b/),j.end&&(J.endRe=L(j.end)),J.terminatorEnd=h(j.end)||"",j.endsWithParent&&$.terminatorEnd&&(J.terminatorEnd+=(j.end?"|":"")+$.terminatorEnd)),j.illegal&&(J.illegalRe=L(j.illegal)),j.contains||(j.contains=[]),j.contains=[].concat(...j.contains.map(function(me){return Tn(me==="self"?j:me)})),j.contains.forEach(function(me){ve(me,J)}),j.starts&&ve(j.starts,$),J.matcher=ae(J),J}if(b.compilerExtensions||(b.compilerExtensions=[]),b.contains&&b.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return b.classNameAliases=l(b.classNameAliases||{}),ve(b)}function jt(b){return b?b.endsWithParent||jt(b.starts):!1}function Tn(b){return b.variants&&!b.cachedVariants&&(b.cachedVariants=b.variants.map(function(A){return l(b,{variants:null},A)})),b.cachedVariants?b.cachedVariants:jt(b)?l(b,{starts:b.starts?l(b.starts):null}):Object.isFrozen(b)?l(b):b}var Rn="10.7.3";function Ln(b){return!!(b||b==="")}function Pn(b){const A={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!b.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,i(this.code);let q={};return this.autoDetect?(q=b.highlightAuto(this.code),this.detectedLanguage=q.language):(q=b.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),q.value},autoDetect(){return!this.language||Ln(this.autodetect)},ignoreIllegals(){return!0}},render(q){return q("pre",{},[q("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:A,VuePlugin:{install(q){q.component("highlightjs",A)}}}}const jn={"after:highlightElement":({el:b,result:A,text:L})=>{const q=T(b);if(!q.length)return;const se=document.createElement("div");se.innerHTML=A.value,A.value=K(q,T(se),L)}};function C(b){return b.nodeName.toLowerCase()}function T(b){const A=[];return(function L(q,se){for(let ae=q.firstChild;ae;ae=ae.nextSibling)ae.nodeType===3?se+=ae.nodeValue.length:ae.nodeType===1&&(A.push({event:"start",offset:se,node:ae}),se=L(ae,se),C(ae).match(/br|hr|img|input/)||A.push({event:"stop",offset:se,node:ae}));return se})(b,0),A}function K(b,A,L){let q=0,se="";const ae=[];function ve(){return!b.length||!A.length?b.length?b:A:b[0].offset!==A[0].offset?b[0].offset<A[0].offset?b:A:A[0].event==="start"?b:A}function j(Y){function me(ot){return" "+ot.nodeName+'="'+i(ot.value)+'"'}se+="<"+C(Y)+[].map.call(Y.attributes,me).join("")+">"}function $(Y){se+="</"+C(Y)+">"}function J(Y){(Y.event==="start"?j:$)(Y.node)}for(;b.length||A.length;){let Y=ve();if(se+=i(L.substring(q,Y[0].offset)),q=Y[0].offset,Y===b){ae.reverse().forEach($);do J(Y.splice(0,1)[0]),Y=ve();while(Y===b&&Y.length&&Y[0].offset===q);ae.reverse().forEach(j)}else Y[0].event==="start"?ae.push(Y[0].node):ae.pop(),J(Y.splice(0,1)[0])}return se+i(L.substr(q))}const Q={},oe=b=>{console.error(b)},Pe=(b,...A)=>{console.log(`WARN: ${b}`,...A)},be=(b,A)=>{Q[`${b}/${A}`]||(console.log(`Deprecated as of ${b}. ${A}`),Q[`${b}/${A}`]=!0)},Fe=i,rt=l,it=Symbol("nomatch");var lt=function(b){const A=Object.create(null),L=Object.create(null),q=[];let se=!0;const ae=/(^(<[^>]+>|\t|)+|\n)/gm,ve="Could not find the language '{}', did you forget to load/include a language module?",j={disableAutodetect:!0,name:"Plain text",contains:[]};let $={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:c};function J(_){return $.noHighlightRe.test(_)}function Y(_){let B=_.className+" ";B+=_.parentNode?_.parentNode.className:"";const ie=$.languageDetectRe.exec(B);if(ie){const pe=et(ie[1]);return pe||(Pe(ve.replace("{}",ie[1])),Pe("Falling back to no-highlight mode for this block.",_)),pe?ie[1]:"no-highlight"}return B.split(/\s+/).find(pe=>J(pe)||et(pe))}function me(_,B,ie,pe){let Ce="",dt="";typeof B=="object"?(Ce=_,ie=B.ignoreIllegals,dt=B.language,pe=void 0):(be("10.7.0","highlight(lang, code, ...args) has been deprecated."),be("10.7.0",`Please use highlight(code, options) instead. 39https://github.com/highlightjs/highlight.js/issues/2277`),dt=_,Ce=B);const Ke={code:Ce,language:dt};nn("before:highlight",Ke);const Je=Ke.result?Ke.result:ot(Ke.language,Ke.code,ie,pe);return Je.code=Ke.code,nn("after:highlight",Je),Je}function ot(_,B,ie,pe){function Ce(H,V){const ee=wt.case_insensitive?V[0].toLowerCase():V[0];return Object.prototype.hasOwnProperty.call(H.keywords,ee)&&H.keywords[ee]}
39function dt(){if(!Z.keywords){Re.addText(ke);return}let H=0;Z.keywordPatternRe.lastIndex=0;let V=Z.keywordPatternRe.exec(ke),ee="";for(;V;){ee+=ke.substring(H,V.index);const ue=Ce(Z,V);if(ue){const[Oe,on]=ue;if(Re.addText(ee),ee="",ln+=on,Oe.startsWith("_"))ee+=V[0];else{const la=wt.classNameAliases[Oe]||Oe;Re.addKeyword(V[0],la)}}else ee+=V[0];H=Z.keywordPatternRe.lastIndex,V=Z.keywordPatternRe.exec(ke)}ee+=ke.substr(H),Re.addText(ee)}function Ke(){if(ke==="")return;let H=null;if(typeof Z.subLanguage=="string"){if(!A[Z.subLanguage]){Re.addText(ke);return}H=ot(Z.subLanguage,ke,!0,ri[Z.subLanguage]),ri[Z.subLanguage]=H.top}else H=Dn(ke,Z.subLanguage.length?Z.subLanguage:null);Z.relevance>0&&(ln+=H.relevance),Re.addSublanguage(H.emitter,H.language)}function Je(){Z.subLanguage!=null?Ke():dt(),ke=""}function Xe(H){return H.className&&Re.openNode(wt.classNameAliases[H.className]||H.className),Z=Object.create(H,{parent:{value:Z}}),Z}function at(H,V,ee){let ue=w(H.endRe,ee);if(ue){if(H["on:end"]){const Oe=new r(H);H["on:end"](V,Oe),Oe.isMatchIgnored&&(ue=!1)}if(ue){for(;H.endsParent&&H.parent;)H=H.parent;return H}}if(H.endsWithParent)return at(H.parent,V,ee)}function ea(H){return Z.matcher.regexIndex===0?(ke+=H[0],1):($n=!0,0)}function ta(H){const V=H[0],ee=H.rule,ue=new r(ee),Oe=[ee.__beforeBegin,ee["on:begin"]];for(const on of Oe)if(on&&(on(H,ue),ue.isMatchIgnored))return ea(V);return ee&&ee.endSameAsBegin&&(ee.endRe=f(V)),ee.skip?ke+=V:(ee.excludeBegin&&(ke+=V),Je(),!ee.returnBegin&&!ee.excludeBegin&&(ke=V)),Xe(ee),ee.returnBegin?0:V.length}function na(H){const V=H[0],ee=B.substr(H.index),ue=at(Z,H,ee);if(!ue)return it;const Oe=Z;Oe.skip?ke+=V:(Oe.returnEnd||Oe.excludeEnd||(ke+=V),Je(),Oe.excludeEnd&&(ke=V));do Z.className&&Re.closeNode(),!Z.skip&&!Z.subLanguage&&(ln+=Z.relevance),Z=Z.parent;while(Z!==ue.parent);return ue.starts&&(ue.endSameAsBegin&&(ue.starts.endRe=ue.endRe),Xe(ue.starts)),Oe.returnEnd?0:V.length}function ra(){const H=[];for(let V=Z;V!==wt;V=V.parent)V.className&&H.unshift(V.className);H.forEach(V=>Re.openNode(V))}let rn={};function ni(H,V){const ee=V&&V[0];if(ke+=H,ee==null)return Je(),0;if(rn.type==="begin"&&V.type==="end"&&rn.index===V.index&&ee===""){if(ke+=B.slice(V.index,V.index+1),!se){const ue=new Error("0 width match regex");throw ue.languageName=_,ue.badRule=rn.rule,ue}return 1}if(rn=V,V.type==="begin")return ta(V);if(V.type==="illegal"&&!ie){const ue=new Error('Illegal lexeme "'+ee+'" for mode "'+(Z.className||"<unnamed>")+'"');throw ue.mode=Z,ue}else if(V.type==="end"){const ue=na(V);if(ue!==it)return ue}if(V.type==="illegal"&&ee==="")return 1;if(Bn>1e5&&Bn>V.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ke+=ee,ee.length}const wt=et(_);if(!wt)throw oe(ve.replace("{}",_)),new Error('Unknown language: "'+_+'"');const ia=en(wt,{plugins:q});let zn="",Z=pe||ia;const ri={},Re=new $.__emitter($);ra();let ke="",ln=0,vt=0,Bn=0,$n=!1;try{for(Z.matcher.considerAll();;){Bn++,$n?$n=!1:Z.matcher.considerAll(),Z.matcher.lastIndex=vt;const H=Z.matcher.exec(B);if(!H)break;const V=B.substring(vt,H.index),ee=ni(V,H);vt=H.index+ee}return ni(B.substr(vt)),Re.closeAllNodes(),Re.finalize(),zn=Re.toHTML(),{relevance:Math.floor(ln),value:zn,language:_,illegal:!1,emitter:Re,top:Z}}catch(H){if(H.message&&H.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:H.message,context:B.slice(vt-100,vt+100),mode:H.mode},sofar:zn,relevance:0,value:Fe(B),emitter:Re};if(se)return{illegal:!1,relevance:0,value:Fe(B),emitter:Re,language:_,top:Z,errorRaised:H};throw H}}function On(_){const B={relevance:0,emitter:new $.__emitter($),value:Fe(_),illegal:!1,top:j};return B.emitter.addText(_),B}function Dn(_,B){B=B||$.languages||Object.keys(A);const ie=On(_),pe=B.filter(et).filter(ti).map(Xe=>ot(Xe,_,!1));pe.unshift(ie);const Ce=pe.sort((Xe,at)=>{if(Xe.relevance!==at.relevance)return at.relevance-Xe.relevance;if(Xe.language&&at.language){if(et(Xe.language).supersetOf===at.language)return 1;if(et(at.language).supersetOf===Xe.language)return-1}return 0}),[dt,Ke]=Ce,Je=dt;return Je.second_best=Ke,Je}function Fo(_){return $.tabReplace||$.useBR?_.replace(ae,B=>B===` 40`?$.useBR?"<br>":B:$.tabReplace?B.replace(/\t/g,$.tabReplace):B):_}function zo(_,B,ie){const pe=B?L[B]:ie;_.classList.add("hljs"),pe&&_.classList.add(pe)}const Bo={"before:highlightElement":({el:_})=>{$.useBR&&(_.innerHTML=_.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,` 41`))},"after:highlightElement":({result:_})=>{$.useBR&&(_.value=_.value.replace(/\n/g,"<br>"))}},$o=/^(<[^>]+>|\t)+/gm,Ho={"after:highlightElement":({result:_})=>{$.tabReplace&&(_.value=_.value.replace($o,B=>B.replace(/\t/g,$.tabReplace)))}};function tn(_){let B=null;const ie=Y(_);if(J(ie))return;nn("before:highlightElement",{el:_,language:ie}),B=_;const pe=B.textContent,Ce=ie?me(pe,{language:ie,ignoreIllegals:!0}):Dn(pe);nn("after:highlightElement",{el:_,result:Ce,text:pe}),_.innerHTML=Ce.value,zo(_,ie,Ce.language),_.result={language:Ce.language,re:Ce.relevance,relavance:Ce.relevance},Ce.second_best&&(_.second_best={language:Ce.second_best.language,re:Ce.second_best.relevance,relavance:Ce.second_best.relevance})}function Uo(_){_.useBR&&(be("10.3.0","'useBR' will be removed entirely in v11.0"),be("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),$=rt($,_)}const Mn=()=>
41{if(Mn.called)return;Mn.called=!0,be("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(tn)};function qo(){be("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Fn=!0}let Fn=!1;function Zr(){if(document.readyState==="loading"){Fn=!0;return}document.querySelectorAll("pre code").forEach(tn)}function Vo(){Fn&&Zr()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Vo,!1);function Wo(_,B){let ie=null;try{ie=B(b)}catch(pe){if(oe("Language definition for '{}' could not be registered.".replace("{}",_)),se)oe(pe);else throw pe;ie=j}ie.name||(ie.name=_),A[_]=ie,ie.rawDefinition=B.bind(null,b),ie.aliases&&ei(ie.aliases,{languageName:_})}function Go(_){delete A[_];for(const B of Object.keys(L))L[B]===_&&delete L[B]}function Ko(){return Object.keys(A)}function Jo(_){be("10.4.0","requireLanguage will be removed entirely in v11."),be("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const B=et(_);if(B)return B;throw new Error("The '{}' language is required, but not loaded.".replace("{}",_))}function et(_){return _=(_||"").toLowerCase(),A[_]||A[L[_]]}function ei(_,{languageName:B}){typeof _=="string"&&(_=[_]),_.forEach(ie=>{L[ie.toLowerCase()]=B})}function ti(_){const B=et(_);return B&&!B.disableAutodetect}function Xo(_){_["before:highlightBlock"]&&!_["before:highlightElement"]&&(_["before:highlightElement"]=B=>{_["before:highlightBlock"](Object.assign({block:B.el},B))}),_["after:highlightBlock"]&&!_["after:highlightElement"]&&(_["after:highlightElement"]=B=>{_["after:highlightBlock"](Object.assign({block:B.el},B))})}function Yo(_){Xo(_),q.push(_)}function nn(_,B){const ie=_;q.forEach(function(pe){pe[ie]&&pe[ie](B)})}function Qo(_){return be("10.2.0","fixMarkup will be removed entirely in v11.0"),be("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),Fo(_)}function Zo(_){return be("10.7.0","highlightBlock will be removed entirely in v12.0"),be("10.7.0","Please use highlightElement now."),tn(_)}Object.assign(b,{highlight:me,highlightAuto:Dn,highlightAll:Zr,fixMarkup:Qo,highlightElement:tn,highlightBlock:Zo,configure:Uo,initHighlighting:Mn,initHighlightingOnLoad:qo,registerLanguage:Wo,unregisterLanguage:Go,listLanguages:Ko,getLanguage:et,registerAliases:ei,requireLanguage:Jo,autoDetection:ti,inherit:rt,addPlugin:Yo,vuePlugin:Pn(b).VuePlugin}),b.debugMode=function(){se=!1},b.safeMode=function(){se=!0},b.versionString=Rn;for(const _ in Ne)typeof Ne[_]=="object"&&t(Ne[_]);return Object.assign(b,Ne),b.addPlugin(Bo),b.addPlugin(jn),b.addPlugin(Ho),b}({});return ar=lt,ar}var sr={exports:{}},Qi;function $d(){return Qi||(Qi=1,(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}function r(l,o){return i.apply(null,[l].concat(o))}function i(l){for(var o=1,a=[].slice.call(arguments),s=0,u=l.length,c="",f,h=!1,p,x,S=!1,w,y=function(){return a[o++]},N=function(){for(var E="";/\d/.test(l[s]);)E+=l[s++],f=l[s];return E.length>0?parseInt(E):null};s<u;++s)if(f=l[s],h)switch(h=!1,f=="."?(S=!1,f=l[++s]):f=="0"&&l[s+1]=="."?(S=!0,s+=2,f=l[s]):S=!0,w=N(),f){case"b":c+=parseInt(y(),10).toString(2);break;case"c":p=y(),typeof p=="string"||p instanceof String?c+=p:c+=String.fromCharCode(parseInt(p,10));break;case"d":c+=parseInt(y(),10);break;case"f":x=String(parseFloat(y()).toFixed(w||6)),c+=S?x:x.replace(/^0/,"");break;case"j":c+=JSON.stringify(y());break;case"o":c+="0"+parseInt(y(),10).toString(8);break;case"s":c+=y();break;case"x":c+="0x"+parseInt(y(),10).toString(16);break;case"X":c+="0x"+parseInt(y(),10).toString(16).toUpperCase();break;default:c+=f;break}else f==="%"?h=!0:c+=f;return c}})()})(sr)),sr.exports}var ur,Zi;function Hd(){if(Zi)return ur;Zi=1;var e=$d(),t=n(Error);ur=t,t.eval=n(EvalError),t.range=n(RangeError),t.reference=n(ReferenceError),t.syntax=n(SyntaxError),t.type=n(TypeError),t.uri=n(URIError),t.create=n;function n(r){return i.displayName=r.displayName||r.name,i;function i(l){return l&&(l=e.apply(null,arguments)),new r(l)}}return ur}var el;function Ud(){if(el)return mt;el=1;var e=Bd(),t=Hd();mt.highlight=r,mt.highlightAuto=i,mt.registerLanguage=l,mt.listLanguages=o,mt.registerAlias=a,s.prototype.addText=f,s.prototype.addKeyword=u,s.prototype.addSublanguage=c,s.prototype.openNode=h,s.prototype.closeNode=p,s.prototype.closeAllNodes=S,s.prototype.finalize=S,s.prototype.toHTML=x;var n="hljs-";function r(w,y,N){var E=e.configure({}),F=N||{},O=F.prefix,k;
41if(typeof w!="string")throw t("Expected `string` for name, got `%s`",w);if(!e.getLanguage(w))throw t("Unknown language: `%s` is not registered",w);if(typeof y!="string")throw t("Expected `string` for value, got `%s`",y);if(O==null&&(O=n),e.configure({__emitter:s,classPrefix:O}),k=e.highlight(y,{language:w,ignoreIllegals:!0}),e.configure(E||{}),k.errorRaised)throw k.errorRaised;return{relevance:k.relevance,language:k.language,value:k.emitter.rootNode.children}}function i(w,y){var N=y||{},E=N.subset||e.listLanguages();N.prefix;var F=E.length,O=-1,k,z,W,G;if(typeof w!="string")throw t("Expected `string` for value, got `%s`",w);for(z={relevance:0,language:null,value:[]},k={relevance:0,language:null,value:[]};++O<F;)G=E[O],e.getLanguage(G)&&(W=r(G,w,y),W.language=G,W.relevance>z.relevance&&(z=W),W.relevance>k.relevance&&(z=k,k=W));return z.language&&(k.secondBest=z),k}function l(w,y){e.registerLanguage(w,y)}function o(){return e.listLanguages()}function a(w,y){var N=w,E;y&&(N={},N[w]=y);for(E in N)e.registerAliases(N[E],{languageName:E})}function s(w){this.options=w,this.rootNode={children:[]},this.stack=[this.rootNode]}function u(w,y){this.openNode(y),this.addText(w),this.closeNode()}function c(w,y){var N=this.stack,E=N[N.length-1],F=w.rootNode.children,O=y?{type:"element",tagName:"span",properties:{className:[y]},children:F}:F;E.children=E.children.concat(O)}function f(w){var y=this.stack,N,E;w!==""&&(N=y[y.length-1],E=N.children[N.children.length-1],E&&E.type==="text"?E.value+=w:N.children.push({type:"text",value:w}))}function h(w){var y=this.stack,N=this.options.classPrefix+w,E=y[y.length-1],F={type:"element",tagName:"span",properties:{className:[N]},children:[]};E.children.push(F),y.push(F)}function p(){this.stack.pop()}function x(){return""}function S(){}return mt}var cr,tl;function qd(){if(tl)return cr;tl=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(s=>e(s)).join("")}function i(...o){return"("+o.map(s=>e(s)).join("|")+")"}function l(o){const a=r(/[A-Z_]/,n(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),s=/[A-Za-z0-9._:-]+/,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},c={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},f=o.inherit(c,{begin:/\(/,end:/\)/}),h=o.inherit(o.APOS_STRING_MODE,{className:"meta-string"}),p=o.inherit(o.QUOTE_STRING_MODE,{className:"meta-string"}),x={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:s,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[u]},{begin:/'/,end:/'/,contains:[u]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[c,p,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[c,f,p,h]}]}]},o.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[x],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[x],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r(/</,t(r(a,i(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:x}]},{className:"tag",begin:r(/<\//,t(r(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return cr=l,cr}var fr,nl;function Vd(){if(nl)return fr;nl=1;function e(t){const n={literal:"true false null"},r=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],i=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],l={end:",",endsWithParent:!0,excludeEnd:!0,contains:i,keywords:n},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(l,{begin:/:/})].concat(r),illegal:"\\S"},a={begin:"\\[",end:"\\]",contains:[t.inherit(l)],illegal:"\\S"};return i.push(o,a),r.forEach(function(s){i.push(s)}),{name:"JSON",contains:i,keywords:n,illegal:"\\S"}}return fr=e,fr}var pr,rl;function Wd(){if(rl)return pr;rl=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return n("(?=",i,")")}function n(...i){return i.map(o=>e(o)).join("")}function r(i){const u={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},f={className:"subst",begin:/\{/,end:/\}/,keywords:u,illegal:/#/},h={begin:/\{\{/,relevance:0},p={className:"string",contains:[i.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[i.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[i.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[i.BACKSLASH_ESCAPE,c,h,f]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[i.BACKSLASH_ESCAPE,c,h,f]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[i.BACKSLASH_ESCAPE,h,f]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[i.BACKSLASH_ESCAPE,h,f]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE]},x="[0-9](_?[0-9])*",S=`(\\b(${x}))?\\.(${x})|\\b(${x})\\.`,w={className:"number",relevance:0,variants:[{begin:`(\\b(${x})|(${S}))[eE][+-]?(${x})[jJ]?\\b`},{begin:`(${S})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${x})[jJ]\\b`}]},y={className:"comment",begin:t(/# type:/),end:/$/,keywords:u,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},N={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",c,w,p,i.HASH_COMMENT_MODE]}]};return f.contains=[p,w,c],{name:"Python",aliases:["py","gyp","ipython"],keywords:u,illegal:/(<\/|->|\?)|=>/,contains:[c,w,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,y,i.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[i.UNDERSCORE_TITLE_MODE,N,{begin:/->/,endsWithParent:!0,keywords:u}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[w,N,p]}]}}return pr=r,pr}var Gd=Ud();const Po=It(Gd);var Lt=zd(Po,{});Lt.registerLanguage=Po.registerLanguage;var Kd=Vd();const Jd=It(Kd);var Xd=Wd();const Yd=It(Xd);var Qd=qd();
41const Zd=It(Qd),il={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#383a42",background:"#fafafa"},"hljs-comment":{color:"#a0a1a7",fontStyle:"italic"},"hljs-quote":{color:"#a0a1a7",fontStyle:"italic"},"hljs-doctag":{color:"#a626a4"},"hljs-keyword":{color:"#a626a4"},"hljs-formula":{color:"#a626a4"},"hljs-section":{color:"#e45649"},"hljs-name":{color:"#e45649"},"hljs-selector-tag":{color:"#e45649"},"hljs-deletion":{color:"#e45649"},"hljs-subst":{color:"#e45649"},"hljs-literal":{color:"#0184bb"},"hljs-string":{color:"#50a14f"},"hljs-regexp":{color:"#50a14f"},"hljs-addition":{color:"#50a14f"},"hljs-attribute":{color:"#50a14f"},"hljs-meta-string":{color:"#50a14f"},"hljs-built_in":{color:"#c18401"},"hljs-class .hljs-title":{color:"#c18401"},"hljs-attr":{color:"#986801"},"hljs-variable":{color:"#986801"},"hljs-template-variable":{color:"#986801"},"hljs-type":{color:"#986801"},"hljs-selector-class":{color:"#986801"},"hljs-selector-attr":{color:"#986801"},"hljs-selector-pseudo":{color:"#986801"},"hljs-number":{color:"#986801"},"hljs-symbol":{color:"#4078f2"},"hljs-bullet":{color:"#4078f2"},"hljs-link":{color:"#4078f2",textDecoration:"underline"},"hljs-meta":{color:"#4078f2"},"hljs-selector-id":{color:"#4078f2"},"hljs-title":{color:"#4078f2"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};Lt.registerLanguage("json",Jd);Lt.registerLanguage("python",Yd);Lt.registerLanguage("xml",Zd);const jo={...il,hljs:{...il.hljs,background:"transparent",color:"#1f2937"}};function eg(e){return e==="json"||e==="python"||e==="xml"?e:e==="py"?"python":e==="html"||e==="urdf"?"xml":null}function Oo(e){return e.function?.name?e.function.name:e.custom?.name?e.custom.name:"unknown"}function Do(e){return e.function?.arguments?e.function.arguments:e.custom?.input?e.custom.input:null}function tg(e,t){if(e==null||t==null)return"";const n=e-t;if(n<0)return"";if(n<60)return`+${n.toFixed(1)}s`;const r=Math.floor(n/60),i=n%60;return`+${r}m ${i.toFixed(0)}s`}function Qr(e){try{const t=JSON.parse(e);return JSON.stringify(t,null,2)}catch{return null}}function ng(e){const t=e.trimStart();return t.startsWith("*** Begin Patch")||t.startsWith("*** Update File")}function rg(e){try{const t=JSON.parse(e),n=typeof t.result=="string"?t.result:null;if(!n)return null;const r=n.split(` 42`),i=/^L(\d+):\s?/,l=i.exec(r[0]);if(!l)return null;const o=parseInt(l[1],10);return{code:r.map(s=>{const u=i.exec(s);return u?s.slice(u[0].length):s}).join(` 43`),startLine:o}}catch{return null}}function Mo(e){try{const t=JSON.parse(e),n=typeof t.path=="string"?t.path:null;return n?{path:n,offset:typeof t.offset=="number"?t.offset:void 0,limit:typeof t.limit=="number"?t.limit:void 0}:null}catch{return null}}function ig(e){try{const t=JSON.parse(e),n=Array.isArray(t.result)?t.result:null;if(!n)return null;const r=n.map(i=>pt(i)).filter(i=>i!==null).map(i=>{const l=typeof i.title=="string"?i.title:null,o=typeof i.description=="string"?i.description:null,a=typeof i.path=="string"?i.path:null,s=typeof i.content=="string"?i.content:null,u=Array.isArray(i.tags)?i.tags.filter(c=>typeof c=="string"):[];return!l||!o||!a||!s?null:{title:l,description:o,path:a,content:s,tags:u}}).filter(i=>i!==null);return r.length>0?r:null}catch{return null}}function fn(e,t){const n=`<${t}>`,r=`</${t}>`,i=e.indexOf(n);if(i<0)return null;const l=i+n.length,o=e.indexOf(r,l);return o<0?null:e.slice(l,o).trim()}function hr(e){return e?e.split(` 44`).map(t=>t.trim()).filter(t=>t.startsWith("- ")).map(t=>t.slice(2).trim()).filter(Boolean):[]}function lg(e){try{const t=JSON.parse(e),n=typeof t.result=="string"?t.result:null,r=pt(t.compilation);return{status:r?.status==="success"||r?.status==="error"?r.status:"unknown",summary:n?fn(n,"summary"):null,failures:n?hr(fn(n,"failures")):[],warnings:n?hr(fn(n,"warnings")):[],notes:n?hr(fn(n,"notes")):[],error:typeof r?.error=="string"?r.error:null}}catch{return null}}function ll(e){const t=[],n=/(\*\*(.+?)\*\*|\*(.+?)\*|`([^`]+)`)/g;let r=0,i,l=0;for(;(i=n.exec(e))!==null;)i.index>r&&t.push(e.slice(r,i.index)),i[2]?t.push(d.jsx("strong",{className:"font-semibold text-[var(--text-primary)]",children:i[2]},l++)):i[3]?t.push(d.jsx("em",{children:i[3]},l++)):i[4]&&t.push(d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px]",children:i[4]},l++)),r=i.index+i[0].length;return r<e.length&&t.push(e.slice(r)),d.jsx(d.Fragment,{children:t})}function og({text:e}){const n=e.replace(/([^\n])(\s+)(\*\*[^*\n]+ [^*\n]+\*\*)/g,`$1 45 46$3`).split(/\n\n+/).filter(r=>r.trim());return d.jsxs("div",{className:"border-l-2 border-[var(--accent)] pl-3",children:[d.jsx("p",{className:"mb-1.5 text-[10px] font-medium text-[var(--accent)]",children:"Reasoning"}),d.jsx("div",{className:"space-y-2 text-[11px] leading-relaxed text-[var(--text-secondary)]",children:n.map((r,i)=>{const l=r.trim();if(!l)return null;const o=/^\*\*(.+?)\*\*(.*)$/s.exec(l);if(o){const a=o[1],s=o[2].trim();return d.jsxs("div",{children:[d.jsx("p",{className:"font-semibold text-[var(--text-primary)]",children:a}),s?d.jsx("p",{className:"mt-0.5",children:ll(s)}):null]},i)}return d.jsx("p",{children:ll(l)},i)})})]})}function ag({text:e}){const t=e.split(` 47`);return d.jsx("div",{className:"max-h-80 min-w-0 overflow-auto rounded-md bg-[var(--surface-2)]",children:d.jsx("pre",{className:"py-1.5 font-mono text-[10px] leading-relaxed",children:t.map((n,r)=>{let i="text-[var(--text-secondary)]";return n.startsWith("+")?i="text-[#1a7f37] bg-[#dafbe1]":n.startsWith("-")?i="text-[#cf222e] bg-[#ffebe9]":n.startsWith("@@")?i="text-[#656d76] italic":n.startsWith("***")&&(i="text-[#656d76] font-medium"),d.jsx("div",{className:`whitespace-pre-wrap break-words px-3 ${i}`,children:n||"Â "},r)})})})}function ft({code:e,language:t="json",maxHeight:n="max-h-64",startingLineNumber:r}){const i=r!=null;return d.jsx("div",{className:`${n} min-w-0 overflow-auto rounded-md bg-[var(--surface-2)]`,children:d.jsx(Lt,{language:t,style:jo,wrapLongLines:!0,showLineNumbers:i,startingLineNumber:r,lineNumberStyle:i?{minWidth:"2.5rem",paddingRight:"0.75rem",textAlign:"right",color:"var(--text-quaternary)",userSelect:"none"}:void 0,customStyle:{margin:0,padding:"8px 12px",background:"transparent",fontFamily:"var(--font-mono)",fontSize:"10px",lineHeight:"1.6"},codeTagProps:{style:{fontFamily:"var(--font-mono)"}},children:e})})}function He({text:e,maxHeight:t="max-h-64"}){return d.jsx("pre",{className:`${t} min-w-0 overflow-auto whitespace-pre-wrap break-words rounded-md bg-[var(--surface-2)] px-3 py-2 font-mono text-[10px] leading-relaxed text-[var(--text-secondary)]`,children:e})}function pn({label:e,value:t}){return d.jsxs("div",{className:"space-y-0.5 rounded-md bg-[var(--surface-2)] px-2.5 py-2",children:[d.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.05em] text-[var(--text-quaternary)]",children:e}),d.jsx("p",{className:"break-words font-mono text-[10px] text-[var(--text-secondary)]",children:t})]})}function sg(e){const t=/^---\n[\s\S]*?\n---\n?/.exec(e);return t?e.slice(t[0].length):e}function ol({text:e,maxHeight:t="max-h-80"}){const n=sg(e);return d.jsx("div",{className:`${t} min-w-0 overflow-auto rounded-md bg-[var(--surface-2)] px-3 py-2 text-[11px] leading-relaxed text-[var(--text-secondary)]`,children:d.jsx(rp,{remarkPlugins:[md],c
47omponents:{h1:({children:r})=>d.jsx("h3",{className:"mb-1.5 mt-2 text-[12px] font-semibold text-[var(--text-primary)] first:mt-0",children:r}),h2:({children:r})=>d.jsx("h4",{className:"mb-1 mt-2 text-[11px] font-semibold text-[var(--text-primary)]",children:r}),h3:({children:r})=>d.jsx("h5",{className:"mb-1 mt-1.5 text-[11px] font-medium text-[var(--text-primary)]",children:r}),p:({children:r})=>d.jsx("p",{className:"my-1.5",children:r}),ul:({children:r})=>d.jsx("ul",{className:"my-1.5 list-disc space-y-0.5 pl-4",children:r}),ol:({children:r})=>d.jsx("ol",{className:"my-1.5 list-decimal space-y-0.5 pl-4",children:r}),li:({children:r})=>d.jsx("li",{className:"text-[11px]",children:r}),code:({className:r,children:i,...l})=>{const o=/language-(\w+)/.exec(r||""),a=String(i).replace(/\n$/,""),s=eg(o?.[1]);return s?d.jsx("div",{className:"my-2 overflow-auto rounded bg-[var(--surface-1)]",children:d.jsx(Lt,{language:s,style:jo,wrapLongLines:!0,customStyle:{margin:0,padding:"8px 12px",background:"transparent",fontFamily:"var(--font-mono)",fontSize:"10px",lineHeight:"1.6"},codeTagProps:{style:{fontFamily:"var(--font-mono)"}},children:a})}):d.jsx("code",{className:"rounded bg-[var(--surface-1)] px-1 py-0.5 font-mono text-[10px]",...l,children:i})},pre:({children:r})=>d.jsx(d.Fragment,{children:r})},children:n})})}function ug(e){try{const t=JSON.parse(e);return typeof t.code=="string"?t.code:null}catch{return null}}function cg(e){try{const t=JSON.parse(e),n=pt(t.result);if(!n)return null;const r=typeof n.ok=="boolean"?n.ok:!0,i=typeof n.elapsed_ms=="number"?n.elapsed_ms:void 0;return{ok:r,elapsedMs:i,result:n.result??n.error??null}}catch{return null}}function fg(e){try{const t=JSON.parse(e);return typeof t.result=="string"?t.result:null}catch{return null}}function pg(e){try{const t=JSON.parse(e),n=typeof t.old_string=="string"?t.old_string:null,r=typeof t.new_string=="string"?t.new_string:null;if(n==null||r==null)return null;const i=typeof t.replace_all=="boolean"?t.replace_all:void 0;return{old_string:n,new_string:r,replace_all:i}}catch{return null}}function hg(e){try{const t=JSON.parse(e),n=typeof t.result=="string"?t.result:null;if(!n)return null;const r=pt(t.compilation),i=r?.status==="success"||r?.status==="error"?r.status:"unknown",l=typeof r?.error=="string"?r.error:null;return{message:n,status:i,error:l}}catch{return null}}function dg(e){try{const t=JSON.parse(e);return typeof t.code=="string"?t.code:null}catch{return null}}function gg({old_string:e,new_string:t,replace_all:n}){const r=e.split(` 48`),i=t.split(` 49`);return d.jsxs("div",{className:"max-h-80 min-w-0 overflow-auto rounded-md bg-[var(--surface-2)]",children:[n?d.jsx("div",{className:"px-3 pt-1.5",children:d.jsx(de,{variant:"secondary",children:"replace all"})}):null,d.jsxs("pre",{className:"py-1.5 font-mono text-[10px] leading-relaxed",children:[r.map((l,o)=>d.jsx("div",{className:"whitespace-pre-wrap break-words px-3 text-[#cf222e] bg-[#ffebe9]",children:`-${l}`},`old-${o}`)),i.map((l,o)=>d.jsx("div",{className:"whitespace-pre-wrap break-words px-3 text-[#1a7f37] bg-[#dafbe1]",children:`+${l}`},`new-${o}`))]})]})}function mg({call:e}){const t=Oo(e),n=Do(e),r=t==="apply_patch"||n!=null&&ng(n);if(t==="probe_model"&&n){const l=ug(n);return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-primary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px]",children:t})}),l?d.jsx(ft,{code:l,language:"python"}):d.jsx(He,{text:n})]})}if(t==="edit_code"&&n){const l=pg(n);if(l)return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-primary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px]",children:t})}),d.jsx(gg,{old_string:l.old_string,new_string:l.new_string,replace_all:l.replace_all})]})}if(t==="write_code"&&n){const l=dg(n);if(l)return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-primary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px]",children:t})}),d.jsx(ft,{code:l,language:"python",maxHeight:"max-h-80"})]})}if(t==="read_file"&&n){const l=Mo(n);if(l)return d.jsx("div",{className:"min-w-0 space-y-1.5",children:d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-primary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px]",children:t})}),d.jsx(de,{variant:"secondary",children:l.path}),l.offset!=null?d.jsxs(de,{variant:"secondary",children:["offset ",l.offset]}):null,l.limit!=null?d.jsxs(de,{variant:"secondary",children:["limit ",l.limit]}):null]})})}const i=!r&&n?Qr(n):null;return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-primary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px]",children:t})}),r&&n?d.jsx(ag,{text:n}):n?i?d.jsx(ft,{code:i}
49):d.jsx(He,{text:n}):null]})}function xg({event:e}){const t=Tr(e.content);return d.jsxs("div",{className:"min-w-0 space-y-2",children:[e.thought_summary?d.jsx(og,{text:e.thought_summary}):null,t?d.jsx("p",{className:"min-w-0 whitespace-pre-wrap break-words text-[11px] leading-relaxed text-[var(--text-secondary)]",children:t}):null,e.tool_calls?.map((n,r)=>d.jsx(mg,{call:n},n.id??r))]})}function yg({event:e,toolCallContext:t}){const n=Tr(e.content);if(e.name==="compile_model"&&n){const i=lg(n);if(i){const l=i.status==="success"?"success":i.status==="error"?"destructive":"secondary";return d.jsxs("div",{className:"min-w-0 space-y-2",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name})," ","result"]}),d.jsx(de,{variant:l,children:i.status==="success"?"compile passed":i.status==="error"?"compile failed":"compile"}),i.failures.length>0?d.jsxs(de,{variant:"destructive",children:[i.failures.length," failures"]}):null,i.warnings.length>0?d.jsxs(de,{variant:"secondary",children:[i.warnings.length," warnings"]}):null,i.notes.length>0?d.jsxs(de,{variant:"secondary",children:[i.notes.length," notes"]}):null]}),i.summary?d.jsx(He,{text:i.summary,maxHeight:"max-h-32"}):null,i.failures.length>0?d.jsxs("div",{className:"space-y-1",children:[d.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.05em] text-[var(--destructive)]",children:"Failures"}),d.jsx(He,{text:i.failures.map(o=>`- ${o}`).join(` 50`),maxHeight:"max-h-48"})]}):null,i.warnings.length>0?d.jsxs("div",{className:"space-y-1",children:[d.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.05em] text-[var(--warning)]",children:"Warnings"}),d.jsx(He,{text:i.warnings.map(o=>`- ${o}`).join(` 51`),maxHeight:"max-h-48"})]}):null,i.notes.length>0?d.jsxs("div",{className:"space-y-1",children:[d.jsx("p",{className:"text-[10px] font-medium uppercase tracking-[0.05em] text-[var(--text-tertiary)]",children:"Notes"}),d.jsx(He,{text:i.notes.map(o=>`- ${o}`).join(` 52`),maxHeight:"max-h-48"})]}):null,!i.summary&&i.error?d.jsx(He,{text:i.error,maxHeight:"max-h-32"}):null]})}}if(e.name==="find_examples"&&n){const i=ig(n);if(i)return d.jsxs("div",{className:"min-w-0 space-y-2",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name})," ","result"]}),d.jsx("div",{className:"space-y-2",children:i.map(l=>d.jsxs("div",{className:"space-y-2 rounded-md border border-[var(--border)] bg-[var(--surface-1)] p-3",children:[d.jsxs("div",{className:"space-y-1",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsx("p",{className:"text-[11px] font-medium text-[var(--text-primary)]",children:l.title}),d.jsx(de,{variant:"secondary",children:l.path})]}),d.jsx("p",{className:"text-[11px] leading-relaxed text-[var(--text-secondary)]",children:l.description}),l.tags.length>0?d.jsx("div",{className:"flex flex-wrap gap-1",children:l.tags.map(o=>d.jsx(de,{variant:"secondary",children:o},`${l.path}-${o}`))}):null]}),d.jsx(ol,{text:l.content,maxHeight:"max-h-80"})]},l.path))})]})}if(e.name==="probe_model"&&n){const i=cg(n);if(i){const l=JSON.stringify(i.result,null,2);return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name})," ","result"]}),d.jsx(de,{variant:i.ok?"success":"destructive",children:i.ok?"ok":"error"}),typeof i.elapsedMs=="number"?d.jsxs("span",{className:"font-mono text-[10px] text-[var(--text-quaternary)]",children:[i.elapsedMs.toFixed(0),"ms"]}):null]}),d.jsx(ft,{code:l,maxHeight:"max-h-80"})]})}}if(e.name==="read_file"&&n){const i=rg(n);if(i){const o=(t?.name==="read_file"&&t.rawArgs?Mo(t.rawArgs):null)?.path??null,a=o?.endsWith(".md")??!1,s=o?.endsWith(".py")??!1;return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name})," ","result"]}),o?d.jsx(de,{variant:"secondary",children:o}):null]}),a?d.jsx(ol,{text:i.code,maxHeight:"max-h-80"}):s?d.jsx(ft,{code:i.code,language:"python",maxHeight:"max-h-80",startingLineNumber:i.startLine}):d.jsx(He,{text:i.code,maxHeight:"max-h-80"})]})}}if(e.name==="read_code"&&n){const i=fg(n);if(i)return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name})," ","result"]}),d.jsx(ft,{code:i,language:"python",maxHeight:"max-h-80"})]})}if((e.name==="edit_code"||e.name==="write_code")&&n){const i=hg(n);if(i){const l=i.status==="success"?"success":i.status==="error"?"destructive":"secondary";return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name})," ","result"]}),i.status!=="unknown"?d.jsx(de,{variant:l,children:i.status==="success"?"compiled":"compile error"}):null]}),d.jsx("p",{className:"text-[11px] text-[var(--text-secondary)]",children:i.message}),i.error?d.jsx(He,{text:i.error,maxHeight:"max-h-48"}):null]})}}const r=n?Qr(n):null;return d.jsxs("div",{className:"min-w-0 space-y-1.5",children:[d.jsxs("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:[d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.name??"tool"})," ","result"]}),n?r?d.jsx(ft,{code:r,maxHeight:"max-h-80"}):d.jsx(He,{text:n,maxHeight:"max-h-80"}):null]})}function bg({event:e}){const t=Tr(e.content);return d.jsxs("div",{className:"min-w-0",children:[d.jsx("p",{className:"mb-1 text-[10px] font-medium text-[var(--text-tertiary)]",children:"Feedback"}),t?d.jsx(He,{text:t}):null]})}function kg({event:e}){return d.jsxs("div",{className:"min-w-0 space-y-2 rounded-md border border-[var(--border-default)] bg-[var(--surface-1)] p-3",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.eventType})}),e.trigger?d.jsx(de,{variant:"warning",children:e.trigger.replaceAll("_"," ")}):null,e.estimatedSavedNextInputTokens!=null?d.jsxs(de,{variant:"secondary",children:[Ut(e.estimatedSavedNextInputTokens)," tok saved"]}):null,e.billedCostUsd!=null?d.jsx(de,{variant:"success",children:qt(e.billedCostUsd)}):null,d.jsx(de,{variant:e.previousResponseIdCleared?"success":"secondary",children:e.previousResponseIdCleared?"previous_response_id cleared":"previous_response_id kept"})]}),d.jsxs("div",{className:"grid gap-2 sm:grid-cols-2",children:[d.jsx(pn,{label:"Trigger",value:e.trigger??"--"}),d.jsx(pn,{label:"Tokens Saved Estimate",value:e.estimatedSavedNextInputTokens!=null?Ut(e.estimatedSavedNextInputTokens):"--"}),d.jsx(pn,{label:"Billed Cost",value:qt(e.billedCostUsd)}),d.jsx(pn,{label:"Previous Response ID",value:e.previousResponseIdCleared?"cleared":"kept"})]}),e.estimateError?d.jsxs("p",{className:"text-[10px] leading-relaxed text-[var(--warning)]",children:["Saved-token estimate unavailable: ",e.estimateError]}):null]})}function wg({event:e}){const t=Qr(JSON.stringify(e.raw));return d.jsxs("div",{className:"min-w-0 space-y-1.5 rounded-md border border-[var(--border-subtle)] bg-[var(--surface-1)] p-3",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsx("p",{className:"text-[11px] text-[var(--text-tertiary)]",children:d.jsx("code",{className:"rounded bg-[var(--surface-2)] px-1 py-0.5 font-mono text-[10px] text-[var(--text-secondary)]",children:e.eventType})}),d.jsx(de,{variant:"secondary",children:e.title})]}),t?d.jsx(ft,{code:t,maxHeight:"max-h-80"}):d.jsx(He,{text:JSON.stringify(e.raw,null,2),maxHeight:"max-h-80"})]})}function vg({event:e,toolCallContextById:t}){if(e.kind==="compaction")return d.jsx(kg,{event:e});if(e.kind==="event")return d.jsx(wg,{event:e});if(e.role==="assistant")return d.jsx(xg,{event:e});if(e.role==="tool"){const n=e.tool_call_id!=null?t.get(e.tool_call_id):void 0;return d.jsx(yg,{event:e,toolCallContext:n})}return d.jsx(bg,{event:e})}function Sg({turn:e,baseTimestamp:t}){const n=pt(e.cost?.tokens),r=pt(e.cost?.costs_usd),i=tg(e.timestamp,t),l=e.events.reduce((u,c)=>(c.usage?.total_tokens&&(u.total+=c.usage.total_tokens),c.kind==="compaction"&&c.billedCostUsd!=null&&(u.billedCost+=c.billedCostUsd),u),{total:0,billedCost:0}),o=ii(n?.total_tokens)!=null?Ut(n?.total_tokens):l.total>0?Ut(l.total):null,a=ii(r?.total)!=null?qt(r?.total):l.billedCost>0?qt(l.billedCost):null,s=new Map;for(const u of e.events)if(!(u.kind!=="message"||u.role!=="assistant"))for(const c of u.tool_calls??[])c.id&&s.set(c.id,{name:Oo(c),rawArgs:Do(c)});return d.jsxs("div",{className:"min-w-0",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2 pb-2",children:[d.jsxs("span",{className:"font-mono text-[11px] font-medium text-[var(--text-primary)]",children:["Turn ",e.index]}),a?d.jsx(de,{variant:"success",children:a}):null,o?d.jsxs(de,{variant:"secondary",children:[o," tok"]}):null,i?d.jsx("span",{className:"font-mono text-[10px] text-[var(--text-quaternary)]",children:i}):null]}),e.events.length>0?d.jsx("div",{className:"min-w-0 space-y-3 pl-3",children:e.events.map((u,c)=>d.jsx("div",{className:"min-w-0",children:d.jsx(vg,{event:u,toolCallContextById:s})},`${e.index}-${c}`))}):d.jsx("p",{className:"py-1 text-[10px] text-[var(--text-quaternary)]",children:"Trace unavailable for this turn."})]})}function Ig({open:e,onOpenChange:t,cost:n,traceText:r}){const i=xe.useMemo(()=>e?ya(r,n):[],[e,r,n]),l=ba(n),o=pt(l?.tokens),a=pt(l?.costs_usd),s=typeof n?.model_id=="string"?n.model_id:null,u=i.find(c=>c.timestamp!=null)?.timestamp??null;return d.jsx(Ma,{open:e,onOpenChange:t,children:d.jsxs(Ba,{className:"flex max-h-[85vh] w-[95vw] max-w-4xl flex-col gap-0 overflow-hidden p-0",children:[d.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b border-[var(--border-default)] px-5 py-3",children:[d.jsxs($a,{className:"min-w-0 gap-2",children:[d.jsx(Ha,{className:"text-sm",children:"Trajectory Inspector"}),d.jsx(Ua,{className:"sr-only",children:"Full agent trajectory with thought summaries, tool calls, runtime events, and results."}),d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[s?d.jsx(de,{variant:"default",children:d.jsx("span",{className:"font-mono text-[10px]",children:s})}):null,d.jsx(de,{variant:"success",children:qt(a?.total)}),d.jsxs(de,{variant:"secondary",children:[Ut(o?.total_tokens)," tok"]}),d.jsxs(de,{variant:"secondary",children:[i.length," turns"]})]})]}),d.jsx(qa,{className:"shrink-0"})]}),d.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto",children:d.jsx("div",{className:"divide-y divide-[var(--border-subtle)] px-5",children:i.length>0?i.map(c=>d.jsx("div",{className:"min-w-0 py-4 first:pt-4 last:pb-5",children:d.jsx(Sg,{turn:c,baseTimestamp:u})},c.index)):d.jsx("p",{className:"py-8 text-center text-xs text-[var(--text-quaternary)]",children:"No trajectory data available."})})})]})})}export{Ig as TrajectoryInspectorModal};
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.