@tyanxie/paimon-darwin-arm64 2.0.0 → 2.1.0

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.
@@ -30,7 +30,7 @@ var Kd=Object.defineProperty;var Wd=(e,t,n)=>t in e?Kd(e,t,{enumerable:!0,config
30
30
  `,e.length-i>t&&s>i?u+=e.slice(i,s)+`
31
31
  `+e.slice(s+1):u+=e.slice(i),u.slice(1)}function K0(e){for(var t="",n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=Wn(e,i),r=qe[n],!r&&sr(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||B0(n);return t}function W0(e,t,n){var r="",i=e.tag,a,s,o;for(a=0,s=n.length;a<s;a+=1)o=n[a],e.replacer&&(o=e.replacer.call(n,String(a),o)),(vt(e,t,o,!1,!1)||typeof o>"u"&&vt(e,t,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=i,e.dump="["+r+"]"}function ws(e,t,n,r){var i="",a=e.tag,s,o,u;for(s=0,o=n.length;s<o;s+=1)u=n[s],e.replacer&&(u=e.replacer.call(n,String(s),u)),(vt(e,t+1,u,!0,!0,!1,!0)||typeof u>"u"&&vt(e,t+1,null,!0,!0,!1,!0))&&((!r||i!=="")&&(i+=ia(e,t)),e.dump&&ir===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=a,e.dump=i||"[]"}function V0(e,t,n){var r="",i=e.tag,a=Object.keys(n),s,o,u,c,f;for(s=0,o=a.length;s<o;s+=1)f="",r!==""&&(f+=", "),e.condenseFlow&&(f+='"'),u=a[s],c=n[u],e.replacer&&(c=e.replacer.call(n,u,c)),vt(e,t,u,!1,!1)&&(e.dump.length>1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),vt(e,t,c,!1,!1)&&(f+=e.dump,r+=f));e.tag=i,e.dump="{"+r+"}"}function Q0(e,t,n,r){var i="",a=e.tag,s=Object.keys(n),o,u,c,f,d,p;if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys=="function")s.sort(e.sortKeys);else if(e.sortKeys)throw new je("sortKeys must be a boolean or a function");for(o=0,u=s.length;o<u;o+=1)p="",(!r||i!=="")&&(p+=ia(e,t)),c=s[o],f=n[c],e.replacer&&(f=e.replacer.call(n,c,f)),vt(e,t+1,c,!0,!0,!0)&&(d=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,d&&(e.dump&&ir===e.dump.charCodeAt(0)?p+="?":p+="? "),p+=e.dump,d&&(p+=ia(e,t)),vt(e,t+1,f,!0,d)&&(e.dump&&ir===e.dump.charCodeAt(0)?p+=":":p+=": ",p+=e.dump,i+=p));e.tag=a,e.dump=i||"{}"}function Ls(e,t,n){var r,i,a,s,o,u;for(i=n?e.explicitTypes:e.implicitTypes,a=0,s=i.length;a<s;a+=1)if(o=i[a],(o.instanceOf||o.predicate)&&(!o.instanceOf||typeof t=="object"&&t instanceof o.instanceOf)&&(!o.predicate||o.predicate(t))){if(n?o.multi&&o.representName?e.tag=o.representName(t):e.tag=o.tag:e.tag="?",o.represent){if(u=e.styleMap[o.tag]||o.defaultStyle,qu.call(o.represent)==="[object Function]")r=o.represent(t,u);else if(Ku.call(o.represent,u))r=o.represent[u](t,u);else throw new je("!<"+o.tag+'> tag resolver accepts not "'+u+'" style');e.dump=r}return!0}return!1}function vt(e,t,n,r,i,a,s){e.tag=null,e.dump=n,Ls(e,n,!1)||Ls(e,n,!0);var o=qu.call(e.dump),u=r,c;r&&(r=e.flowLevel<0||e.flowLevel>t);var f=o==="[object Object]"||o==="[object Array]",d,p;if(f&&(d=e.duplicates.indexOf(n),p=d!==-1),(e.tag!==null&&e.tag!=="?"||p||e.indent!==2&&t>0)&&(i=!1),p&&e.usedDuplicates[d])e.dump="*ref_"+d;else{if(f&&p&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),o==="[object Object]")r&&Object.keys(e.dump).length!==0?(Q0(e,t,e.dump,i),p&&(e.dump="&ref_"+d+e.dump)):(V0(e,t,e.dump),p&&(e.dump="&ref_"+d+" "+e.dump));else if(o==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!s&&t>0?ws(e,t-1,e.dump,i):ws(e,t,e.dump,i),p&&(e.dump="&ref_"+d+e.dump)):(W0(e,t,e.dump),p&&(e.dump="&ref_"+d+" "+e.dump));else if(o==="[object String]")e.tag!=="?"&&G0(e,e.dump,t,a,u);else{if(o==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new je("unacceptable kind of an object to dump "+o)}e.tag!==null&&e.tag!=="?"&&(c=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",e.dump=c+" "+e.dump)}return!0}function X0(e,t){var n=[],r=[],i,a;for(sa(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=new Array(a)}function sa(e,t,n){var r,i,a;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)sa(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)sa(e[r[i]],t,n)}function j0(e,t){t=t||{};var n=new U0(t);n.noRefs||X0(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),vt(n,0,r,!0,!0)?n.dump+`
32
32
  `:""}var Z0=j0,J0={dump:Z0};function La(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var eh=Ye,th=gu,nh=Tu,rh=Cu,ih=xu,ah=ka,sh=Gu.load,oh=Gu.loadAll,uh=J0.dump,lh=je,ch={binary:wu,float:Su,map:_u,null:Au,pairs:Du,set:Mu,timestamp:Ou,bool:Nu,int:yu,merge:Ru,omap:Lu,seq:bu,str:Eu},dh=La("safeLoad","load"),fh=La("safeLoadAll","loadAll"),hh=La("safeDump","dump"),iS={Type:eh,Schema:th,FAILSAFE_SCHEMA:nh,JSON_SCHEMA:rh,CORE_SCHEMA:ih,DEFAULT_SCHEMA:ah,load:sh,loadAll:oh,dump:uh,YAMLException:lh,types:ch,safeLoad:dh,safeLoadAll:fh,safeDump:hh};function Ds(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const s=n.slice(i,r).trim();(s||!a)&&t.push(s),i=r+1,r=n.indexOf(",",i)}return t}function nl(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const ph=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,mh=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,gh={};function Ms(e,t){return(gh.jsx?mh:ph).test(e)}const Eh=/[ \t\n\f\r]/g;function bh(e){return typeof e=="object"?e.type==="text"?vs(e.value):!1:vs(e)}function vs(e){return e.replace(Eh,"")===""}class fr{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}fr.prototype.normal={};fr.prototype.property={};fr.prototype.space=void 0;function rl(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new fr(n,r,t)}function or(e){return e.toLowerCase()}class it{constructor(t,n){this.attribute=n,this.property=t}}it.prototype.attribute="";it.prototype.booleanish=!1;it.prototype.boolean=!1;it.prototype.commaOrSpaceSeparated=!1;it.prototype.commaSeparated=!1;it.prototype.defined=!1;it.prototype.mustUseProperty=!1;it.prototype.number=!1;it.prototype.overloadedBoolean=!1;it.prototype.property="";it.prototype.spaceSeparated=!1;it.prototype.space=void 0;let _h=0;const ue=cn(),De=cn(),oa=cn(),P=cn(),xe=cn(),xn=cn(),ct=cn();function cn(){return 2**++_h}const ua=Object.freeze(Object.defineProperty({__proto__:null,boolean:ue,booleanish:De,commaOrSpaceSeparated:ct,commaSeparated:xn,number:P,overloadedBoolean:oa,spaceSeparated:xe},Symbol.toStringTag,{value:"Module"})),wi=Object.keys(ua);class Da extends it{constructor(t,n,r,i){let a=-1;if(super(t,n),Ps(this,"space",i),typeof r=="number")for(;++a<wi.length;){const s=wi[a];Ps(this,wi[a],(r&ua[s])===ua[s])}}}Da.prototype.defined=!0;function Ps(e,t,n){n&&(e[t]=n)}function Rn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new Da(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[or(r)]=r,n[or(a.attribute)]=r}return new fr(t,n,e.space)}const il=Rn({properties:{ariaActiveDescendant:null,ariaAtomic:De,ariaAutoComplete:null,ariaBusy:De,ariaChecked:De,ariaColCount:P,ariaColIndex:P,ariaColSpan:P,ariaControls:xe,ariaCurrent:null,ariaDescribedBy:xe,ariaDetails:null,ariaDisabled:De,ariaDropEffect:xe,ariaErrorMessage:null,ariaExpanded:De,ariaFlowTo:xe,ariaGrabbed:De,ariaHasPopup:null,ariaHidden:De,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:xe,ariaLevel:P,ariaLive:null,ariaModal:De,ariaMultiLine:De,ariaMultiSelectable:De,ariaOrientation:null,ariaOwns:xe,ariaPlaceholder:null,ariaPosInSet:P,ariaPressed:De,ariaReadOnly:De,ariaRelevant:null,ariaRequired:De,ariaRoleDescription:xe,ariaRowCount:P,ariaRowIndex:P,ariaRowSpan:P,ariaSelected:De,ariaSetSize:P,ariaSort:null,ariaValueMax:P,ariaValueMin:P,ariaValueNow:P,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function al(e,t){return t in e?e[t]:t}function sl(e,t){return al(e,t.toLowerCase())}const Th=Rn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xn,acceptCharset:xe,accessKey:xe,action:null,allow:null,allowFullScreen:ue,allowPaymentRequest:ue,allowUserMedia:ue,alt:null,as:null,async:ue,autoCapitalize:null,autoComplete:xe,autoFocus:ue,autoPlay:ue,blocking:xe,capture:null,charSet:null,checked:ue,cite:null,className:xe,cols:P,colSpan:null,content:null,contentEditable:De,controls:ue,controlsList:xe,coords:P|xn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ue,defer:ue,dir:null,dirName:null,disabled:ue,download:oa,draggable:De,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ue,formTarget:null,headers:xe,height:P,hidden:oa,high:P,href:null,hrefLang:null,htmlFor:xe,httpEquiv:xe,id:null,imageSizes:null,imageSrcSet:null,inert:ue,inputMode:null,integrity:null,is:null,isMap:ue,itemId:null,itemProp:xe,itemRef:xe,itemScope:ue,itemType:xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ue,low:P,manifest:null,max:null,maxLength:P,media:null,method:null,min:null,minLength:P,multiple:ue,muted:ue,name:null,nonce:null,noModule:ue,noValidate:ue,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:ue,optimum:P,pattern:null,ping:xe,placeholder:null,playsInline:ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ue,referrerPolicy:null,rel:xe,required:ue,reversed:ue,rows:P,rowSpan:P,sandbox:xe,scope:null,scoped:ue,seamless:ue,selected:ue,shadowRootClonable:ue,shadowRootDelegatesFocus:ue,shadowRootMode:null,shape:null,size:P,sizes:null,slot:null,span:P,spellCheck:De,src:null,srcDoc:null,srcLang:null,srcSet:null,start:P,step:null,style:null,tabIndex:P,target:null,title:null,translate:null,type:null,typeMustMatch:ue,useMap:null,value:De,width:P,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:xe,axis:null,background:null,bgColor:null,border:P,borderColor:null,bottomMargin:P,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ue,declare:ue,event:null,face:null,frame:null,frameBorder:null,hSpace:P,leftMargin:P,link:null,longDesc:null,lowSrc:null,marginHeight:P,marginWidth:P,noResize:ue,noHref:ue,noShade:ue,noWrap:ue,object:null,profile:null,prompt:null,rev:null,rightMargin:P,rules:null,scheme:null,scrolling:De,standby:null,summary:null,text:null,topMargin:P,valueType:null,version:null,vAlign:null,vLink:null,vSpace:P,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ue,disableRemotePlayback:ue,prefix:null,property:null,results:P,security:null,unselectable:null},space:"html",transform:sl}),Ah=Rn({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:ct,accentHeight:P,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:P,amplitude:P,arabicForm:null,ascent:P,attributeName:null,attributeType:null,azimuth:P,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:P,by:null,calcMode:null,capHeight:P,className:xe,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:P,diffuseConstant:P,direction:null,display:null,dur:null,divisor:P,dominantBaseline:null,download:ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:P,enableBackground:null,end:null,event:null,exponent:P,externalResourcesRequired:null,fill:null,fillOpacity:P,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:xn,g2:xn,glyphName:xn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:P,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:P,horizOriginX:P,horizOriginY:P,id:null,ideographic:P,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:P,k:P,k1:P,k2:P,k3:P,k4:P,kernelMatrix:ct,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:P,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:P,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:P,overlineThickness:P,paintOrder:null,panose1:null,path:null,pathLength:P,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:P,pointsAtY:P,pointsAtZ:P,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ct,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ct,rev:ct,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ct,requiredFeatures:ct,requiredFonts:ct,requiredFormats:ct,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:P,specularExponent:P,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:P,strikethroughThickness:P,string:null,stroke:null,strokeDashArray:ct,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:P,strokeOpacity:P,strokeWidth:null,style:null,surfaceScale:P,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ct,tabIndex:P,tableValues:null,target:null,targetX:P,targetY:P,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ct,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:P,underlineThickness:P,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:P,values:null,vAlphabetic:P,vMathematical:P,vectorEffect:null,vHanging:P,vIdeographic:P,version:null,vertAdvY:P,vertOriginX:P,vertOriginY:P,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:P,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:al}),ol=Rn({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()}}),ul=Rn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sl}),ll=Rn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Nh={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"},yh=/[A-Z]/g,Bs=/-[a-z]/g,Sh=/^data[-\w.:]+$/i;function ci(e,t){const n=or(t);let r=t,i=it;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Sh.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Bs,xh);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Bs.test(a)){let s=a.replace(yh,Ch);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Da}return new i(r,t)}function Ch(e){return"-"+e.toLowerCase()}function xh(e){return e.charAt(1).toUpperCase()}const hr=rl([il,Th,ol,ul,ll],"html"),jt=rl([il,Ah,ol,ul,ll],"svg");function Fs(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function cl(e){return e.join(" ").trim()}var En={},Li,Us;function Ih(){if(Us)return Li;Us=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,o=/^\s+|\s+$/g,u=`
33
- `,c="/",f="*",d="",p="comment",h="declaration";function g(S,_){if(typeof S!="string")throw new TypeError("First argument must be a string");if(!S)return[];_=_||{};var C=1,k=1;function B($){var F=$.match(t);F&&(C+=F.length);var re=$.lastIndexOf(u);k=~re?$.length-re:k+$.length}function H(){var $={line:C,column:k};return function(F){return F.position=new I($),X(),F}}function I($){this.start=$,this.end={line:C,column:k},this.source=_.source}I.prototype.content=S;function v($){var F=new Error(_.source+":"+C+":"+k+": "+$);if(F.reason=$,F.filename=_.source,F.line=C,F.column=k,F.source=S,!_.silent)throw F}function V($){var F=$.exec(S);if(F){var re=F[0];return B(re),S=S.slice(re.length),F}}function X(){V(n)}function O($){var F;for($=$||[];F=q();)F!==!1&&$.push(F);return $}function q(){var $=H();if(!(c!=S.charAt(0)||f!=S.charAt(1))){for(var F=2;d!=S.charAt(F)&&(f!=S.charAt(F)||c!=S.charAt(F+1));)++F;if(F+=2,d===S.charAt(F-1))return v("End of comment missing");var re=S.slice(2,F-2);return k+=2,B(re),S=S.slice(F),k+=2,$({type:p,comment:re})}}function K(){var $=H(),F=V(r);if(F){if(q(),!V(i))return v("property missing ':'");var re=V(a),ge=$({type:h,property:T(F[0].replace(e,d)),value:re?T(re[0].replace(e,d)):d});return V(s),ge}}function oe(){var $=[];O($);for(var F;F=K();)F!==!1&&($.push(F),O($));return $}return X(),oe()}function T(S){return S?S.replace(o,d):d}return Li=g,Li}var Hs;function kh(){if(Hs)return En;Hs=1;var e=En&&En.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(En,"__esModule",{value:!0}),En.default=n;const t=e(Ih());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const s=(0,t.default)(r),o=typeof i=="function";return s.forEach(u=>{if(u.type!=="declaration")return;const{property:c,value:f}=u;o?i(c,f,u):f&&(a=a||{},a[c]=f)}),a}return En}var Hn={},zs;function Oh(){if(zs)return Hn;zs=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||n.test(c)||e.test(c)},s=function(c,f){return f.toUpperCase()},o=function(c,f){return"".concat(f,"-")},u=function(c,f){return f===void 0&&(f={}),a(c)?c:(c=c.toLowerCase(),f.reactCompat?c=c.replace(i,o):c=c.replace(r,o),c.replace(t,s))};return Hn.camelCase=u,Hn}var zn,Ys;function Rh(){if(Ys)return zn;Ys=1;var e=zn&&zn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(kh()),n=Oh();function r(i,a){var s={};return!i||typeof i!="string"||(0,t.default)(i,function(o,u){o&&u&&(s[(0,n.camelCase)(o,a)]=u)}),s}return r.default=r,zn=r,zn}var wh=Rh();const Lh=ui(wh),di=dl("end"),Ct=dl("start");function dl(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 fl(e){const t=Ct(e),n=di(e);if(t&&n)return{start:t,end:n}}function Qn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?$s(e.position):"start"in e||"end"in e?$s(e):"line"in e||"column"in e?la(e):""}function la(e){return Gs(e&&e.line)+":"+Gs(e&&e.column)}function $s(e){return la(e&&e.start)+"-"+la(e&&e.end)}function Gs(e){return e&&typeof e=="number"?e:1}class Ke extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},s=!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&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.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=Qn(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=s&&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}}Ke.prototype.file="";Ke.prototype.name="";Ke.prototype.reason="";Ke.prototype.message="";Ke.prototype.stack="";Ke.prototype.column=void 0;Ke.prototype.line=void 0;Ke.prototype.ancestors=void 0;Ke.prototype.cause=void 0;Ke.prototype.fatal=void 0;Ke.prototype.place=void 0;Ke.prototype.ruleId=void 0;Ke.prototype.source=void 0;const Ma={}.hasOwnProperty,Dh=new Map,Mh=/[A-Z]/g,vh=new Set(["table","tbody","thead","tfoot","tr"]),Ph=new Set(["td","th"]),hl="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Bh(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=qh(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=Gh(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"?jt:hr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=pl(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function pl(e,t,n){if(t.type==="element")return Fh(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Uh(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return zh(e,t,n);if(t.type==="mdxjsEsm")return Hh(e,t);if(t.type==="root")return Yh(e,t,n);if(t.type==="text")return $h(e,t)}function Fh(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=jt,e.schema=i),e.ancestors.push(t);const a=gl(e,t.tagName,!1),s=Kh(e,t);let o=Pa(e,t);return vh.has(t.tagName)&&(o=o.filter(function(u){return typeof u=="string"?!bh(u):!0})),ml(e,s,a,t),va(s,o),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function Uh(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)}ur(e,t.position)}function Hh(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ur(e,t.position)}function zh(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=jt,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:gl(e,t.name,!0),s=Wh(e,t),o=Pa(e,t);return ml(e,s,a,t),va(s,o),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function Yh(e,t,n){const r={};return va(r,Pa(e,t)),e.create(t,e.Fragment,r,n)}function $h(e,t){return t.value}function ml(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function va(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Gh(e,t,n){return r;function r(i,a,s,o){const c=Array.isArray(s.children)?n:t;return o?c(a,s,o):c(a,s)}}function qh(e,t){return n;function n(r,i,a,s){const o=Array.isArray(a.children),u=Ct(r);return t(i,a,s,o,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Kh(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Ma.call(t.properties,i)){const a=Vh(e,i,t.properties[i]);if(a){const[s,o]=a;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&Ph.has(t.tagName)?r=o:n[s]=o}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Wh(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 s=a.expression;s.type;const o=s.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else ur(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 ur(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Pa(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Dh;for(;++r<t.children.length;){const a=t.children[r];let s;if(e.passKeys){const u=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(u){const c=i.get(u)||0;s=u+"-"+c,i.set(u,c+1)}}const o=pl(e,a,s);o!==void 0&&n.push(o)}return n}function Vh(e,t,n){const r=ci(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?nl(n):cl(n)),r.property==="style"){let i=typeof n=="object"?n:Qh(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Xh(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Nh[r.property]||r.property:r.attribute,n]}}function Qh(e,t){try{return Lh(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Ke("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=hl+"#cannot-parse-style-attribute",i}}function gl(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,s;for(;++a<i.length;){const o=Ms(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}r=s}else r=Ms(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Ma.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);ur(e)}function ur(e,t){const n=new Ke("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=hl+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Xh(e){const t={};let n;for(n in e)Ma.call(e,n)&&(t[jh(n)]=e[n]);return t}function jh(e){let t=e.replace(Mh,Zh);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Zh(e){return"-"+e.toLowerCase()}const Di={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"]},Jh={};function Ba(e,t){const n=Jh,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return El(e,r,i)}function El(e,t,n){if(ep(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 qs(e.children,t,n)}return Array.isArray(e)?qs(e,t,n):""}function qs(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=El(e[i],t,n);return r.join("")}function ep(e){return!!(e&&typeof e=="object")}const Ks=document.createElement("i");function Fa(e){const t="&"+e+";";Ks.innerHTML=t;const n=Ks.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function rt(e,t,n,r){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<r.length;)s=r.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function ze(e,t){return e.length>0?(rt(e,e.length,0,t),e):t}const Ws={}.hasOwnProperty;function bl(e){const t={};let n=-1;for(;++n<e.length;)tp(t,e[n]);return t}function tp(e,t){let n;for(n in t){const i=(Ws.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){Ws.call(i,s)||(i[s]=[]);const o=a[s];np(i[s],Array.isArray(o)?o:o?[o]:[])}}}function np(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);rt(e,0,0,r)}function _l(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 gt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ze=Zt(/[A-Za-z]/),Ge=Zt(/[\dA-Za-z]/),rp=Zt(/[#-'*+\--9=?A-Z^-~]/);function Xr(e){return e!==null&&(e<32||e===127)}const ca=Zt(/\d/),ip=Zt(/[\dA-Fa-f]/),ap=Zt(/[!-/:-@[-`{-~]/);function J(e){return e!==null&&e<-2}function Ae(e){return e!==null&&(e<0||e===32)}function le(e){return e===-2||e===-1||e===32}const fi=Zt(new RegExp("\\p{P}|\\p{S}","u")),un=Zt(/\s/);function Zt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function wn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&Ge(e.charCodeAt(n+1))&&Ge(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(s=String.fromCharCode(a,o),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function pe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(u){return le(u)?(e.enter(n),o(u)):t(u)}function o(u){return le(u)&&a++<i?(e.consume(u),o):(e.exit(n),t(u))}}const sp={tokenize:op};function op(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"),pe(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return J(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const up={tokenize:lp},Vs={tokenize:cp};function lp(e){const t=this,n=[];let r=0,i,a,s;return o;function o(k){if(r<n.length){const B=n[r];return t.containerState=B[1],e.attempt(B[0].continuation,u,c)(k)}return c(k)}function u(k){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const B=t.events.length;let H=B,I;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){I=t.events[H][1].end;break}_(r);let v=B;for(;v<t.events.length;)t.events[v][1].end={...I},v++;return rt(t.events,H+1,0,t.events.slice(B)),t.events.length=v,c(k)}return o(k)}function c(k){if(r===n.length){if(!i)return p(k);if(i.currentConstruct&&i.currentConstruct.concrete)return g(k);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Vs,f,d)(k)}function f(k){return i&&C(),_(r),p(k)}function d(k){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,g(k)}function p(k){return t.containerState={},e.attempt(Vs,h,g)(k)}function h(k){return r++,n.push([t.currentConstruct,t.containerState]),p(k)}function g(k){if(k===null){i&&C(),_(0),e.consume(k);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),T(k)}function T(k){if(k===null){S(e.exit("chunkFlow"),!0),_(0),e.consume(k);return}return J(k)?(e.consume(k),S(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(k),T)}function S(k,B){const H=t.sliceStream(k);if(B&&H.push(null),k.previous=a,a&&(a.next=k),a=k,i.defineSkip(k.start),i.write(H),t.parser.lazy[k.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<s&&(!i.events[I][1].end||i.events[I][1].end.offset>s))return;const v=t.events.length;let V=v,X,O;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(X){O=t.events[V][1].end;break}X=!0}for(_(r),I=v;I<t.events.length;)t.events[I][1].end={...O},I++;rt(t.events,V+1,0,t.events.slice(v)),t.events.length=I}}function _(k){let B=n.length;for(;B-- >k;){const H=n[B];t.containerState=H[1],H[0].exit.call(t,e)}n.length=k}function C(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function cp(e,t,n){return pe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function kn(e){if(e===null||Ae(e)||un(e))return 1;if(fi(e))return 2}function pr(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 da={name:"attention",resolveAll:dp,tokenize:fp};function dp(e,t){let n=-1,r,i,a,s,o,u,c,f;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;u=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 d={...e[r][1].end},p={...e[n][1].start};Qs(d,-u),Qs(p,u),s={type:u>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},o={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[r][1].end={...s.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=ze(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=ze(c,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),c=ze(c,pr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=ze(c,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=ze(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,rt(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function fp(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=kn(r);let a;return s;function s(u){return a=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===a)return e.consume(u),o;const c=e.exit("attentionSequence"),f=kn(u),d=!f||f===2&&i||n.includes(u),p=!i||i===2&&f||n.includes(r);return c._open=!!(a===42?d:d&&(i||!p)),c._close=!!(a===42?p:p&&(f||!d)),t(u)}}function Qs(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const hp={name:"autolink",tokenize:pp};function pp(e,t,n){let r=0;return i;function i(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(h){return Ze(h)?(e.consume(h),s):h===64?n(h):c(h)}function s(h){return h===43||h===45||h===46||Ge(h)?(r=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),r=0,u):(h===43||h===45||h===46||Ge(h))&&r++<32?(e.consume(h),o):(r=0,c(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||Xr(h)?n(h):(e.consume(h),u)}function c(h){return h===64?(e.consume(h),f):rp(h)?(e.consume(h),c):n(h)}function f(h){return Ge(h)?d(h):n(h)}function d(h){return h===46?(e.consume(h),r=0,f):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||Ge(h))&&r++<63){const g=h===45?p:d;return e.consume(h),g}return n(h)}}const mr={partial:!0,tokenize:mp};function mp(e,t,n){return r;function r(a){return le(a)?pe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||J(a)?t(a):n(a)}}const Tl={continuation:{tokenize:Ep},exit:bp,name:"blockQuote",tokenize:gp};function gp(e,t,n){const r=this;return i;function i(s){if(s===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return le(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Ep(e,t,n){const r=this;return i;function i(s){return le(s)?pe(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Tl,t,n)(s)}}function bp(e){e.exit("blockQuote")}const Al={name:"characterEscape",tokenize:_p};function _p(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 ap(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Nl={name:"characterReference",tokenize:Tp};function Tp(e,t,n){const r=this;let i=0,a,s;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),u}function u(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,s=Ge,f(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=ip,f):(e.enter("characterReferenceValue"),a=7,s=ca,f(d))}function f(d){if(d===59&&i){const p=e.exit("characterReferenceValue");return s===Ge&&!Fa(r.sliceSerialize(p))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&i++<a?(e.consume(d),f):n(d)}}const Xs={partial:!0,tokenize:Np},js={concrete:!0,name:"codeFenced",tokenize:Ap};function Ap(e,t,n){const r=this,i={partial:!0,tokenize:H};let a=0,s=0,o;return u;function u(I){return c(I)}function c(I){const v=r.events[r.events.length-1];return a=v&&v[1].type==="linePrefix"?v[2].sliceSerialize(v[1],!0).length:0,o=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(I)}function f(I){return I===o?(s++,e.consume(I),f):s<3?n(I):(e.exit("codeFencedFenceSequence"),le(I)?pe(e,d,"whitespace")(I):d(I))}function d(I){return I===null||J(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(Xs,T,B)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(I))}function p(I){return I===null||J(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(I)):le(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pe(e,h,"whitespace")(I)):I===96&&I===o?n(I):(e.consume(I),p)}function h(I){return I===null||J(I)?d(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(I))}function g(I){return I===null||J(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(I)):I===96&&I===o?n(I):(e.consume(I),g)}function T(I){return e.attempt(i,B,S)(I)}function S(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),_}function _(I){return a>0&&le(I)?pe(e,C,"linePrefix",a+1)(I):C(I)}function C(I){return I===null||J(I)?e.check(Xs,T,B)(I):(e.enter("codeFlowValue"),k(I))}function k(I){return I===null||J(I)?(e.exit("codeFlowValue"),C(I)):(e.consume(I),k)}function B(I){return e.exit("codeFenced"),t(I)}function H(I,v,V){let X=0;return O;function O(F){return I.enter("lineEnding"),I.consume(F),I.exit("lineEnding"),q}function q(F){return I.enter("codeFencedFence"),le(F)?pe(I,K,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):K(F)}function K(F){return F===o?(I.enter("codeFencedFenceSequence"),oe(F)):V(F)}function oe(F){return F===o?(X++,I.consume(F),oe):X>=s?(I.exit("codeFencedFenceSequence"),le(F)?pe(I,$,"whitespace")(F):$(F)):V(F)}function $(F){return F===null||J(F)?(I.exit("codeFencedFence"),v(F)):V(F)}}}function Np(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const Mi={name:"codeIndented",tokenize:Sp},yp={partial:!0,tokenize:Cp};function Sp(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),pe(e,a,"linePrefix",5)(c)}function a(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?s(c):n(c)}function s(c){return c===null?u(c):J(c)?e.attempt(yp,s,u)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||J(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),o)}function u(c){return e.exit("codeIndented"),t(c)}}function Cp(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):J(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):pe(e,a,"linePrefix",5)(s)}function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):J(s)?i(s):n(s)}}const xp={name:"codeText",previous:kp,resolve:Ip,tokenize:Op};function Ip(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 kp(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Op(e,t,n){let r=0,i,a;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),r++,o):(e.exit("codeTextSequence"),u(d))}function u(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),u):d===96?(a=e.enter("codeTextSequence"),i=0,f(d)):J(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||J(d)?(e.exit("codeTextData"),u(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",c(d))}}class Rp{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&&Yn(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),Yn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Yn(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);Yn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Yn(this.left,n.reverse())}}}function Yn(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 yl(e){const t={};let n=-1,r,i,a,s,o,u,c;const f=new Rp(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,wp(f,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(s=f.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},o=f.slice(i,n),o.unshift(r),f.splice(i,n-i+1,o))}}return rt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function wp(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,u=[],c={};let f,d,p=-1,h=n,g=0,T=0;const S=[T];for(;h;){for(;e.get(++i)[1]!==h;);a.push(i),h._tokenizer||(f=r.sliceStream(h),h.next||f.push(null),d&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(T=p+1,S.push(T),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):S.pop(),p=S.length;p--;){const _=o.slice(S[p],S[p+1]),C=a.pop();u.push([C,C+_.length-1]),e.splice(C,2,_)}for(u.reverse(),p=-1;++p<u.length;)c[g+u[p][0]]=g+u[p][1],g+=u[p][1]-u[p][0]-1;return c}const Lp={resolve:Mp,tokenize:vp},Dp={partial:!0,tokenize:Pp};function Mp(e){return yl(e),e}function vp(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):J(o)?e.check(Dp,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Pp(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),pe(e,a,"linePrefix")}function a(s){if(s===null||J(s))return n(s);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(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Sl(e,t,n,r,i,a,s,o,u){const c=u||Number.POSITIVE_INFINITY;let f=0;return d;function d(_){return _===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(_),e.exit(a),p):_===null||_===32||_===41||Xr(_)?n(_):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),T(_))}function p(_){return _===62?(e.enter(a),e.consume(_),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(_))}function h(_){return _===62?(e.exit("chunkString"),e.exit(o),p(_)):_===null||_===60||J(_)?n(_):(e.consume(_),_===92?g:h)}function g(_){return _===60||_===62||_===92?(e.consume(_),h):h(_)}function T(_){return!f&&(_===null||_===41||Ae(_))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(_)):f<c&&_===40?(e.consume(_),f++,T):_===41?(e.consume(_),f--,T):_===null||_===32||_===40||Xr(_)?n(_):(e.consume(_),_===92?S:T)}function S(_){return _===40||_===41||_===92?(e.consume(_),T):T(_)}}function Cl(e,t,n,r,i,a){const s=this;let o=0,u;return c;function c(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(a),f}function f(h){return o>999||h===null||h===91||h===93&&!u||h===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):J(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||J(h)||o++>999?(e.exit("chunkString"),f(h)):(e.consume(h),u||(u=!le(h)),h===92?p:d)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,d):d(h)}}function xl(e,t,n,r,i,a){let s;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),s=p===40?41:p,u):n(p)}function u(p){return p===s?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),c(p))}function c(p){return p===s?(e.exit(a),u(s)):p===null?n(p):J(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),pe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===s||p===null||J(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?d:f)}function d(p){return p===s||p===92?(e.consume(p),f):f(p)}}function Xn(e,t){let n;return r;function r(i){return J(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):le(i)?pe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Bp={name:"definition",tokenize:Up},Fp={partial:!0,tokenize:Hp};function Up(e,t,n){const r=this;let i;return a;function a(h){return e.enter("definition"),s(h)}function s(h){return Cl.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return i=gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):n(h)}function u(h){return Ae(h)?Xn(e,c)(h):c(h)}function c(h){return Sl(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function f(h){return e.attempt(Fp,d,d)(h)}function d(h){return le(h)?pe(e,p,"whitespace")(h):p(h)}function p(h){return h===null||J(h)?(e.exit("definition"),r.parser.defined.push(i),t(h)):n(h)}}function Hp(e,t,n){return r;function r(o){return Ae(o)?Xn(e,i)(o):n(o)}function i(o){return xl(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return le(o)?pe(e,s,"whitespace")(o):s(o)}function s(o){return o===null||J(o)?t(o):n(o)}}const zp={name:"hardBreakEscape",tokenize:Yp};function Yp(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return J(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const $p={name:"headingAtx",resolve:Gp,tokenize:qp};function Gp(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"},rt(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function qp(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),s(f)}function s(f){return f===35&&r++<6?(e.consume(f),s):f===null||Ae(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),u(f)):f===null||J(f)?(e.exit("atxHeading"),t(f)):le(f)?pe(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function u(f){return f===35?(e.consume(f),u):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||Ae(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const Kp=["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"],Zs=["pre","script","style","textarea"],Wp={concrete:!0,name:"htmlFlow",resolveTo:Xp,tokenize:jp},Vp={partial:!0,tokenize:Jp},Qp={partial:!0,tokenize:Zp};function Xp(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 jp(e,t,n){const r=this;let i,a,s,o,u;return c;function c(y){return f(y)}function f(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),d}function d(y){return y===33?(e.consume(y),p):y===47?(e.consume(y),a=!0,T):y===63?(e.consume(y),i=3,r.interrupt?t:A):Ze(y)?(e.consume(y),s=String.fromCharCode(y),S):n(y)}function p(y){return y===45?(e.consume(y),i=2,h):y===91?(e.consume(y),i=5,o=0,g):Ze(y)?(e.consume(y),i=4,r.interrupt?t:A):n(y)}function h(y){return y===45?(e.consume(y),r.interrupt?t:A):n(y)}function g(y){const Ve="CDATA[";return y===Ve.charCodeAt(o++)?(e.consume(y),o===Ve.length?r.interrupt?t:K:g):n(y)}function T(y){return Ze(y)?(e.consume(y),s=String.fromCharCode(y),S):n(y)}function S(y){if(y===null||y===47||y===62||Ae(y)){const Ve=y===47,dt=s.toLowerCase();return!Ve&&!a&&Zs.includes(dt)?(i=1,r.interrupt?t(y):K(y)):Kp.includes(s.toLowerCase())?(i=6,Ve?(e.consume(y),_):r.interrupt?t(y):K(y)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):a?C(y):k(y))}return y===45||Ge(y)?(e.consume(y),s+=String.fromCharCode(y),S):n(y)}function _(y){return y===62?(e.consume(y),r.interrupt?t:K):n(y)}function C(y){return le(y)?(e.consume(y),C):O(y)}function k(y){return y===47?(e.consume(y),O):y===58||y===95||Ze(y)?(e.consume(y),B):le(y)?(e.consume(y),k):O(y)}function B(y){return y===45||y===46||y===58||y===95||Ge(y)?(e.consume(y),B):H(y)}function H(y){return y===61?(e.consume(y),I):le(y)?(e.consume(y),H):k(y)}function I(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),u=y,v):le(y)?(e.consume(y),I):V(y)}function v(y){return y===u?(e.consume(y),u=null,X):y===null||J(y)?n(y):(e.consume(y),v)}function V(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||Ae(y)?H(y):(e.consume(y),V)}function X(y){return y===47||y===62||le(y)?k(y):n(y)}function O(y){return y===62?(e.consume(y),q):n(y)}function q(y){return y===null||J(y)?K(y):le(y)?(e.consume(y),q):n(y)}function K(y){return y===45&&i===2?(e.consume(y),re):y===60&&i===1?(e.consume(y),ge):y===62&&i===4?(e.consume(y),_e):y===63&&i===3?(e.consume(y),A):y===93&&i===5?(e.consume(y),Ne):J(y)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Vp,ye,oe)(y)):y===null||J(y)?(e.exit("htmlFlowData"),oe(y)):(e.consume(y),K)}function oe(y){return e.check(Qp,$,ye)(y)}function $(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),F}function F(y){return y===null||J(y)?oe(y):(e.enter("htmlFlowData"),K(y))}function re(y){return y===45?(e.consume(y),A):K(y)}function ge(y){return y===47?(e.consume(y),s="",ie):K(y)}function ie(y){if(y===62){const Ve=s.toLowerCase();return Zs.includes(Ve)?(e.consume(y),_e):K(y)}return Ze(y)&&s.length<8?(e.consume(y),s+=String.fromCharCode(y),ie):K(y)}function Ne(y){return y===93?(e.consume(y),A):K(y)}function A(y){return y===62?(e.consume(y),_e):y===45&&i===2?(e.consume(y),A):K(y)}function _e(y){return y===null||J(y)?(e.exit("htmlFlowData"),ye(y)):(e.consume(y),_e)}function ye(y){return e.exit("htmlFlow"),t(y)}}function Zp(e,t,n){const r=this;return i;function i(s){return J(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function Jp(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(mr,t,n)}}const em={name:"htmlText",tokenize:tm};function tm(e,t,n){const r=this;let i,a,s;return o;function o(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),u}function u(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),H):A===63?(e.consume(A),k):Ze(A)?(e.consume(A),V):n(A)}function c(A){return A===45?(e.consume(A),f):A===91?(e.consume(A),a=0,g):Ze(A)?(e.consume(A),C):n(A)}function f(A){return A===45?(e.consume(A),h):n(A)}function d(A){return A===null?n(A):A===45?(e.consume(A),p):J(A)?(s=d,ge(A)):(e.consume(A),d)}function p(A){return A===45?(e.consume(A),h):d(A)}function h(A){return A===62?re(A):A===45?p(A):d(A)}function g(A){const _e="CDATA[";return A===_e.charCodeAt(a++)?(e.consume(A),a===_e.length?T:g):n(A)}function T(A){return A===null?n(A):A===93?(e.consume(A),S):J(A)?(s=T,ge(A)):(e.consume(A),T)}function S(A){return A===93?(e.consume(A),_):T(A)}function _(A){return A===62?re(A):A===93?(e.consume(A),_):T(A)}function C(A){return A===null||A===62?re(A):J(A)?(s=C,ge(A)):(e.consume(A),C)}function k(A){return A===null?n(A):A===63?(e.consume(A),B):J(A)?(s=k,ge(A)):(e.consume(A),k)}function B(A){return A===62?re(A):k(A)}function H(A){return Ze(A)?(e.consume(A),I):n(A)}function I(A){return A===45||Ge(A)?(e.consume(A),I):v(A)}function v(A){return J(A)?(s=v,ge(A)):le(A)?(e.consume(A),v):re(A)}function V(A){return A===45||Ge(A)?(e.consume(A),V):A===47||A===62||Ae(A)?X(A):n(A)}function X(A){return A===47?(e.consume(A),re):A===58||A===95||Ze(A)?(e.consume(A),O):J(A)?(s=X,ge(A)):le(A)?(e.consume(A),X):re(A)}function O(A){return A===45||A===46||A===58||A===95||Ge(A)?(e.consume(A),O):q(A)}function q(A){return A===61?(e.consume(A),K):J(A)?(s=q,ge(A)):le(A)?(e.consume(A),q):X(A)}function K(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,oe):J(A)?(s=K,ge(A)):le(A)?(e.consume(A),K):(e.consume(A),$)}function oe(A){return A===i?(e.consume(A),i=void 0,F):A===null?n(A):J(A)?(s=oe,ge(A)):(e.consume(A),oe)}function $(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||Ae(A)?X(A):(e.consume(A),$)}function F(A){return A===47||A===62||Ae(A)?X(A):n(A)}function re(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function ge(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),ie}function ie(A){return le(A)?pe(e,Ne,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Ne(A)}function Ne(A){return e.enter("htmlTextData"),s(A)}}const Ua={name:"labelEnd",resolveAll:am,resolveTo:sm,tokenize:om},nm={tokenize:um},rm={tokenize:lm},im={tokenize:cm};function am(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&&rt(e,0,e.length,n),e}function sm(e,t){let n=e.length,r=0,i,a,s,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(s){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"&&(s=n);const u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},f={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[s-2][1].start}};return o=[["enter",u,t],["enter",c,t]],o=ze(o,e.slice(a+1,a+r+3)),o=ze(o,[["enter",f,t]]),o=ze(o,pr(t.parser.constructs.insideSpan.null,e.slice(a+r+4,s-3),t)),o=ze(o,[["exit",f,t],e[s-2],e[s-1],["exit",c,t]]),o=ze(o,e.slice(s+1)),o=ze(o,[["exit",u,t]]),rt(e,a,e.length,o),e}function om(e,t,n){const r=this;let i=r.events.length,a,s;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(p){return a?a._inactive?d(p):(s=r.parser.defined.includes(gt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):n(p)}function u(p){return p===40?e.attempt(nm,f,s?f:d)(p):p===91?e.attempt(rm,f,s?c:d)(p):s?f(p):d(p)}function c(p){return e.attempt(im,f,d)(p)}function f(p){return t(p)}function d(p){return a._balanced=!0,n(p)}}function um(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Ae(d)?Xn(e,a)(d):a(d)}function a(d){return d===41?f(d):Sl(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return Ae(d)?Xn(e,u)(d):f(d)}function o(d){return n(d)}function u(d){return d===34||d===39||d===40?xl(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function c(d){return Ae(d)?Xn(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function lm(e,t,n){const r=this;return i;function i(o){return Cl.call(r,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function s(o){return n(o)}}function cm(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 dm={name:"labelStartImage",resolveAll:Ua.resolveAll,tokenize:fm};function fm(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"),s):n(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const hm={name:"labelStartLink",resolveAll:Ua.resolveAll,tokenize:pm};function pm(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const vi={name:"lineEnding",tokenize:mm};function mm(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),pe(e,t,"linePrefix")}}const Yr={name:"thematicBreak",tokenize:gm};function gm(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,o(c)}function o(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||J(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),le(c)?pe(e,o,"whitespace")(c):o(c))}}const tt={continuation:{tokenize:Tm},exit:Nm,name:"list",tokenize:_m},Em={partial:!0,tokenize:ym},bm={partial:!0,tokenize:Am};function _m(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,s=0;return o;function o(h){const g=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:ca(h)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Yr,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return n(h)}function u(h){return ca(h)&&++s<10?(e.consume(h),u):(!r.interrupt||s<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(mr,r.interrupt?n:f,e.attempt(Em,p,d))}function f(h){return r.containerState.initialBlankLine=!0,a++,p(h)}function d(h){return le(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):n(h)}function p(h){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Tm(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(mr,i,a);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pe(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!le(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bm,t,s)(o))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,pe(e,e.attempt(tt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Am(e,t,n){const r=this;return pe(e,i,"listItemIndent",r.containerState.size+1);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(a):n(a)}}function Nm(e){e.exit(this.containerState.type)}function ym(e,t,n){const r=this;return pe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=r.events[r.events.length-1];return!le(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Js={name:"setextUnderline",resolveTo:Sm,tokenize:Cm};function Sm(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 s={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",s,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function Cm(e,t,n){const r=this;let i;return a;function a(c){let f=r.events.length,d;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){d=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=c,s(c)):n(c)}function s(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),le(c)?pe(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||J(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const xm={tokenize:Im};function Im(e){const t=this,n=e.attempt(mr,r,e.attempt(this.parser.constructs.flowInitial,i,pe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Lp,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 km={resolveAll:kl()},Om=Il("string"),Rm=Il("text");function Il(e){return{resolveAll:kl(e==="text"?wm:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,s,o);return s;function s(f){return c(f)?a(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),u}function u(f){return c(f)?(n.exit("data"),a(f)):(n.consume(f),u)}function c(f){if(f===null)return!0;const d=i[f];let p=-1;if(d)for(;++p<d.length;){const h=d[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function kl(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 wm(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,s=-1,o=0,u;for(;a--;){const c=i[a];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(c===-2)u=!0,o++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:r.start._bufferIndex+s,_index:r.start._index+a,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const Lm={42:tt,43:tt,45:tt,48:tt,49:tt,50:tt,51:tt,52:tt,53:tt,54:tt,55:tt,56:tt,57:tt,62:Tl},Dm={91:Bp},Mm={[-2]:Mi,[-1]:Mi,32:Mi},vm={35:$p,42:Yr,45:[Js,Yr],60:Wp,61:Js,95:Yr,96:js,126:js},Pm={38:Nl,92:Al},Bm={[-5]:vi,[-4]:vi,[-3]:vi,33:dm,38:Nl,42:da,60:[hp,em],91:hm,92:[zp,Al],93:Ua,95:da,96:xp},Fm={null:[da,km]},Um={null:[42,95]},Hm={null:[]},zm=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Um,contentInitial:Dm,disable:Hm,document:Lm,flow:vm,flowInitial:Mm,insideSpan:Fm,string:Pm,text:Bm},Symbol.toStringTag,{value:"Module"}));function Ym(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 s=[],o=[];const u={attempt:v(H),check:v(I),consume:C,enter:k,exit:B,interrupt:v(I,{interrupt:!0})},c={code:null,containerState:{},defineSkip:T,events:[],now:g,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:d};let f=t.tokenize.call(c,u);return t.resolveAll&&a.push(t),c;function d(q){return s=ze(s,q),S(),s[s.length-1]!==null?[]:(V(t,0),c.events=pr(a,c.events,c),c.events)}function p(q,K){return Gm(h(q),K)}function h(q){return $m(s,q)}function g(){const{_bufferIndex:q,_index:K,line:oe,column:$,offset:F}=r;return{_bufferIndex:q,_index:K,line:oe,column:$,offset:F}}function T(q){i[q.line]=q.column,O()}function S(){let q;for(;r._index<s.length;){const K=s[r._index];if(typeof K=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<K.length;)_(K.charCodeAt(r._bufferIndex));else _(K)}}function _(q){f=f(q)}function C(q){J(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,O()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=q}function k(q,K){const oe=K||{};return oe.type=q,oe.start=g(),c.events.push(["enter",oe,c]),o.push(oe),oe}function B(q){const K=o.pop();return K.end=g(),c.events.push(["exit",K,c]),K}function H(q,K){V(q,K.from)}function I(q,K){K.restore()}function v(q,K){return oe;function oe($,F,re){let ge,ie,Ne,A;return Array.isArray($)?ye($):"tokenize"in $?ye([$]):_e($);function _e(ke){return It;function It(at){const kt=at!==null&&ke[at],st=at!==null&&ke.null,Bt=[...Array.isArray(kt)?kt:kt?[kt]:[],...Array.isArray(st)?st:st?[st]:[]];return ye(Bt)(at)}}function ye(ke){return ge=ke,ie=0,ke.length===0?re:y(ke[ie])}function y(ke){return It;function It(at){return A=X(),Ne=ke,ke.partial||(c.currentConstruct=ke),ke.name&&c.parser.constructs.disable.null.includes(ke.name)?dt():ke.tokenize.call(K?Object.assign(Object.create(c),K):c,u,Ve,dt)(at)}}function Ve(ke){return q(Ne,A),F}function dt(ke){return A.restore(),++ie<ge.length?y(ge[ie]):re}}}function V(q,K){q.resolveAll&&!a.includes(q)&&a.push(q),q.resolve&&rt(c.events,K,c.events.length-K,q.resolve(c.events.slice(K),c)),q.resolveTo&&(c.events=q.resolveTo(c.events,c))}function X(){const q=g(),K=c.previous,oe=c.currentConstruct,$=c.events.length,F=Array.from(o);return{from:$,restore:re};function re(){r=q,c.previous=K,c.currentConstruct=oe,c.events.length=$,o=F,O()}}function O(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function $m(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,a)];else{if(s=e.slice(n,i),r>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(r):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function Gm(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
33
+ `,c="/",f="*",d="",p="comment",h="declaration";function g(S,_){if(typeof S!="string")throw new TypeError("First argument must be a string");if(!S)return[];_=_||{};var C=1,k=1;function B($){var F=$.match(t);F&&(C+=F.length);var re=$.lastIndexOf(u);k=~re?$.length-re:k+$.length}function H(){var $={line:C,column:k};return function(F){return F.position=new I($),X(),F}}function I($){this.start=$,this.end={line:C,column:k},this.source=_.source}I.prototype.content=S;function v($){var F=new Error(_.source+":"+C+":"+k+": "+$);if(F.reason=$,F.filename=_.source,F.line=C,F.column=k,F.source=S,!_.silent)throw F}function V($){var F=$.exec(S);if(F){var re=F[0];return B(re),S=S.slice(re.length),F}}function X(){V(n)}function O($){var F;for($=$||[];F=q();)F!==!1&&$.push(F);return $}function q(){var $=H();if(!(c!=S.charAt(0)||f!=S.charAt(1))){for(var F=2;d!=S.charAt(F)&&(f!=S.charAt(F)||c!=S.charAt(F+1));)++F;if(F+=2,d===S.charAt(F-1))return v("End of comment missing");var re=S.slice(2,F-2);return k+=2,B(re),S=S.slice(F),k+=2,$({type:p,comment:re})}}function K(){var $=H(),F=V(r);if(F){if(q(),!V(i))return v("property missing ':'");var re=V(a),ge=$({type:h,property:T(F[0].replace(e,d)),value:re?T(re[0].replace(e,d)):d});return V(s),ge}}function oe(){var $=[];O($);for(var F;F=K();)F!==!1&&($.push(F),O($));return $}return X(),oe()}function T(S){return S?S.replace(o,d):d}return Li=g,Li}var Hs;function kh(){if(Hs)return En;Hs=1;var e=En&&En.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(En,"__esModule",{value:!0}),En.default=n;const t=e(Ih());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const s=(0,t.default)(r),o=typeof i=="function";return s.forEach(u=>{if(u.type!=="declaration")return;const{property:c,value:f}=u;o?i(c,f,u):f&&(a=a||{},a[c]=f)}),a}return En}var Hn={},zs;function Oh(){if(zs)return Hn;zs=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||n.test(c)||e.test(c)},s=function(c,f){return f.toUpperCase()},o=function(c,f){return"".concat(f,"-")},u=function(c,f){return f===void 0&&(f={}),a(c)?c:(c=c.toLowerCase(),f.reactCompat?c=c.replace(i,o):c=c.replace(r,o),c.replace(t,s))};return Hn.camelCase=u,Hn}var zn,Ys;function Rh(){if(Ys)return zn;Ys=1;var e=zn&&zn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(kh()),n=Oh();function r(i,a){var s={};return!i||typeof i!="string"||(0,t.default)(i,function(o,u){o&&u&&(s[(0,n.camelCase)(o,a)]=u)}),s}return r.default=r,zn=r,zn}var wh=Rh();const Lh=ui(wh),di=dl("end"),Ct=dl("start");function dl(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 fl(e){const t=Ct(e),n=di(e);if(t&&n)return{start:t,end:n}}function Qn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?$s(e.position):"start"in e||"end"in e?$s(e):"line"in e||"column"in e?la(e):""}function la(e){return Gs(e&&e.line)+":"+Gs(e&&e.column)}function $s(e){return la(e&&e.start)+"-"+la(e&&e.end)}function Gs(e){return e&&typeof e=="number"?e:1}class Ke extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},s=!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&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.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=Qn(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=s&&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}}Ke.prototype.file="";Ke.prototype.name="";Ke.prototype.reason="";Ke.prototype.message="";Ke.prototype.stack="";Ke.prototype.column=void 0;Ke.prototype.line=void 0;Ke.prototype.ancestors=void 0;Ke.prototype.cause=void 0;Ke.prototype.fatal=void 0;Ke.prototype.place=void 0;Ke.prototype.ruleId=void 0;Ke.prototype.source=void 0;const Ma={}.hasOwnProperty,Dh=new Map,Mh=/[A-Z]/g,vh=new Set(["table","tbody","thead","tfoot","tr"]),Ph=new Set(["td","th"]),hl="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Bh(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=qh(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=Gh(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"?jt:hr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=pl(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function pl(e,t,n){if(t.type==="element")return Fh(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Uh(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return zh(e,t,n);if(t.type==="mdxjsEsm")return Hh(e,t);if(t.type==="root")return Yh(e,t,n);if(t.type==="text")return $h(e,t)}function Fh(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=jt,e.schema=i),e.ancestors.push(t);const a=gl(e,t.tagName,!1),s=Kh(e,t);let o=Pa(e,t);return vh.has(t.tagName)&&(o=o.filter(function(u){return typeof u=="string"?!bh(u):!0})),ml(e,s,a,t),va(s,o),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function Uh(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)}ur(e,t.position)}function Hh(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ur(e,t.position)}function zh(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=jt,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:gl(e,t.name,!0),s=Wh(e,t),o=Pa(e,t);return ml(e,s,a,t),va(s,o),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function Yh(e,t,n){const r={};return va(r,Pa(e,t)),e.create(t,e.Fragment,r,n)}function $h(e,t){return t.value}function ml(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function va(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Gh(e,t,n){return r;function r(i,a,s,o){const c=Array.isArray(s.children)?n:t;return o?c(a,s,o):c(a,s)}}function qh(e,t){return n;function n(r,i,a,s){const o=Array.isArray(a.children),u=Ct(r);return t(i,a,s,o,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Kh(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Ma.call(t.properties,i)){const a=Vh(e,i,t.properties[i]);if(a){const[s,o]=a;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&Ph.has(t.tagName)?r=o:n[s]=o}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Wh(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 s=a.expression;s.type;const o=s.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else ur(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 ur(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Pa(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Dh;for(;++r<t.children.length;){const a=t.children[r];let s;if(e.passKeys){const u=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(u){const c=i.get(u)||0;s=u+"-"+c,i.set(u,c+1)}}const o=pl(e,a,s);o!==void 0&&n.push(o)}return n}function Vh(e,t,n){const r=ci(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?nl(n):cl(n)),r.property==="style"){let i=typeof n=="object"?n:Qh(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Xh(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Nh[r.property]||r.property:r.attribute,n]}}function Qh(e,t){try{return Lh(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Ke("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=hl+"#cannot-parse-style-attribute",i}}function gl(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,s;for(;++a<i.length;){const o=Ms(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}r=s}else r=Ms(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Ma.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);ur(e)}function ur(e,t){const n=new Ke("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=hl+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Xh(e){const t={};let n;for(n in e)Ma.call(e,n)&&(t[jh(n)]=e[n]);return t}function jh(e){let t=e.replace(Mh,Zh);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Zh(e){return"-"+e.toLowerCase()}const Di={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"]},Jh={};function Ba(e,t){const n=t||Jh,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return El(e,r,i)}function El(e,t,n){if(ep(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 qs(e.children,t,n)}return Array.isArray(e)?qs(e,t,n):""}function qs(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=El(e[i],t,n);return r.join("")}function ep(e){return!!(e&&typeof e=="object")}const Ks=document.createElement("i");function Fa(e){const t="&"+e+";";Ks.innerHTML=t;const n=Ks.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function rt(e,t,n,r){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<r.length;)s=r.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function ze(e,t){return e.length>0?(rt(e,e.length,0,t),e):t}const Ws={}.hasOwnProperty;function bl(e){const t={};let n=-1;for(;++n<e.length;)tp(t,e[n]);return t}function tp(e,t){let n;for(n in t){const i=(Ws.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){Ws.call(i,s)||(i[s]=[]);const o=a[s];np(i[s],Array.isArray(o)?o:o?[o]:[])}}}function np(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);rt(e,0,0,r)}function _l(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 gt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ze=Zt(/[A-Za-z]/),Ge=Zt(/[\dA-Za-z]/),rp=Zt(/[#-'*+\--9=?A-Z^-~]/);function Xr(e){return e!==null&&(e<32||e===127)}const ca=Zt(/\d/),ip=Zt(/[\dA-Fa-f]/),ap=Zt(/[!-/:-@[-`{-~]/);function J(e){return e!==null&&e<-2}function Ae(e){return e!==null&&(e<0||e===32)}function le(e){return e===-2||e===-1||e===32}const fi=Zt(new RegExp("\\p{P}|\\p{S}","u")),un=Zt(/\s/);function Zt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function wn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&Ge(e.charCodeAt(n+1))&&Ge(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(s=String.fromCharCode(a,o),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function pe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(u){return le(u)?(e.enter(n),o(u)):t(u)}function o(u){return le(u)&&a++<i?(e.consume(u),o):(e.exit(n),t(u))}}const sp={tokenize:op};function op(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"),pe(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return J(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const up={tokenize:lp},Vs={tokenize:cp};function lp(e){const t=this,n=[];let r=0,i,a,s;return o;function o(k){if(r<n.length){const B=n[r];return t.containerState=B[1],e.attempt(B[0].continuation,u,c)(k)}return c(k)}function u(k){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const B=t.events.length;let H=B,I;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){I=t.events[H][1].end;break}_(r);let v=B;for(;v<t.events.length;)t.events[v][1].end={...I},v++;return rt(t.events,H+1,0,t.events.slice(B)),t.events.length=v,c(k)}return o(k)}function c(k){if(r===n.length){if(!i)return p(k);if(i.currentConstruct&&i.currentConstruct.concrete)return g(k);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Vs,f,d)(k)}function f(k){return i&&C(),_(r),p(k)}function d(k){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,g(k)}function p(k){return t.containerState={},e.attempt(Vs,h,g)(k)}function h(k){return r++,n.push([t.currentConstruct,t.containerState]),p(k)}function g(k){if(k===null){i&&C(),_(0),e.consume(k);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),T(k)}function T(k){if(k===null){S(e.exit("chunkFlow"),!0),_(0),e.consume(k);return}return J(k)?(e.consume(k),S(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(k),T)}function S(k,B){const H=t.sliceStream(k);if(B&&H.push(null),k.previous=a,a&&(a.next=k),a=k,i.defineSkip(k.start),i.write(H),t.parser.lazy[k.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<s&&(!i.events[I][1].end||i.events[I][1].end.offset>s))return;const v=t.events.length;let V=v,X,O;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(X){O=t.events[V][1].end;break}X=!0}for(_(r),I=v;I<t.events.length;)t.events[I][1].end={...O},I++;rt(t.events,V+1,0,t.events.slice(v)),t.events.length=I}}function _(k){let B=n.length;for(;B-- >k;){const H=n[B];t.containerState=H[1],H[0].exit.call(t,e)}n.length=k}function C(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function cp(e,t,n){return pe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function kn(e){if(e===null||Ae(e)||un(e))return 1;if(fi(e))return 2}function pr(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 da={name:"attention",resolveAll:dp,tokenize:fp};function dp(e,t){let n=-1,r,i,a,s,o,u,c,f;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;u=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 d={...e[r][1].end},p={...e[n][1].start};Qs(d,-u),Qs(p,u),s={type:u>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},o={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[r][1].end={...s.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=ze(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=ze(c,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),c=ze(c,pr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=ze(c,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=ze(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,rt(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function fp(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=kn(r);let a;return s;function s(u){return a=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===a)return e.consume(u),o;const c=e.exit("attentionSequence"),f=kn(u),d=!f||f===2&&i||n.includes(u),p=!i||i===2&&f||n.includes(r);return c._open=!!(a===42?d:d&&(i||!p)),c._close=!!(a===42?p:p&&(f||!d)),t(u)}}function Qs(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const hp={name:"autolink",tokenize:pp};function pp(e,t,n){let r=0;return i;function i(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(h){return Ze(h)?(e.consume(h),s):h===64?n(h):c(h)}function s(h){return h===43||h===45||h===46||Ge(h)?(r=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),r=0,u):(h===43||h===45||h===46||Ge(h))&&r++<32?(e.consume(h),o):(r=0,c(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||Xr(h)?n(h):(e.consume(h),u)}function c(h){return h===64?(e.consume(h),f):rp(h)?(e.consume(h),c):n(h)}function f(h){return Ge(h)?d(h):n(h)}function d(h){return h===46?(e.consume(h),r=0,f):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||Ge(h))&&r++<63){const g=h===45?p:d;return e.consume(h),g}return n(h)}}const mr={partial:!0,tokenize:mp};function mp(e,t,n){return r;function r(a){return le(a)?pe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||J(a)?t(a):n(a)}}const Tl={continuation:{tokenize:Ep},exit:bp,name:"blockQuote",tokenize:gp};function gp(e,t,n){const r=this;return i;function i(s){if(s===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return le(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Ep(e,t,n){const r=this;return i;function i(s){return le(s)?pe(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Tl,t,n)(s)}}function bp(e){e.exit("blockQuote")}const Al={name:"characterEscape",tokenize:_p};function _p(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 ap(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Nl={name:"characterReference",tokenize:Tp};function Tp(e,t,n){const r=this;let i=0,a,s;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),u}function u(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,s=Ge,f(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=ip,f):(e.enter("characterReferenceValue"),a=7,s=ca,f(d))}function f(d){if(d===59&&i){const p=e.exit("characterReferenceValue");return s===Ge&&!Fa(r.sliceSerialize(p))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&i++<a?(e.consume(d),f):n(d)}}const Xs={partial:!0,tokenize:Np},js={concrete:!0,name:"codeFenced",tokenize:Ap};function Ap(e,t,n){const r=this,i={partial:!0,tokenize:H};let a=0,s=0,o;return u;function u(I){return c(I)}function c(I){const v=r.events[r.events.length-1];return a=v&&v[1].type==="linePrefix"?v[2].sliceSerialize(v[1],!0).length:0,o=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(I)}function f(I){return I===o?(s++,e.consume(I),f):s<3?n(I):(e.exit("codeFencedFenceSequence"),le(I)?pe(e,d,"whitespace")(I):d(I))}function d(I){return I===null||J(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(Xs,T,B)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(I))}function p(I){return I===null||J(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(I)):le(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pe(e,h,"whitespace")(I)):I===96&&I===o?n(I):(e.consume(I),p)}function h(I){return I===null||J(I)?d(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(I))}function g(I){return I===null||J(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(I)):I===96&&I===o?n(I):(e.consume(I),g)}function T(I){return e.attempt(i,B,S)(I)}function S(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),_}function _(I){return a>0&&le(I)?pe(e,C,"linePrefix",a+1)(I):C(I)}function C(I){return I===null||J(I)?e.check(Xs,T,B)(I):(e.enter("codeFlowValue"),k(I))}function k(I){return I===null||J(I)?(e.exit("codeFlowValue"),C(I)):(e.consume(I),k)}function B(I){return e.exit("codeFenced"),t(I)}function H(I,v,V){let X=0;return O;function O(F){return I.enter("lineEnding"),I.consume(F),I.exit("lineEnding"),q}function q(F){return I.enter("codeFencedFence"),le(F)?pe(I,K,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):K(F)}function K(F){return F===o?(I.enter("codeFencedFenceSequence"),oe(F)):V(F)}function oe(F){return F===o?(X++,I.consume(F),oe):X>=s?(I.exit("codeFencedFenceSequence"),le(F)?pe(I,$,"whitespace")(F):$(F)):V(F)}function $(F){return F===null||J(F)?(I.exit("codeFencedFence"),v(F)):V(F)}}}function Np(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const Mi={name:"codeIndented",tokenize:Sp},yp={partial:!0,tokenize:Cp};function Sp(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),pe(e,a,"linePrefix",5)(c)}function a(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?s(c):n(c)}function s(c){return c===null?u(c):J(c)?e.attempt(yp,s,u)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||J(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),o)}function u(c){return e.exit("codeIndented"),t(c)}}function Cp(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):J(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):pe(e,a,"linePrefix",5)(s)}function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):J(s)?i(s):n(s)}}const xp={name:"codeText",previous:kp,resolve:Ip,tokenize:Op};function Ip(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 kp(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Op(e,t,n){let r=0,i,a;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),r++,o):(e.exit("codeTextSequence"),u(d))}function u(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),u):d===96?(a=e.enter("codeTextSequence"),i=0,f(d)):J(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||J(d)?(e.exit("codeTextData"),u(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",c(d))}}class Rp{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&&Yn(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),Yn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Yn(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);Yn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Yn(this.left,n.reverse())}}}function Yn(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 yl(e){const t={};let n=-1,r,i,a,s,o,u,c;const f=new Rp(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,wp(f,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(s=f.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},o=f.slice(i,n),o.unshift(r),f.splice(i,n-i+1,o))}}return rt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function wp(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,u=[],c={};let f,d,p=-1,h=n,g=0,T=0;const S=[T];for(;h;){for(;e.get(++i)[1]!==h;);a.push(i),h._tokenizer||(f=r.sliceStream(h),h.next||f.push(null),d&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(T=p+1,S.push(T),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):S.pop(),p=S.length;p--;){const _=o.slice(S[p],S[p+1]),C=a.pop();u.push([C,C+_.length-1]),e.splice(C,2,_)}for(u.reverse(),p=-1;++p<u.length;)c[g+u[p][0]]=g+u[p][1],g+=u[p][1]-u[p][0]-1;return c}const Lp={resolve:Mp,tokenize:vp},Dp={partial:!0,tokenize:Pp};function Mp(e){return yl(e),e}function vp(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):J(o)?e.check(Dp,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Pp(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),pe(e,a,"linePrefix")}function a(s){if(s===null||J(s))return n(s);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(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Sl(e,t,n,r,i,a,s,o,u){const c=u||Number.POSITIVE_INFINITY;let f=0;return d;function d(_){return _===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(_),e.exit(a),p):_===null||_===32||_===41||Xr(_)?n(_):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),T(_))}function p(_){return _===62?(e.enter(a),e.consume(_),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(_))}function h(_){return _===62?(e.exit("chunkString"),e.exit(o),p(_)):_===null||_===60||J(_)?n(_):(e.consume(_),_===92?g:h)}function g(_){return _===60||_===62||_===92?(e.consume(_),h):h(_)}function T(_){return!f&&(_===null||_===41||Ae(_))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(_)):f<c&&_===40?(e.consume(_),f++,T):_===41?(e.consume(_),f--,T):_===null||_===32||_===40||Xr(_)?n(_):(e.consume(_),_===92?S:T)}function S(_){return _===40||_===41||_===92?(e.consume(_),T):T(_)}}function Cl(e,t,n,r,i,a){const s=this;let o=0,u;return c;function c(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(a),f}function f(h){return o>999||h===null||h===91||h===93&&!u||h===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):J(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||J(h)||o++>999?(e.exit("chunkString"),f(h)):(e.consume(h),u||(u=!le(h)),h===92?p:d)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,d):d(h)}}function xl(e,t,n,r,i,a){let s;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),s=p===40?41:p,u):n(p)}function u(p){return p===s?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),c(p))}function c(p){return p===s?(e.exit(a),u(s)):p===null?n(p):J(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),pe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===s||p===null||J(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?d:f)}function d(p){return p===s||p===92?(e.consume(p),f):f(p)}}function Xn(e,t){let n;return r;function r(i){return J(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):le(i)?pe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Bp={name:"definition",tokenize:Up},Fp={partial:!0,tokenize:Hp};function Up(e,t,n){const r=this;let i;return a;function a(h){return e.enter("definition"),s(h)}function s(h){return Cl.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return i=gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):n(h)}function u(h){return Ae(h)?Xn(e,c)(h):c(h)}function c(h){return Sl(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function f(h){return e.attempt(Fp,d,d)(h)}function d(h){return le(h)?pe(e,p,"whitespace")(h):p(h)}function p(h){return h===null||J(h)?(e.exit("definition"),r.parser.defined.push(i),t(h)):n(h)}}function Hp(e,t,n){return r;function r(o){return Ae(o)?Xn(e,i)(o):n(o)}function i(o){return xl(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return le(o)?pe(e,s,"whitespace")(o):s(o)}function s(o){return o===null||J(o)?t(o):n(o)}}const zp={name:"hardBreakEscape",tokenize:Yp};function Yp(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return J(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const $p={name:"headingAtx",resolve:Gp,tokenize:qp};function Gp(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"},rt(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function qp(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),s(f)}function s(f){return f===35&&r++<6?(e.consume(f),s):f===null||Ae(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),u(f)):f===null||J(f)?(e.exit("atxHeading"),t(f)):le(f)?pe(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function u(f){return f===35?(e.consume(f),u):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||Ae(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const Kp=["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"],Zs=["pre","script","style","textarea"],Wp={concrete:!0,name:"htmlFlow",resolveTo:Xp,tokenize:jp},Vp={partial:!0,tokenize:Jp},Qp={partial:!0,tokenize:Zp};function Xp(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 jp(e,t,n){const r=this;let i,a,s,o,u;return c;function c(y){return f(y)}function f(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),d}function d(y){return y===33?(e.consume(y),p):y===47?(e.consume(y),a=!0,T):y===63?(e.consume(y),i=3,r.interrupt?t:A):Ze(y)?(e.consume(y),s=String.fromCharCode(y),S):n(y)}function p(y){return y===45?(e.consume(y),i=2,h):y===91?(e.consume(y),i=5,o=0,g):Ze(y)?(e.consume(y),i=4,r.interrupt?t:A):n(y)}function h(y){return y===45?(e.consume(y),r.interrupt?t:A):n(y)}function g(y){const Ve="CDATA[";return y===Ve.charCodeAt(o++)?(e.consume(y),o===Ve.length?r.interrupt?t:K:g):n(y)}function T(y){return Ze(y)?(e.consume(y),s=String.fromCharCode(y),S):n(y)}function S(y){if(y===null||y===47||y===62||Ae(y)){const Ve=y===47,dt=s.toLowerCase();return!Ve&&!a&&Zs.includes(dt)?(i=1,r.interrupt?t(y):K(y)):Kp.includes(s.toLowerCase())?(i=6,Ve?(e.consume(y),_):r.interrupt?t(y):K(y)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):a?C(y):k(y))}return y===45||Ge(y)?(e.consume(y),s+=String.fromCharCode(y),S):n(y)}function _(y){return y===62?(e.consume(y),r.interrupt?t:K):n(y)}function C(y){return le(y)?(e.consume(y),C):O(y)}function k(y){return y===47?(e.consume(y),O):y===58||y===95||Ze(y)?(e.consume(y),B):le(y)?(e.consume(y),k):O(y)}function B(y){return y===45||y===46||y===58||y===95||Ge(y)?(e.consume(y),B):H(y)}function H(y){return y===61?(e.consume(y),I):le(y)?(e.consume(y),H):k(y)}function I(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),u=y,v):le(y)?(e.consume(y),I):V(y)}function v(y){return y===u?(e.consume(y),u=null,X):y===null||J(y)?n(y):(e.consume(y),v)}function V(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||Ae(y)?H(y):(e.consume(y),V)}function X(y){return y===47||y===62||le(y)?k(y):n(y)}function O(y){return y===62?(e.consume(y),q):n(y)}function q(y){return y===null||J(y)?K(y):le(y)?(e.consume(y),q):n(y)}function K(y){return y===45&&i===2?(e.consume(y),re):y===60&&i===1?(e.consume(y),ge):y===62&&i===4?(e.consume(y),_e):y===63&&i===3?(e.consume(y),A):y===93&&i===5?(e.consume(y),Ne):J(y)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Vp,ye,oe)(y)):y===null||J(y)?(e.exit("htmlFlowData"),oe(y)):(e.consume(y),K)}function oe(y){return e.check(Qp,$,ye)(y)}function $(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),F}function F(y){return y===null||J(y)?oe(y):(e.enter("htmlFlowData"),K(y))}function re(y){return y===45?(e.consume(y),A):K(y)}function ge(y){return y===47?(e.consume(y),s="",ie):K(y)}function ie(y){if(y===62){const Ve=s.toLowerCase();return Zs.includes(Ve)?(e.consume(y),_e):K(y)}return Ze(y)&&s.length<8?(e.consume(y),s+=String.fromCharCode(y),ie):K(y)}function Ne(y){return y===93?(e.consume(y),A):K(y)}function A(y){return y===62?(e.consume(y),_e):y===45&&i===2?(e.consume(y),A):K(y)}function _e(y){return y===null||J(y)?(e.exit("htmlFlowData"),ye(y)):(e.consume(y),_e)}function ye(y){return e.exit("htmlFlow"),t(y)}}function Zp(e,t,n){const r=this;return i;function i(s){return J(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function Jp(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(mr,t,n)}}const em={name:"htmlText",tokenize:tm};function tm(e,t,n){const r=this;let i,a,s;return o;function o(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),u}function u(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),H):A===63?(e.consume(A),k):Ze(A)?(e.consume(A),V):n(A)}function c(A){return A===45?(e.consume(A),f):A===91?(e.consume(A),a=0,g):Ze(A)?(e.consume(A),C):n(A)}function f(A){return A===45?(e.consume(A),h):n(A)}function d(A){return A===null?n(A):A===45?(e.consume(A),p):J(A)?(s=d,ge(A)):(e.consume(A),d)}function p(A){return A===45?(e.consume(A),h):d(A)}function h(A){return A===62?re(A):A===45?p(A):d(A)}function g(A){const _e="CDATA[";return A===_e.charCodeAt(a++)?(e.consume(A),a===_e.length?T:g):n(A)}function T(A){return A===null?n(A):A===93?(e.consume(A),S):J(A)?(s=T,ge(A)):(e.consume(A),T)}function S(A){return A===93?(e.consume(A),_):T(A)}function _(A){return A===62?re(A):A===93?(e.consume(A),_):T(A)}function C(A){return A===null||A===62?re(A):J(A)?(s=C,ge(A)):(e.consume(A),C)}function k(A){return A===null?n(A):A===63?(e.consume(A),B):J(A)?(s=k,ge(A)):(e.consume(A),k)}function B(A){return A===62?re(A):k(A)}function H(A){return Ze(A)?(e.consume(A),I):n(A)}function I(A){return A===45||Ge(A)?(e.consume(A),I):v(A)}function v(A){return J(A)?(s=v,ge(A)):le(A)?(e.consume(A),v):re(A)}function V(A){return A===45||Ge(A)?(e.consume(A),V):A===47||A===62||Ae(A)?X(A):n(A)}function X(A){return A===47?(e.consume(A),re):A===58||A===95||Ze(A)?(e.consume(A),O):J(A)?(s=X,ge(A)):le(A)?(e.consume(A),X):re(A)}function O(A){return A===45||A===46||A===58||A===95||Ge(A)?(e.consume(A),O):q(A)}function q(A){return A===61?(e.consume(A),K):J(A)?(s=q,ge(A)):le(A)?(e.consume(A),q):X(A)}function K(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,oe):J(A)?(s=K,ge(A)):le(A)?(e.consume(A),K):(e.consume(A),$)}function oe(A){return A===i?(e.consume(A),i=void 0,F):A===null?n(A):J(A)?(s=oe,ge(A)):(e.consume(A),oe)}function $(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||Ae(A)?X(A):(e.consume(A),$)}function F(A){return A===47||A===62||Ae(A)?X(A):n(A)}function re(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function ge(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),ie}function ie(A){return le(A)?pe(e,Ne,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Ne(A)}function Ne(A){return e.enter("htmlTextData"),s(A)}}const Ua={name:"labelEnd",resolveAll:am,resolveTo:sm,tokenize:om},nm={tokenize:um},rm={tokenize:lm},im={tokenize:cm};function am(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&&rt(e,0,e.length,n),e}function sm(e,t){let n=e.length,r=0,i,a,s,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(s){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"&&(s=n);const u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},f={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[s-2][1].start}};return o=[["enter",u,t],["enter",c,t]],o=ze(o,e.slice(a+1,a+r+3)),o=ze(o,[["enter",f,t]]),o=ze(o,pr(t.parser.constructs.insideSpan.null,e.slice(a+r+4,s-3),t)),o=ze(o,[["exit",f,t],e[s-2],e[s-1],["exit",c,t]]),o=ze(o,e.slice(s+1)),o=ze(o,[["exit",u,t]]),rt(e,a,e.length,o),e}function om(e,t,n){const r=this;let i=r.events.length,a,s;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(p){return a?a._inactive?d(p):(s=r.parser.defined.includes(gt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):n(p)}function u(p){return p===40?e.attempt(nm,f,s?f:d)(p):p===91?e.attempt(rm,f,s?c:d)(p):s?f(p):d(p)}function c(p){return e.attempt(im,f,d)(p)}function f(p){return t(p)}function d(p){return a._balanced=!0,n(p)}}function um(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Ae(d)?Xn(e,a)(d):a(d)}function a(d){return d===41?f(d):Sl(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return Ae(d)?Xn(e,u)(d):f(d)}function o(d){return n(d)}function u(d){return d===34||d===39||d===40?xl(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function c(d){return Ae(d)?Xn(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function lm(e,t,n){const r=this;return i;function i(o){return Cl.call(r,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function s(o){return n(o)}}function cm(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 dm={name:"labelStartImage",resolveAll:Ua.resolveAll,tokenize:fm};function fm(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"),s):n(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const hm={name:"labelStartLink",resolveAll:Ua.resolveAll,tokenize:pm};function pm(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const vi={name:"lineEnding",tokenize:mm};function mm(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),pe(e,t,"linePrefix")}}const Yr={name:"thematicBreak",tokenize:gm};function gm(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,o(c)}function o(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||J(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),le(c)?pe(e,o,"whitespace")(c):o(c))}}const tt={continuation:{tokenize:Tm},exit:Nm,name:"list",tokenize:_m},Em={partial:!0,tokenize:ym},bm={partial:!0,tokenize:Am};function _m(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,s=0;return o;function o(h){const g=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:ca(h)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Yr,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return n(h)}function u(h){return ca(h)&&++s<10?(e.consume(h),u):(!r.interrupt||s<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(mr,r.interrupt?n:f,e.attempt(Em,p,d))}function f(h){return r.containerState.initialBlankLine=!0,a++,p(h)}function d(h){return le(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):n(h)}function p(h){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Tm(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(mr,i,a);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pe(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!le(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bm,t,s)(o))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,pe(e,e.attempt(tt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Am(e,t,n){const r=this;return pe(e,i,"listItemIndent",r.containerState.size+1);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(a):n(a)}}function Nm(e){e.exit(this.containerState.type)}function ym(e,t,n){const r=this;return pe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=r.events[r.events.length-1];return!le(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Js={name:"setextUnderline",resolveTo:Sm,tokenize:Cm};function Sm(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 s={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",s,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function Cm(e,t,n){const r=this;let i;return a;function a(c){let f=r.events.length,d;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){d=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=c,s(c)):n(c)}function s(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),le(c)?pe(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||J(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const xm={tokenize:Im};function Im(e){const t=this,n=e.attempt(mr,r,e.attempt(this.parser.constructs.flowInitial,i,pe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Lp,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 km={resolveAll:kl()},Om=Il("string"),Rm=Il("text");function Il(e){return{resolveAll:kl(e==="text"?wm:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,s,o);return s;function s(f){return c(f)?a(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),u}function u(f){return c(f)?(n.exit("data"),a(f)):(n.consume(f),u)}function c(f){if(f===null)return!0;const d=i[f];let p=-1;if(d)for(;++p<d.length;){const h=d[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function kl(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 wm(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,s=-1,o=0,u;for(;a--;){const c=i[a];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(c===-2)u=!0,o++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:r.start._bufferIndex+s,_index:r.start._index+a,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const Lm={42:tt,43:tt,45:tt,48:tt,49:tt,50:tt,51:tt,52:tt,53:tt,54:tt,55:tt,56:tt,57:tt,62:Tl},Dm={91:Bp},Mm={[-2]:Mi,[-1]:Mi,32:Mi},vm={35:$p,42:Yr,45:[Js,Yr],60:Wp,61:Js,95:Yr,96:js,126:js},Pm={38:Nl,92:Al},Bm={[-5]:vi,[-4]:vi,[-3]:vi,33:dm,38:Nl,42:da,60:[hp,em],91:hm,92:[zp,Al],93:Ua,95:da,96:xp},Fm={null:[da,km]},Um={null:[42,95]},Hm={null:[]},zm=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Um,contentInitial:Dm,disable:Hm,document:Lm,flow:vm,flowInitial:Mm,insideSpan:Fm,string:Pm,text:Bm},Symbol.toStringTag,{value:"Module"}));function Ym(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 s=[],o=[];const u={attempt:v(H),check:v(I),consume:C,enter:k,exit:B,interrupt:v(I,{interrupt:!0})},c={code:null,containerState:{},defineSkip:T,events:[],now:g,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:d};let f=t.tokenize.call(c,u);return t.resolveAll&&a.push(t),c;function d(q){return s=ze(s,q),S(),s[s.length-1]!==null?[]:(V(t,0),c.events=pr(a,c.events,c),c.events)}function p(q,K){return Gm(h(q),K)}function h(q){return $m(s,q)}function g(){const{_bufferIndex:q,_index:K,line:oe,column:$,offset:F}=r;return{_bufferIndex:q,_index:K,line:oe,column:$,offset:F}}function T(q){i[q.line]=q.column,O()}function S(){let q;for(;r._index<s.length;){const K=s[r._index];if(typeof K=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<K.length;)_(K.charCodeAt(r._bufferIndex));else _(K)}}function _(q){f=f(q)}function C(q){J(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,O()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=q}function k(q,K){const oe=K||{};return oe.type=q,oe.start=g(),c.events.push(["enter",oe,c]),o.push(oe),oe}function B(q){const K=o.pop();return K.end=g(),c.events.push(["exit",K,c]),K}function H(q,K){V(q,K.from)}function I(q,K){K.restore()}function v(q,K){return oe;function oe($,F,re){let ge,ie,Ne,A;return Array.isArray($)?ye($):"tokenize"in $?ye([$]):_e($);function _e(ke){return It;function It(at){const kt=at!==null&&ke[at],st=at!==null&&ke.null,Bt=[...Array.isArray(kt)?kt:kt?[kt]:[],...Array.isArray(st)?st:st?[st]:[]];return ye(Bt)(at)}}function ye(ke){return ge=ke,ie=0,ke.length===0?re:y(ke[ie])}function y(ke){return It;function It(at){return A=X(),Ne=ke,ke.partial||(c.currentConstruct=ke),ke.name&&c.parser.constructs.disable.null.includes(ke.name)?dt():ke.tokenize.call(K?Object.assign(Object.create(c),K):c,u,Ve,dt)(at)}}function Ve(ke){return q(Ne,A),F}function dt(ke){return A.restore(),++ie<ge.length?y(ge[ie]):re}}}function V(q,K){q.resolveAll&&!a.includes(q)&&a.push(q),q.resolve&&rt(c.events,K,c.events.length-K,q.resolve(c.events.slice(K),c)),q.resolveTo&&(c.events=q.resolveTo(c.events,c))}function X(){const q=g(),K=c.previous,oe=c.currentConstruct,$=c.events.length,F=Array.from(o);return{from:$,restore:re};function re(){r=q,c.previous=K,c.currentConstruct=oe,c.events.length=$,o=F,O()}}function O(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function $m(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,a)];else{if(s=e.slice(n,i),r>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(r):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function Gm(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
34
34
  `;break}case-3:{s=`\r
35
35
  `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,r.push(s)}return r.join("")}function qm(e){const r={constructs:bl([zm,...(e||{}).extensions||[]]),content:i(sp),defined:[],document:i(up),flow:i(xm),lazy:{},string:i(Om),text:i(Rm)};return r;function i(a){return s;function s(o){return Ym(r,a,o)}}}function Km(e){for(;!yl(e););return e}const eo=/[\0\t\n\r]/g;function Wm(){let e=1,t="",n=!0,r;return i;function i(a,s,o){const u=[];let c,f,d,p,h;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),d=0,t="",n&&(a.charCodeAt(0)===65279&&d++,n=void 0);d<a.length;){if(eo.lastIndex=d,c=eo.exec(a),p=c&&c.index!==void 0?c.index:a.length,h=a.charCodeAt(p),!c){t=a.slice(d);break}if(h===10&&d===p&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),d<p&&(u.push(a.slice(d,p)),e+=p-d),h){case 0:{u.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,u.push(-2);e++<f;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}d=p+1}return o&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Vm=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qm(e){return e.replace(Vm,Xm)}function Xm(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return _l(n.slice(a?2:1),a?16:10)}return Fa(n)||e}const Ol={}.hasOwnProperty;function jm(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),Zm(n)(Km(qm(n).document().write(Wm()(e,t,!0))))}function Zm(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(pn),autolinkProtocol:X,autolinkEmail:X,atxHeading:a(hn),blockQuote:a(st),characterEscape:X,characterReference:X,codeFenced:a(Bt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Bt,s),codeText:a(vn,s),codeTextData:X,data:X,codeFlowValue:X,definition:a(Pn),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Bn),hardBreakEscape:a(me),hardBreakTrailing:a(me),htmlFlow:a(Ot,s),htmlFlowData:X,htmlText:a(Ot,s),htmlTextData:X,image:a(Rt),label:s,link:a(pn),listItem:a(_i),listItemValue:p,listOrdered:a(Fn,d),listUnordered:a(Fn),paragraph:a(Ti),reference:y,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(hn),strong:a(yr),thematicBreak:a(Sr)},exit:{atxHeading:u(),atxHeadingSequence:H,autolink:u(),autolinkEmail:kt,autolinkProtocol:at,blockQuote:u(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:dt,characterReferenceMarkerNumeric:dt,characterReferenceValue:ke,characterReference:It,codeFenced:u(S),codeFencedFence:T,codeFencedFenceInfo:h,codeFencedFenceMeta:g,codeFlowValue:O,codeIndented:u(_),codeText:u(F),codeTextData:O,data:O,definition:u(),definitionDestinationString:B,definitionLabelString:C,definitionTitleString:k,emphasis:u(),hardBreakEscape:u(K),hardBreakTrailing:u(K),htmlFlow:u(oe),htmlFlowData:O,htmlText:u($),htmlTextData:O,image:u(ge),label:Ne,labelText:ie,lineEnding:q,link:u(re),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Ve,resourceDestinationString:A,resourceTitleString:_e,resource:ye,setextHeading:u(V),setextHeadingLineSequence:v,setextHeadingText:I,strong:u(),thematicBreak:u()}};Rl(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(w){let z={type:"root",children:[]};const te={stack:[z],tokenStack:[],config:t,enter:o,exit:c,buffer:s,resume:f,data:n},fe=[];let Ee=-1;for(;++Ee<w.length;)if(w[Ee][1].type==="listOrdered"||w[Ee][1].type==="listUnordered")if(w[Ee][0]==="enter")fe.push(Ee);else{const ot=fe.pop();Ee=i(w,ot,Ee)}for(Ee=-1;++Ee<w.length;){const ot=t[w[Ee][0]];Ol.call(ot,w[Ee][1].type)&&ot[w[Ee][1].type].call(Object.assign({sliceSerialize:w[Ee][2].sliceSerialize},te),w[Ee][1])}if(te.tokenStack.length>0){const ot=te.tokenStack[te.tokenStack.length-1];(ot[1]||to).call(te,void 0,ot[0])}for(z.position={start:Yt(w.length>0?w[0][1].start:{line:1,column:1,offset:0}),end:Yt(w.length>0?w[w.length-2][1].end:{line:1,column:1,offset:0})},Ee=-1;++Ee<t.transforms.length;)z=t.transforms[Ee](z)||z;return z}function i(w,z,te){let fe=z-1,Ee=-1,ot=!1,Lt,pt,Ft,Jt;for(;++fe<=te;){const Qe=w[fe];switch(Qe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Qe[0]==="enter"?Ee++:Ee--,Jt=void 0;break}case"lineEndingBlank":{Qe[0]==="enter"&&(Lt&&!Jt&&!Ee&&!Ft&&(Ft=fe),Jt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Jt=void 0}if(!Ee&&Qe[0]==="enter"&&Qe[1].type==="listItemPrefix"||Ee===-1&&Qe[0]==="exit"&&(Qe[1].type==="listUnordered"||Qe[1].type==="listOrdered")){if(Lt){let Ut=fe;for(pt=void 0;Ut--;){const ut=w[Ut];if(ut[1].type==="lineEnding"||ut[1].type==="lineEndingBlank"){if(ut[0]==="exit")continue;pt&&(w[pt][1].type="lineEndingBlank",ot=!0),ut[1].type="lineEnding",pt=Ut}else if(!(ut[1].type==="linePrefix"||ut[1].type==="blockQuotePrefix"||ut[1].type==="blockQuotePrefixWhitespace"||ut[1].type==="blockQuoteMarker"||ut[1].type==="listItemIndent"))break}Ft&&(!pt||Ft<pt)&&(Lt._spread=!0),Lt.end=Object.assign({},pt?w[pt][1].start:Qe[1].end),w.splice(pt||fe,0,["exit",Lt,Qe[2]]),fe++,te++}if(Qe[1].type==="listItemPrefix"){const Ut={type:"listItem",_spread:!1,start:Object.assign({},Qe[1].start),end:void 0};Lt=Ut,w.splice(fe,0,["enter",Ut,Qe[2]]),fe++,te++,Ft=void 0,Jt=!0}}}return w[z][1]._spread=ot,te}function a(w,z){return te;function te(fe){o.call(this,w(fe),fe),z&&z.call(this,fe)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(w,z,te){this.stack[this.stack.length-1].children.push(w),this.stack.push(w),this.tokenStack.push([z,te||void 0]),w.position={start:Yt(z.start),end:void 0}}function u(w){return z;function z(te){w&&w.call(this,te),c.call(this,te)}}function c(w,z){const te=this.stack.pop(),fe=this.tokenStack.pop();if(fe)fe[0].type!==w.type&&(z?z.call(this,w,fe[0]):(fe[1]||to).call(this,w,fe[0]));else throw new Error("Cannot close `"+w.type+"` ("+Qn({start:w.start,end:w.end})+"): it’s not open");te.position.end=Yt(w.end)}function f(){return Ba(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function p(w){if(this.data.expectingFirstListItemValue){const z=this.stack[this.stack.length-2];z.start=Number.parseInt(this.sliceSerialize(w),10),this.data.expectingFirstListItemValue=void 0}}function h(){const w=this.resume(),z=this.stack[this.stack.length-1];z.lang=w}function g(){const w=this.resume(),z=this.stack[this.stack.length-1];z.meta=w}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){const w=this.resume(),z=this.stack[this.stack.length-1];z.value=w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function _(){const w=this.resume(),z=this.stack[this.stack.length-1];z.value=w.replace(/(\r?\n|\r)$/g,"")}function C(w){const z=this.resume(),te=this.stack[this.stack.length-1];te.label=z,te.identifier=gt(this.sliceSerialize(w)).toLowerCase()}function k(){const w=this.resume(),z=this.stack[this.stack.length-1];z.title=w}function B(){const w=this.resume(),z=this.stack[this.stack.length-1];z.url=w}function H(w){const z=this.stack[this.stack.length-1];if(!z.depth){const te=this.sliceSerialize(w).length;z.depth=te}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function v(w){const z=this.stack[this.stack.length-1];z.depth=this.sliceSerialize(w).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function X(w){const te=this.stack[this.stack.length-1].children;let fe=te[te.length-1];(!fe||fe.type!=="text")&&(fe=wt(),fe.position={start:Yt(w.start),end:void 0},te.push(fe)),this.stack.push(fe)}function O(w){const z=this.stack.pop();z.value+=this.sliceSerialize(w),z.position.end=Yt(w.end)}function q(w){const z=this.stack[this.stack.length-1];if(this.data.atHardBreak){const te=z.children[z.children.length-1];te.position.end=Yt(w.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(z.type)&&(X.call(this,w),O.call(this,w))}function K(){this.data.atHardBreak=!0}function oe(){const w=this.resume(),z=this.stack[this.stack.length-1];z.value=w}function $(){const w=this.resume(),z=this.stack[this.stack.length-1];z.value=w}function F(){const w=this.resume(),z=this.stack[this.stack.length-1];z.value=w}function re(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=z,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function ge(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=z,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function ie(w){const z=this.sliceSerialize(w),te=this.stack[this.stack.length-2];te.label=Qm(z),te.identifier=gt(z).toLowerCase()}function Ne(){const w=this.stack[this.stack.length-1],z=this.resume(),te=this.stack[this.stack.length-1];if(this.data.inReference=!0,te.type==="link"){const fe=w.children;te.children=fe}else te.alt=z}function A(){const w=this.resume(),z=this.stack[this.stack.length-1];z.url=w}function _e(){const w=this.resume(),z=this.stack[this.stack.length-1];z.title=w}function ye(){this.data.inReference=void 0}function y(){this.data.referenceType="collapsed"}function Ve(w){const z=this.resume(),te=this.stack[this.stack.length-1];te.label=z,te.identifier=gt(this.sliceSerialize(w)).toLowerCase(),this.data.referenceType="full"}function dt(w){this.data.characterReferenceType=w.type}function ke(w){const z=this.sliceSerialize(w),te=this.data.characterReferenceType;let fe;te?(fe=_l(z,te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):fe=Fa(z);const Ee=this.stack[this.stack.length-1];Ee.value+=fe}function It(w){const z=this.stack.pop();z.position.end=Yt(w.end)}function at(w){O.call(this,w);const z=this.stack[this.stack.length-1];z.url=this.sliceSerialize(w)}function kt(w){O.call(this,w);const z=this.stack[this.stack.length-1];z.url="mailto:"+this.sliceSerialize(w)}function st(){return{type:"blockquote",children:[]}}function Bt(){return{type:"code",lang:null,meta:null,value:""}}function vn(){return{type:"inlineCode",value:""}}function Pn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Bn(){return{type:"emphasis",children:[]}}function hn(){return{type:"heading",depth:0,children:[]}}function me(){return{type:"break"}}function Ot(){return{type:"html",value:""}}function Rt(){return{type:"image",title:null,url:"",alt:null}}function pn(){return{type:"link",title:null,url:"",children:[]}}function Fn(w){return{type:"list",ordered:w.type==="listOrdered",start:null,spread:w._spread,children:[]}}function _i(w){return{type:"listItem",spread:w._spread,checked:null,children:[]}}function Ti(){return{type:"paragraph",children:[]}}function yr(){return{type:"strong",children:[]}}function wt(){return{type:"text",value:""}}function Sr(){return{type:"thematicBreak"}}}function Yt(e){return{line:e.line,column:e.column,offset:e.offset}}function Rl(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Rl(e,r):Jm(e,r)}}function Jm(e,t){let n;for(n in t)if(Ol.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 to(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Qn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Qn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Qn({start:t.start,end:t.end})+") is still open")}function eg(e){const t=this;t.parser=n;function n(r){return jm(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function tg(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 ng(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
36
36
  `}]}function rg(e,t){const n=t.value?t.value+`
@@ -66,4 +66,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),ve=U,Se=ee),he===void
66
66
  `))+1))}const s="#".repeat(i),o=n.enter("headingAtx"),u=n.enter("phrasing");a.move(s+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
67
67
  `,...a.current()});return/^[\t ]/.test(c)&&(c=dr(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,n.options.closeAtx&&(c+=" "+s),u(),o(),c}ld.peek=qN;function ld(e){return e.value||""}function qN(){return"<"}cd.peek=KN;function cd(e,t,n,r){const i=rs(n),a=i==='"'?"Quote":"Apostrophe",s=n.enter("image");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(o=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),o(),e.title&&(o=n.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),o()),c+=u.move(")"),s(),c}function KN(){return"!"}dd.peek=WN;function dd(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let s=n.enter("label");const o=n.createTracker(r);let u=o.move("![");const c=n.safe(e.alt,{before:u,after:"]",...o.current()});u+=o.move(c+"]["),s();const f=n.stack;n.stack=[],s=n.enter("reference");const d=n.safe(n.associationId(e),{before:u,after:"]",...o.current()});return s(),n.stack=f,a(),i==="full"||!c||c!==d?u+=o.move(d+"]"):i==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function WN(){return"!"}fd.peek=VN;function fd(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const s=n.unsafe[a],o=n.compilePattern(s);let u;if(s.atBreak)for(;u=o.exec(r);){let c=u.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(u.index+1)}}return i+r+i}function VN(){return"`"}function hd(e,t){const n=Ba(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}pd.peek=QN;function pd(e,t,n,r){const i=rs(n),a=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let o,u;if(hd(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let d=s.move("<");return d+=s.move(n.containerPhrasing(e,{before:d,after:">",...s.current()})),d+=s.move(">"),o(),n.stack=f,d}o=n.enter("link"),u=n.enter("label");let c=s.move("[");return c+=s.move(n.containerPhrasing(e,{before:c,after:"](",...s.current()})),c+=s.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(u=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),u(),e.title&&(u=n.enter(`title${a}`),c+=s.move(" "+i),c+=s.move(n.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),u()),c+=s.move(")"),o(),c}function QN(e,t,n){return hd(e,n)?"<":"["}md.peek=XN;function md(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let s=n.enter("label");const o=n.createTracker(r);let u=o.move("[");const c=n.containerPhrasing(e,{before:u,after:"]",...o.current()});u+=o.move(c+"]["),s();const f=n.stack;n.stack=[],s=n.enter("reference");const d=n.safe(n.associationId(e),{before:u,after:"]",...o.current()});return s(),n.stack=f,a(),i==="full"||!c||c!==d?u+=o.move(d+"]"):i==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function XN(){return"["}function is(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function jN(e){const t=is(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ZN(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function gd(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function JN(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let s=e.ordered?ZN(n):is(n);const o=e.ordered?s==="."?")":".":jN(n);let u=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),gd(n)===s&&f){let d=-1;for(;++d<e.children.length;){const p=e.children[d];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(s=o),n.bulletCurrent=s;const c=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=a,i(),c}function ey(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function ty(e,t,n,r){const i=ey(n);let a=n.bulletCurrent||is(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let s=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const o=n.createTracker(r);o.move(a+" ".repeat(s-a.length)),o.shift(s);const u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),f);return u(),c;function f(d,p,h){return p?(h?"":" ".repeat(s))+d:(h?a:a+" ".repeat(s-a.length))+d}}function ny(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),s=n.containerPhrasing(e,r);return a(),i(),s}const ry=gr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function iy(e,t,n,r){return(e.children.some(function(s){return ry(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function ay(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ed.peek=sy;function Ed(e,t,n,r){const i=ay(n),a=n.enter("strong"),s=n.createTracker(r),o=s.move(i+i);let u=s.move(n.containerPhrasing(e,{after:i,before:o,...s.current()}));const c=u.charCodeAt(0),f=oi(r.before.charCodeAt(r.before.length-1),c,i);f.inside&&(u=dr(c)+u.slice(1));const d=u.charCodeAt(u.length-1),p=oi(r.after.charCodeAt(0),d,i);p.inside&&(u=u.slice(0,-1)+dr(d));const h=s.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:f.outside},o+u+h}function sy(e,t,n){return n.options.strong||"*"}function oy(e,t,n,r){return n.safe(e.value,r)}function uy(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function ly(e,t,n){const r=(gd(n)+(n.options.ruleSpaces?" ":"")).repeat(uy(n));return n.options.ruleSpaces?r.slice(0,-1):r}const bd={blockquote:LN,break:cu,code:FN,definition:HN,emphasis:ud,hardBreak:cu,heading:GN,html:ld,image:cd,imageReference:dd,inlineCode:fd,link:pd,linkReference:md,list:JN,listItem:ty,paragraph:ny,root:iy,strong:Ed,text:oy,thematicBreak:ly};function cy(){return{enter:{table:dy,tableData:du,tableHeader:du,tableRow:hy},exit:{codeText:py,table:fy,tableData:ta,tableHeader:ta,tableRow:ta}}}function dy(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function fy(e){this.exit(e),this.data.inTable=void 0}function hy(e){this.enter({type:"tableRow",children:[]},e)}function ta(e){this.exit(e)}function du(e){this.enter({type:"tableCell",children:[]},e)}function py(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,my));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function my(e,t){return t==="|"?t:e}function gy(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
68
68
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:u,tableRow:o}};function s(h,g,T,S){return c(f(h,T,S),h.align)}function o(h,g,T,S){const _=d(h,T,S),C=c([_]);return C.slice(0,C.indexOf(`
69
- `))}function u(h,g,T,S){const _=T.enter("tableCell"),C=T.enter("phrasing"),k=T.containerPhrasing(h,{...S,before:a,after:a});return C(),_(),k}function c(h,g){return RN(h,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function f(h,g,T){const S=h.children;let _=-1;const C=[],k=g.enter("table");for(;++_<S.length;)C[_]=d(S[_],g,T);return k(),C}function d(h,g,T){const S=h.children;let _=-1;const C=[],k=g.enter("tableRow");for(;++_<S.length;)C[_]=u(S[_],h,g,T);return k(),C}function p(h,g,T){let S=bd.inlineCode(h,g,T);return T.stack.includes("tableCell")&&(S=S.replace(/\|/g,"\\$&")),S}}function Ey(){return{exit:{taskListCheckValueChecked:fu,taskListCheckValueUnchecked:fu,paragraph:_y}}}function by(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Ty}}}function fu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function _y(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const o=i[a];if(o.type==="paragraph"){s=o;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Ty(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);a&&o.move(s);let u=bd.listItem(e,t,n,{...r,...o.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(f){return f+s}}function Ay(){return[J2(),TN(),SN(),cy(),Ey()]}function Ny(e){return{extensions:[eN(),AN(e),CN(),gy(e),by()]}}const yy={tokenize:Oy,partial:!0},_d={tokenize:Ry,partial:!0},Td={tokenize:wy,partial:!0},Ad={tokenize:Ly,partial:!0},Sy={tokenize:Dy,partial:!0},Nd={name:"wwwAutolink",tokenize:Iy,previous:Sd},yd={name:"protocolAutolink",tokenize:ky,previous:Cd},Pt={name:"emailAutolink",tokenize:xy,previous:xd},xt={};function Cy(){return{text:xt}}let rn=48;for(;rn<123;)xt[rn]=Pt,rn++,rn===58?rn=65:rn===91&&(rn=97);xt[43]=Pt;xt[45]=Pt;xt[46]=Pt;xt[95]=Pt;xt[72]=[Pt,yd];xt[104]=[Pt,yd];xt[87]=[Pt,Nd];xt[119]=[Pt,Nd];function xy(e,t,n){const r=this;let i,a;return s;function s(d){return!xa(d)||!xd.call(r,r.previous)||as(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(d))}function o(d){return xa(d)?(e.consume(d),o):d===64?(e.consume(d),u):n(d)}function u(d){return d===46?e.check(Sy,f,c)(d):d===45||d===95||Ge(d)?(a=!0,e.consume(d),u):f(d)}function c(d){return e.consume(d),i=!0,u}function f(d){return a&&i&&Ze(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Iy(e,t,n){const r=this;return i;function i(s){return s!==87&&s!==119||!Sd.call(r,r.previous)||as(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(yy,e.attempt(_d,e.attempt(Td,a),n),n)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function ky(e,t,n){const r=this;let i="",a=!1;return s;function s(d){return(d===72||d===104)&&Cd.call(r,r.previous)&&!as(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),o):n(d)}function o(d){if(Ze(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),o;if(d===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(d),u}return n(d)}function u(d){return d===47?(e.consume(d),a?c:(a=!0,u)):n(d)}function c(d){return d===null||Xr(d)||Ae(d)||un(d)||fi(d)?n(d):e.attempt(_d,e.attempt(Td,f),n)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Oy(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),a):n(s)}function a(s){return s===null?n(s):t(s)}}function Ry(e,t,n){let r,i,a;return s;function s(c){return c===46||c===95?e.check(Ad,u,o)(c):c===null||Ae(c)||un(c)||c!==45&&fi(c)?u(c):(a=!0,e.consume(c),s)}function o(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),s}function u(c){return i||r||!a?n(c):t(c)}}function wy(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(Ad,t,a)(s):s===null||Ae(s)||un(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&r++,e.consume(s),i}}function Ly(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Ae(o)||un(o)?t(o):n(o)}function i(o){return o===null||o===40||o===91||Ae(o)||un(o)?t(o):r(o)}function a(o){return Ze(o)?s(o):n(o)}function s(o){return o===59?(e.consume(o),r):Ze(o)?(e.consume(o),s):n(o)}}function Dy(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Ge(a)?n(a):t(a)}}function Sd(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ae(e)}function Cd(e){return!Ze(e)}function xd(e){return!(e===47||xa(e))}function xa(e){return e===43||e===45||e===46||e===95||Ge(e)}function as(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const My={tokenize:Yy,partial:!0};function vy(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Uy,continuation:{tokenize:Hy},exit:zy}},text:{91:{name:"gfmFootnoteCall",tokenize:Fy},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Py,resolveTo:By}}}}function Py(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return n(u);const c=gt(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function By(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Fy(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,s;return o;function o(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),u}function u(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(a>999||d===93&&!s||d===null||d===91||Ae(d))return n(d);if(d===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(gt(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Ae(d)||(s=!0),a++,e.consume(d),d===92?f:c}function f(d){return d===91||d===92||d===93?(e.consume(d),a++,c):c(d)}}function Uy(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,s=0,o;return u;function u(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(g)}function f(g){if(s>999||g===93&&!o||g===null||g===91||Ae(g))return n(g);if(g===93){e.exit("chunkString");const T=e.exit("gfmFootnoteDefinitionLabelString");return a=gt(r.sliceSerialize(T)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ae(g)||(o=!0),s++,e.consume(g),g===92?d:f}function d(g){return g===91||g===92||g===93?(e.consume(g),s++,f):f(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(a)||i.push(a),pe(e,h,"gfmFootnoteDefinitionWhitespace")):n(g)}function h(g){return t(g)}}function Hy(e,t,n){return e.check(mr,t,e.attempt(My,t,n))}function zy(e){e.exit("gfmFootnoteDefinition")}function Yy(e,t,n){const r=this;return pe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):n(a)}}function $y(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,o){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let c=u;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[u][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[u][1].end)},d={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[u][1].start)},p=[["enter",f,o],["enter",s[c][1],o],["exit",s[c][1],o],["enter",d,o]],h=o.parser.constructs.insideSpan.null;h&&rt(p,p.length,0,pr(h,s.slice(c+1,u),o)),rt(p,p.length,0,[["exit",d,o],["enter",s[u][1],o],["exit",s[u][1],o],["exit",f,o]]),rt(s,c-1,u-c+3,p),u=c+p.length-2;break}}for(u=-1;++u<s.length;)s[u][1].type==="strikethroughSequenceTemporary"&&(s[u][1].type="data");return s}function a(s,o,u){const c=this.previous,f=this.events;let d=0;return p;function p(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?u(g):(s.enter("strikethroughSequenceTemporary"),h(g))}function h(g){const T=kn(c);if(g===126)return d>1?u(g):(s.consume(g),d++,h);if(d<2&&!n)return u(g);const S=s.exit("strikethroughSequenceTemporary"),_=kn(g);return S._open=!_||_===2&&!!T,S._close=!T||T===2&&!!_,o(g)}}}class Gy{constructor(){this.map=[]}add(t,n,r){qy(this,t,n,r)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function qy(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function Ky(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Wy(){return{flow:{null:{name:"table",tokenize:Vy,resolveAll:Qy}}}}function Vy(e,t,n){const r=this;let i=0,a=0,s;return o;function o(O){let q=r.events.length-1;for(;q>-1;){const $=r.events[q][1].type;if($==="lineEnding"||$==="linePrefix")q--;else break}const K=q>-1?r.events[q][1].type:null,oe=K==="tableHead"||K==="tableRow"?I:u;return oe===I&&r.parser.lazy[r.now().line]?n(O):oe(O)}function u(O){return e.enter("tableHead"),e.enter("tableRow"),c(O)}function c(O){return O===124||(s=!0,a+=1),f(O)}function f(O){return O===null?n(O):J(O)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),h):n(O):le(O)?pe(e,f,"whitespace")(O):(a+=1,s&&(s=!1,i+=1),O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),s=!0,f):(e.enter("data"),d(O)))}function d(O){return O===null||O===124||Ae(O)?(e.exit("data"),f(O)):(e.consume(O),O===92?p:d)}function p(O){return O===92||O===124?(e.consume(O),d):d(O)}function h(O){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(O):(e.enter("tableDelimiterRow"),s=!1,le(O)?pe(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):g(O))}function g(O){return O===45||O===58?S(O):O===124?(s=!0,e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),T):H(O)}function T(O){return le(O)?pe(e,S,"whitespace")(O):S(O)}function S(O){return O===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),_):O===45?(a+=1,_(O)):O===null||J(O)?B(O):H(O)}function _(O){return O===45?(e.enter("tableDelimiterFiller"),C(O)):H(O)}function C(O){return O===45?(e.consume(O),C):O===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(O))}function k(O){return le(O)?pe(e,B,"whitespace")(O):B(O)}function B(O){return O===124?g(O):O===null||J(O)?!s||i!==a?H(O):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(O)):H(O)}function H(O){return n(O)}function I(O){return e.enter("tableRow"),v(O)}function v(O){return O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),v):O===null||J(O)?(e.exit("tableRow"),t(O)):le(O)?pe(e,v,"whitespace")(O):(e.enter("data"),V(O))}function V(O){return O===null||O===124||Ae(O)?(e.exit("data"),v(O)):(e.consume(O),O===92?X:V)}function X(O){return O===92||O===124?(e.consume(O),V):V(O)}}function Qy(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,c,f,d;const p=new Gy;for(;++n<e.length;){const h=e[n],g=h[1];h[0]==="enter"?g.type==="tableHead"?(o=!1,u!==0&&(hu(p,t,u,c,f),f=void 0,u=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,d=void 0,a=[0,0,0,0],s=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",f,t]])),i=g.type==="tableDelimiterRow"?2:f?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],d=zr(p,t,a,i,void 0,d),a=[0,0,0,0]),s[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(s[0]=s[1],d=zr(p,t,a,i,void 0,d)),a=s,s=[a[1],n,0,0])):g.type==="tableHead"?(o=!0,u=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(u=n,a[1]!==0?(s[0]=s[1],d=zr(p,t,a,i,n,d)):s[1]!==0&&(d=zr(p,t,s,i,n,d)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=n)}for(u!==0&&hu(p,t,u,c,f),p.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=Ky(t.events,n))}return e}function zr(e,t,n,r,i,a){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(a.end=Object.assign({},Nn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const u=Nn(t.events,n[1]);if(a={type:s,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const c=Nn(t.events,n[2]),f=Nn(t.events,n[3]),d={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const p=t.events[n[2]],h=t.events[n[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,T=n[3]-n[2]-1;e.add(g,T,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(a.end=Object.assign({},Nn(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function hu(e,t,n,r,i){const a=[],s=Nn(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),r.end=Object.assign({},s),a.push(["exit",r,t]),e.add(n+1,0,a)}function Nn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Xy={name:"tasklistCheck",tokenize:Zy};function jy(){return{text:{91:Xy}}}function Zy(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return Ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):n(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(u)}function o(u){return J(u)?t(u):le(u)?e.check({tokenize:Jy},t,n)(u):n(u)}}function Jy(e,t,n){return pe(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function eS(e){return bl([Cy(),vy(),$y(e),Wy(),jy()])}const tS={};function dS(e){const t=this,n=e||tS,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(eS(n)),a.push(Ay()),s.push(Ny(n))}export{aS as M,Fl as V,yE as a,oS as b,uS as c,Vo as d,cS as e,dS as f,eg as g,Qg as h,Di as i,iS as j,sS as r,lS as s,Bh as t,hE as u,Er as v};
69
+ `))}function u(h,g,T,S){const _=T.enter("tableCell"),C=T.enter("phrasing"),k=T.containerPhrasing(h,{...S,before:a,after:a});return C(),_(),k}function c(h,g){return RN(h,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function f(h,g,T){const S=h.children;let _=-1;const C=[],k=g.enter("table");for(;++_<S.length;)C[_]=d(S[_],g,T);return k(),C}function d(h,g,T){const S=h.children;let _=-1;const C=[],k=g.enter("tableRow");for(;++_<S.length;)C[_]=u(S[_],h,g,T);return k(),C}function p(h,g,T){let S=bd.inlineCode(h,g,T);return T.stack.includes("tableCell")&&(S=S.replace(/\|/g,"\\$&")),S}}function Ey(){return{exit:{taskListCheckValueChecked:fu,taskListCheckValueUnchecked:fu,paragraph:_y}}}function by(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Ty}}}function fu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function _y(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const o=i[a];if(o.type==="paragraph"){s=o;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Ty(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);a&&o.move(s);let u=bd.listItem(e,t,n,{...r,...o.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(f){return f+s}}function Ay(){return[J2(),TN(),SN(),cy(),Ey()]}function Ny(e){return{extensions:[eN(),AN(e),CN(),gy(e),by()]}}const yy={tokenize:Oy,partial:!0},_d={tokenize:Ry,partial:!0},Td={tokenize:wy,partial:!0},Ad={tokenize:Ly,partial:!0},Sy={tokenize:Dy,partial:!0},Nd={name:"wwwAutolink",tokenize:Iy,previous:Sd},yd={name:"protocolAutolink",tokenize:ky,previous:Cd},Pt={name:"emailAutolink",tokenize:xy,previous:xd},xt={};function Cy(){return{text:xt}}let rn=48;for(;rn<123;)xt[rn]=Pt,rn++,rn===58?rn=65:rn===91&&(rn=97);xt[43]=Pt;xt[45]=Pt;xt[46]=Pt;xt[95]=Pt;xt[72]=[Pt,yd];xt[104]=[Pt,yd];xt[87]=[Pt,Nd];xt[119]=[Pt,Nd];function xy(e,t,n){const r=this;let i,a;return s;function s(d){return!xa(d)||!xd.call(r,r.previous)||as(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(d))}function o(d){return xa(d)?(e.consume(d),o):d===64?(e.consume(d),u):n(d)}function u(d){return d===46?e.check(Sy,f,c)(d):d===45||d===95||Ge(d)?(a=!0,e.consume(d),u):f(d)}function c(d){return e.consume(d),i=!0,u}function f(d){return a&&i&&Ze(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Iy(e,t,n){const r=this;return i;function i(s){return s!==87&&s!==119||!Sd.call(r,r.previous)||as(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(yy,e.attempt(_d,e.attempt(Td,a),n),n)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function ky(e,t,n){const r=this;let i="",a=!1;return s;function s(d){return(d===72||d===104)&&Cd.call(r,r.previous)&&!as(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),o):n(d)}function o(d){if(Ze(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),o;if(d===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(d),u}return n(d)}function u(d){return d===47?(e.consume(d),a?c:(a=!0,u)):n(d)}function c(d){return d===null||Xr(d)||Ae(d)||un(d)||fi(d)?n(d):e.attempt(_d,e.attempt(Td,f),n)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Oy(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),a):n(s)}function a(s){return s===null?n(s):t(s)}}function Ry(e,t,n){let r,i,a;return s;function s(c){return c===46||c===95?e.check(Ad,u,o)(c):c===null||Ae(c)||un(c)||c!==45&&fi(c)?u(c):(a=!0,e.consume(c),s)}function o(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),s}function u(c){return i||r||!a?n(c):t(c)}}function wy(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(Ad,t,a)(s):s===null||Ae(s)||un(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&r++,e.consume(s),i}}function Ly(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Ae(o)||un(o)?t(o):n(o)}function i(o){return o===null||o===40||o===91||Ae(o)||un(o)?t(o):r(o)}function a(o){return Ze(o)?s(o):n(o)}function s(o){return o===59?(e.consume(o),r):Ze(o)?(e.consume(o),s):n(o)}}function Dy(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Ge(a)?n(a):t(a)}}function Sd(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ae(e)}function Cd(e){return!Ze(e)}function xd(e){return!(e===47||xa(e))}function xa(e){return e===43||e===45||e===46||e===95||Ge(e)}function as(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const My={tokenize:Yy,partial:!0};function vy(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Uy,continuation:{tokenize:Hy},exit:zy}},text:{91:{name:"gfmFootnoteCall",tokenize:Fy},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Py,resolveTo:By}}}}function Py(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return n(u);const c=gt(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function By(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Fy(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,s;return o;function o(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),u}function u(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(a>999||d===93&&!s||d===null||d===91||Ae(d))return n(d);if(d===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(gt(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Ae(d)||(s=!0),a++,e.consume(d),d===92?f:c}function f(d){return d===91||d===92||d===93?(e.consume(d),a++,c):c(d)}}function Uy(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,s=0,o;return u;function u(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(g)}function f(g){if(s>999||g===93&&!o||g===null||g===91||Ae(g))return n(g);if(g===93){e.exit("chunkString");const T=e.exit("gfmFootnoteDefinitionLabelString");return a=gt(r.sliceSerialize(T)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ae(g)||(o=!0),s++,e.consume(g),g===92?d:f}function d(g){return g===91||g===92||g===93?(e.consume(g),s++,f):f(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(a)||i.push(a),pe(e,h,"gfmFootnoteDefinitionWhitespace")):n(g)}function h(g){return t(g)}}function Hy(e,t,n){return e.check(mr,t,e.attempt(My,t,n))}function zy(e){e.exit("gfmFootnoteDefinition")}function Yy(e,t,n){const r=this;return pe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):n(a)}}function $y(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,o){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let c=u;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[u][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[u][1].end)},d={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[u][1].start)},p=[["enter",f,o],["enter",s[c][1],o],["exit",s[c][1],o],["enter",d,o]],h=o.parser.constructs.insideSpan.null;h&&rt(p,p.length,0,pr(h,s.slice(c+1,u),o)),rt(p,p.length,0,[["exit",d,o],["enter",s[u][1],o],["exit",s[u][1],o],["exit",f,o]]),rt(s,c-1,u-c+3,p),u=c+p.length-2;break}}for(u=-1;++u<s.length;)s[u][1].type==="strikethroughSequenceTemporary"&&(s[u][1].type="data");return s}function a(s,o,u){const c=this.previous,f=this.events;let d=0;return p;function p(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?u(g):(s.enter("strikethroughSequenceTemporary"),h(g))}function h(g){const T=kn(c);if(g===126)return d>1?u(g):(s.consume(g),d++,h);if(d<2&&!n)return u(g);const S=s.exit("strikethroughSequenceTemporary"),_=kn(g);return S._open=!_||_===2&&!!T,S._close=!T||T===2&&!!_,o(g)}}}class Gy{constructor(){this.map=[]}add(t,n,r){qy(this,t,n,r)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function qy(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function Ky(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Wy(){return{flow:{null:{name:"table",tokenize:Vy,resolveAll:Qy}}}}function Vy(e,t,n){const r=this;let i=0,a=0,s;return o;function o(O){let q=r.events.length-1;for(;q>-1;){const $=r.events[q][1].type;if($==="lineEnding"||$==="linePrefix")q--;else break}const K=q>-1?r.events[q][1].type:null,oe=K==="tableHead"||K==="tableRow"?I:u;return oe===I&&r.parser.lazy[r.now().line]?n(O):oe(O)}function u(O){return e.enter("tableHead"),e.enter("tableRow"),c(O)}function c(O){return O===124||(s=!0,a+=1),f(O)}function f(O){return O===null?n(O):J(O)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),h):n(O):le(O)?pe(e,f,"whitespace")(O):(a+=1,s&&(s=!1,i+=1),O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),s=!0,f):(e.enter("data"),d(O)))}function d(O){return O===null||O===124||Ae(O)?(e.exit("data"),f(O)):(e.consume(O),O===92?p:d)}function p(O){return O===92||O===124?(e.consume(O),d):d(O)}function h(O){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(O):(e.enter("tableDelimiterRow"),s=!1,le(O)?pe(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):g(O))}function g(O){return O===45||O===58?S(O):O===124?(s=!0,e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),T):H(O)}function T(O){return le(O)?pe(e,S,"whitespace")(O):S(O)}function S(O){return O===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),_):O===45?(a+=1,_(O)):O===null||J(O)?B(O):H(O)}function _(O){return O===45?(e.enter("tableDelimiterFiller"),C(O)):H(O)}function C(O){return O===45?(e.consume(O),C):O===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(O))}function k(O){return le(O)?pe(e,B,"whitespace")(O):B(O)}function B(O){return O===124?g(O):O===null||J(O)?!s||i!==a?H(O):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(O)):H(O)}function H(O){return n(O)}function I(O){return e.enter("tableRow"),v(O)}function v(O){return O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),v):O===null||J(O)?(e.exit("tableRow"),t(O)):le(O)?pe(e,v,"whitespace")(O):(e.enter("data"),V(O))}function V(O){return O===null||O===124||Ae(O)?(e.exit("data"),v(O)):(e.consume(O),O===92?X:V)}function X(O){return O===92||O===124?(e.consume(O),V):V(O)}}function Qy(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,c,f,d;const p=new Gy;for(;++n<e.length;){const h=e[n],g=h[1];h[0]==="enter"?g.type==="tableHead"?(o=!1,u!==0&&(hu(p,t,u,c,f),f=void 0,u=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,d=void 0,a=[0,0,0,0],s=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",f,t]])),i=g.type==="tableDelimiterRow"?2:f?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],d=zr(p,t,a,i,void 0,d),a=[0,0,0,0]),s[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(s[0]=s[1],d=zr(p,t,a,i,void 0,d)),a=s,s=[a[1],n,0,0])):g.type==="tableHead"?(o=!0,u=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(u=n,a[1]!==0?(s[0]=s[1],d=zr(p,t,a,i,n,d)):s[1]!==0&&(d=zr(p,t,s,i,n,d)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=n)}for(u!==0&&hu(p,t,u,c,f),p.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=Ky(t.events,n))}return e}function zr(e,t,n,r,i,a){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(a.end=Object.assign({},Nn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const u=Nn(t.events,n[1]);if(a={type:s,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const c=Nn(t.events,n[2]),f=Nn(t.events,n[3]),d={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const p=t.events[n[2]],h=t.events[n[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,T=n[3]-n[2]-1;e.add(g,T,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(a.end=Object.assign({},Nn(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function hu(e,t,n,r,i){const a=[],s=Nn(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),r.end=Object.assign({},s),a.push(["exit",r,t]),e.add(n+1,0,a)}function Nn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Xy={name:"tasklistCheck",tokenize:Zy};function jy(){return{text:{91:Xy}}}function Zy(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return Ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):n(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(u)}function o(u){return J(u)?t(u):le(u)?e.check({tokenize:Jy},t,n)(u):n(u)}}function Jy(e,t,n){return pe(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function eS(e){return bl([Cy(),vy(),$y(e),Wy(),jy()])}const tS={};function dS(e){const t=this,n=e||tS,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(eS(n)),a.push(Ay()),s.push(Ny(n))}export{aS as M,Fl as V,yE as a,oS as b,uS as c,Vo as d,cS as e,dS as f,eg as g,Qg as h,Ba as i,iS as j,Di as k,sS as r,lS as s,Bh as t,hE as u,Er as v};