@grackle-ai/web 0.123.0 → 0.123.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{KnowledgePage-Dlx-9yf1.js → KnowledgePage-BnKWZKuh.js} +1 -1
- package/dist/assets/{McpAppWidget-CTtvGo4M.js → McpAppWidget-BTQyEJAZ.js} +1 -1
- package/dist/assets/{dagview-tHPW3Rz3.js → dagview-B70jDsRo.js} +1 -1
- package/dist/assets/{index-fl7Yu9Hf.css → index-JkSx7ozY.css} +1 -1
- package/dist/assets/index-u6SEG1UL.js +755 -0
- package/dist/assets/{markdown-Yr3vTPLR.js → markdown-CPoGw-1N.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +3 -3
- package/dist/assets/index-CPI2uloB.js +0 -755
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as an,j as Rt}from"./dagview-tHPW3Rz3.js";function tr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const l=n.slice(i,r).trim();(l||!a)&&t.push(l),i=r+1,r=n.indexOf(",",i)}return t}function ka(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xa=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ea=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,wa={};function nr(e,t){return(wa.jsx?Ea:xa).test(e)}const Sa=/[ \t\n\f\r]/g;function Aa(e){return typeof e=="object"?e.type==="text"?rr(e.value):!1:rr(e)}function rr(e){return e.replace(Sa,"")===""}class et{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}et.prototype.normal={};et.prototype.property={};et.prototype.space=void 0;function Qr(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new et(n,r,t)}function Ze(e){return e.toLowerCase()}class ae{constructor(t,n){this.attribute=n,this.property=t}}ae.prototype.attribute="";ae.prototype.booleanish=!1;ae.prototype.boolean=!1;ae.prototype.commaOrSpaceSeparated=!1;ae.prototype.commaSeparated=!1;ae.prototype.defined=!1;ae.prototype.mustUseProperty=!1;ae.prototype.number=!1;ae.prototype.overloadedBoolean=!1;ae.prototype.property="";ae.prototype.spaceSeparated=!1;ae.prototype.space=void 0;let Ta=0;const $=Ce(),X=Ce(),Vt=Ce(),T=Ce(),W=Ce(),De=Ce(),oe=Ce();function Ce(){return 2**++Ta}const Wt=Object.freeze(Object.defineProperty({__proto__:null,boolean:$,booleanish:X,commaOrSpaceSeparated:oe,commaSeparated:De,number:T,overloadedBoolean:Vt,spaceSeparated:W},Symbol.toStringTag,{value:"Module"})),Nt=Object.keys(Wt);class ln extends ae{constructor(t,n,r,i){let a=-1;if(super(t,n),ir(this,"space",i),typeof r=="number")for(;++a<Nt.length;){const l=Nt[a];ir(this,Nt[a],(r&Wt[l])===Wt[l])}}}ln.prototype.defined=!0;function ir(e,t,n){n&&(e[t]=n)}function Me(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new ln(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Ze(r)]=r,n[Ze(a.attribute)]=r}return new et(t,n,e.space)}const Jr=Me({properties:{ariaActiveDescendant:null,ariaAtomic:X,ariaAutoComplete:null,ariaBusy:X,ariaChecked:X,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:W,ariaCurrent:null,ariaDescribedBy:W,ariaDetails:null,ariaDisabled:X,ariaDropEffect:W,ariaErrorMessage:null,ariaExpanded:X,ariaFlowTo:W,ariaGrabbed:X,ariaHasPopup:null,ariaHidden:X,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:W,ariaLevel:T,ariaLive:null,ariaModal:X,ariaMultiLine:X,ariaMultiSelectable:X,ariaOrientation:null,ariaOwns:W,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:X,ariaReadOnly:X,ariaRelevant:null,ariaRequired:X,ariaRoleDescription:W,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:X,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ei(e,t){return t in e?e[t]:t}function ti(e,t){return ei(e,t.toLowerCase())}const Ia=Me({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:De,acceptCharset:W,accessKey:W,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:W,autoFocus:$,autoPlay:$,blocking:W,capture:null,charSet:null,checked:$,cite:null,className:W,cols:T,colSpan:null,content:null,contentEditable:X,controls:$,controlsList:W,coords:T|De,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:Vt,draggable:X,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:W,height:T,hidden:Vt,high:T,href:null,hrefLang:null,htmlFor:W,httpEquiv:W,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:W,itemRef:W,itemScope:$,itemType:W,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,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:$,optimum:T,pattern:null,ping:W,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:W,required:$,reversed:$,rows:T,rowSpan:T,sandbox:W,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:X,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:X,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:W,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:X,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$,disableRemotePlayback:$,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:ti}),Ca=Me({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:oe,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:W,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:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,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:De,g2:De,glyphName:De,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,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:T,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:W,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:oe,rev:oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:oe,requiredFeatures:oe,requiredFonts:oe,requiredFormats:oe,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:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:oe,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ei}),ni=Me({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()}}),ri=Me({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ti}),ii=Me({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Ra={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"},Na=/[A-Z]/g,ar=/-[a-z]/g,Oa=/^data[-\w.:]+$/i;function ai(e,t){const n=Ze(t);let r=t,i=ae;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Oa.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(ar,La);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!ar.test(a)){let l=a.replace(Na,va);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=ln}return new i(r,t)}function va(e){return"-"+e.toLowerCase()}function La(e){return e.charAt(1).toUpperCase()}const li=Qr([Jr,Ia,ni,ri,ii],"html"),kt=Qr([Jr,Ca,ni,ri,ii],"svg");function lr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _a(e){return e.join(" ").trim()}var ve={},Ot,or;function Da(){if(or)return Ot;or=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,o=/^\s+|\s+$/g,s=`
|
|
1
|
+
import{g as an,j as Rt}from"./dagview-B70jDsRo.js";function tr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const l=n.slice(i,r).trim();(l||!a)&&t.push(l),i=r+1,r=n.indexOf(",",i)}return t}function ka(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xa=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ea=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,wa={};function nr(e,t){return(wa.jsx?Ea:xa).test(e)}const Sa=/[ \t\n\f\r]/g;function Aa(e){return typeof e=="object"?e.type==="text"?rr(e.value):!1:rr(e)}function rr(e){return e.replace(Sa,"")===""}class et{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}et.prototype.normal={};et.prototype.property={};et.prototype.space=void 0;function Qr(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new et(n,r,t)}function Ze(e){return e.toLowerCase()}class ae{constructor(t,n){this.attribute=n,this.property=t}}ae.prototype.attribute="";ae.prototype.booleanish=!1;ae.prototype.boolean=!1;ae.prototype.commaOrSpaceSeparated=!1;ae.prototype.commaSeparated=!1;ae.prototype.defined=!1;ae.prototype.mustUseProperty=!1;ae.prototype.number=!1;ae.prototype.overloadedBoolean=!1;ae.prototype.property="";ae.prototype.spaceSeparated=!1;ae.prototype.space=void 0;let Ta=0;const $=Ce(),X=Ce(),Vt=Ce(),T=Ce(),W=Ce(),De=Ce(),oe=Ce();function Ce(){return 2**++Ta}const Wt=Object.freeze(Object.defineProperty({__proto__:null,boolean:$,booleanish:X,commaOrSpaceSeparated:oe,commaSeparated:De,number:T,overloadedBoolean:Vt,spaceSeparated:W},Symbol.toStringTag,{value:"Module"})),Nt=Object.keys(Wt);class ln extends ae{constructor(t,n,r,i){let a=-1;if(super(t,n),ir(this,"space",i),typeof r=="number")for(;++a<Nt.length;){const l=Nt[a];ir(this,Nt[a],(r&Wt[l])===Wt[l])}}}ln.prototype.defined=!0;function ir(e,t,n){n&&(e[t]=n)}function Me(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new ln(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Ze(r)]=r,n[Ze(a.attribute)]=r}return new et(t,n,e.space)}const Jr=Me({properties:{ariaActiveDescendant:null,ariaAtomic:X,ariaAutoComplete:null,ariaBusy:X,ariaChecked:X,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:W,ariaCurrent:null,ariaDescribedBy:W,ariaDetails:null,ariaDisabled:X,ariaDropEffect:W,ariaErrorMessage:null,ariaExpanded:X,ariaFlowTo:W,ariaGrabbed:X,ariaHasPopup:null,ariaHidden:X,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:W,ariaLevel:T,ariaLive:null,ariaModal:X,ariaMultiLine:X,ariaMultiSelectable:X,ariaOrientation:null,ariaOwns:W,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:X,ariaReadOnly:X,ariaRelevant:null,ariaRequired:X,ariaRoleDescription:W,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:X,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ei(e,t){return t in e?e[t]:t}function ti(e,t){return ei(e,t.toLowerCase())}const Ia=Me({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:De,acceptCharset:W,accessKey:W,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:W,autoFocus:$,autoPlay:$,blocking:W,capture:null,charSet:null,checked:$,cite:null,className:W,cols:T,colSpan:null,content:null,contentEditable:X,controls:$,controlsList:W,coords:T|De,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:Vt,draggable:X,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:W,height:T,hidden:Vt,high:T,href:null,hrefLang:null,htmlFor:W,httpEquiv:W,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:W,itemRef:W,itemScope:$,itemType:W,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,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:$,optimum:T,pattern:null,ping:W,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:W,required:$,reversed:$,rows:T,rowSpan:T,sandbox:W,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:X,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:X,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:W,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:X,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$,disableRemotePlayback:$,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:ti}),Ca=Me({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:oe,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:W,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:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,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:De,g2:De,glyphName:De,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,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:T,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:W,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:oe,rev:oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:oe,requiredFeatures:oe,requiredFonts:oe,requiredFormats:oe,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:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:oe,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ei}),ni=Me({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()}}),ri=Me({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ti}),ii=Me({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Ra={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"},Na=/[A-Z]/g,ar=/-[a-z]/g,Oa=/^data[-\w.:]+$/i;function ai(e,t){const n=Ze(t);let r=t,i=ae;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Oa.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(ar,La);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!ar.test(a)){let l=a.replace(Na,va);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=ln}return new i(r,t)}function va(e){return"-"+e.toLowerCase()}function La(e){return e.charAt(1).toUpperCase()}const li=Qr([Jr,Ia,ni,ri,ii],"html"),kt=Qr([Jr,Ca,ni,ri,ii],"svg");function lr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _a(e){return e.join(" ").trim()}var ve={},Ot,or;function Da(){if(or)return Ot;or=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,o=/^\s+|\s+$/g,s=`
|
|
2
2
|
`,u="/",p="*",c="",d="comment",f="declaration";function m(E,b){if(typeof E!="string")throw new TypeError("First argument must be a string");if(!E)return[];b=b||{};var A=1,w=1;function C(_){var R=_.match(t);R&&(A+=R.length);var G=_.lastIndexOf(s);w=~G?_.length-G:w+_.length}function v(){var _={line:A,column:w};return function(R){return R.position=new x(_),P(),R}}function x(_){this.start=_,this.end={line:A,column:w},this.source=b.source}x.prototype.content=E;function D(_){var R=new Error(b.source+":"+A+":"+w+": "+_);if(R.reason=_,R.filename=b.source,R.line=A,R.column=w,R.source=E,!b.silent)throw R}function z(_){var R=_.exec(E);if(R){var G=R[0];return C(G),E=E.slice(G.length),R}}function P(){z(n)}function y(_){var R;for(_=_||[];R=N();)R!==!1&&_.push(R);return _}function N(){var _=v();if(!(u!=E.charAt(0)||p!=E.charAt(1))){for(var R=2;c!=E.charAt(R)&&(p!=E.charAt(R)||u!=E.charAt(R+1));)++R;if(R+=2,c===E.charAt(R-1))return D("End of comment missing");var G=E.slice(2,R-2);return w+=2,C(G),E=E.slice(R),w+=2,_({type:d,comment:G})}}function O(){var _=v(),R=z(r);if(R){if(N(),!z(i))return D("property missing ':'");var G=z(a),Y=_({type:f,property:k(R[0].replace(e,c)),value:G?k(G[0].replace(e,c)):c});return z(l),Y}}function L(){var _=[];y(_);for(var R;R=O();)R!==!1&&(_.push(R),y(_));return _}return P(),L()}function k(E){return E?E.replace(o,c):c}return Ot=m,Ot}var sr;function Fa(){if(sr)return ve;sr=1;var e=ve&&ve.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.default=n;const t=e(Da());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const l=(0,t.default)(r),o=typeof i=="function";return l.forEach(s=>{if(s.type!=="declaration")return;const{property:u,value:p}=s;o?i(u,p,s):p&&(a=a||{},a[u]=p)}),a}return ve}var je={},ur;function Ma(){if(ur)return je;ur=1,Object.defineProperty(je,"__esModule",{value:!0}),je.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(u){return!u||n.test(u)||e.test(u)},l=function(u,p){return p.toUpperCase()},o=function(u,p){return"".concat(p,"-")},s=function(u,p){return p===void 0&&(p={}),a(u)?u:(u=u.toLowerCase(),p.reactCompat?u=u.replace(i,o):u=u.replace(r,o),u.replace(t,l))};return je.camelCase=s,je}var He,cr;function za(){if(cr)return He;cr=1;var e=He&&He.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(Fa()),n=Ma();function r(i,a){var l={};return!i||typeof i!="string"||(0,t.default)(i,function(o,s){o&&s&&(l[(0,n.camelCase)(o,a)]=s)}),l}return r.default=r,He=r,He}var Ba=za();const Pa=an(Ba),oi=si("end"),on=si("start");function si(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 $a(e){const t=on(e),n=oi(e);if(t&&n)return{start:t,end:n}}function Ve(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?pr(e.position):"start"in e||"end"in e?pr(e):"line"in e||"column"in e?Yt(e):""}function Yt(e){return fr(e&&e.line)+":"+fr(e&&e.column)}function pr(e){return Yt(e&&e.start)+"-"+Yt(e&&e.end)}function fr(e){return e&&typeof e=="number"?e:1}class ee extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},l=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?a.ruleId=r:(a.source=r.slice(0,s),a.ruleId=r.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=Ve(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ee.prototype.file="";ee.prototype.name="";ee.prototype.reason="";ee.prototype.message="";ee.prototype.stack="";ee.prototype.column=void 0;ee.prototype.line=void 0;ee.prototype.ancestors=void 0;ee.prototype.cause=void 0;ee.prototype.fatal=void 0;ee.prototype.place=void 0;ee.prototype.ruleId=void 0;ee.prototype.source=void 0;const sn={}.hasOwnProperty,Ua=new Map,ja=/[A-Z]/g,Ha=new Set(["table","tbody","thead","tfoot","tr"]),Ga=new Set(["td","th"]),ui="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qa(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=Ja(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Qa(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"?kt:li,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=ci(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function ci(e,t,n){if(t.type==="element")return Va(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Wa(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Xa(e,t,n);if(t.type==="mdxjsEsm")return Ya(e,t);if(t.type==="root")return Za(e,t,n);if(t.type==="text")return Ka(e,t)}function Va(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=kt,e.schema=i),e.ancestors.push(t);const a=fi(e,t.tagName,!1),l=el(e,t);let o=cn(e,t);return Ha.has(t.tagName)&&(o=o.filter(function(s){return typeof s=="string"?!Aa(s):!0})),pi(e,l,a,t),un(l,o),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function Wa(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)}Ke(e,t.position)}function Ya(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ke(e,t.position)}function Xa(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=kt,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:fi(e,t.name,!0),l=tl(e,t),o=cn(e,t);return pi(e,l,a,t),un(l,o),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function Za(e,t,n){const r={};return un(r,cn(e,t)),e.create(t,e.Fragment,r,n)}function Ka(e,t){return t.value}function pi(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function un(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Qa(e,t,n){return r;function r(i,a,l,o){const u=Array.isArray(l.children)?n:t;return o?u(a,l,o):u(a,l)}}function Ja(e,t){return n;function n(r,i,a,l){const o=Array.isArray(a.children),s=on(r);return t(i,a,l,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function el(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&sn.call(t.properties,i)){const a=nl(e,i,t.properties[i]);if(a){const[l,o]=a;e.tableCellAlignToStyle&&l==="align"&&typeof o=="string"&&Ga.has(t.tagName)?r=o:n[l]=o}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function tl(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const l=a.expression;l.type;const o=l.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Ke(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,a=e.evaluater.evaluateExpression(o.expression)}else Ke(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function cn(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Ua;for(;++r<t.children.length;){const a=t.children[r];let l;if(e.passKeys){const s=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(s){const u=i.get(s)||0;l=s+"-"+u,i.set(s,u+1)}}const o=ci(e,a,l);o!==void 0&&n.push(o)}return n}function nl(e,t,n){const r=ai(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?ka(n):_a(n)),r.property==="style"){let i=typeof n=="object"?n:rl(e,String(n));return e.stylePropertyNameCase==="css"&&(i=il(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Ra[r.property]||r.property:r.attribute,n]}}function rl(e,t){try{return Pa(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new ee("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=ui+"#cannot-parse-style-attribute",i}}function fi(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const o=nr(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}r=l}else r=nr(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return sn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ke(e)}function Ke(e,t){const n=new ee("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=ui+"#cannot-handle-mdx-estrees-without-createevaluater",n}function il(e){const t={};let n;for(n in e)sn.call(e,n)&&(t[al(n)]=e[n]);return t}function al(e){let t=e.replace(ja,ll);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ll(e){return"-"+e.toLowerCase()}const vt={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"]},ol={};function pn(e,t){const n=ol,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return di(e,r,i)}function di(e,t,n){if(sl(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 dr(e.children,t,n)}return Array.isArray(e)?dr(e,t,n):""}function dr(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=di(e[i],t,n);return r.join("")}function sl(e){return!!(e&&typeof e=="object")}const hr=document.createElement("i");function Qe(e){const t="&"+e+";";hr.innerHTML=t;const n=hr.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function se(e,t,n,r){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);a<r.length;)l=r.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function ce(e,t){return e.length>0?(se(e,e.length,0,t),e):t}const gr={}.hasOwnProperty;function hi(e){const t={};let n=-1;for(;++n<e.length;)ul(t,e[n]);return t}function ul(e,t){let n;for(n in t){const i=(gr.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let l;if(a)for(l in a){gr.call(i,l)||(i[l]=[]);const o=a[l];cl(i[l],Array.isArray(o)?o:o?[o]:[])}}}function cl(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);se(e,0,0,r)}function gi(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 de(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const te=we(/[A-Za-z]/),J=we(/[\dA-Za-z]/),pl=we(/[#-'*+\--9=?A-Z^-~]/);function gt(e){return e!==null&&(e<32||e===127)}const Xt=we(/\d/),fl=we(/[\dA-Fa-f]/),dl=we(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function V(e){return e!==null&&(e<0||e===32)}function U(e){return e===-2||e===-1||e===32}const xt=we(new RegExp("\\p{P}|\\p{S}","u")),Ie=we(/\s/);function we(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function ze(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let l="";if(a===37&&J(e.charCodeAt(n+1))&&J(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(l=String.fromCharCode(a,o),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function H(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(s){return U(s)?(e.enter(n),o(s)):t(s)}function o(s){return U(s)&&a++<i?(e.consume(s),o):(e.exit(n),t(s))}}const hl={tokenize:gl};function gl(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),H(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,l(o)}function l(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return F(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),l)}}const ml={tokenize:bl},mr={tokenize:yl};function bl(e){const t=this,n=[];let r=0,i,a,l;return o;function o(w){if(r<n.length){const C=n[r];return t.containerState=C[1],e.attempt(C[0].continuation,s,u)(w)}return u(w)}function s(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const C=t.events.length;let v=C,x;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){x=t.events[v][1].end;break}b(r);let D=C;for(;D<t.events.length;)t.events[D][1].end={...x},D++;return se(t.events,v+1,0,t.events.slice(C)),t.events.length=D,u(w)}return o(w)}function u(w){if(r===n.length){if(!i)return d(w);if(i.currentConstruct&&i.currentConstruct.concrete)return m(w);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(mr,p,c)(w)}function p(w){return i&&A(),b(r),d(w)}function c(w){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,m(w)}function d(w){return t.containerState={},e.attempt(mr,f,m)(w)}function f(w){return r++,n.push([t.currentConstruct,t.containerState]),d(w)}function m(w){if(w===null){i&&A(),b(0),e.consume(w);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),k(w)}function k(w){if(w===null){E(e.exit("chunkFlow"),!0),b(0),e.consume(w);return}return F(w)?(e.consume(w),E(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(w),k)}function E(w,C){const v=t.sliceStream(w);if(C&&v.push(null),w.previous=a,a&&(a.next=w),a=w,i.defineSkip(w.start),i.write(v),t.parser.lazy[w.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;const D=t.events.length;let z=D,P,y;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(P){y=t.events[z][1].end;break}P=!0}for(b(r),x=D;x<t.events.length;)t.events[x][1].end={...y},x++;se(t.events,z+1,0,t.events.slice(D)),t.events.length=x}}function b(w){let C=n.length;for(;C-- >w;){const v=n[C];t.containerState=v[1],v[0].exit.call(t,e)}n.length=w}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yl(e,t,n){return H(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Fe(e){if(e===null||V(e)||Ie(e))return 1;if(xt(e))return 2}function Et(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Zt={name:"attention",resolveAll:kl,tokenize:xl};function kl(e,t){let n=-1,r,i,a,l,o,s,u,p;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 c={...e[r][1].end},d={...e[n][1].start};br(c,-s),br(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:d},a={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[r][1].end={...l.start},e[n][1].start={...o.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=ce(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=ce(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),u=ce(u,Et(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=ce(u,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,u=ce(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,se(e,r-1,n-r+3,u),n=r+u.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function xl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Fe(r);let a;return l;function l(s){return a=s,e.enter("attentionSequence"),o(s)}function o(s){if(s===a)return e.consume(s),o;const u=e.exit("attentionSequence"),p=Fe(s),c=!p||p===2&&i||n.includes(s),d=!i||i===2&&p||n.includes(r);return u._open=!!(a===42?c:c&&(i||!d)),u._close=!!(a===42?d:d&&(p||!c)),t(s)}}function br(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const El={name:"autolink",tokenize:wl};function wl(e,t,n){let r=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(f){return te(f)?(e.consume(f),l):f===64?n(f):u(f)}function l(f){return f===43||f===45||f===46||J(f)?(r=1,o(f)):u(f)}function o(f){return f===58?(e.consume(f),r=0,s):(f===43||f===45||f===46||J(f))&&r++<32?(e.consume(f),o):(r=0,u(f))}function s(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||gt(f)?n(f):(e.consume(f),s)}function u(f){return f===64?(e.consume(f),p):pl(f)?(e.consume(f),u):n(f)}function p(f){return J(f)?c(f):n(f)}function c(f){return f===46?(e.consume(f),r=0,p):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):d(f)}function d(f){if((f===45||J(f))&&r++<63){const m=f===45?d:c;return e.consume(f),m}return n(f)}}const tt={partial:!0,tokenize:Sl};function Sl(e,t,n){return r;function r(a){return U(a)?H(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||F(a)?t(a):n(a)}}const mi={continuation:{tokenize:Tl},exit:Il,name:"blockQuote",tokenize:Al};function Al(e,t,n){const r=this;return i;function i(l){if(l===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return n(l)}function a(l){return U(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function Tl(e,t,n){const r=this;return i;function i(l){return U(l)?H(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(mi,t,n)(l)}}function Il(e){e.exit("blockQuote")}const bi={name:"characterEscape",tokenize:Cl};function Cl(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return dl(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const yi={name:"characterReference",tokenize:Rl};function Rl(e,t,n){const r=this;let i=0,a,l;return o;function o(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),s}function s(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,l=J,p(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=fl,p):(e.enter("characterReferenceValue"),a=7,l=Xt,p(c))}function p(c){if(c===59&&i){const d=e.exit("characterReferenceValue");return l===J&&!Qe(r.sliceSerialize(d))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(c)&&i++<a?(e.consume(c),p):n(c)}}const yr={partial:!0,tokenize:Ol},kr={concrete:!0,name:"codeFenced",tokenize:Nl};function Nl(e,t,n){const r=this,i={partial:!0,tokenize:v};let a=0,l=0,o;return s;function s(x){return u(x)}function u(x){const D=r.events[r.events.length-1];return a=D&&D[1].type==="linePrefix"?D[2].sliceSerialize(D[1],!0).length:0,o=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(x)}function p(x){return x===o?(l++,e.consume(x),p):l<3?n(x):(e.exit("codeFencedFenceSequence"),U(x)?H(e,c,"whitespace")(x):c(x))}function c(x){return x===null||F(x)?(e.exit("codeFencedFence"),r.interrupt?t(x):e.check(yr,k,C)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===null||F(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(x)):U(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),H(e,f,"whitespace")(x)):x===96&&x===o?n(x):(e.consume(x),d)}function f(x){return x===null||F(x)?c(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===null||F(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(x)):x===96&&x===o?n(x):(e.consume(x),m)}function k(x){return e.attempt(i,C,E)(x)}function E(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),b}function b(x){return a>0&&U(x)?H(e,A,"linePrefix",a+1)(x):A(x)}function A(x){return x===null||F(x)?e.check(yr,k,C)(x):(e.enter("codeFlowValue"),w(x))}function w(x){return x===null||F(x)?(e.exit("codeFlowValue"),A(x)):(e.consume(x),w)}function C(x){return e.exit("codeFenced"),t(x)}function v(x,D,z){let P=0;return y;function y(R){return x.enter("lineEnding"),x.consume(R),x.exit("lineEnding"),N}function N(R){return x.enter("codeFencedFence"),U(R)?H(x,O,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):O(R)}function O(R){return R===o?(x.enter("codeFencedFenceSequence"),L(R)):z(R)}function L(R){return R===o?(P++,x.consume(R),L):P>=l?(x.exit("codeFencedFenceSequence"),U(R)?H(x,_,"whitespace")(R):_(R)):z(R)}function _(R){return R===null||F(R)?(x.exit("codeFencedFence"),D(R)):z(R)}}}function Ol(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const Lt={name:"codeIndented",tokenize:Ll},vl={partial:!0,tokenize:_l};function Ll(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),H(e,a,"linePrefix",5)(u)}function a(u){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?s(u):F(u)?e.attempt(vl,l,s)(u):(e.enter("codeFlowValue"),o(u))}function o(u){return u===null||F(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),o)}function s(u){return e.exit("codeIndented"),t(u)}}function _l(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):F(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):H(e,a,"linePrefix",5)(l)}function a(l){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):F(l)?i(l):n(l)}}const Dl={name:"codeText",previous:Ml,resolve:Fl,tokenize:zl};function Fl(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 Ml(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function zl(e,t,n){let r=0,i,a;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),o(c)}function o(c){return c===96?(e.consume(c),r++,o):(e.exit("codeTextSequence"),s(c))}function s(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),s):c===96?(a=e.enter("codeTextSequence"),i=0,p(c)):F(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(c))}function u(c){return c===null||c===32||c===96||F(c)?(e.exit("codeTextData"),s(c)):(e.consume(c),u)}function p(c){return c===96?(e.consume(c),i++,p):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(a.type="codeTextData",u(c))}}class Bl{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 a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Ge(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ge(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ge(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);Ge(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ge(this.left,n.reverse())}}}function Ge(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 ki(e){const t={};let n=-1,r,i,a,l,o,s,u;const p=new Bl(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Pl(p,n)),n=t[n],u=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(l=p.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...p.get(i)[1].start},o=p.slice(i,n),o.unshift(r),p.splice(i,n-i+1,o))}}return se(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!u}function Pl(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const o=l.events,s=[],u={};let p,c,d=-1,f=n,m=0,k=0;const E=[k];for(;f;){for(;e.get(++i)[1]!==f;);a.push(i),f._tokenizer||(p=r.sliceStream(f),f.next||p.push(null),c&&l.defineSkip(f.start),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(p),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=f,f=f.next}for(f=n;++d<o.length;)o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line&&(k=d+1,E.push(k),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(l.events=[],f?(f._tokenizer=void 0,f.previous=void 0):E.pop(),d=E.length;d--;){const b=o.slice(E[d],E[d+1]),A=a.pop();s.push([A,A+b.length-1]),e.splice(A,2,b)}for(s.reverse(),d=-1;++d<s.length;)u[m+s[d][0]]=m+s[d][1],m+=s[d][1]-s[d][0]-1;return u}const $l={resolve:jl,tokenize:Hl},Ul={partial:!0,tokenize:Gl};function jl(e){return ki(e),e}function Hl(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):F(o)?e.check(Ul,l,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function l(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Gl(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),H(e,a,"linePrefix")}function a(l){if(l===null||F(l))return n(l);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function xi(e,t,n,r,i,a,l,o,s){const u=s||Number.POSITIVE_INFINITY;let p=0;return c;function c(b){return b===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(b),e.exit(a),d):b===null||b===32||b===41||gt(b)?n(b):(e.enter(r),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),k(b))}function d(b){return b===62?(e.enter(a),e.consume(b),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),f(b))}function f(b){return b===62?(e.exit("chunkString"),e.exit(o),d(b)):b===null||b===60||F(b)?n(b):(e.consume(b),b===92?m:f)}function m(b){return b===60||b===62||b===92?(e.consume(b),f):f(b)}function k(b){return!p&&(b===null||b===41||V(b))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(r),t(b)):p<u&&b===40?(e.consume(b),p++,k):b===41?(e.consume(b),p--,k):b===null||b===32||b===40||gt(b)?n(b):(e.consume(b),b===92?E:k)}function E(b){return b===40||b===41||b===92?(e.consume(b),k):k(b)}}function Ei(e,t,n,r,i,a){const l=this;let o=0,s;return u;function u(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),e.enter(a),p}function p(f){return o>999||f===null||f===91||f===93&&!s||f===94&&!o&&"_hiddenFootnoteSupport"in l.parser.constructs?n(f):f===93?(e.exit(a),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):F(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===null||f===91||f===93||F(f)||o++>999?(e.exit("chunkString"),p(f)):(e.consume(f),s||(s=!U(f)),f===92?d:c)}function d(f){return f===91||f===92||f===93?(e.consume(f),o++,c):c(f)}}function wi(e,t,n,r,i,a){let l;return o;function o(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s):n(d)}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),u(d))}function u(d){return d===l?(e.exit(a),s(l)):d===null?n(d):F(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),H(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(d))}function p(d){return d===l||d===null||F(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?c:p)}function c(d){return d===l||d===92?(e.consume(d),p):p(d)}}function We(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):U(i)?H(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ql={name:"definition",tokenize:Wl},Vl={partial:!0,tokenize:Yl};function Wl(e,t,n){const r=this;let i;return a;function a(f){return e.enter("definition"),l(f)}function l(f){return Ei.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function o(f){return i=de(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),s):n(f)}function s(f){return V(f)?We(e,u)(f):u(f)}function u(f){return xi(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function p(f){return e.attempt(Vl,c,c)(f)}function c(f){return U(f)?H(e,d,"whitespace")(f):d(f)}function d(f){return f===null||F(f)?(e.exit("definition"),r.parser.defined.push(i),t(f)):n(f)}}function Yl(e,t,n){return r;function r(o){return V(o)?We(e,i)(o):n(o)}function i(o){return wi(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return U(o)?H(e,l,"whitespace")(o):l(o)}function l(o){return o===null||F(o)?t(o):n(o)}}const Xl={name:"hardBreakEscape",tokenize:Zl};function Zl(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return F(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const Kl={name:"headingAtx",resolve:Ql,tokenize:Jl};function Ql(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},se(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Jl(e,t,n){let r=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&r++<6?(e.consume(p),l):p===null||V(p)?(e.exit("atxHeadingSequence"),o(p)):n(p)}function o(p){return p===35?(e.enter("atxHeadingSequence"),s(p)):p===null||F(p)?(e.exit("atxHeading"),t(p)):U(p)?H(e,o,"whitespace")(p):(e.enter("atxHeadingText"),u(p))}function s(p){return p===35?(e.consume(p),s):(e.exit("atxHeadingSequence"),o(p))}function u(p){return p===null||p===35||V(p)?(e.exit("atxHeadingText"),o(p)):(e.consume(p),u)}}const eo=["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"],xr=["pre","script","style","textarea"],to={concrete:!0,name:"htmlFlow",resolveTo:io,tokenize:ao},no={partial:!0,tokenize:oo},ro={partial:!0,tokenize:lo};function io(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 ao(e,t,n){const r=this;let i,a,l,o,s;return u;function u(g){return p(g)}function p(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),c}function c(g){return g===33?(e.consume(g),d):g===47?(e.consume(g),a=!0,k):g===63?(e.consume(g),i=3,r.interrupt?t:h):te(g)?(e.consume(g),l=String.fromCharCode(g),E):n(g)}function d(g){return g===45?(e.consume(g),i=2,f):g===91?(e.consume(g),i=5,o=0,m):te(g)?(e.consume(g),i=4,r.interrupt?t:h):n(g)}function f(g){return g===45?(e.consume(g),r.interrupt?t:h):n(g)}function m(g){const pe="CDATA[";return g===pe.charCodeAt(o++)?(e.consume(g),o===pe.length?r.interrupt?t:O:m):n(g)}function k(g){return te(g)?(e.consume(g),l=String.fromCharCode(g),E):n(g)}function E(g){if(g===null||g===47||g===62||V(g)){const pe=g===47,Se=l.toLowerCase();return!pe&&!a&&xr.includes(Se)?(i=1,r.interrupt?t(g):O(g)):eo.includes(l.toLowerCase())?(i=6,pe?(e.consume(g),b):r.interrupt?t(g):O(g)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(g):a?A(g):w(g))}return g===45||J(g)?(e.consume(g),l+=String.fromCharCode(g),E):n(g)}function b(g){return g===62?(e.consume(g),r.interrupt?t:O):n(g)}function A(g){return U(g)?(e.consume(g),A):y(g)}function w(g){return g===47?(e.consume(g),y):g===58||g===95||te(g)?(e.consume(g),C):U(g)?(e.consume(g),w):y(g)}function C(g){return g===45||g===46||g===58||g===95||J(g)?(e.consume(g),C):v(g)}function v(g){return g===61?(e.consume(g),x):U(g)?(e.consume(g),v):w(g)}function x(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),s=g,D):U(g)?(e.consume(g),x):z(g)}function D(g){return g===s?(e.consume(g),s=null,P):g===null||F(g)?n(g):(e.consume(g),D)}function z(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||V(g)?v(g):(e.consume(g),z)}function P(g){return g===47||g===62||U(g)?w(g):n(g)}function y(g){return g===62?(e.consume(g),N):n(g)}function N(g){return g===null||F(g)?O(g):U(g)?(e.consume(g),N):n(g)}function O(g){return g===45&&i===2?(e.consume(g),G):g===60&&i===1?(e.consume(g),Y):g===62&&i===4?(e.consume(g),Z):g===63&&i===3?(e.consume(g),h):g===93&&i===5?(e.consume(g),ue):F(g)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(no,re,L)(g)):g===null||F(g)?(e.exit("htmlFlowData"),L(g)):(e.consume(g),O)}function L(g){return e.check(ro,_,re)(g)}function _(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),R}function R(g){return g===null||F(g)?L(g):(e.enter("htmlFlowData"),O(g))}function G(g){return g===45?(e.consume(g),h):O(g)}function Y(g){return g===47?(e.consume(g),l="",ne):O(g)}function ne(g){if(g===62){const pe=l.toLowerCase();return xr.includes(pe)?(e.consume(g),Z):O(g)}return te(g)&&l.length<8?(e.consume(g),l+=String.fromCharCode(g),ne):O(g)}function ue(g){return g===93?(e.consume(g),h):O(g)}function h(g){return g===62?(e.consume(g),Z):g===45&&i===2?(e.consume(g),h):O(g)}function Z(g){return g===null||F(g)?(e.exit("htmlFlowData"),re(g)):(e.consume(g),Z)}function re(g){return e.exit("htmlFlow"),t(g)}}function lo(e,t,n){const r=this;return i;function i(l){return F(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):n(l)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function oo(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(tt,t,n)}}const so={name:"htmlText",tokenize:uo};function uo(e,t,n){const r=this;let i,a,l;return o;function o(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),s}function s(h){return h===33?(e.consume(h),u):h===47?(e.consume(h),v):h===63?(e.consume(h),w):te(h)?(e.consume(h),z):n(h)}function u(h){return h===45?(e.consume(h),p):h===91?(e.consume(h),a=0,m):te(h)?(e.consume(h),A):n(h)}function p(h){return h===45?(e.consume(h),f):n(h)}function c(h){return h===null?n(h):h===45?(e.consume(h),d):F(h)?(l=c,Y(h)):(e.consume(h),c)}function d(h){return h===45?(e.consume(h),f):c(h)}function f(h){return h===62?G(h):h===45?d(h):c(h)}function m(h){const Z="CDATA[";return h===Z.charCodeAt(a++)?(e.consume(h),a===Z.length?k:m):n(h)}function k(h){return h===null?n(h):h===93?(e.consume(h),E):F(h)?(l=k,Y(h)):(e.consume(h),k)}function E(h){return h===93?(e.consume(h),b):k(h)}function b(h){return h===62?G(h):h===93?(e.consume(h),b):k(h)}function A(h){return h===null||h===62?G(h):F(h)?(l=A,Y(h)):(e.consume(h),A)}function w(h){return h===null?n(h):h===63?(e.consume(h),C):F(h)?(l=w,Y(h)):(e.consume(h),w)}function C(h){return h===62?G(h):w(h)}function v(h){return te(h)?(e.consume(h),x):n(h)}function x(h){return h===45||J(h)?(e.consume(h),x):D(h)}function D(h){return F(h)?(l=D,Y(h)):U(h)?(e.consume(h),D):G(h)}function z(h){return h===45||J(h)?(e.consume(h),z):h===47||h===62||V(h)?P(h):n(h)}function P(h){return h===47?(e.consume(h),G):h===58||h===95||te(h)?(e.consume(h),y):F(h)?(l=P,Y(h)):U(h)?(e.consume(h),P):G(h)}function y(h){return h===45||h===46||h===58||h===95||J(h)?(e.consume(h),y):N(h)}function N(h){return h===61?(e.consume(h),O):F(h)?(l=N,Y(h)):U(h)?(e.consume(h),N):P(h)}function O(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),i=h,L):F(h)?(l=O,Y(h)):U(h)?(e.consume(h),O):(e.consume(h),_)}function L(h){return h===i?(e.consume(h),i=void 0,R):h===null?n(h):F(h)?(l=L,Y(h)):(e.consume(h),L)}function _(h){return h===null||h===34||h===39||h===60||h===61||h===96?n(h):h===47||h===62||V(h)?P(h):(e.consume(h),_)}function R(h){return h===47||h===62||V(h)?P(h):n(h)}function G(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),t):n(h)}function Y(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),ne}function ne(h){return U(h)?H(e,ue,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):ue(h)}function ue(h){return e.enter("htmlTextData"),l(h)}}const fn={name:"labelEnd",resolveAll:ho,resolveTo:go,tokenize:mo},co={tokenize:bo},po={tokenize:yo},fo={tokenize:ko};function ho(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&&se(e,0,e.length,n),e}function go(e,t){let n=e.length,r=0,i,a,l,o;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},p={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[l-2][1].start}};return o=[["enter",s,t],["enter",u,t]],o=ce(o,e.slice(a+1,a+r+3)),o=ce(o,[["enter",p,t]]),o=ce(o,Et(t.parser.constructs.insideSpan.null,e.slice(a+r+4,l-3),t)),o=ce(o,[["exit",p,t],e[l-2],e[l-1],["exit",u,t]]),o=ce(o,e.slice(l+1)),o=ce(o,[["exit",s,t]]),se(e,a,e.length,o),e}function mo(e,t,n){const r=this;let i=r.events.length,a,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return o;function o(d){return a?a._inactive?c(d):(l=r.parser.defined.includes(de(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),s):n(d)}function s(d){return d===40?e.attempt(co,p,l?p:c)(d):d===91?e.attempt(po,p,l?u:c)(d):l?p(d):c(d)}function u(d){return e.attempt(fo,p,c)(d)}function p(d){return t(d)}function c(d){return a._balanced=!0,n(d)}}function bo(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return V(c)?We(e,a)(c):a(c)}function a(c){return c===41?p(c):xi(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return V(c)?We(e,s)(c):p(c)}function o(c){return n(c)}function s(c){return c===34||c===39||c===40?wi(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):p(c)}function u(c){return V(c)?We(e,p)(c):p(c)}function p(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function yo(e,t,n){const r=this;return i;function i(o){return Ei.call(r,e,a,l,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(de(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function l(o){return n(o)}}function ko(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const xo={name:"labelStartImage",resolveAll:fn.resolveAll,tokenize:Eo};function Eo(e,t,n){const r=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),l):n(o)}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const wo={name:"labelStartLink",resolveAll:fn.resolveAll,tokenize:So};function So(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const _t={name:"lineEnding",tokenize:Ao};function Ao(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),H(e,t,"linePrefix")}}const dt={name:"thematicBreak",tokenize:To};function To(e,t,n){let r=0,i;return a;function a(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,o(u)}function o(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||F(u))?(e.exit("thematicBreak"),t(u)):n(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),U(u)?H(e,o,"whitespace")(u):o(u))}}const ie={continuation:{tokenize:No},exit:vo,name:"list",tokenize:Ro},Io={partial:!0,tokenize:Lo},Co={partial:!0,tokenize:Oo};function Ro(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return o;function o(f){const m=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Xt(f)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(dt,n,u)(f):u(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(f)}return n(f)}function s(f){return Xt(f)&&++l<10?(e.consume(f),s):(!r.interrupt||l<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):n(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(tt,r.interrupt?n:p,e.attempt(Io,d,c))}function p(f){return r.containerState.initialBlankLine=!0,a++,d(f)}function c(f){return U(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),d):n(f)}function d(f){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function No(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(tt,i,a);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,H(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!U(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Co,t,l)(o))}function l(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,H(e,e.attempt(ie,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Oo(e,t,n){const r=this;return H(e,i,"listItemIndent",r.containerState.size+1);function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(a):n(a)}}function vo(e){e.exit(this.containerState.type)}function Lo(e,t,n){const r=this;return H(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=r.events[r.events.length-1];return!U(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Er={name:"setextUnderline",resolveTo:_o,tokenize:Do};function _o(e,t){let n=e.length,r,i,a;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),!a&&e[n][1].type==="definition"&&(a=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function Do(e,t,n){const r=this;let i;return a;function a(u){let p=r.events.length,c;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){c=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),o(u)}function o(u){return u===i?(e.consume(u),o):(e.exit("setextHeadingLineSequence"),U(u)?H(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||F(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const Fo={tokenize:Mo};function Mo(e){const t=this,n=e.attempt(tt,r,e.attempt(this.parser.constructs.flowInitial,i,H(e,e.attempt(this.parser.constructs.flow,i,e.attempt($l,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const zo={resolveAll:Ai()},Bo=Si("string"),Po=Si("text");function Si(e){return{resolveAll:Ai(e==="text"?$o:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,l,o);return l;function l(p){return u(p)?a(p):o(p)}function o(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),s}function s(p){return u(p)?(n.exit("data"),a(p)):(n.consume(p),s)}function u(p){if(p===null)return!0;const c=i[p];let d=-1;if(c)for(;++d<c.length;){const f=c[d];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function Ai(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function $o(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 a=i.length,l=-1,o=0,s;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)o++,l--;if(l)break;l=-1}else if(u===-2)s=!0,o++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const u={type:n===e.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:r.start._bufferIndex+l,_index:r.start._index+a,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},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 Uo={42:ie,43:ie,45:ie,48:ie,49:ie,50:ie,51:ie,52:ie,53:ie,54:ie,55:ie,56:ie,57:ie,62:mi},jo={91:ql},Ho={[-2]:Lt,[-1]:Lt,32:Lt},Go={35:Kl,42:dt,45:[Er,dt],60:to,61:Er,95:dt,96:kr,126:kr},qo={38:yi,92:bi},Vo={[-5]:_t,[-4]:_t,[-3]:_t,33:xo,38:yi,42:Zt,60:[El,so],91:wo,92:[Xl,bi],93:fn,95:Zt,96:Dl},Wo={null:[Zt,zo]},Yo={null:[42,95]},Xo={null:[]},Zo=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Yo,contentInitial:jo,disable:Xo,document:Uo,flow:Go,flowInitial:Ho,insideSpan:Wo,string:qo,text:Vo},Symbol.toStringTag,{value:"Module"}));function Ko(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let l=[],o=[];const s={attempt:D(v),check:D(x),consume:A,enter:w,exit:C,interrupt:D(x,{interrupt:!0})},u={code:null,containerState:{},defineSkip:k,events:[],now:m,parser:e,previous:null,sliceSerialize:d,sliceStream:f,write:c};let p=t.tokenize.call(u,s);return t.resolveAll&&a.push(t),u;function c(N){return l=ce(l,N),E(),l[l.length-1]!==null?[]:(z(t,0),u.events=Et(a,u.events,u),u.events)}function d(N,O){return Jo(f(N),O)}function f(N){return Qo(l,N)}function m(){const{_bufferIndex:N,_index:O,line:L,column:_,offset:R}=r;return{_bufferIndex:N,_index:O,line:L,column:_,offset:R}}function k(N){i[N.line]=N.column,y()}function E(){let N;for(;r._index<l.length;){const O=l[r._index];if(typeof O=="string")for(N=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===N&&r._bufferIndex<O.length;)b(O.charCodeAt(r._bufferIndex));else b(O)}}function b(N){p=p(N)}function A(N){F(N)?(r.line++,r.column=1,r.offset+=N===-3?2:1,y()):N!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=N}function w(N,O){const L=O||{};return L.type=N,L.start=m(),u.events.push(["enter",L,u]),o.push(L),L}function C(N){const O=o.pop();return O.end=m(),u.events.push(["exit",O,u]),O}function v(N,O){z(N,O.from)}function x(N,O){O.restore()}function D(N,O){return L;function L(_,R,G){let Y,ne,ue,h;return Array.isArray(_)?re(_):"tokenize"in _?re([_]):Z(_);function Z(Q){return Pe;function Pe(xe){const Re=xe!==null&&Q[xe],Ne=xe!==null&&Q.null,lt=[...Array.isArray(Re)?Re:Re?[Re]:[],...Array.isArray(Ne)?Ne:Ne?[Ne]:[]];return re(lt)(xe)}}function re(Q){return Y=Q,ne=0,Q.length===0?G:g(Q[ne])}function g(Q){return Pe;function Pe(xe){return h=P(),ue=Q,Q.partial||(u.currentConstruct=Q),Q.name&&u.parser.constructs.disable.null.includes(Q.name)?Se():Q.tokenize.call(O?Object.assign(Object.create(u),O):u,s,pe,Se)(xe)}}function pe(Q){return N(ue,h),R}function Se(Q){return h.restore(),++ne<Y.length?g(Y[ne]):G}}}function z(N,O){N.resolveAll&&!a.includes(N)&&a.push(N),N.resolve&&se(u.events,O,u.events.length-O,N.resolve(u.events.slice(O),u)),N.resolveTo&&(u.events=N.resolveTo(u.events,u))}function P(){const N=m(),O=u.previous,L=u.currentConstruct,_=u.events.length,R=Array.from(o);return{from:_,restore:G};function G(){r=N,u.previous=O,u.currentConstruct=L,u.events.length=_,o=R,y()}}function y(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Qo(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,a)];else{if(l=e.slice(n,i),r>-1){const o=l[0];typeof o=="string"?l[0]=o.slice(r):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function Jo(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
|
|
3
3
|
`;break}case-3:{l=`\r
|
|
4
4
|
`;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,r.push(l)}return r.join("")}function es(e){const r={constructs:hi([Zo,...(e||{}).extensions||[]]),content:i(hl),defined:[],document:i(ml),flow:i(Fo),lazy:{},string:i(Bo),text:i(Po)};return r;function i(a){return l;function l(o){return Ko(r,a,o)}}}function ts(e){for(;!ki(e););return e}const wr=/[\0\t\n\r]/g;function ns(){let e=1,t="",n=!0,r;return i;function i(a,l,o){const s=[];let u,p,c,d,f;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),c=0,t="",n&&(a.charCodeAt(0)===65279&&c++,n=void 0);c<a.length;){if(wr.lastIndex=c,u=wr.exec(a),d=u&&u.index!==void 0?u.index:a.length,f=a.charCodeAt(d),!u){t=a.slice(c);break}if(f===10&&c===d&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),c<d&&(s.push(a.slice(c,d)),e+=d-c),f){case 0:{s.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,s.push(-2);e++<p;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}c=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const rs=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function is(e){return e.replace(rs,as)}function as(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return gi(n.slice(a?2:1),a?16:10)}return Qe(n)||e}const Ti={}.hasOwnProperty;function ls(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),os(n)(ts(es(n).document().write(ns()(e,t,!0))))}function os(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Jn),autolinkProtocol:P,autolinkEmail:P,atxHeading:a(Zn),blockQuote:a(Ne),characterEscape:P,characterReference:P,codeFenced:a(lt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(lt,l),codeText:a(ca,l),codeTextData:P,data:P,codeFlowValue:P,definition:a(pa),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(fa),hardBreakEscape:a(Kn),hardBreakTrailing:a(Kn),htmlFlow:a(Qn,l),htmlFlowData:P,htmlText:a(Qn,l),htmlTextData:P,image:a(da),label:l,link:a(Jn),listItem:a(ha),listItemValue:d,listOrdered:a(er,c),listUnordered:a(er),paragraph:a(ga),reference:g,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Zn),strong:a(ma),thematicBreak:a(ya)},exit:{atxHeading:s(),atxHeadingSequence:v,autolink:s(),autolinkEmail:Re,autolinkProtocol:xe,blockQuote:s(),characterEscapeValue:y,characterReferenceMarkerHexadecimal:Se,characterReferenceMarkerNumeric:Se,characterReferenceValue:Q,characterReference:Pe,codeFenced:s(E),codeFencedFence:k,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:y,codeIndented:s(b),codeText:s(R),codeTextData:y,data:y,definition:s(),definitionDestinationString:C,definitionLabelString:A,definitionTitleString:w,emphasis:s(),hardBreakEscape:s(O),hardBreakTrailing:s(O),htmlFlow:s(L),htmlFlowData:y,htmlText:s(_),htmlTextData:y,image:s(Y),label:ue,labelText:ne,lineEnding:N,link:s(G),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:pe,resourceDestinationString:h,resourceTitleString:Z,resource:re,setextHeading:s(z),setextHeadingLineSequence:D,setextHeadingText:x,strong:s(),thematicBreak:s()}};Ii(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(S){let I={type:"root",children:[]};const B={stack:[I],tokenStack:[],config:t,enter:o,exit:u,buffer:l,resume:p,data:n},j=[];let q=-1;for(;++q<S.length;)if(S[q][1].type==="listOrdered"||S[q][1].type==="listUnordered")if(S[q][0]==="enter")j.push(q);else{const fe=j.pop();q=i(S,fe,q)}for(q=-1;++q<S.length;){const fe=t[S[q][0]];Ti.call(fe,S[q][1].type)&&fe[S[q][1].type].call(Object.assign({sliceSerialize:S[q][2].sliceSerialize},B),S[q][1])}if(B.tokenStack.length>0){const fe=B.tokenStack[B.tokenStack.length-1];(fe[1]||Sr).call(B,void 0,fe[0])}for(I.position={start:Ee(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:Ee(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},q=-1;++q<t.transforms.length;)I=t.transforms[q](I)||I;return I}function i(S,I,B){let j=I-1,q=-1,fe=!1,Ae,be,$e,Ue;for(;++j<=B;){const le=S[j];switch(le[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{le[0]==="enter"?q++:q--,Ue=void 0;break}case"lineEndingBlank":{le[0]==="enter"&&(Ae&&!Ue&&!q&&!$e&&($e=j),Ue=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ue=void 0}if(!q&&le[0]==="enter"&&le[1].type==="listItemPrefix"||q===-1&&le[0]==="exit"&&(le[1].type==="listUnordered"||le[1].type==="listOrdered")){if(Ae){let Oe=j;for(be=void 0;Oe--;){const ye=S[Oe];if(ye[1].type==="lineEnding"||ye[1].type==="lineEndingBlank"){if(ye[0]==="exit")continue;be&&(S[be][1].type="lineEndingBlank",fe=!0),ye[1].type="lineEnding",be=Oe}else if(!(ye[1].type==="linePrefix"||ye[1].type==="blockQuotePrefix"||ye[1].type==="blockQuotePrefixWhitespace"||ye[1].type==="blockQuoteMarker"||ye[1].type==="listItemIndent"))break}$e&&(!be||$e<be)&&(Ae._spread=!0),Ae.end=Object.assign({},be?S[be][1].start:le[1].end),S.splice(be||j,0,["exit",Ae,le[2]]),j++,B++}if(le[1].type==="listItemPrefix"){const Oe={type:"listItem",_spread:!1,start:Object.assign({},le[1].start),end:void 0};Ae=Oe,S.splice(j,0,["enter",Oe,le[2]]),j++,B++,$e=void 0,Ue=!0}}}return S[I][1]._spread=fe,B}function a(S,I){return B;function B(j){o.call(this,S(j),j),I&&I.call(this,j)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(S,I,B){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([I,B||void 0]),S.position={start:Ee(I.start),end:void 0}}function s(S){return I;function I(B){S&&S.call(this,B),u.call(this,B)}}function u(S,I){const B=this.stack.pop(),j=this.tokenStack.pop();if(j)j[0].type!==S.type&&(I?I.call(this,S,j[0]):(j[1]||Sr).call(this,S,j[0]));else throw new Error("Cannot close `"+S.type+"` ("+Ve({start:S.start,end:S.end})+"): it’s not open");B.position.end=Ee(S.end)}function p(){return pn(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function d(S){if(this.data.expectingFirstListItemValue){const I=this.stack[this.stack.length-2];I.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function f(){const S=this.resume(),I=this.stack[this.stack.length-1];I.lang=S}function m(){const S=this.resume(),I=this.stack[this.stack.length-1];I.meta=S}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const S=this.resume(),I=this.stack[this.stack.length-1];I.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const S=this.resume(),I=this.stack[this.stack.length-1];I.value=S.replace(/(\r?\n|\r)$/g,"")}function A(S){const I=this.resume(),B=this.stack[this.stack.length-1];B.label=I,B.identifier=de(this.sliceSerialize(S)).toLowerCase()}function w(){const S=this.resume(),I=this.stack[this.stack.length-1];I.title=S}function C(){const S=this.resume(),I=this.stack[this.stack.length-1];I.url=S}function v(S){const I=this.stack[this.stack.length-1];if(!I.depth){const B=this.sliceSerialize(S).length;I.depth=B}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function D(S){const I=this.stack[this.stack.length-1];I.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function P(S){const B=this.stack[this.stack.length-1].children;let j=B[B.length-1];(!j||j.type!=="text")&&(j=ba(),j.position={start:Ee(S.start),end:void 0},B.push(j)),this.stack.push(j)}function y(S){const I=this.stack.pop();I.value+=this.sliceSerialize(S),I.position.end=Ee(S.end)}function N(S){const I=this.stack[this.stack.length-1];if(this.data.atHardBreak){const B=I.children[I.children.length-1];B.position.end=Ee(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(I.type)&&(P.call(this,S),y.call(this,S))}function O(){this.data.atHardBreak=!0}function L(){const S=this.resume(),I=this.stack[this.stack.length-1];I.value=S}function _(){const S=this.resume(),I=this.stack[this.stack.length-1];I.value=S}function R(){const S=this.resume(),I=this.stack[this.stack.length-1];I.value=S}function G(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=I,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function Y(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=I,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function ne(S){const I=this.sliceSerialize(S),B=this.stack[this.stack.length-2];B.label=is(I),B.identifier=de(I).toLowerCase()}function ue(){const S=this.stack[this.stack.length-1],I=this.resume(),B=this.stack[this.stack.length-1];if(this.data.inReference=!0,B.type==="link"){const j=S.children;B.children=j}else B.alt=I}function h(){const S=this.resume(),I=this.stack[this.stack.length-1];I.url=S}function Z(){const S=this.resume(),I=this.stack[this.stack.length-1];I.title=S}function re(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function pe(S){const I=this.resume(),B=this.stack[this.stack.length-1];B.label=I,B.identifier=de(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function Se(S){this.data.characterReferenceType=S.type}function Q(S){const I=this.sliceSerialize(S),B=this.data.characterReferenceType;let j;B?(j=gi(I,B==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):j=Qe(I);const q=this.stack[this.stack.length-1];q.value+=j}function Pe(S){const I=this.stack.pop();I.position.end=Ee(S.end)}function xe(S){y.call(this,S);const I=this.stack[this.stack.length-1];I.url=this.sliceSerialize(S)}function Re(S){y.call(this,S);const I=this.stack[this.stack.length-1];I.url="mailto:"+this.sliceSerialize(S)}function Ne(){return{type:"blockquote",children:[]}}function lt(){return{type:"code",lang:null,meta:null,value:""}}function ca(){return{type:"inlineCode",value:""}}function pa(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function fa(){return{type:"emphasis",children:[]}}function Zn(){return{type:"heading",depth:0,children:[]}}function Kn(){return{type:"break"}}function Qn(){return{type:"html",value:""}}function da(){return{type:"image",title:null,url:"",alt:null}}function Jn(){return{type:"link",title:null,url:"",children:[]}}function er(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function ha(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function ga(){return{type:"paragraph",children:[]}}function ma(){return{type:"strong",children:[]}}function ba(){return{type:"text",value:""}}function ya(){return{type:"thematicBreak"}}}function Ee(e){return{line:e.line,column:e.column,offset:e.offset}}function Ii(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Ii(e,r):ss(e,r)}}function ss(e,t){let n;for(n in t)if(Ti.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 Sr(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ve({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is still open")}function us(e){const t=this;t.parser=n;function n(r){return ls(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function cs(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 ps(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
package/dist/index.html
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
11
11
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
12
12
|
<link rel="manifest" href="/manifest.json" />
|
|
13
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/assets/dagview-
|
|
13
|
+
<script type="module" crossorigin src="/assets/index-u6SEG1UL.js"></script>
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/dagview-B70jDsRo.js">
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/assets/grpc-BF7BKcvW.js">
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/assets/markdown-
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/markdown-CPoGw-1N.js">
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/assets/index-JkSx7ozY.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grackle-ai/web",
|
|
3
|
-
"version": "0.123.
|
|
3
|
+
"version": "0.123.2",
|
|
4
4
|
"description": "React web UI for the Grackle multi-agent coordination platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"rehype-prism-plus": "^2.0.0",
|
|
39
39
|
"remark-gfm": "^4.0.0",
|
|
40
40
|
"react-router": "^7.0.0",
|
|
41
|
-
"@grackle-ai/common": "0.123.
|
|
42
|
-
"@grackle-ai/web-components": "0.123.
|
|
41
|
+
"@grackle-ai/common": "0.123.2",
|
|
42
|
+
"@grackle-ai/web-components": "0.123.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@rushstack/heft": "1.2.7",
|