@agents-shire/cli-linux-x64 1.0.3 → 1.0.5

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.
@@ -1,28 +0,0 @@
1
- import{Aa as f1,Ba as E1,Ca as D2,Ea as pZ,Na as uZ,Qa as W3}from"/chunk-p8qycd26.js";var E2=E1((LX,w2)=>{var z2=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,S3=/\n/g,w3=/^\s*/,E3=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,I3=/^:\s*/,g3=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,b3=/^[;\s]*/,y3=/^\s+|\s+$/g,h3=`
2
- `,P2="/",C2="*",u1="",x3="comment",m3="declaration";function k3(Z,J){if(typeof Z!=="string")throw TypeError("First argument must be a string");if(!Z)return[];J=J||{};var Q=1,X=1;function K(L){var R=L.match(S3);if(R)Q+=R.length;var C=L.lastIndexOf(h3);X=~C?L.length-C:X+L.length}function Y(){var L={line:Q,column:X};return function(R){return R.position=new G(L),N(),R}}function G(L){this.start=L,this.end={line:Q,column:X},this.source=J.source}G.prototype.content=Z;function H(L){var R=Error(J.source+":"+Q+":"+X+": "+L);if(R.reason=L,R.filename=J.source,R.line=Q,R.column=X,R.source=Z,J.silent);else throw R}function q(L){var R=L.exec(Z);if(!R)return;var C=R[0];return K(C),Z=Z.slice(C.length),R}function N(){q(w3)}function W(L){var R;L=L||[];while(R=U())if(R!==!1)L.push(R);return L}function U(){var L=Y();if(P2!=Z.charAt(0)||C2!=Z.charAt(1))return;var R=2;while(u1!=Z.charAt(R)&&(C2!=Z.charAt(R)||P2!=Z.charAt(R+1)))++R;if(R+=2,u1===Z.charAt(R-1))return H("End of comment missing");var C=Z.slice(2,R-2);return X+=2,K(C),Z=Z.slice(R),X+=2,L({type:x3,comment:C})}function M(){var L=Y(),R=q(E3);if(!R)return;if(U(),!q(I3))return H("property missing ':'");var C=q(g3),j=L({type:m3,property:S2(R[0].replace(z2,u1)),value:C?S2(C[0].replace(z2,u1)):u1});return q(b3),j}function V(){var L=[];W(L);var R;while(R=M())if(R!==!1)L.push(R),W(L);return L}return N(),V()}function S2(Z){return Z?Z.replace(y3,u1):u1}w2.exports=k3});var I2=E1((P5)=>{var v3=P5&&P5.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(P5,"__esModule",{value:!0});P5.default=u3;var p3=v3(E2());function u3(Z,J){let Q=null;if(!Z||typeof Z!=="string")return Q;let X=(0,p3.default)(Z),K=typeof J==="function";return X.forEach((Y)=>{if(Y.type!=="declaration")return;let{property:G,value:H}=Y;if(K)J(G,H,Y);else if(H)Q=Q||{},Q[G]=H}),Q}});var h2=E1((b2)=>{Object.defineProperty(b2,"__esModule",{value:!0});b2.camelCase=void 0;var f3=/^--[a-zA-Z0-9_-]+$/,l3=/-([a-z])/g,i3=/^[^-]+$/,r3=/^-(webkit|moz|ms|o|khtml)-/,a3=/^-(ms)-/,d3=function(Z){return!Z||i3.test(Z)||f3.test(Z)},c3=function(Z,J){return J.toUpperCase()},g2=function(Z,J){return"".concat(J,"-")},n3=function(Z,J){if(J===void 0)J={};if(d3(Z))return Z;if(Z=Z.toLowerCase(),J.reactCompat)Z=Z.replace(a3,g2);else Z=Z.replace(r3,g2);return Z.replace(l3,c3)};b2.camelCase=n3});var m2=E1((u6,x2)=>{var s3=u6&&u6.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}},o3=s3(I2()),t3=h2();function p6(Z,J){var Q={};if(!Z||typeof Z!=="string")return Q;return(0,o3.default)(Z,function(X,K){if(X&&K)Q[(0,t3.camelCase)(X,J)]=K}),Q}p6.default=p6;x2.exports=p6});var N7=E1((o_,U7)=>{var _5=1000,H5=_5*60,q5=H5*60,n1=q5*24,k8=n1*7,v8=n1*365.25;U7.exports=function(Z,J){J=J||{};var Q=typeof Z;if(Q==="string"&&Z.length>0)return p8(Z);else if(Q==="number"&&isFinite(Z))return J.long?f8(Z):u8(Z);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(Z))};function p8(Z){if(Z=String(Z),Z.length>100)return;var J=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(Z);if(!J)return;var Q=parseFloat(J[1]),X=(J[2]||"ms").toLowerCase();switch(X){case"years":case"year":case"yrs":case"yr":case"y":return Q*v8;case"weeks":case"week":case"w":return Q*k8;case"days":case"day":case"d":return Q*n1;case"hours":case"hour":case"hrs":case"hr":case"h":return Q*q5;case"minutes":case"minute":case"mins":case"min":case"m":return Q*H5;case"seconds":case"second":case"secs":case"sec":case"s":return Q*_5;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Q;default:return}}function u8(Z){var J=Math.abs(Z);if(J>=n1)return Math.round(Z/n1)+"d";if(J>=q5)return Math.round(Z/q5)+"h";if(J>=H5)return Math.round(Z/H5)+"m";if(J>=_5)return Math.round(Z/_5)+"s";return Z+"ms"}function f8(Z){var J=Math.abs(Z);if(J>=n1)return q6(Z,J,n1,"day");if(J>=q5)return q6(Z,J,q5,"hour");if(J>=H5)return q6(Z,J,H5,"minute");if(J>=_5)return q6(Z,J,_5,"second");return Z+" ms"}function q6(Z,J,Q,X){var K=J>=Q*1.5;return Math.round(Z/Q)+" "+X+(K?"s":"")}});var M7=E1((t_,V7)=>{function l8(Z){Q.debug=Q,Q.default=Q,Q.coerce=q,Q.disable=G,Q.enable=K,Q.enabled=H,Q.humanize=N7(),Q.destroy=N,Object.keys(Z).forEach((W)=>{Q[W]=Z[W]}),Q.names=[],Q.skips=[],Q.formatters={};function J(W){let U=0;for(let M=0;M<W.length;M++)U=(U<<5)-U+W.charCodeAt(M),U|=0;return Q.colors[Math.abs(U)%Q.colors.length]}Q.selectColor=J;function Q(W){let U,M=null,V,L;function R(...C){if(!R.enabled)return;let j=R,I=Number(new Date),E=I-(U||I);if(j.diff=E,j.prev=U,j.curr=I,U=I,C[0]=Q.coerce(C[0]),typeof C[0]!=="string")C.unshift("%O");let m=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(z,l)=>{if(z==="%%")return"%";m++;let c=Q.formatters[l];if(typeof c==="function"){let i=C[m];z=c.call(j,i),C.splice(m,1),m--}return z}),Q.formatArgs.call(j,C),(j.log||Q.log).apply(j,C)}if(R.namespace=W,R.useColors=Q.useColors(),R.color=Q.selectColor(W),R.extend=X,R.destroy=Q.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(M!==null)return M;if(V!==Q.namespaces)V=Q.namespaces,L=Q.enabled(W);return L},set:(C)=>{M=C}}),typeof Q.init==="function")Q.init(R);return R}function X(W,U){let M=Q(this.namespace+(typeof U>"u"?":":U)+W);return M.log=this.log,M}function K(W){Q.save(W),Q.namespaces=W,Q.names=[],Q.skips=[];let U=(typeof W==="string"?W:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let M of U)if(M[0]==="-")Q.skips.push(M.slice(1));else Q.names.push(M)}function Y(W,U){let M=0,V=0,L=-1,R=0;while(M<W.length)if(V<U.length&&(U[V]===W[M]||U[V]==="*"))if(U[V]==="*")L=V,R=M,V++;else M++,V++;else if(L!==-1)V=L+1,R++,M=R;else return!1;while(V<U.length&&U[V]==="*")V++;return V===U.length}function G(){let W=[...Q.names,...Q.skips.map((U)=>"-"+U)].join(",");return Q.enable(""),W}function H(W){for(let U of Q.skips)if(Y(W,U))return!1;for(let U of Q.names)if(Y(W,U))return!0;return!1}function q(W){if(W instanceof Error)return W.stack||W.message;return W}function N(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return Q.enable(Q.load()),Q}V7.exports=l8});var B7=E1((F7,$6)=>{F7.formatArgs=r8;F7.save=a8;F7.load=d8;F7.useColors=i8;F7.storage=c8();F7.destroy=(()=>{let Z=!1;return()=>{if(!Z)Z=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();F7.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function i8(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let Z;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(Z=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(Z[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r8(Z){if(Z[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+Z[0]+(this.useColors?"%c ":" ")+"+"+$6.exports.humanize(this.diff),!this.useColors)return;let J="color: "+this.color;Z.splice(1,0,J,"color: inherit");let Q=0,X=0;Z[0].replace(/%[a-zA-Z%]/g,(K)=>{if(K==="%%")return;if(Q++,K==="%c")X=Q}),Z.splice(X,0,J)}F7.log=console.debug||console.log||(()=>{});function a8(Z){try{if(Z)F7.storage.setItem("debug",Z);else F7.storage.removeItem("debug")}catch(J){}}function d8(){let Z;try{Z=F7.storage.getItem("debug")||F7.storage.getItem("DEBUG")}catch(J){}if(!Z&&typeof process<"u"&&"env"in process)Z=process.env.DEBUG;return Z}function c8(){try{return localStorage}catch(Z){}}$6.exports=M7()(F7);var{formatters:n8}=$6.exports;n8.j=function(Z){try{return JSON.stringify(Z)}catch(J){return"[UnexpectedJSONParseError]: "+J.message}}});var U4=E1((f$,W4)=>{var A6=Object.prototype.hasOwnProperty,$4=Object.prototype.toString,K4=Object.defineProperty,G4=Object.getOwnPropertyDescriptor,Y4=function(J){if(typeof Array.isArray==="function")return Array.isArray(J);return $4.call(J)==="[object Array]"},_4=function(J){if(!J||$4.call(J)!=="[object Object]")return!1;var Q=A6.call(J,"constructor"),X=J.constructor&&J.constructor.prototype&&A6.call(J.constructor.prototype,"isPrototypeOf");if(J.constructor&&!Q&&!X)return!1;var K;for(K in J);return typeof K>"u"||A6.call(J,K)},H4=function(J,Q){if(K4&&Q.name==="__proto__")K4(J,Q.name,{enumerable:!0,configurable:!0,value:Q.newValue,writable:!0});else J[Q.name]=Q.newValue},q4=function(J,Q){if(Q==="__proto__"){if(!A6.call(J,Q))return;else if(G4)return G4(J,Q).value}return J[Q]};W4.exports=function Z(){var J,Q,X,K,Y,G,H=arguments[0],q=1,N=arguments.length,W=!1;if(typeof H==="boolean")W=H,H=arguments[1]||{},q=2;if(H==null||typeof H!=="object"&&typeof H!=="function")H={};for(;q<N;++q)if(J=arguments[q],J!=null){for(Q in J)if(X=q4(H,Q),K=q4(J,Q),H!==K){if(W&&K&&(_4(K)||(Y=Y4(K)))){if(Y)Y=!1,G=X&&Y4(X)?X:[];else G=X&&_4(X)?X:{};H4(H,{name:Q,newValue:Z(W,G,K)})}else if(typeof K<"u")H4(H,{name:Q,newValue:K})}}return H}});class V2 extends Error{name="Assertion";code="ERR_ASSERTION";constructor(Z,J,Q,X,K){super(Z);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);this.actual=J,this.expected=Q,this.generated=K,this.operator=X}}function F(Z,J){M2(Boolean(Z),!1,!0,"ok","Expected value to be truthy",J)}function r5(Z){M2(!1,!1,!0,"ok","Unreachable",Z)}function M2(Z,J,Q,X,K,Y){if(!Z)throw Y instanceof Error?Y:new V2(Y||K,J,Q,X,!Y)}function F2(Z,J){let Q=J||{};return(Z[Z.length-1]===""?[...Z,""]:Z).join((Q.padRight?" ":"")+","+(Q.padLeft===!1?"":" ")).trim()}var L3=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,R3=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,j3={};function a5(Z,J){return((J||j3).jsx?R3:L3).test(Z)}var T3=/[ \t\n\f\r]/g;function I6(Z){return typeof Z==="object"?Z.type==="text"?B2(Z.value):!1:B2(Z)}function B2(Z){return Z.replace(T3,"")===""}class S1{constructor(Z,J,Q){if(this.normal=J,this.property=Z,Q)this.space=Q}}S1.prototype.normal={};S1.prototype.property={};S1.prototype.space=void 0;function g6(Z,J){let Q={},X={};for(let K of Z)Object.assign(Q,K.property),Object.assign(X,K.normal);return new S1(Q,X,J)}function O5(Z){return Z.toLowerCase()}class K1{constructor(Z,J){this.attribute=J,this.property=Z}}K1.prototype.attribute="";K1.prototype.booleanish=!1;K1.prototype.boolean=!1;K1.prototype.commaOrSpaceSeparated=!1;K1.prototype.commaSeparated=!1;K1.prototype.defined=!1;K1.prototype.mustUseProperty=!1;K1.prototype.number=!1;K1.prototype.overloadedBoolean=!1;K1.prototype.property="";K1.prototype.spaceSeparated=!1;K1.prototype.space=void 0;var z5={};D2(z5,{spaceSeparated:()=>d,overloadedBoolean:()=>d5,number:()=>S,commaSeparated:()=>w1,commaOrSpaceSeparated:()=>$1,booleanish:()=>s,boolean:()=>k});var A3=0,k=p1(),s=p1(),d5=p1(),S=p1(),d=p1(),w1=p1(),$1=p1();function p1(){return 2**++A3}var b6=Object.keys(z5);class K5 extends K1{constructor(Z,J,Q,X){let K=-1;super(Z,J);if(L2(this,"space",X),typeof Q==="number")while(++K<b6.length){let Y=b6[K];L2(this,b6[K],(Q&z5[Y])===z5[Y])}}}K5.prototype.defined=!0;function L2(Z,J,Q){if(Q)Z[J]=Q}function M1(Z){let J={},Q={};for(let[X,K]of Object.entries(Z.properties)){let Y=new K5(X,Z.transform(Z.attributes||{},X),K,Z.space);if(Z.mustUseProperty&&Z.mustUseProperty.includes(X))Y.mustUseProperty=!0;J[X]=Y,Q[O5(X)]=X,Q[O5(Y.attribute)]=X}return new S1(J,Q,Z.space)}var y6=M1({properties:{ariaActiveDescendant:null,ariaAtomic:s,ariaAutoComplete:null,ariaBusy:s,ariaChecked:s,ariaColCount:S,ariaColIndex:S,ariaColSpan:S,ariaControls:d,ariaCurrent:null,ariaDescribedBy:d,ariaDetails:null,ariaDisabled:s,ariaDropEffect:d,ariaErrorMessage:null,ariaExpanded:s,ariaFlowTo:d,ariaGrabbed:s,ariaHasPopup:null,ariaHidden:s,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:d,ariaLevel:S,ariaLive:null,ariaModal:s,ariaMultiLine:s,ariaMultiSelectable:s,ariaOrientation:null,ariaOwns:d,ariaPlaceholder:null,ariaPosInSet:S,ariaPressed:s,ariaReadOnly:s,ariaRelevant:null,ariaRequired:s,ariaRoleDescription:d,ariaRowCount:S,ariaRowIndex:S,ariaRowSpan:S,ariaSelected:s,ariaSetSize:S,ariaSort:null,ariaValueMax:S,ariaValueMin:S,ariaValueNow:S,ariaValueText:null,role:null},transform(Z,J){return J==="role"?J:"aria-"+J.slice(4).toLowerCase()}});function c5(Z,J){return J in Z?Z[J]:J}function n5(Z,J){return c5(Z,J.toLowerCase())}var R2=M1({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:w1,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:k,allowPaymentRequest:k,allowUserMedia:k,alt:null,as:null,async:k,autoCapitalize:null,autoComplete:d,autoFocus:k,autoPlay:k,blocking:d,capture:null,charSet:null,checked:k,cite:null,className:d,cols:S,colSpan:null,content:null,contentEditable:s,controls:k,controlsList:d,coords:S|w1,crossOrigin:null,data:null,dateTime:null,decoding:null,default:k,defer:k,dir:null,dirName:null,disabled:k,download:d5,draggable:s,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:k,formTarget:null,headers:d,height:S,hidden:d5,high:S,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:null,inert:k,inputMode:null,integrity:null,is:null,isMap:k,itemId:null,itemProp:d,itemRef:d,itemScope:k,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:k,low:S,manifest:null,max:null,maxLength:S,media:null,method:null,min:null,minLength:S,multiple:k,muted:k,name:null,nonce:null,noModule:k,noValidate:k,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:k,optimum:S,pattern:null,ping:d,placeholder:null,playsInline:k,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:k,referrerPolicy:null,rel:d,required:k,reversed:k,rows:S,rowSpan:S,sandbox:d,scope:null,scoped:k,seamless:k,selected:k,shadowRootClonable:k,shadowRootDelegatesFocus:k,shadowRootMode:null,shape:null,size:S,sizes:null,slot:null,span:S,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:null,start:S,step:null,style:null,tabIndex:S,target:null,title:null,translate:null,type:null,typeMustMatch:k,useMap:null,value:s,width:S,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:S,borderColor:null,bottomMargin:S,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:k,declare:k,event:null,face:null,frame:null,frameBorder:null,hSpace:S,leftMargin:S,link:null,longDesc:null,lowSrc:null,marginHeight:S,marginWidth:S,noResize:k,noHref:k,noShade:k,noWrap:k,object:null,profile:null,prompt:null,rev:null,rightMargin:S,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:S,valueType:null,version:null,vAlign:null,vLink:null,vSpace:S,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:k,disableRemotePlayback:k,prefix:null,property:null,results:S,security:null,unselectable:null},space:"html",transform:n5});var j2=M1({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:$1,accentHeight:S,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:S,amplitude:S,arabicForm:null,ascent:S,attributeName:null,attributeType:null,azimuth:S,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:S,by:null,calcMode:null,capHeight:S,className:d,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:S,diffuseConstant:S,direction:null,display:null,dur:null,divisor:S,dominantBaseline:null,download:k,dx:null,dy:null,edgeMode:null,editable:null,elevation:S,enableBackground:null,end:null,event:null,exponent:S,externalResourcesRequired:null,fill:null,fillOpacity:S,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:w1,g2:w1,glyphName:w1,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:S,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:S,horizOriginX:S,horizOriginY:S,id:null,ideographic:S,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:S,k:S,k1:S,k2:S,k3:S,k4:S,kernelMatrix:$1,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:S,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:S,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:S,overlineThickness:S,paintOrder:null,panose1:null,path:null,pathLength:S,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:d,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:S,pointsAtY:S,pointsAtZ:S,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$1,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$1,rev:$1,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$1,requiredFeatures:$1,requiredFonts:$1,requiredFormats:$1,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:S,specularExponent:S,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:S,strikethroughThickness:S,string:null,stroke:null,strokeDashArray:$1,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:S,strokeOpacity:S,strokeWidth:null,style:null,surfaceScale:S,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$1,tabIndex:S,tableValues:null,target:null,targetX:S,targetY:S,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$1,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:S,underlineThickness:S,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:S,values:null,vAlphabetic:S,vMathematical:S,vectorEffect:null,vHanging:S,vIdeographic:S,version:null,vertAdvY:S,vertOriginX:S,vertOriginY:S,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:S,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c5});var h6=M1({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Z,J){return"xlink:"+J.slice(5).toLowerCase()}});var x6=M1({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:n5});var m6=M1({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Z,J){return"xml:"+J.slice(3).toLowerCase()}});var k6={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"};var O3=/[A-Z]/g,T2=/-[a-z]/g,z3=/^data[-\w.:]+$/i;function v6(Z,J){let Q=O5(J),X=J,K=K1;if(Q in Z.normal)return Z.property[Z.normal[Q]];if(Q.length>4&&Q.slice(0,4)==="data"&&z3.test(J)){if(J.charAt(4)==="-"){let Y=J.slice(5).replace(T2,C3);X="data"+Y.charAt(0).toUpperCase()+Y.slice(1)}else{let Y=J.slice(4);if(!T2.test(Y)){let G=Y.replace(O3,P3);if(G.charAt(0)!=="-")G="-"+G;J="data"+G}}K=K5}return new K(X,J)}function P3(Z){return"-"+Z.toLowerCase()}function C3(Z){return Z.charAt(1).toUpperCase()}var A2=g6([y6,R2,h6,x6,m6],"html"),s5=g6([y6,j2,h6,x6,m6],"svg");function O2(Z){return Z.join(" ").trim()}var u2=f1(m2(),1);var o5=k2("end"),G5=k2("start");function k2(Z){return J;function J(Q){let X=Q&&Q.position&&Q.position[Z]||{};if(typeof X.line==="number"&&X.line>0&&typeof X.column==="number"&&X.column>0)return{line:X.line,column:X.column,offset:typeof X.offset==="number"&&X.offset>-1?X.offset:void 0}}}function f6(Z){let J=G5(Z),Q=o5(Z);if(J&&Q)return{start:J,end:Q}}function I1(Z){if(!Z||typeof Z!=="object")return"";if("position"in Z||"type"in Z)return v2(Z.position);if("start"in Z||"end"in Z)return v2(Z);if("line"in Z||"column"in Z)return l6(Z);return""}function l6(Z){return p2(Z&&Z.line)+":"+p2(Z&&Z.column)}function v2(Z){return l6(Z&&Z.start)+"-"+l6(Z&&Z.end)}function p2(Z){return Z&&typeof Z==="number"?Z:1}class e extends Error{constructor(Z,J,Q){super();if(typeof J==="string")Q=J,J=void 0;let X="",K={},Y=!1;if(J)if("line"in J&&"column"in J)K={place:J};else if("start"in J&&"end"in J)K={place:J};else if("type"in J)K={ancestors:[J],place:J.position};else K={...J};if(typeof Z==="string")X=Z;else if(!K.cause&&Z)Y=!0,X=Z.message,K.cause=Z;if(!K.ruleId&&!K.source&&typeof Q==="string"){let H=Q.indexOf(":");if(H===-1)K.ruleId=Q;else K.source=Q.slice(0,H),K.ruleId=Q.slice(H+1)}if(!K.place&&K.ancestors&&K.ancestors){let H=K.ancestors[K.ancestors.length-1];if(H)K.place=H.position}let G=K.place&&"start"in K.place?K.place.start:K.place;this.ancestors=K.ancestors||void 0,this.cause=K.cause||void 0,this.column=G?G.column:void 0,this.fatal=void 0,this.file="",this.message=X,this.line=G?G.line:void 0,this.name=I1(K.place)||"1:1",this.place=K.place||void 0,this.reason=this.message,this.ruleId=K.ruleId||void 0,this.source=K.source||void 0,this.stack=Y&&K.cause&&typeof K.cause.stack==="string"?K.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}e.prototype.file="";e.prototype.name="";e.prototype.reason="";e.prototype.message="";e.prototype.stack="";e.prototype.column=void 0;e.prototype.line=void 0;e.prototype.ancestors=void 0;e.prototype.cause=void 0;e.prototype.fatal=void 0;e.prototype.place=void 0;e.prototype.ruleId=void 0;e.prototype.source=void 0;var i6={}.hasOwnProperty,e3=new Map,Z9=/[A-Z]/g,Q9=new Set(["table","tbody","thead","tfoot","tr"]),J9=new Set(["td","th"]),f2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function r6(Z,J){if(!J||J.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let Q=J.filePath||void 0,X;if(J.development){if(typeof J.jsxDEV!=="function")throw TypeError("Expected `jsxDEV` in options when `development: true`");X=$9(Q,J.jsxDEV)}else{if(typeof J.jsx!=="function")throw TypeError("Expected `jsx` in production options");if(typeof J.jsxs!=="function")throw TypeError("Expected `jsxs` in production options");X=q9(Q,J.jsx,J.jsxs)}let K={Fragment:J.Fragment,ancestors:[],components:J.components||{},create:X,elementAttributeNameCase:J.elementAttributeNameCase||"react",evaluater:J.createEvaluater?J.createEvaluater():void 0,filePath:Q,ignoreInvalidStyle:J.ignoreInvalidStyle||!1,passKeys:J.passKeys!==!1,passNode:J.passNode||!1,schema:J.space==="svg"?s5:A2,stylePropertyNameCase:J.stylePropertyNameCase||"dom",tableCellAlignToStyle:J.tableCellAlignToStyle!==!1},Y=l2(K,Z,void 0);if(Y&&typeof Y!=="string")return Y;return K.create(Z,K.Fragment,{children:Y||void 0},void 0)}function l2(Z,J,Q){if(J.type==="element")return X9(Z,J,Q);if(J.type==="mdxFlowExpression"||J.type==="mdxTextExpression")return K9(Z,J);if(J.type==="mdxJsxFlowElement"||J.type==="mdxJsxTextElement")return Y9(Z,J,Q);if(J.type==="mdxjsEsm")return G9(Z,J);if(J.type==="root")return _9(Z,J,Q);if(J.type==="text")return H9(Z,J)}function X9(Z,J,Q){let X=Z.schema,K=X;if(J.tagName.toLowerCase()==="svg"&&X.space==="html")K=s5,Z.schema=K;Z.ancestors.push(J);let Y=r2(Z,J.tagName,!1),G=W9(Z,J),H=d6(Z,J);if(Q9.has(J.tagName))H=H.filter(function(q){return typeof q==="string"?!I6(q):!0});return i2(Z,G,Y,J),a6(G,H),Z.ancestors.pop(),Z.schema=X,Z.create(J,Y,G,Q)}function K9(Z,J){if(J.data&&J.data.estree&&Z.evaluater){let X=J.data.estree.body[0];return F(X.type==="ExpressionStatement"),Z.evaluater.evaluateExpression(X.expression)}C5(Z,J.position)}function G9(Z,J){if(J.data&&J.data.estree&&Z.evaluater)return Z.evaluater.evaluateProgram(J.data.estree);C5(Z,J.position)}function Y9(Z,J,Q){let X=Z.schema,K=X;if(J.name==="svg"&&X.space==="html")K=s5,Z.schema=K;Z.ancestors.push(J);let Y=J.name===null?Z.Fragment:r2(Z,J.name,!0),G=U9(Z,J),H=d6(Z,J);return i2(Z,G,Y,J),a6(G,H),Z.ancestors.pop(),Z.schema=X,Z.create(J,Y,G,Q)}function _9(Z,J,Q){let X={};return a6(X,d6(Z,J)),Z.create(J,Z.Fragment,X,Q)}function H9(Z,J){return J.value}function i2(Z,J,Q,X){if(typeof Q!=="string"&&Q!==Z.Fragment&&Z.passNode)J.node=X}function a6(Z,J){if(J.length>0){let Q=J.length>1?J:J[0];if(Q)Z.children=Q}}function q9(Z,J,Q){return X;function X(K,Y,G,H){let N=Array.isArray(G.children)?Q:J;return H?N(Y,G,H):N(Y,G)}}function $9(Z,J){return Q;function Q(X,K,Y,G){let H=Array.isArray(Y.children),q=G5(X);return J(K,Y,G,H,{columnNumber:q?q.column-1:void 0,fileName:Z,lineNumber:q?q.line:void 0},void 0)}}function W9(Z,J){let Q={},X,K;for(K in J.properties)if(K!=="children"&&i6.call(J.properties,K)){let Y=N9(Z,K,J.properties[K]);if(Y){let[G,H]=Y;if(Z.tableCellAlignToStyle&&G==="align"&&typeof H==="string"&&J9.has(J.tagName))X=H;else Q[G]=H}}if(X){let Y=Q.style||(Q.style={});Y[Z.stylePropertyNameCase==="css"?"text-align":"textAlign"]=X}return Q}function U9(Z,J){let Q={};for(let X of J.attributes)if(X.type==="mdxJsxExpressionAttribute")if(X.data&&X.data.estree&&Z.evaluater){let Y=X.data.estree.body[0];F(Y.type==="ExpressionStatement");let G=Y.expression;F(G.type==="ObjectExpression");let H=G.properties[0];F(H.type==="SpreadElement"),Object.assign(Q,Z.evaluater.evaluateExpression(H.argument))}else C5(Z,J.position);else{let K=X.name,Y;if(X.value&&typeof X.value==="object")if(X.value.data&&X.value.data.estree&&Z.evaluater){let H=X.value.data.estree.body[0];F(H.type==="ExpressionStatement"),Y=Z.evaluater.evaluateExpression(H.expression)}else C5(Z,J.position);else Y=X.value===null?!0:X.value;Q[K]=Y}return Q}function d6(Z,J){let Q=[],X=-1,K=Z.passKeys?new Map:e3;while(++X<J.children.length){let Y=J.children[X],G;if(Z.passKeys){let q=Y.type==="element"?Y.tagName:Y.type==="mdxJsxFlowElement"||Y.type==="mdxJsxTextElement"?Y.name:void 0;if(q){let N=K.get(q)||0;G=q+"-"+N,K.set(q,N+1)}}let H=l2(Z,Y,G);if(H!==void 0)Q.push(H)}return Q}function N9(Z,J,Q){let X=v6(Z.schema,J);if(Q===null||Q===void 0||typeof Q==="number"&&Number.isNaN(Q))return;if(Array.isArray(Q))Q=X.commaSeparated?F2(Q):O2(Q);if(X.property==="style"){let K=typeof Q==="object"?Q:V9(Z,String(Q));if(Z.stylePropertyNameCase==="css")K=M9(K);return["style",K]}return[Z.elementAttributeNameCase==="react"&&X.space?k6[X.property]||X.property:X.attribute,Q]}function V9(Z,J){try{return u2.default(J,{reactCompat:!0})}catch(Q){if(Z.ignoreInvalidStyle)return{};let X=Q,K=new e("Cannot parse `style` attribute",{ancestors:Z.ancestors,cause:X,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw K.file=Z.filePath||void 0,K.url=f2+"#cannot-parse-style-attribute",K}}function r2(Z,J,Q){let X;if(!Q)X={type:"Literal",value:J};else if(J.includes(".")){let K=J.split("."),Y=-1,G;while(++Y<K.length){let H=a5(K[Y])?{type:"Identifier",name:K[Y]}:{type:"Literal",value:K[Y]};G=G?{type:"MemberExpression",object:G,property:H,computed:Boolean(Y&&H.type==="Literal"),optional:!1}:H}F(G,"always a result"),X=G}else X=a5(J)&&!/^[a-z]/.test(J)?{type:"Identifier",name:J}:{type:"Literal",value:J};if(X.type==="Literal"){let K=X.value;return i6.call(Z.components,K)?Z.components[K]:K}if(Z.evaluater)return Z.evaluater.evaluateExpression(X);C5(Z)}function C5(Z,J){let Q=new e("Cannot handle MDX estrees without `createEvaluater`",{ancestors:Z.ancestors,place:J,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw Q.file=Z.filePath||void 0,Q.url=f2+"#cannot-handle-mdx-estrees-without-createevaluater",Q}function M9(Z){let J={},Q;for(Q in Z)if(i6.call(Z,Q))J[F9(Q)]=Z[Q];return J}function F9(Z){let J=Z.replace(Z9,B9);if(J.slice(0,3)==="ms-")J="-"+J;return J}function B9(Z){return"-"+Z.toLowerCase()}var S5={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"]};var F5=f1(uZ(),1),T4=f1(pZ(),1);var D9={};function l1(Z,J){let Q=J||D9,X=typeof Q.includeImageAlt==="boolean"?Q.includeImageAlt:!0,K=typeof Q.includeHtml==="boolean"?Q.includeHtml:!0;return d2(Z,X,K)}function d2(Z,J,Q){if(L9(Z)){if("value"in Z)return Z.type==="html"&&!Q?"":Z.value;if(J&&"alt"in Z&&Z.alt)return Z.alt;if("children"in Z)return a2(Z.children,J,Q)}if(Array.isArray(Z))return a2(Z,J,Q);return""}function a2(Z,J,Q){let X=[],K=-1;while(++K<Z.length)X[K]=d2(Z[K],J,Q);return X.join("")}function L9(Z){return Boolean(Z&&typeof Z==="object")}var c2=document.createElement("i");function Y5(Z){let J="&"+Z+";";c2.innerHTML=J;let Q=c2.textContent;if(Q.charCodeAt(Q.length-1)===59&&Z!=="semi")return!1;return Q===J?!1:Q}var _={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533};var P={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4};var $={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"};var _1={ht:"\t",lf:`
3
- `,cr:"\r",space:" ",exclamationMark:"!",quotationMark:'"',numberSign:"#",dollarSign:"$",percentSign:"%",ampersand:"&",apostrophe:"'",leftParenthesis:"(",rightParenthesis:")",asterisk:"*",plusSign:"+",comma:",",dash:"-",dot:".",slash:"/",digit0:"0",digit1:"1",digit2:"2",digit3:"3",digit4:"4",digit5:"5",digit6:"6",digit7:"7",digit8:"8",digit9:"9",colon:":",semicolon:";",lessThan:"<",equalsTo:"=",greaterThan:">",questionMark:"?",atSign:"@",uppercaseA:"A",uppercaseB:"B",uppercaseC:"C",uppercaseD:"D",uppercaseE:"E",uppercaseF:"F",uppercaseG:"G",uppercaseH:"H",uppercaseI:"I",uppercaseJ:"J",uppercaseK:"K",uppercaseL:"L",uppercaseM:"M",uppercaseN:"N",uppercaseO:"O",uppercaseP:"P",uppercaseQ:"Q",uppercaseR:"R",uppercaseS:"S",uppercaseT:"T",uppercaseU:"U",uppercaseV:"V",uppercaseW:"W",uppercaseX:"X",uppercaseY:"Y",uppercaseZ:"Z",leftSquareBracket:"[",backslash:"\\",rightSquareBracket:"]",caret:"^",underscore:"_",graveAccent:"`",lowercaseA:"a",lowercaseB:"b",lowercaseC:"c",lowercaseD:"d",lowercaseE:"e",lowercaseF:"f",lowercaseG:"g",lowercaseH:"h",lowercaseI:"i",lowercaseJ:"j",lowercaseK:"k",lowercaseL:"l",lowercaseM:"m",lowercaseN:"n",lowercaseO:"o",lowercaseP:"p",lowercaseQ:"q",lowercaseR:"r",lowercaseS:"s",lowercaseT:"t",lowercaseU:"u",lowercaseV:"v",lowercaseW:"w",lowercaseX:"x",lowercaseY:"y",lowercaseZ:"z",leftCurlyBrace:"{",verticalBar:"|",rightCurlyBrace:"}",tilde:"~",replacementCharacter:"�"};function t(Z,J,Q,X){let K=Z.length,Y=0,G;if(J<0)J=-J>K?0:K+J;else J=J>K?K:J;if(Q=Q>0?Q:0,X.length<P.v8MaxSafeChunkSize)G=Array.from(X),G.unshift(J,Q),Z.splice(...G);else{if(Q)Z.splice(J,Q);while(Y<X.length)G=X.slice(Y,Y+P.v8MaxSafeChunkSize),G.unshift(J,0),Z.splice(...G),Y+=P.v8MaxSafeChunkSize,J+=P.v8MaxSafeChunkSize}}function H1(Z,J){if(Z.length>0)return t(Z,Z.length,0,J),Z;return J}var n2={}.hasOwnProperty;function t5(Z){let J={},Q=-1;while(++Q<Z.length)R9(J,Z[Q]);return J}function R9(Z,J){let Q;for(Q in J){let K=(n2.call(Z,Q)?Z[Q]:void 0)||(Z[Q]={}),Y=J[Q],G;if(Y)for(G in Y){if(!n2.call(K,G))K[G]=[];let H=Y[G];j9(K[G],Array.isArray(H)?H:H?[H]:[])}}}function j9(Z,J){let Q=-1,X=[];while(++Q<J.length)(J[Q].add==="after"?Z:X).push(J[Q]);t(Z,0,0,X)}function e5(Z,J){let Q=Number.parseInt(Z,J);if(Q<_.ht||Q===_.vt||Q>_.cr&&Q<_.space||Q>_.tilde&&Q<160||Q>55295&&Q<57344||Q>64975&&Q<65008||(Q&65535)===65535||(Q&65535)===65534||Q>1114111)return _1.replacementCharacter;return String.fromCodePoint(Q)}function G1(Z){return Z.replace(/[\t\n\r ]+/g,_1.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}var J1=g1(/[A-Za-z]/),o=g1(/[\dA-Za-z]/),s2=g1(/[#-'*+\--9=?A-Z^-~]/);function i1(Z){return Z!==null&&(Z<_.space||Z===_.del)}var w5=g1(/\d/),o2=g1(/[\dA-Fa-f]/),t2=g1(/[!-/:-@[-`{-~]/);function w(Z){return Z!==null&&Z<_.horizontalTab}function f(Z){return Z!==null&&(Z<_.nul||Z===_.space)}function y(Z){return Z===_.horizontalTab||Z===_.virtualSpace||Z===_.space}var r1=g1(/\p{P}|\p{S}/u),L1=g1(/\s/);function g1(Z){return J;function J(Q){return Q!==null&&Q>-1&&Z.test(String.fromCharCode(Q))}}function F1(Z){let J=[],Q=-1,X=0,K=0;while(++Q<Z.length){let Y=Z.charCodeAt(Q),G="";if(Y===_.percentSign&&o(Z.charCodeAt(Q+1))&&o(Z.charCodeAt(Q+2)))K=2;else if(Y<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(Y)))G=String.fromCharCode(Y)}else if(Y>55295&&Y<57344){let H=Z.charCodeAt(Q+1);if(Y<56320&&H>56319&&H<57344)G=String.fromCharCode(Y,H),K=1;else G=_1.replacementCharacter}else G=String.fromCharCode(Y);if(G)J.push(Z.slice(X,Q),encodeURIComponent(G)),X=Q+K+1,G="";if(K)Q+=K,K=0}return J.join("")+Z.slice(X)}function h(Z,J,Q,X){let K=X?X-1:Number.POSITIVE_INFINITY,Y=0;return G;function G(q){if(y(q))return Z.enter(Q),H(q);return J(q)}function H(q){if(y(q)&&Y++<K)return Z.consume(q),H;return Z.exit(Q),J(q)}}var e2={tokenize:T9};function T9(Z){let J=Z.attempt(this.parser.constructs.contentInitial,X,K),Q;return J;function X(H){if(F(H===_.eof||w(H),"expected eol or eof"),H===_.eof){Z.consume(H);return}return Z.enter($.lineEnding),Z.consume(H),Z.exit($.lineEnding),h(Z,J,$.linePrefix)}function K(H){return F(H!==_.eof&&!w(H),"expected anything other than a line ending or EOF"),Z.enter($.paragraph),Y(H)}function Y(H){let q=Z.enter($.chunkText,{contentType:P.contentTypeText,previous:Q});if(Q)Q.next=q;return Q=q,G(H)}function G(H){if(H===_.eof){Z.exit($.chunkText),Z.exit($.paragraph),Z.consume(H);return}if(w(H))return Z.consume(H),Z.exit($.chunkText),Y;return Z.consume(H),G}}var Q7={tokenize:A9},Z7={tokenize:O9};function A9(Z){let J=this,Q=[],X=0,K,Y,G;return H;function H(E){if(X<Q.length){let m=Q[X];return J.containerState=m[1],F(m[0].continuation,"expected `continuation` to be defined on container construct"),Z.attempt(m[0].continuation,q,N)(E)}return N(E)}function q(E){if(F(J.containerState,"expected `containerState` to be defined after continuation"),X++,J.containerState._closeFlow){if(J.containerState._closeFlow=void 0,K)I();let m=J.events.length,v=m,z;while(v--)if(J.events[v][0]==="exit"&&J.events[v][1].type===$.chunkFlow){z=J.events[v][1].end;break}F(z,"could not find previous flow chunk"),j(X);let l=m;while(l<J.events.length)J.events[l][1].end={...z},l++;return t(J.events,v+1,0,J.events.slice(m)),J.events.length=l,N(E)}return H(E)}function N(E){if(X===Q.length){if(!K)return M(E);if(K.currentConstruct&&K.currentConstruct.concrete)return L(E);J.interrupt=Boolean(K.currentConstruct&&!K._gfmTableDynamicInterruptHack)}return J.containerState={},Z.check(Z7,W,U)(E)}function W(E){if(K)I();return j(X),M(E)}function U(E){return J.parser.lazy[J.now().line]=X!==Q.length,G=J.now().offset,L(E)}function M(E){return J.containerState={},Z.attempt(Z7,V,L)(E)}function V(E){return F(J.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),F(J.containerState,"expected `containerState` to be defined on tokenizer"),X++,Q.push([J.currentConstruct,J.containerState]),M(E)}function L(E){if(E===_.eof){if(K)I();j(0),Z.consume(E);return}return K=K||J.parser.flow(J.now()),Z.enter($.chunkFlow,{_tokenizer:K,contentType:P.contentTypeFlow,previous:Y}),R(E)}function R(E){if(E===_.eof){C(Z.exit($.chunkFlow),!0),j(0),Z.consume(E);return}if(w(E))return Z.consume(E),C(Z.exit($.chunkFlow)),X=0,J.interrupt=void 0,H;return Z.consume(E),R}function C(E,m){F(K,"expected `childFlow` to be defined when continuing");let v=J.sliceStream(E);if(m)v.push(null);if(E.previous=Y,Y)Y.next=E;if(Y=E,K.defineSkip(E.start),K.write(v),J.parser.lazy[E.start.line]){let z=K.events.length;while(z--)if(K.events[z][1].start.offset<G&&(!K.events[z][1].end||K.events[z][1].end.offset>G))return;let l=J.events.length,c=l,i,T;while(c--)if(J.events[c][0]==="exit"&&J.events[c][1].type===$.chunkFlow){if(i){T=J.events[c][1].end;break}i=!0}F(T,"could not find previous flow chunk"),j(X),z=l;while(z<J.events.length)J.events[z][1].end={...T},z++;t(J.events,c+1,0,J.events.slice(l)),J.events.length=z}}function j(E){let m=Q.length;while(m-- >E){let v=Q[m];J.containerState=v[1],F(v[0].exit,"expected `exit` to be defined on container construct"),v[0].exit.call(J,Z)}Q.length=E}function I(){F(J.containerState,"expected `containerState` to be defined when closing flow"),F(K,"expected `childFlow` to be defined when closing it"),K.write([_.eof]),Y=void 0,K=void 0,J.containerState._closeFlow=void 0}}function O9(Z,J,Q){return F(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),h(Z,Z.attempt(this.parser.constructs.document,J,Q),$.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize)}function P1(Z){if(Z===_.eof||f(Z)||L1(Z))return P.characterGroupWhitespace;if(r1(Z))return P.characterGroupPunctuation}function b1(Z,J,Q){let X=[],K=-1;while(++K<Z.length){let Y=Z[K].resolveAll;if(Y&&!X.includes(Y))J=Y(J,Q),X.push(Y)}return J}var E5={name:"attention",resolveAll:z9,tokenize:P9};function z9(Z,J){let Q=-1,X,K,Y,G,H,q,N,W;while(++Q<Z.length)if(Z[Q][0]==="enter"&&Z[Q][1].type==="attentionSequence"&&Z[Q][1]._close){X=Q;while(X--)if(Z[X][0]==="exit"&&Z[X][1].type==="attentionSequence"&&Z[X][1]._open&&J.sliceSerialize(Z[X][1]).charCodeAt(0)===J.sliceSerialize(Z[Q][1]).charCodeAt(0)){if((Z[X][1]._close||Z[Q][1]._open)&&(Z[Q][1].end.offset-Z[Q][1].start.offset)%3&&!((Z[X][1].end.offset-Z[X][1].start.offset+Z[Q][1].end.offset-Z[Q][1].start.offset)%3))continue;q=Z[X][1].end.offset-Z[X][1].start.offset>1&&Z[Q][1].end.offset-Z[Q][1].start.offset>1?2:1;let U={...Z[X][1].end},M={...Z[Q][1].start};if(J7(U,-q),J7(M,q),G={type:q>1?$.strongSequence:$.emphasisSequence,start:U,end:{...Z[X][1].end}},H={type:q>1?$.strongSequence:$.emphasisSequence,start:{...Z[Q][1].start},end:M},Y={type:q>1?$.strongText:$.emphasisText,start:{...Z[X][1].end},end:{...Z[Q][1].start}},K={type:q>1?$.strong:$.emphasis,start:{...G.start},end:{...H.end}},Z[X][1].end={...G.start},Z[Q][1].start={...H.end},N=[],Z[X][1].end.offset-Z[X][1].start.offset)N=H1(N,[["enter",Z[X][1],J],["exit",Z[X][1],J]]);if(N=H1(N,[["enter",K,J],["enter",G,J],["exit",G,J],["enter",Y,J]]),F(J.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),N=H1(N,b1(J.parser.constructs.insideSpan.null,Z.slice(X+1,Q),J)),N=H1(N,[["exit",Y,J],["enter",H,J],["exit",H,J],["exit",K,J]]),Z[Q][1].end.offset-Z[Q][1].start.offset)W=2,N=H1(N,[["enter",Z[Q][1],J],["exit",Z[Q][1],J]]);else W=0;t(Z,X-1,Q-X+3,N),Q=X+N.length-W-2;break}}Q=-1;while(++Q<Z.length)if(Z[Q][1].type==="attentionSequence")Z[Q][1].type="data";return Z}function P9(Z,J){let Q=this.parser.constructs.attentionMarkers.null,X=this.previous,K=P1(X),Y;return G;function G(q){return F(q===_.asterisk||q===_.underscore,"expected asterisk or underscore"),Y=q,Z.enter("attentionSequence"),H(q)}function H(q){if(q===Y)return Z.consume(q),H;let N=Z.exit("attentionSequence"),W=P1(q);F(Q,"expected `attentionMarkers` to be populated");let U=!W||W===P.characterGroupPunctuation&&K||Q.includes(q),M=!K||K===P.characterGroupPunctuation&&W||Q.includes(X);return N._open=Boolean(Y===_.asterisk?U:U&&(K||!M)),N._close=Boolean(Y===_.asterisk?M:M&&(W||!U)),J(q)}}function J7(Z,J){Z.column+=J,Z.offset+=J,Z._bufferIndex+=J}var c6={name:"autolink",tokenize:C9};function C9(Z,J,Q){let X=0;return K;function K(V){return F(V===_.lessThan,"expected `<`"),Z.enter($.autolink),Z.enter($.autolinkMarker),Z.consume(V),Z.exit($.autolinkMarker),Z.enter($.autolinkProtocol),Y}function Y(V){if(J1(V))return Z.consume(V),G;if(V===_.atSign)return Q(V);return N(V)}function G(V){if(V===_.plusSign||V===_.dash||V===_.dot||o(V))return X=1,H(V);return N(V)}function H(V){if(V===_.colon)return Z.consume(V),X=0,q;if((V===_.plusSign||V===_.dash||V===_.dot||o(V))&&X++<P.autolinkSchemeSizeMax)return Z.consume(V),H;return X=0,N(V)}function q(V){if(V===_.greaterThan)return Z.exit($.autolinkProtocol),Z.enter($.autolinkMarker),Z.consume(V),Z.exit($.autolinkMarker),Z.exit($.autolink),J;if(V===_.eof||V===_.space||V===_.lessThan||i1(V))return Q(V);return Z.consume(V),q}function N(V){if(V===_.atSign)return Z.consume(V),W;if(s2(V))return Z.consume(V),N;return Q(V)}function W(V){return o(V)?U(V):Q(V)}function U(V){if(V===_.dot)return Z.consume(V),X=0,W;if(V===_.greaterThan)return Z.exit($.autolinkProtocol).type=$.autolinkEmail,Z.enter($.autolinkMarker),Z.consume(V),Z.exit($.autolinkMarker),Z.exit($.autolink),J;return M(V)}function M(V){if((V===_.dash||o(V))&&X++<P.autolinkDomainSizeMax){let L=V===_.dash?M:U;return Z.consume(V),L}return Q(V)}}var R1={partial:!0,tokenize:S9};function S9(Z,J,Q){return X;function X(Y){return y(Y)?h(Z,K,$.linePrefix)(Y):K(Y)}function K(Y){return Y===_.eof||w(Y)?J(Y):Q(Y)}}var Z6={continuation:{tokenize:E9},exit:I9,name:"blockQuote",tokenize:w9};function w9(Z,J,Q){let X=this;return K;function K(G){if(G===_.greaterThan){let H=X.containerState;if(F(H,"expected `containerState` to be defined in container"),!H.open)Z.enter($.blockQuote,{_container:!0}),H.open=!0;return Z.enter($.blockQuotePrefix),Z.enter($.blockQuoteMarker),Z.consume(G),Z.exit($.blockQuoteMarker),Y}return Q(G)}function Y(G){if(y(G))return Z.enter($.blockQuotePrefixWhitespace),Z.consume(G),Z.exit($.blockQuotePrefixWhitespace),Z.exit($.blockQuotePrefix),J;return Z.exit($.blockQuotePrefix),J(G)}}function E9(Z,J,Q){let X=this;return K;function K(G){if(y(G))return F(X.parser.constructs.disable.null,"expected `disable.null` to be populated"),h(Z,Y,$.linePrefix,X.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize)(G);return Y(G)}function Y(G){return Z.attempt(Z6,J,Q)(G)}}function I9(Z){Z.exit($.blockQuote)}var Q6={name:"characterEscape",tokenize:g9};function g9(Z,J,Q){return X;function X(Y){return F(Y===_.backslash,"expected `\\`"),Z.enter($.characterEscape),Z.enter($.escapeMarker),Z.consume(Y),Z.exit($.escapeMarker),K}function K(Y){if(t2(Y))return Z.enter($.characterEscapeValue),Z.consume(Y),Z.exit($.characterEscapeValue),Z.exit($.characterEscape),J;return Q(Y)}}var J6={name:"characterReference",tokenize:b9};function b9(Z,J,Q){let X=this,K=0,Y,G;return H;function H(U){return F(U===_.ampersand,"expected `&`"),Z.enter($.characterReference),Z.enter($.characterReferenceMarker),Z.consume(U),Z.exit($.characterReferenceMarker),q}function q(U){if(U===_.numberSign)return Z.enter($.characterReferenceMarkerNumeric),Z.consume(U),Z.exit($.characterReferenceMarkerNumeric),N;return Z.enter($.characterReferenceValue),Y=P.characterReferenceNamedSizeMax,G=o,W(U)}function N(U){if(U===_.uppercaseX||U===_.lowercaseX)return Z.enter($.characterReferenceMarkerHexadecimal),Z.consume(U),Z.exit($.characterReferenceMarkerHexadecimal),Z.enter($.characterReferenceValue),Y=P.characterReferenceHexadecimalSizeMax,G=o2,W;return Z.enter($.characterReferenceValue),Y=P.characterReferenceDecimalSizeMax,G=w5,W(U)}function W(U){if(U===_.semicolon&&K){let M=Z.exit($.characterReferenceValue);if(G===o&&!Y5(X.sliceSerialize(M)))return Q(U);return Z.enter($.characterReferenceMarker),Z.consume(U),Z.exit($.characterReferenceMarker),Z.exit($.characterReference),J}if(G(U)&&K++<Y)return Z.consume(U),W;return Q(U)}}var X7={partial:!0,tokenize:h9},X6={concrete:!0,name:"codeFenced",tokenize:y9};function y9(Z,J,Q){let X=this,K={partial:!0,tokenize:v},Y=0,G=0,H;return q;function q(z){return N(z)}function N(z){F(z===_.graveAccent||z===_.tilde,"expected `` ` `` or `~`");let l=X.events[X.events.length-1];return Y=l&&l[1].type===$.linePrefix?l[2].sliceSerialize(l[1],!0).length:0,H=z,Z.enter($.codeFenced),Z.enter($.codeFencedFence),Z.enter($.codeFencedFenceSequence),W(z)}function W(z){if(z===H)return G++,Z.consume(z),W;if(G<P.codeFencedSequenceSizeMin)return Q(z);return Z.exit($.codeFencedFenceSequence),y(z)?h(Z,U,$.whitespace)(z):U(z)}function U(z){if(z===_.eof||w(z))return Z.exit($.codeFencedFence),X.interrupt?J(z):Z.check(X7,R,m)(z);return Z.enter($.codeFencedFenceInfo),Z.enter($.chunkString,{contentType:P.contentTypeString}),M(z)}function M(z){if(z===_.eof||w(z))return Z.exit($.chunkString),Z.exit($.codeFencedFenceInfo),U(z);if(y(z))return Z.exit($.chunkString),Z.exit($.codeFencedFenceInfo),h(Z,V,$.whitespace)(z);if(z===_.graveAccent&&z===H)return Q(z);return Z.consume(z),M}function V(z){if(z===_.eof||w(z))return U(z);return Z.enter($.codeFencedFenceMeta),Z.enter($.chunkString,{contentType:P.contentTypeString}),L(z)}function L(z){if(z===_.eof||w(z))return Z.exit($.chunkString),Z.exit($.codeFencedFenceMeta),U(z);if(z===_.graveAccent&&z===H)return Q(z);return Z.consume(z),L}function R(z){return F(w(z),"expected eol"),Z.attempt(K,m,C)(z)}function C(z){return F(w(z),"expected eol"),Z.enter($.lineEnding),Z.consume(z),Z.exit($.lineEnding),j}function j(z){return Y>0&&y(z)?h(Z,I,$.linePrefix,Y+1)(z):I(z)}function I(z){if(z===_.eof||w(z))return Z.check(X7,R,m)(z);return Z.enter($.codeFlowValue),E(z)}function E(z){if(z===_.eof||w(z))return Z.exit($.codeFlowValue),I(z);return Z.consume(z),E}function m(z){return Z.exit($.codeFenced),J(z)}function v(z,l,c){let i=0;return T;function T(p){return F(w(p),"expected eol"),z.enter($.lineEnding),z.consume(p),z.exit($.lineEnding),X1}function X1(p){return F(X.parser.constructs.disable.null,"expected `disable.null` to be populated"),z.enter($.codeFencedFence),y(p)?h(z,r,$.linePrefix,X.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize)(p):r(p)}function r(p){if(p===H)return z.enter($.codeFencedFenceSequence),g(p);return c(p)}function g(p){if(p===H)return i++,z.consume(p),g;if(i>=G)return z.exit($.codeFencedFenceSequence),y(p)?h(z,x,$.whitespace)(p):x(p);return c(p)}function x(p){if(p===_.eof||w(p))return z.exit($.codeFencedFence),l(p);return c(p)}}}function h9(Z,J,Q){let X=this;return K;function K(G){if(G===_.eof)return Q(G);return F(w(G),"expected eol"),Z.enter($.lineEnding),Z.consume(G),Z.exit($.lineEnding),Y}function Y(G){return X.parser.lazy[X.now().line]?Q(G):J(G)}}var I5={name:"codeIndented",tokenize:m9},x9={partial:!0,tokenize:k9};function m9(Z,J,Q){let X=this;return K;function K(N){return F(y(N)),Z.enter($.codeIndented),h(Z,Y,$.linePrefix,P.tabSize+1)(N)}function Y(N){let W=X.events[X.events.length-1];return W&&W[1].type===$.linePrefix&&W[2].sliceSerialize(W[1],!0).length>=P.tabSize?G(N):Q(N)}function G(N){if(N===_.eof)return q(N);if(w(N))return Z.attempt(x9,G,q)(N);return Z.enter($.codeFlowValue),H(N)}function H(N){if(N===_.eof||w(N))return Z.exit($.codeFlowValue),G(N);return Z.consume(N),H}function q(N){return Z.exit($.codeIndented),J(N)}}function k9(Z,J,Q){let X=this;return K;function K(G){if(X.parser.lazy[X.now().line])return Q(G);if(w(G))return Z.enter($.lineEnding),Z.consume(G),Z.exit($.lineEnding),K;return h(Z,Y,$.linePrefix,P.tabSize+1)(G)}function Y(G){let H=X.events[X.events.length-1];return H&&H[1].type===$.linePrefix&&H[2].sliceSerialize(H[1],!0).length>=P.tabSize?J(G):w(G)?K(G):Q(G)}}var n6={name:"codeText",previous:K7,resolve:v9,tokenize:p9};function v9(Z){let J=Z.length-4,Q=3,X,K;if((Z[Q][1].type===$.lineEnding||Z[Q][1].type==="space")&&(Z[J][1].type===$.lineEnding||Z[J][1].type==="space")){X=Q;while(++X<J)if(Z[X][1].type===$.codeTextData){Z[Q][1].type=$.codeTextPadding,Z[J][1].type=$.codeTextPadding,Q+=2,J-=2;break}}X=Q-1,J++;while(++X<=J)if(K===void 0){if(X!==J&&Z[X][1].type!==$.lineEnding)K=X}else if(X===J||Z[X][1].type===$.lineEnding){if(Z[K][1].type=$.codeTextData,X!==K+2)Z[K][1].end=Z[X-1][1].end,Z.splice(K+2,X-K-2),J-=X-K-2,X=K+2;K=void 0}return Z}function K7(Z){return Z!==_.graveAccent||this.events[this.events.length-1][1].type===$.characterEscape}function p9(Z,J,Q){let X=this,K=0,Y,G;return H;function H(M){return F(M===_.graveAccent,"expected `` ` ``"),F(K7.call(X,X.previous),"expected correct previous"),Z.enter($.codeText),Z.enter($.codeTextSequence),q(M)}function q(M){if(M===_.graveAccent)return Z.consume(M),K++,q;return Z.exit($.codeTextSequence),N(M)}function N(M){if(M===_.eof)return Q(M);if(M===_.space)return Z.enter("space"),Z.consume(M),Z.exit("space"),N;if(M===_.graveAccent)return G=Z.enter($.codeTextSequence),Y=0,U(M);if(w(M))return Z.enter($.lineEnding),Z.consume(M),Z.exit($.lineEnding),N;return Z.enter($.codeTextData),W(M)}function W(M){if(M===_.eof||M===_.space||M===_.graveAccent||w(M))return Z.exit($.codeTextData),N(M);return Z.consume(M),W}function U(M){if(M===_.graveAccent)return Z.consume(M),Y++,U;if(Y===K)return Z.exit($.codeTextSequence),Z.exit($.codeText),J(M);return G.type=$.codeTextData,W(M)}}class s6{constructor(Z){this.left=Z?[...Z]:[],this.right=[]}get(Z){if(Z<0||Z>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+Z+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");if(Z<this.left.length)return this.left[Z];return this.right[this.right.length-Z+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(Z,J){let Q=J===null||J===void 0?Number.POSITIVE_INFINITY:J;if(Q<this.left.length)return this.left.slice(Z,Q);if(Z>this.left.length)return this.right.slice(this.right.length-Q+this.left.length,this.right.length-Z+this.left.length).reverse();return this.left.slice(Z).concat(this.right.slice(this.right.length-Q+this.left.length).reverse())}splice(Z,J,Q){let X=J||0;this.setCursor(Math.trunc(Z));let K=this.right.splice(this.right.length-X,Number.POSITIVE_INFINITY);if(Q)g5(this.left,Q);return K.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Z){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Z)}pushMany(Z){this.setCursor(Number.POSITIVE_INFINITY),g5(this.left,Z)}unshift(Z){this.setCursor(0),this.right.push(Z)}unshiftMany(Z){this.setCursor(0),g5(this.right,Z.reverse())}setCursor(Z){if(Z===this.left.length||Z>this.left.length&&this.right.length===0||Z<0&&this.left.length===0)return;if(Z<this.left.length){let J=this.left.splice(Z,Number.POSITIVE_INFINITY);g5(this.right,J.reverse())}else{let J=this.right.splice(this.left.length+this.right.length-Z,Number.POSITIVE_INFINITY);g5(this.left,J.reverse())}}}function g5(Z,J){let Q=0;if(J.length<P.v8MaxSafeChunkSize)Z.push(...J);else while(Q<J.length)Z.push(...J.slice(Q,Q+P.v8MaxSafeChunkSize)),Q+=P.v8MaxSafeChunkSize}function K6(Z){let J={},Q=-1,X,K,Y,G,H,q,N,W=new s6(Z);while(++Q<W.length){while(Q in J)Q=J[Q];if(X=W.get(Q),Q&&X[1].type===$.chunkFlow&&W.get(Q-1)[1].type===$.listItemPrefix){if(F(X[1]._tokenizer,"expected `_tokenizer` on subtokens"),q=X[1]._tokenizer.events,Y=0,Y<q.length&&q[Y][1].type===$.lineEndingBlank)Y+=2;if(Y<q.length&&q[Y][1].type===$.content)while(++Y<q.length){if(q[Y][1].type===$.content)break;if(q[Y][1].type===$.chunkText)q[Y][1]._isInFirstContentOfListItem=!0,Y++}}if(X[0]==="enter"){if(X[1].contentType)Object.assign(J,u9(W,Q)),Q=J[Q],N=!0}else if(X[1]._container){Y=Q,K=void 0;while(Y--)if(G=W.get(Y),G[1].type===$.lineEnding||G[1].type===$.lineEndingBlank){if(G[0]==="enter"){if(K)W.get(K)[1].type=$.lineEndingBlank;G[1].type=$.lineEnding,K=Y}}else if(G[1].type===$.linePrefix||G[1].type===$.listItemIndent);else break;if(K)X[1].end={...W.get(K)[1].start},H=W.slice(K,Q),H.unshift(X),W.splice(K,Q-K+1,H)}}return t(Z,0,Number.POSITIVE_INFINITY,W.slice(0)),!N}function u9(Z,J){let Q=Z.get(J)[1],X=Z.get(J)[2],K=J-1,Y=[];F(Q.contentType,"expected `contentType` on subtokens");let G=Q._tokenizer;if(!G){if(G=X.parser[Q.contentType](Q.start),Q._contentTypeTextTrailing)G._contentTypeTextTrailing=!0}let H=G.events,q=[],N={},W,U,M=-1,V=Q,L=0,R=0,C=[R];while(V){while(Z.get(++K)[1]!==V);if(F(!U||V.previous===U,"expected previous to match"),F(!U||U.next===V,"expected next to match"),Y.push(K),!V._tokenizer){if(W=X.sliceStream(V),!V.next)W.push(_.eof);if(U)G.defineSkip(V.start);if(V._isInFirstContentOfListItem)G._gfmTasklistFirstContentOfListItem=!0;if(G.write(W),V._isInFirstContentOfListItem)G._gfmTasklistFirstContentOfListItem=void 0}U=V,V=V.next}V=Q;while(++M<H.length)if(H[M][0]==="exit"&&H[M-1][0]==="enter"&&H[M][1].type===H[M-1][1].type&&H[M][1].start.line!==H[M][1].end.line)F(V,"expected a current token"),R=M+1,C.push(R),V._tokenizer=void 0,V.previous=void 0,V=V.next;if(G.events=[],V)V._tokenizer=void 0,V.previous=void 0,F(!V.next,"expected no next token");else C.pop();M=C.length;while(M--){let j=H.slice(C[M],C[M+1]),I=Y.pop();F(I!==void 0,"expected a start position when splicing"),q.push([I,I+j.length-1]),Z.splice(I,2,j)}q.reverse(),M=-1;while(++M<q.length)N[L+q[M][0]]=L+q[M][1],L+=q[M][1]-q[M][0]-1;return N}var o6={resolve:l9,tokenize:i9},f9={partial:!0,tokenize:r9};function l9(Z){return K6(Z),Z}function i9(Z,J){let Q;return X;function X(H){return F(H!==_.eof&&!w(H),"expected no eof or eol"),Z.enter($.content),Q=Z.enter($.chunkContent,{contentType:P.contentTypeContent}),K(H)}function K(H){if(H===_.eof)return Y(H);if(w(H))return Z.check(f9,G,Y)(H);return Z.consume(H),K}function Y(H){return Z.exit($.chunkContent),Z.exit($.content),J(H)}function G(H){return F(w(H),"expected eol"),Z.consume(H),Z.exit($.chunkContent),F(Q,"expected previous token"),Q.next=Z.enter($.chunkContent,{contentType:P.contentTypeContent,previous:Q}),Q=Q.next,K}}function r9(Z,J,Q){let X=this;return K;function K(G){return F(w(G),"expected a line ending"),Z.exit($.chunkContent),Z.enter($.lineEnding),Z.consume(G),Z.exit($.lineEnding),h(Z,Y,$.linePrefix)}function Y(G){if(G===_.eof||w(G))return Q(G);F(X.parser.constructs.disable.null,"expected `disable.null` to be populated");let H=X.events[X.events.length-1];if(!X.parser.constructs.disable.null.includes("codeIndented")&&H&&H[1].type===$.linePrefix&&H[2].sliceSerialize(H[1],!0).length>=P.tabSize)return J(G);return Z.interrupt(X.parser.constructs.flow,Q,J)(G)}}function G6(Z,J,Q,X,K,Y,G,H,q){let N=q||Number.POSITIVE_INFINITY,W=0;return U;function U(j){if(j===_.lessThan)return Z.enter(X),Z.enter(K),Z.enter(Y),Z.consume(j),Z.exit(Y),M;if(j===_.eof||j===_.space||j===_.rightParenthesis||i1(j))return Q(j);return Z.enter(X),Z.enter(G),Z.enter(H),Z.enter($.chunkString,{contentType:P.contentTypeString}),R(j)}function M(j){if(j===_.greaterThan)return Z.enter(Y),Z.consume(j),Z.exit(Y),Z.exit(K),Z.exit(X),J;return Z.enter(H),Z.enter($.chunkString,{contentType:P.contentTypeString}),V(j)}function V(j){if(j===_.greaterThan)return Z.exit($.chunkString),Z.exit(H),M(j);if(j===_.eof||j===_.lessThan||w(j))return Q(j);return Z.consume(j),j===_.backslash?L:V}function L(j){if(j===_.lessThan||j===_.greaterThan||j===_.backslash)return Z.consume(j),V;return V(j)}function R(j){if(!W&&(j===_.eof||j===_.rightParenthesis||f(j)))return Z.exit($.chunkString),Z.exit(H),Z.exit(G),Z.exit(X),J(j);if(W<N&&j===_.leftParenthesis)return Z.consume(j),W++,R;if(j===_.rightParenthesis)return Z.consume(j),W--,R;if(j===_.eof||j===_.space||j===_.leftParenthesis||i1(j))return Q(j);return Z.consume(j),j===_.backslash?C:R}function C(j){if(j===_.leftParenthesis||j===_.rightParenthesis||j===_.backslash)return Z.consume(j),R;return R(j)}}function Y6(Z,J,Q,X,K,Y){let G=this,H=0,q;return N;function N(V){return F(V===_.leftSquareBracket,"expected `[`"),Z.enter(X),Z.enter(K),Z.consume(V),Z.exit(K),Z.enter(Y),W}function W(V){if(H>P.linkReferenceSizeMax||V===_.eof||V===_.leftSquareBracket||V===_.rightSquareBracket&&!q||V===_.caret&&!H&&"_hiddenFootnoteSupport"in G.parser.constructs)return Q(V);if(V===_.rightSquareBracket)return Z.exit(Y),Z.enter(K),Z.consume(V),Z.exit(K),Z.exit(X),J;if(w(V))return Z.enter($.lineEnding),Z.consume(V),Z.exit($.lineEnding),W;return Z.enter($.chunkString,{contentType:P.contentTypeString}),U(V)}function U(V){if(V===_.eof||V===_.leftSquareBracket||V===_.rightSquareBracket||w(V)||H++>P.linkReferenceSizeMax)return Z.exit($.chunkString),W(V);if(Z.consume(V),!q)q=!y(V);return V===_.backslash?M:U}function M(V){if(V===_.leftSquareBracket||V===_.backslash||V===_.rightSquareBracket)return Z.consume(V),H++,U;return U(V)}}function _6(Z,J,Q,X,K,Y){let G;return H;function H(M){if(M===_.quotationMark||M===_.apostrophe||M===_.leftParenthesis)return Z.enter(X),Z.enter(K),Z.consume(M),Z.exit(K),G=M===_.leftParenthesis?_.rightParenthesis:M,q;return Q(M)}function q(M){if(M===G)return Z.enter(K),Z.consume(M),Z.exit(K),Z.exit(X),J;return Z.enter(Y),N(M)}function N(M){if(M===G)return Z.exit(Y),q(G);if(M===_.eof)return Q(M);if(w(M))return Z.enter($.lineEnding),Z.consume(M),Z.exit($.lineEnding),h(Z,N,$.linePrefix);return Z.enter($.chunkString,{contentType:P.contentTypeString}),W(M)}function W(M){if(M===G||M===_.eof||w(M))return Z.exit($.chunkString),N(M);return Z.consume(M),M===_.backslash?U:W}function U(M){if(M===G||M===_.backslash)return Z.consume(M),W;return W(M)}}function a1(Z,J){let Q;return X;function X(K){if(w(K))return Z.enter($.lineEnding),Z.consume(K),Z.exit($.lineEnding),Q=!0,X;if(y(K))return h(Z,X,Q?$.linePrefix:$.lineSuffix)(K);return J(K)}}var t6={name:"definition",tokenize:d9},a9={partial:!0,tokenize:c9};function d9(Z,J,Q){let X=this,K;return Y;function Y(V){return Z.enter($.definition),G(V)}function G(V){return F(V===_.leftSquareBracket,"expected `[`"),Y6.call(X,Z,H,Q,$.definitionLabel,$.definitionLabelMarker,$.definitionLabelString)(V)}function H(V){if(K=G1(X.sliceSerialize(X.events[X.events.length-1][1]).slice(1,-1)),V===_.colon)return Z.enter($.definitionMarker),Z.consume(V),Z.exit($.definitionMarker),q;return Q(V)}function q(V){return f(V)?a1(Z,N)(V):N(V)}function N(V){return G6(Z,W,Q,$.definitionDestination,$.definitionDestinationLiteral,$.definitionDestinationLiteralMarker,$.definitionDestinationRaw,$.definitionDestinationString)(V)}function W(V){return Z.attempt(a9,U,U)(V)}function U(V){return y(V)?h(Z,M,$.whitespace)(V):M(V)}function M(V){if(V===_.eof||w(V))return Z.exit($.definition),X.parser.defined.push(K),J(V);return Q(V)}}function c9(Z,J,Q){return X;function X(H){return f(H)?a1(Z,K)(H):Q(H)}function K(H){return _6(Z,Y,Q,$.definitionTitle,$.definitionTitleMarker,$.definitionTitleString)(H)}function Y(H){return y(H)?h(Z,G,$.whitespace)(H):G(H)}function G(H){return H===_.eof||w(H)?J(H):Q(H)}}var e6={name:"hardBreakEscape",tokenize:n9};function n9(Z,J,Q){return X;function X(Y){return F(Y===_.backslash,"expected `\\`"),Z.enter($.hardBreakEscape),Z.consume(Y),K}function K(Y){if(w(Y))return Z.exit($.hardBreakEscape),J(Y);return Q(Y)}}var Z0={name:"headingAtx",resolve:s9,tokenize:o9};function s9(Z,J){let Q=Z.length-2,X=3,K,Y;if(Z[X][1].type===$.whitespace)X+=2;if(Q-2>X&&Z[Q][1].type===$.whitespace)Q-=2;if(Z[Q][1].type===$.atxHeadingSequence&&(X===Q-1||Q-4>X&&Z[Q-2][1].type===$.whitespace))Q-=X+1===Q?2:4;if(Q>X)K={type:$.atxHeadingText,start:Z[X][1].start,end:Z[Q][1].end},Y={type:$.chunkText,start:Z[X][1].start,end:Z[Q][1].end,contentType:P.contentTypeText},t(Z,X,Q-X+1,[["enter",K,J],["enter",Y,J],["exit",Y,J],["exit",K,J]]);return Z}function o9(Z,J,Q){let X=0;return K;function K(W){return Z.enter($.atxHeading),Y(W)}function Y(W){return F(W===_.numberSign,"expected `#`"),Z.enter($.atxHeadingSequence),G(W)}function G(W){if(W===_.numberSign&&X++<P.atxHeadingOpeningFenceSizeMax)return Z.consume(W),G;if(W===_.eof||f(W))return Z.exit($.atxHeadingSequence),H(W);return Q(W)}function H(W){if(W===_.numberSign)return Z.enter($.atxHeadingSequence),q(W);if(W===_.eof||w(W))return Z.exit($.atxHeading),J(W);if(y(W))return h(Z,H,$.whitespace)(W);return Z.enter($.atxHeadingText),N(W)}function q(W){if(W===_.numberSign)return Z.consume(W),q;return Z.exit($.atxHeadingSequence),H(W)}function N(W){if(W===_.eof||W===_.numberSign||f(W))return Z.exit($.atxHeadingText),H(W);return Z.consume(W),N}}var G7=["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"],Q0=["pre","script","style","textarea"];var J0={concrete:!0,name:"htmlFlow",resolveTo:Z8,tokenize:Q8},t9={partial:!0,tokenize:X8},e9={partial:!0,tokenize:J8};function Z8(Z){let J=Z.length;while(J--)if(Z[J][0]==="enter"&&Z[J][1].type===$.htmlFlow)break;if(J>1&&Z[J-2][1].type===$.linePrefix)Z[J][1].start=Z[J-2][1].start,Z[J+1][1].start=Z[J-2][1].start,Z.splice(J-2,2);return Z}function Q8(Z,J,Q){let X=this,K,Y,G,H,q;return N;function N(D){return W(D)}function W(D){return F(D===_.lessThan,"expected `<`"),Z.enter($.htmlFlow),Z.enter($.htmlFlowData),Z.consume(D),U}function U(D){if(D===_.exclamationMark)return Z.consume(D),M;if(D===_.slash)return Z.consume(D),Y=!0,R;if(D===_.questionMark)return Z.consume(D),K=P.htmlInstruction,X.interrupt?J:B;if(J1(D))return F(D!==null),Z.consume(D),G=String.fromCharCode(D),C;return Q(D)}function M(D){if(D===_.dash)return Z.consume(D),K=P.htmlComment,V;if(D===_.leftSquareBracket)return Z.consume(D),K=P.htmlCdata,H=0,L;if(J1(D))return Z.consume(D),K=P.htmlDeclaration,X.interrupt?J:B;return Q(D)}function V(D){if(D===_.dash)return Z.consume(D),X.interrupt?J:B;return Q(D)}function L(D){let W1=P.cdataOpeningString;if(D===W1.charCodeAt(H++)){if(Z.consume(D),H===W1.length)return X.interrupt?J:r;return L}return Q(D)}function R(D){if(J1(D))return F(D!==null),Z.consume(D),G=String.fromCharCode(D),C;return Q(D)}function C(D){if(D===_.eof||D===_.slash||D===_.greaterThan||f(D)){let W1=D===_.slash,m1=G.toLowerCase();if(!W1&&!Y&&Q0.includes(m1))return K=P.htmlRaw,X.interrupt?J(D):r(D);if(G7.includes(G.toLowerCase())){if(K=P.htmlBasic,W1)return Z.consume(D),j;return X.interrupt?J(D):r(D)}return K=P.htmlComplete,X.interrupt&&!X.parser.lazy[X.now().line]?Q(D):Y?I(D):E(D)}if(D===_.dash||o(D))return Z.consume(D),G+=String.fromCharCode(D),C;return Q(D)}function j(D){if(D===_.greaterThan)return Z.consume(D),X.interrupt?J:r;return Q(D)}function I(D){if(y(D))return Z.consume(D),I;return T(D)}function E(D){if(D===_.slash)return Z.consume(D),T;if(D===_.colon||D===_.underscore||J1(D))return Z.consume(D),m;if(y(D))return Z.consume(D),E;return T(D)}function m(D){if(D===_.dash||D===_.dot||D===_.colon||D===_.underscore||o(D))return Z.consume(D),m;return v(D)}function v(D){if(D===_.equalsTo)return Z.consume(D),z;if(y(D))return Z.consume(D),v;return E(D)}function z(D){if(D===_.eof||D===_.lessThan||D===_.equalsTo||D===_.greaterThan||D===_.graveAccent)return Q(D);if(D===_.quotationMark||D===_.apostrophe)return Z.consume(D),q=D,l;if(y(D))return Z.consume(D),z;return c(D)}function l(D){if(D===q)return Z.consume(D),q=null,i;if(D===_.eof||w(D))return Q(D);return Z.consume(D),l}function c(D){if(D===_.eof||D===_.quotationMark||D===_.apostrophe||D===_.slash||D===_.lessThan||D===_.equalsTo||D===_.greaterThan||D===_.graveAccent||f(D))return v(D);return Z.consume(D),c}function i(D){if(D===_.slash||D===_.greaterThan||y(D))return E(D);return Q(D)}function T(D){if(D===_.greaterThan)return Z.consume(D),X1;return Q(D)}function X1(D){if(D===_.eof||w(D))return r(D);if(y(D))return Z.consume(D),X1;return Q(D)}function r(D){if(D===_.dash&&K===P.htmlComment)return Z.consume(D),n;if(D===_.lessThan&&K===P.htmlRaw)return Z.consume(D),Z1;if(D===_.greaterThan&&K===P.htmlDeclaration)return Z.consume(D),V1;if(D===_.questionMark&&K===P.htmlInstruction)return Z.consume(D),B;if(D===_.rightSquareBracket&&K===P.htmlCdata)return Z.consume(D),D1;if(w(D)&&(K===P.htmlBasic||K===P.htmlComplete))return Z.exit($.htmlFlowData),Z.check(t9,T1,g)(D);if(D===_.eof||w(D))return Z.exit($.htmlFlowData),g(D);return Z.consume(D),r}function g(D){return Z.check(e9,x,T1)(D)}function x(D){return F(w(D)),Z.enter($.lineEnding),Z.consume(D),Z.exit($.lineEnding),p}function p(D){if(D===_.eof||w(D))return g(D);return Z.enter($.htmlFlowData),r(D)}function n(D){if(D===_.dash)return Z.consume(D),B;return r(D)}function Z1(D){if(D===_.slash)return Z.consume(D),G="",N1;return r(D)}function N1(D){if(D===_.greaterThan){let W1=G.toLowerCase();if(Q0.includes(W1))return Z.consume(D),V1;return r(D)}if(J1(D)&&G.length<P.htmlRawSizeMax)return F(D!==null),Z.consume(D),G+=String.fromCharCode(D),N1;return r(D)}function D1(D){if(D===_.rightSquareBracket)return Z.consume(D),B;return r(D)}function B(D){if(D===_.greaterThan)return Z.consume(D),V1;if(D===_.dash&&K===P.htmlComment)return Z.consume(D),B;return r(D)}function V1(D){if(D===_.eof||w(D))return Z.exit($.htmlFlowData),T1(D);return Z.consume(D),V1}function T1(D){return Z.exit($.htmlFlow),J(D)}}function J8(Z,J,Q){let X=this;return K;function K(G){if(w(G))return Z.enter($.lineEnding),Z.consume(G),Z.exit($.lineEnding),Y;return Q(G)}function Y(G){return X.parser.lazy[X.now().line]?Q(G):J(G)}}function X8(Z,J,Q){return X;function X(K){return F(w(K),"expected a line ending"),Z.enter($.lineEnding),Z.consume(K),Z.exit($.lineEnding),Z.attempt(R1,J,Q)}}var X0={name:"htmlText",tokenize:K8};function K8(Z,J,Q){let X=this,K,Y,G;return H;function H(B){return F(B===_.lessThan,"expected `<`"),Z.enter($.htmlText),Z.enter($.htmlTextData),Z.consume(B),q}function q(B){if(B===_.exclamationMark)return Z.consume(B),N;if(B===_.slash)return Z.consume(B),v;if(B===_.questionMark)return Z.consume(B),E;if(J1(B))return Z.consume(B),c;return Q(B)}function N(B){if(B===_.dash)return Z.consume(B),W;if(B===_.leftSquareBracket)return Z.consume(B),Y=0,L;if(J1(B))return Z.consume(B),I;return Q(B)}function W(B){if(B===_.dash)return Z.consume(B),V;return Q(B)}function U(B){if(B===_.eof)return Q(B);if(B===_.dash)return Z.consume(B),M;if(w(B))return G=U,Z1(B);return Z.consume(B),U}function M(B){if(B===_.dash)return Z.consume(B),V;return U(B)}function V(B){return B===_.greaterThan?n(B):B===_.dash?M(B):U(B)}function L(B){let V1=P.cdataOpeningString;if(B===V1.charCodeAt(Y++))return Z.consume(B),Y===V1.length?R:L;return Q(B)}function R(B){if(B===_.eof)return Q(B);if(B===_.rightSquareBracket)return Z.consume(B),C;if(w(B))return G=R,Z1(B);return Z.consume(B),R}function C(B){if(B===_.rightSquareBracket)return Z.consume(B),j;return R(B)}function j(B){if(B===_.greaterThan)return n(B);if(B===_.rightSquareBracket)return Z.consume(B),j;return R(B)}function I(B){if(B===_.eof||B===_.greaterThan)return n(B);if(w(B))return G=I,Z1(B);return Z.consume(B),I}function E(B){if(B===_.eof)return Q(B);if(B===_.questionMark)return Z.consume(B),m;if(w(B))return G=E,Z1(B);return Z.consume(B),E}function m(B){return B===_.greaterThan?n(B):E(B)}function v(B){if(J1(B))return Z.consume(B),z;return Q(B)}function z(B){if(B===_.dash||o(B))return Z.consume(B),z;return l(B)}function l(B){if(w(B))return G=l,Z1(B);if(y(B))return Z.consume(B),l;return n(B)}function c(B){if(B===_.dash||o(B))return Z.consume(B),c;if(B===_.slash||B===_.greaterThan||f(B))return i(B);return Q(B)}function i(B){if(B===_.slash)return Z.consume(B),n;if(B===_.colon||B===_.underscore||J1(B))return Z.consume(B),T;if(w(B))return G=i,Z1(B);if(y(B))return Z.consume(B),i;return n(B)}function T(B){if(B===_.dash||B===_.dot||B===_.colon||B===_.underscore||o(B))return Z.consume(B),T;return X1(B)}function X1(B){if(B===_.equalsTo)return Z.consume(B),r;if(w(B))return G=X1,Z1(B);if(y(B))return Z.consume(B),X1;return i(B)}function r(B){if(B===_.eof||B===_.lessThan||B===_.equalsTo||B===_.greaterThan||B===_.graveAccent)return Q(B);if(B===_.quotationMark||B===_.apostrophe)return Z.consume(B),K=B,g;if(w(B))return G=r,Z1(B);if(y(B))return Z.consume(B),r;return Z.consume(B),x}function g(B){if(B===K)return Z.consume(B),K=void 0,p;if(B===_.eof)return Q(B);if(w(B))return G=g,Z1(B);return Z.consume(B),g}function x(B){if(B===_.eof||B===_.quotationMark||B===_.apostrophe||B===_.lessThan||B===_.equalsTo||B===_.graveAccent)return Q(B);if(B===_.slash||B===_.greaterThan||f(B))return i(B);return Z.consume(B),x}function p(B){if(B===_.slash||B===_.greaterThan||f(B))return i(B);return Q(B)}function n(B){if(B===_.greaterThan)return Z.consume(B),Z.exit($.htmlTextData),Z.exit($.htmlText),J;return Q(B)}function Z1(B){return F(G,"expected return state"),F(w(B),"expected eol"),Z.exit($.htmlTextData),Z.enter($.lineEnding),Z.consume(B),Z.exit($.lineEnding),N1}function N1(B){return F(X.parser.constructs.disable.null,"expected `disable.null` to be populated"),y(B)?h(Z,D1,$.linePrefix,X.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize)(B):D1(B)}function D1(B){return Z.enter($.htmlTextData),G(B)}}var d1={name:"labelEnd",resolveAll:H8,resolveTo:q8,tokenize:$8},G8={tokenize:W8},Y8={tokenize:U8},_8={tokenize:N8};function H8(Z){let J=-1,Q=[];while(++J<Z.length){let X=Z[J][1];if(Q.push(Z[J]),X.type===$.labelImage||X.type===$.labelLink||X.type===$.labelEnd){let K=X.type===$.labelImage?4:2;X.type=$.data,J+=K}}if(Z.length!==Q.length)t(Z,0,Z.length,Q);return Z}function q8(Z,J){let Q=Z.length,X=0,K,Y,G,H;while(Q--)if(K=Z[Q][1],Y){if(K.type===$.link||K.type===$.labelLink&&K._inactive)break;if(Z[Q][0]==="enter"&&K.type===$.labelLink)K._inactive=!0}else if(G){if(Z[Q][0]==="enter"&&(K.type===$.labelImage||K.type===$.labelLink)&&!K._balanced){if(Y=Q,K.type!==$.labelLink){X=2;break}}}else if(K.type===$.labelEnd)G=Q;F(Y!==void 0,"`open` is supposed to be found"),F(G!==void 0,"`close` is supposed to be found");let q={type:Z[Y][1].type===$.labelLink?$.link:$.image,start:{...Z[Y][1].start},end:{...Z[Z.length-1][1].end}},N={type:$.label,start:{...Z[Y][1].start},end:{...Z[G][1].end}},W={type:$.labelText,start:{...Z[Y+X+2][1].end},end:{...Z[G-2][1].start}};return H=[["enter",q,J],["enter",N,J]],H=H1(H,Z.slice(Y+1,Y+X+3)),H=H1(H,[["enter",W,J]]),F(J.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),H=H1(H,b1(J.parser.constructs.insideSpan.null,Z.slice(Y+X+4,G-3),J)),H=H1(H,[["exit",W,J],Z[G-2],Z[G-1],["exit",N,J]]),H=H1(H,Z.slice(G+1)),H=H1(H,[["exit",q,J]]),t(Z,Y,Z.length,H),Z}function $8(Z,J,Q){let X=this,K=X.events.length,Y,G;while(K--)if((X.events[K][1].type===$.labelImage||X.events[K][1].type===$.labelLink)&&!X.events[K][1]._balanced){Y=X.events[K][1];break}return H;function H(M){if(F(M===_.rightSquareBracket,"expected `]`"),!Y)return Q(M);if(Y._inactive)return U(M);return G=X.parser.defined.includes(G1(X.sliceSerialize({start:Y.end,end:X.now()}))),Z.enter($.labelEnd),Z.enter($.labelMarker),Z.consume(M),Z.exit($.labelMarker),Z.exit($.labelEnd),q}function q(M){if(M===_.leftParenthesis)return Z.attempt(G8,W,G?W:U)(M);if(M===_.leftSquareBracket)return Z.attempt(Y8,W,G?N:U)(M);return G?W(M):U(M)}function N(M){return Z.attempt(_8,W,U)(M)}function W(M){return J(M)}function U(M){return Y._balanced=!0,Q(M)}}function W8(Z,J,Q){return X;function X(U){return F(U===_.leftParenthesis,"expected left paren"),Z.enter($.resource),Z.enter($.resourceMarker),Z.consume(U),Z.exit($.resourceMarker),K}function K(U){return f(U)?a1(Z,Y)(U):Y(U)}function Y(U){if(U===_.rightParenthesis)return W(U);return G6(Z,G,H,$.resourceDestination,$.resourceDestinationLiteral,$.resourceDestinationLiteralMarker,$.resourceDestinationRaw,$.resourceDestinationString,P.linkResourceDestinationBalanceMax)(U)}function G(U){return f(U)?a1(Z,q)(U):W(U)}function H(U){return Q(U)}function q(U){if(U===_.quotationMark||U===_.apostrophe||U===_.leftParenthesis)return _6(Z,N,Q,$.resourceTitle,$.resourceTitleMarker,$.resourceTitleString)(U);return W(U)}function N(U){return f(U)?a1(Z,W)(U):W(U)}function W(U){if(U===_.rightParenthesis)return Z.enter($.resourceMarker),Z.consume(U),Z.exit($.resourceMarker),Z.exit($.resource),J;return Q(U)}}function U8(Z,J,Q){let X=this;return K;function K(H){return F(H===_.leftSquareBracket,"expected left bracket"),Y6.call(X,Z,Y,G,$.reference,$.referenceMarker,$.referenceString)(H)}function Y(H){return X.parser.defined.includes(G1(X.sliceSerialize(X.events[X.events.length-1][1]).slice(1,-1)))?J(H):Q(H)}function G(H){return Q(H)}}function N8(Z,J,Q){return X;function X(Y){return F(Y===_.leftSquareBracket,"expected left bracket"),Z.enter($.reference),Z.enter($.referenceMarker),Z.consume(Y),Z.exit($.referenceMarker),K}function K(Y){if(Y===_.rightSquareBracket)return Z.enter($.referenceMarker),Z.consume(Y),Z.exit($.referenceMarker),Z.exit($.reference),J;return Q(Y)}}var K0={name:"labelStartImage",resolveAll:d1.resolveAll,tokenize:V8};function V8(Z,J,Q){let X=this;return K;function K(H){return F(H===_.exclamationMark,"expected `!`"),Z.enter($.labelImage),Z.enter($.labelImageMarker),Z.consume(H),Z.exit($.labelImageMarker),Y}function Y(H){if(H===_.leftSquareBracket)return Z.enter($.labelMarker),Z.consume(H),Z.exit($.labelMarker),Z.exit($.labelImage),G;return Q(H)}function G(H){return H===_.caret&&"_hiddenFootnoteSupport"in X.parser.constructs?Q(H):J(H)}}var G0={name:"labelStartLink",resolveAll:d1.resolveAll,tokenize:M8};function M8(Z,J,Q){let X=this;return K;function K(G){return F(G===_.leftSquareBracket,"expected `[`"),Z.enter($.labelLink),Z.enter($.labelMarker),Z.consume(G),Z.exit($.labelMarker),Z.exit($.labelLink),Y}function Y(G){return G===_.caret&&"_hiddenFootnoteSupport"in X.parser.constructs?Q(G):J(G)}}var b5={name:"lineEnding",tokenize:F8};function F8(Z,J){return Q;function Q(X){return F(w(X),"expected eol"),Z.enter($.lineEnding),Z.consume(X),Z.exit($.lineEnding),h(Z,J,$.linePrefix)}}var c1={name:"thematicBreak",tokenize:B8};function B8(Z,J,Q){let X=0,K;return Y;function Y(N){return Z.enter($.thematicBreak),G(N)}function G(N){return F(N===_.asterisk||N===_.dash||N===_.underscore,"expected `*`, `-`, or `_`"),K=N,H(N)}function H(N){if(N===K)return Z.enter($.thematicBreakSequence),q(N);if(X>=P.thematicBreakMarkerCountMin&&(N===_.eof||w(N)))return Z.exit($.thematicBreak),J(N);return Q(N)}function q(N){if(N===K)return Z.consume(N),X++,q;return Z.exit($.thematicBreakSequence),y(N)?h(Z,H,$.whitespace)(N):H(N)}}var Y1={continuation:{tokenize:j8},exit:A8,name:"list",tokenize:R8},D8={partial:!0,tokenize:O8},L8={partial:!0,tokenize:T8};function R8(Z,J,Q){let X=this,K=X.events[X.events.length-1],Y=K&&K[1].type===$.linePrefix?K[2].sliceSerialize(K[1],!0).length:0,G=0;return H;function H(V){F(X.containerState,"expected state");let L=X.containerState.type||(V===_.asterisk||V===_.plusSign||V===_.dash?$.listUnordered:$.listOrdered);if(L===$.listUnordered?!X.containerState.marker||V===X.containerState.marker:w5(V)){if(!X.containerState.type)X.containerState.type=L,Z.enter(L,{_container:!0});if(L===$.listUnordered)return Z.enter($.listItemPrefix),V===_.asterisk||V===_.dash?Z.check(c1,Q,N)(V):N(V);if(!X.interrupt||V===_.digit1)return Z.enter($.listItemPrefix),Z.enter($.listItemValue),q(V)}return Q(V)}function q(V){if(F(X.containerState,"expected state"),w5(V)&&++G<P.listItemValueSizeMax)return Z.consume(V),q;if((!X.interrupt||G<2)&&(X.containerState.marker?V===X.containerState.marker:V===_.rightParenthesis||V===_.dot))return Z.exit($.listItemValue),N(V);return Q(V)}function N(V){return F(X.containerState,"expected state"),F(V!==_.eof,"eof (`null`) is not a marker"),Z.enter($.listItemMarker),Z.consume(V),Z.exit($.listItemMarker),X.containerState.marker=X.containerState.marker||V,Z.check(R1,X.interrupt?Q:W,Z.attempt(D8,M,U))}function W(V){return F(X.containerState,"expected state"),X.containerState.initialBlankLine=!0,Y++,M(V)}function U(V){if(y(V))return Z.enter($.listItemPrefixWhitespace),Z.consume(V),Z.exit($.listItemPrefixWhitespace),M;return Q(V)}function M(V){return F(X.containerState,"expected state"),X.containerState.size=Y+X.sliceSerialize(Z.exit($.listItemPrefix),!0).length,J(V)}}function j8(Z,J,Q){let X=this;return F(X.containerState,"expected state"),X.containerState._closeFlow=void 0,Z.check(R1,K,Y);function K(H){return F(X.containerState,"expected state"),F(typeof X.containerState.size==="number","expected size"),X.containerState.furtherBlankLines=X.containerState.furtherBlankLines||X.containerState.initialBlankLine,h(Z,J,$.listItemIndent,X.containerState.size+1)(H)}function Y(H){if(F(X.containerState,"expected state"),X.containerState.furtherBlankLines||!y(H))return X.containerState.furtherBlankLines=void 0,X.containerState.initialBlankLine=void 0,G(H);return X.containerState.furtherBlankLines=void 0,X.containerState.initialBlankLine=void 0,Z.attempt(L8,J,G)(H)}function G(H){return F(X.containerState,"expected state"),X.containerState._closeFlow=!0,X.interrupt=void 0,F(X.parser.constructs.disable.null,"expected `disable.null` to be populated"),h(Z,Z.attempt(Y1,J,Q),$.linePrefix,X.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize)(H)}}function T8(Z,J,Q){let X=this;return F(X.containerState,"expected state"),F(typeof X.containerState.size==="number","expected size"),h(Z,K,$.listItemIndent,X.containerState.size+1);function K(Y){F(X.containerState,"expected state");let G=X.events[X.events.length-1];return G&&G[1].type===$.listItemIndent&&G[2].sliceSerialize(G[1],!0).length===X.containerState.size?J(Y):Q(Y)}}function A8(Z){F(this.containerState,"expected state"),F(typeof this.containerState.type==="string","expected type"),Z.exit(this.containerState.type)}function O8(Z,J,Q){let X=this;return F(X.parser.constructs.disable.null,"expected `disable.null` to be populated"),h(Z,K,$.listItemPrefixWhitespace,X.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize+1);function K(Y){let G=X.events[X.events.length-1];return!y(Y)&&G&&G[1].type===$.listItemPrefixWhitespace?J(Y):Q(Y)}}var H6={name:"setextUnderline",resolveTo:z8,tokenize:P8};function z8(Z,J){let Q=Z.length,X,K,Y;while(Q--)if(Z[Q][0]==="enter"){if(Z[Q][1].type===$.content){X=Q;break}if(Z[Q][1].type===$.paragraph)K=Q}else{if(Z[Q][1].type===$.content)Z.splice(Q,1);if(!Y&&Z[Q][1].type===$.definition)Y=Q}F(K!==void 0,"expected a `text` index to be found"),F(X!==void 0,"expected a `text` index to be found"),F(Z[X][2]===J,"enter context should be same"),F(Z[Z.length-1][2]===J,"enter context should be same");let G={type:$.setextHeading,start:{...Z[X][1].start},end:{...Z[Z.length-1][1].end}};if(Z[K][1].type=$.setextHeadingText,Y)Z.splice(K,0,["enter",G,J]),Z.splice(Y+1,0,["exit",Z[X][1],J]),Z[X][1].end={...Z[Y][1].end};else Z[X][1]=G;return Z.push(["exit",G,J]),Z}function P8(Z,J,Q){let X=this,K;return Y;function Y(N){let W=X.events.length,U;F(N===_.dash||N===_.equalsTo,"expected `=` or `-`");while(W--)if(X.events[W][1].type!==$.lineEnding&&X.events[W][1].type!==$.linePrefix&&X.events[W][1].type!==$.content){U=X.events[W][1].type===$.paragraph;break}if(!X.parser.lazy[X.now().line]&&(X.interrupt||U))return Z.enter($.setextHeadingLine),K=N,G(N);return Q(N)}function G(N){return Z.enter($.setextHeadingLineSequence),H(N)}function H(N){if(N===K)return Z.consume(N),H;return Z.exit($.setextHeadingLineSequence),y(N)?h(Z,q,$.lineSuffix)(N):q(N)}function q(N){if(N===_.eof||w(N))return Z.exit($.setextHeadingLine),J(N);return Q(N)}}var Y7={tokenize:C8};function C8(Z){let J=this,Q=Z.attempt(R1,X,Z.attempt(this.parser.constructs.flowInitial,K,h(Z,Z.attempt(this.parser.constructs.flow,K,Z.attempt(o6,K)),$.linePrefix)));return Q;function X(Y){if(F(Y===_.eof||w(Y),"expected eol or eof"),Y===_.eof){Z.consume(Y);return}return Z.enter($.lineEndingBlank),Z.consume(Y),Z.exit($.lineEndingBlank),J.currentConstruct=void 0,Q}function K(Y){if(F(Y===_.eof||w(Y),"expected eol or eof"),Y===_.eof){Z.consume(Y);return}return Z.enter($.lineEnding),Z.consume(Y),Z.exit($.lineEnding),J.currentConstruct=void 0,Q}}var _7={resolveAll:W7()},H7=$7("string"),q7=$7("text");function $7(Z){return{resolveAll:W7(Z==="text"?S8:void 0),tokenize:J};function J(Q){let X=this,K=this.parser.constructs[Z],Y=Q.attempt(K,G,H);return G;function G(W){return N(W)?Y(W):H(W)}function H(W){if(W===_.eof){Q.consume(W);return}return Q.enter($.data),Q.consume(W),q}function q(W){if(N(W))return Q.exit($.data),Y(W);return Q.consume(W),q}function N(W){if(W===_.eof)return!0;let U=K[W],M=-1;if(U){F(Array.isArray(U),"expected `disable.null` to be populated");while(++M<U.length){let V=U[M];if(!V.previous||V.previous.call(X,X.previous))return!0}}return!1}}}function W7(Z){return J;function J(Q,X){let K=-1,Y;while(++K<=Q.length)if(Y===void 0){if(Q[K]&&Q[K][1].type===$.data)Y=K,K++}else if(!Q[K]||Q[K][1].type!==$.data){if(K!==Y+2)Q[Y][1].end=Q[K-1][1].end,Q.splice(Y+2,K-Y-2),K=Y+2;Y=void 0}return Z?Z(Q,X):Q}}function S8(Z,J){let Q=0;while(++Q<=Z.length)if((Q===Z.length||Z[Q][1].type===$.lineEnding)&&Z[Q-1][1].type===$.data){let X=Z[Q-1][1],K=J.sliceStream(X),Y=K.length,G=-1,H=0,q;while(Y--){let N=K[Y];if(typeof N==="string"){G=N.length;while(N.charCodeAt(G-1)===_.space)H++,G--;if(G)break;G=-1}else if(N===_.horizontalTab)q=!0,H++;else if(N===_.virtualSpace);else{Y++;break}}if(J._contentTypeTextTrailing&&Q===Z.length)H=0;if(H){let N={type:Q===Z.length||q||H<P.hardBreakPrefixSizeMin?$.lineSuffix:$.hardBreakTrailing,start:{_bufferIndex:Y?G:X.start._bufferIndex+G,_index:X.start._index+Y,line:X.end.line,column:X.end.column-H,offset:X.end.offset-H},end:{...X.end}};if(X.end={...N.start},X.start.offset===X.end.offset)Object.assign(X,N);else Z.splice(Q,0,["enter",N,J],["exit",N,J]),Q+=2}Q++}return Z}var Y0={};D2(Y0,{text:()=>y8,string:()=>b8,insideSpan:()=>h8,flowInitial:()=>I8,flow:()=>g8,document:()=>w8,disable:()=>m8,contentInitial:()=>E8,attentionMarkers:()=>x8});var w8={[_.asterisk]:Y1,[_.plusSign]:Y1,[_.dash]:Y1,[_.digit0]:Y1,[_.digit1]:Y1,[_.digit2]:Y1,[_.digit3]:Y1,[_.digit4]:Y1,[_.digit5]:Y1,[_.digit6]:Y1,[_.digit7]:Y1,[_.digit8]:Y1,[_.digit9]:Y1,[_.greaterThan]:Z6},E8={[_.leftSquareBracket]:t6},I8={[_.horizontalTab]:I5,[_.virtualSpace]:I5,[_.space]:I5},g8={[_.numberSign]:Z0,[_.asterisk]:c1,[_.dash]:[H6,c1],[_.lessThan]:J0,[_.equalsTo]:H6,[_.underscore]:c1,[_.graveAccent]:X6,[_.tilde]:X6},b8={[_.ampersand]:J6,[_.backslash]:Q6},y8={[_.carriageReturn]:b5,[_.lineFeed]:b5,[_.carriageReturnLineFeed]:b5,[_.exclamationMark]:K0,[_.ampersand]:J6,[_.asterisk]:E5,[_.lessThan]:[c6,X0],[_.leftSquareBracket]:G0,[_.backslash]:[e6,Q6],[_.rightSquareBracket]:d1,[_.underscore]:E5,[_.graveAccent]:n6},h8={null:[E5,_7]},x8={null:[_.asterisk,_.underscore]},m8={null:[]};var D7=f1(B7(),1);var s1=D7.default("micromark");function L7(Z,J,Q){let X={_bufferIndex:-1,_index:0,line:Q&&Q.line||1,column:Q&&Q.column||1,offset:Q&&Q.offset||0},K={},Y=[],G=[],H=[],q=!0,N={attempt:i(l),check:i(c),consume:m,enter:v,exit:z,interrupt:i(c,{interrupt:!0})},W={code:_.eof,containerState:{},defineSkip:j,events:[],now:C,parser:Z,previous:_.eof,sliceSerialize:L,sliceStream:R,write:V},U=J.tokenize.call(W,N),M;if(J.resolveAll)Y.push(J);return W;function V(g){if(G=H1(G,g),I(),G[G.length-1]!==_.eof)return[];return T(J,0),W.events=b1(Y,W.events,W),W.events}function L(g,x){return KZ(R(g),x)}function R(g){return XZ(G,g)}function C(){let{_bufferIndex:g,_index:x,line:p,column:n,offset:Z1}=X;return{_bufferIndex:g,_index:x,line:p,column:n,offset:Z1}}function j(g){K[g.line]=g.column,r(),s1("position: define skip: `%j`",X)}function I(){let g;while(X._index<G.length){let x=G[X._index];if(typeof x==="string"){if(g=X._index,X._bufferIndex<0)X._bufferIndex=0;while(X._index===g&&X._bufferIndex<x.length)E(x.charCodeAt(X._bufferIndex))}else E(x)}}function E(g){F(q===!0,"expected character to be consumed"),q=void 0,s1("main: passing `%s` to %s",g,U&&U.name),M=g,F(typeof U==="function","expected state"),U=U(g)}function m(g){if(F(g===M,"expected given code to equal expected code"),s1("consume: `%s`",g),F(q===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),F(g===null?W.events.length===0||W.events[W.events.length-1][0]==="exit":W.events[W.events.length-1][0]==="enter","expected last token to be open"),w(g))X.line++,X.column=1,X.offset+=g===_.carriageReturnLineFeed?2:1,r(),s1("position: after eol: `%j`",X);else if(g!==_.virtualSpace)X.column++,X.offset++;if(X._bufferIndex<0)X._index++;else if(X._bufferIndex++,X._bufferIndex===G[X._index].length)X._bufferIndex=-1,X._index++;W.previous=g,q=!0}function v(g,x){let p=x||{};return p.type=g,p.start=C(),F(typeof g==="string","expected string type"),F(g.length>0,"expected non-empty string"),s1("enter: `%s`",g),W.events.push(["enter",p,W]),H.push(p),p}function z(g){F(typeof g==="string","expected string type"),F(g.length>0,"expected non-empty string");let x=H.pop();return F(x,"cannot close w/o open tokens"),x.end=C(),F(g===x.type,"expected exit token to match current token"),F(!(x.start._index===x.end._index&&x.start._bufferIndex===x.end._bufferIndex),"expected non-empty token (`"+g+"`)"),s1("exit: `%s`",x.type),W.events.push(["exit",x,W]),x}function l(g,x){T(g,x.from)}function c(g,x){x.restore()}function i(g,x){return p;function p(n,Z1,N1){let D1,B,V1,T1;return Array.isArray(n)?W1(n):("tokenize"in n)?W1([n]):D(n);function D(Q1){return j5;function j5(A1){let k1=A1!==null&&Q1[A1],J5=A1!==null&&Q1.null,E6=[...Array.isArray(k1)?k1:k1?[k1]:[],...Array.isArray(J5)?J5:J5?[J5]:[]];return W1(E6)(A1)}}function W1(Q1){if(D1=Q1,B=0,Q1.length===0)return F(N1,"expected `bogusState` to be given"),N1;return m1(Q1[B])}function m1(Q1){return j5;function j5(A1){if(T1=X1(),V1=Q1,!Q1.partial)W.currentConstruct=Q1;if(F(W.parser.constructs.disable.null,"expected `disable.null` to be populated"),Q1.name&&W.parser.constructs.disable.null.includes(Q1.name))return i5(A1);return Q1.tokenize.call(x?Object.assign(Object.create(W),x):W,N,w6,i5)(A1)}}function w6(Q1){return F(Q1===M,"expected code"),q=!0,g(V1,T1),Z1}function i5(Q1){if(F(Q1===M,"expected code"),q=!0,T1.restore(),++B<D1.length)return m1(D1[B]);return N1}}}function T(g,x){if(g.resolveAll&&!Y.includes(g))Y.push(g);if(g.resolve)t(W.events,x,W.events.length-x,g.resolve(W.events.slice(x),W));if(g.resolveTo)W.events=g.resolveTo(W.events,W);F(g.partial||W.events.length===0||W.events[W.events.length-1][0]==="exit","expected last token to end")}function X1(){let g=C(),x=W.previous,p=W.currentConstruct,n=W.events.length,Z1=Array.from(H);return{from:n,restore:N1};function N1(){X=g,W.previous=x,W.currentConstruct=p,W.events.length=n,H=Z1,r(),s1("position: restore: `%j`",X)}}function r(){if(X.line in K&&X.column<2)X.column=K[X.line],X.offset+=K[X.line]-1}}function XZ(Z,J){let Q=J.start._index,X=J.start._bufferIndex,K=J.end._index,Y=J.end._bufferIndex,G;if(Q===K)F(Y>-1,"expected non-negative end buffer index"),F(X>-1,"expected non-negative start buffer index"),G=[Z[Q].slice(X,Y)];else{if(G=Z.slice(Q,K),X>-1){let H=G[0];if(typeof H==="string")G[0]=H.slice(X);else F(X===0,"expected `startBufferIndex` to be `0`"),G.shift()}if(Y>0)G.push(Z[K].slice(0,Y))}return G}function KZ(Z,J){let Q=-1,X=[],K;while(++Q<Z.length){let Y=Z[Q],G;if(typeof Y==="string")G=Y;else switch(Y){case _.carriageReturn:{G=_1.cr;break}case _.lineFeed:{G=_1.lf;break}case _.carriageReturnLineFeed:{G=_1.cr+_1.lf;break}case _.horizontalTab:{G=J?_1.space:_1.ht;break}case _.virtualSpace:{if(!J&&K)continue;G=_1.space;break}default:F(typeof Y==="number","expected number"),G=String.fromCharCode(Y)}K=Y===_.horizontalTab,X.push(G)}return X.join("")}function _0(Z){let X={constructs:t5([Y0,...(Z||{}).extensions||[]]),content:K(e2),defined:[],document:K(Q7),flow:K(Y7),lazy:{},string:K(H7),text:K(q7)};return X;function K(Y){return G;function G(H){return L7(X,Y,H)}}}function H0(Z){while(!K6(Z));return Z}var R7=/[\0\t\n\r]/g;function q0(){let Z=1,J="",Q=!0,X;return K;function K(Y,G,H){let q=[],N,W,U,M,V;if(Y=J+(typeof Y==="string"?Y.toString():new TextDecoder(G||void 0).decode(Y)),U=0,J="",Q){if(Y.charCodeAt(0)===_.byteOrderMarker)U++;Q=void 0}while(U<Y.length){if(R7.lastIndex=U,N=R7.exec(Y),M=N&&N.index!==void 0?N.index:Y.length,V=Y.charCodeAt(M),!N){J=Y.slice(U);break}if(V===_.lf&&U===M&&X)q.push(_.carriageReturnLineFeed),X=void 0;else{if(X)q.push(_.carriageReturn),X=void 0;if(U<M)q.push(Y.slice(U,M)),Z+=M-U;switch(V){case _.nul:{q.push(_.replacementCharacter),Z++;break}case _.ht:{W=Math.ceil(Z/P.tabSize)*P.tabSize,q.push(_.horizontalTab);while(Z++<W)q.push(_.virtualSpace);break}case _.lf:{q.push(_.lineFeed),Z=1;break}default:X=!0,Z=1}}U=M+1}if(H){if(X)q.push(_.carriageReturn);if(J)q.push(J);q.push(_.eof)}return q}}var GZ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function j7(Z){return Z.replace(GZ,YZ)}function YZ(Z,J,Q){if(J)return J;if(Q.charCodeAt(0)===_.numberSign){let K=Q.charCodeAt(1),Y=K===_.lowercaseX||K===_.uppercaseX;return e5(Q.slice(Y?2:1),Y?P.numericBaseHexadecimal:P.numericBaseDecimal)}return Y5(Q)||Z}var A7={}.hasOwnProperty;function $0(Z,J,Q){if(J&&typeof J==="object")Q=J,J=void 0;return _Z(Q)(H0(_0(Q).document().write(q0()(Z,J,!0))))}function _Z(Z){let J={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:Y(U2),autolinkProtocol:i,autolinkEmail:i,atxHeading:Y(q2),blockQuote:Y(A1),characterEscape:i,characterReference:i,codeFenced:Y(k1),codeFencedFenceInfo:G,codeFencedFenceMeta:G,codeIndented:Y(k1,G),codeText:Y(J5,G),codeTextData:i,data:i,codeFlowValue:i,definition:Y(E6),definitionDestinationString:G,definitionLabelString:G,definitionTitleString:G,emphasis:Y(U3),hardBreakEscape:Y($2),hardBreakTrailing:Y($2),htmlFlow:Y(W2,G),htmlFlowData:i,htmlText:Y(W2,G),htmlTextData:i,image:Y(N3),label:G,link:Y(U2),listItem:Y(V3),listItemValue:M,listOrdered:Y(N2,U),listUnordered:Y(N2),paragraph:Y(M3),reference:D,referenceString:G,resourceDestinationString:G,resourceTitleString:G,setextHeading:Y(q2),strong:Y(F3),thematicBreak:Y(D3)},exit:{atxHeading:q(),atxHeadingSequence:v,autolink:q(),autolinkEmail:j5,autolinkProtocol:Q1,blockQuote:q(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:m1,characterReferenceMarkerNumeric:m1,characterReferenceValue:w6,characterReference:i5,codeFenced:q(C),codeFencedFence:R,codeFencedFenceInfo:V,codeFencedFenceMeta:L,codeFlowValue:T,codeIndented:q(j),codeText:q(p),codeTextData:T,data:T,definition:q(),definitionDestinationString:m,definitionLabelString:I,definitionTitleString:E,emphasis:q(),hardBreakEscape:q(r),hardBreakTrailing:q(r),htmlFlow:q(g),htmlFlowData:T,htmlText:q(x),htmlTextData:T,image:q(Z1),label:D1,labelText:N1,lineEnding:X1,link:q(n),listItem:q(),listOrdered:q(),listUnordered:q(),paragraph:q(),referenceString:W1,resourceDestinationString:B,resourceTitleString:V1,resource:T1,setextHeading:q(c),setextHeadingLineSequence:l,setextHeadingText:z,strong:q(),thematicBreak:q()}};O7(J,(Z||{}).mdastExtensions||[]);let Q={};return X;function X(A){let O={type:"root",children:[]},b={stack:[O],tokenStack:[],config:J,enter:H,exit:N,buffer:G,resume:W,data:Q},u=[],a=-1;while(++a<A.length)if(A[a][1].type===$.listOrdered||A[a][1].type===$.listUnordered)if(A[a][0]==="enter")u.push(a);else{let q1=u.pop();F(typeof q1==="number","expected list to be open"),a=K(A,q1,a)}a=-1;while(++a<A.length){let q1=J[A[a][0]];if(A7.call(q1,A[a][1].type))q1[A[a][1].type].call(Object.assign({sliceSerialize:A[a][2].sliceSerialize},b),A[a][1])}if(b.tokenStack.length>0){let q1=b.tokenStack[b.tokenStack.length-1];(q1[1]||T7).call(b,void 0,q1[0])}O.position={start:y1(A.length>0?A[0][1].start:{line:1,column:1,offset:0}),end:y1(A.length>0?A[A.length-2][1].end:{line:1,column:1,offset:0})},a=-1;while(++a<J.transforms.length)O=J.transforms[a](O)||O;return O}function K(A,O,b){let u=O-1,a=-1,q1=!1,v1,O1,T5,A5;while(++u<=b){let U1=A[u];switch(U1[1].type){case $.listUnordered:case $.listOrdered:case $.blockQuote:{if(U1[0]==="enter")a++;else a--;A5=void 0;break}case $.lineEndingBlank:{if(U1[0]==="enter"){if(v1&&!A5&&!a&&!T5)T5=u;A5=void 0}break}case $.linePrefix:case $.listItemValue:case $.listItemMarker:case $.listItemPrefix:case $.listItemPrefixWhitespace:break;default:A5=void 0}if(!a&&U1[0]==="enter"&&U1[1].type===$.listItemPrefix||a===-1&&U1[0]==="exit"&&(U1[1].type===$.listUnordered||U1[1].type===$.listOrdered)){if(v1){let X5=u;O1=void 0;while(X5--){let z1=A[X5];if(z1[1].type===$.lineEnding||z1[1].type===$.lineEndingBlank){if(z1[0]==="exit")continue;if(O1)A[O1][1].type=$.lineEndingBlank,q1=!0;z1[1].type=$.lineEnding,O1=X5}else if(z1[1].type===$.linePrefix||z1[1].type===$.blockQuotePrefix||z1[1].type===$.blockQuotePrefixWhitespace||z1[1].type===$.blockQuoteMarker||z1[1].type===$.listItemIndent);else break}if(T5&&(!O1||T5<O1))v1._spread=!0;v1.end=Object.assign({},O1?A[O1][1].start:U1[1].end),A.splice(O1||u,0,["exit",v1,U1[2]]),u++,b++}if(U1[1].type===$.listItemPrefix){let X5={type:"listItem",_spread:!1,start:Object.assign({},U1[1].start),end:void 0};v1=X5,A.splice(u,0,["enter",X5,U1[2]]),u++,b++,T5=void 0,A5=!0}}}return A[O][1]._spread=q1,b}function Y(A,O){return b;function b(u){if(H.call(this,A(u),u),O)O.call(this,u)}}function G(){this.stack.push({type:"fragment",children:[]})}function H(A,O,b){let u=this.stack[this.stack.length-1];F(u,"expected `parent`"),F("children"in u,"expected `parent`"),u.children.push(A),this.stack.push(A),this.tokenStack.push([O,b||void 0]),A.position={start:y1(O.start),end:void 0}}function q(A){return O;function O(b){if(A)A.call(this,b);N.call(this,b)}}function N(A,O){let b=this.stack.pop();F(b,"expected `node`");let u=this.tokenStack.pop();if(!u)throw Error("Cannot close `"+A.type+"` ("+I1({start:A.start,end:A.end})+"): it’s not open");else if(u[0].type!==A.type)if(O)O.call(this,A,u[0]);else(u[1]||T7).call(this,A,u[0]);F(b.type!=="fragment","unexpected fragment `exit`ed"),F(b.position,"expected `position` to be defined"),b.position.end=y1(A.end)}function W(){return l1(this.stack.pop())}function U(){this.data.expectingFirstListItemValue=!0}function M(A){if(this.data.expectingFirstListItemValue){let O=this.stack[this.stack.length-2];F(O,"expected nodes on stack"),F(O.type==="list","expected list on stack"),O.start=Number.parseInt(this.sliceSerialize(A),P.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function V(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="code","expected code on stack"),O.lang=A}function L(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="code","expected code on stack"),O.meta=A}function R(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function C(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="code","expected code on stack"),O.value=A.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function j(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="code","expected code on stack"),O.value=A.replace(/(\r?\n|\r)$/g,"")}function I(A){let O=this.resume(),b=this.stack[this.stack.length-1];F(b,"expected node on stack"),F(b.type==="definition","expected definition on stack"),b.label=O,b.identifier=G1(this.sliceSerialize(A)).toLowerCase()}function E(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="definition","expected definition on stack"),O.title=A}function m(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="definition","expected definition on stack"),O.url=A}function v(A){let O=this.stack[this.stack.length-1];if(F(O,"expected node on stack"),F(O.type==="heading","expected heading on stack"),!O.depth){let b=this.sliceSerialize(A).length;F(b===1||b===2||b===3||b===4||b===5||b===6,"expected `depth` between `1` and `6`"),O.depth=b}}function z(){this.data.setextHeadingSlurpLineEnding=!0}function l(A){let O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="heading","expected heading on stack"),O.depth=this.sliceSerialize(A).codePointAt(0)===_.equalsTo?1:2}function c(){this.data.setextHeadingSlurpLineEnding=void 0}function i(A){let O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F("children"in O,"expected parent on stack");let b=O.children,u=b[b.length-1];if(!u||u.type!=="text")u=B3(),u.position={start:y1(A.start),end:void 0},b.push(u);this.stack.push(u)}function T(A){let O=this.stack.pop();F(O,"expected a `node` to be on the stack"),F("value"in O,"expected a `literal` to be on the stack"),F(O.position,"expected `node` to have an open position"),O.value+=this.sliceSerialize(A),O.position.end=y1(A.end)}function X1(A){let O=this.stack[this.stack.length-1];if(F(O,"expected `node`"),this.data.atHardBreak){F("children"in O,"expected `parent`");let b=O.children[O.children.length-1];F(b.position,"expected tail to have a starting position"),b.position.end=y1(A.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&J.canContainEols.includes(O.type))i.call(this,A),T.call(this,A)}function r(){this.data.atHardBreak=!0}function g(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="html","expected html on stack"),O.value=A}function x(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="html","expected html on stack"),O.value=A}function p(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="inlineCode","expected inline code on stack"),O.value=A}function n(){let A=this.stack[this.stack.length-1];if(F(A,"expected node on stack"),F(A.type==="link","expected link on stack"),this.data.inReference){let O=this.data.referenceType||"shortcut";A.type+="Reference",A.referenceType=O,delete A.url,delete A.title}else delete A.identifier,delete A.label;this.data.referenceType=void 0}function Z1(){let A=this.stack[this.stack.length-1];if(F(A,"expected node on stack"),F(A.type==="image","expected image on stack"),this.data.inReference){let O=this.data.referenceType||"shortcut";A.type+="Reference",A.referenceType=O,delete A.url,delete A.title}else delete A.identifier,delete A.label;this.data.referenceType=void 0}function N1(A){let O=this.sliceSerialize(A),b=this.stack[this.stack.length-2];F(b,"expected ancestor on stack"),F(b.type==="image"||b.type==="link","expected image or link on stack"),b.label=j7(O),b.identifier=G1(O).toLowerCase()}function D1(){let A=this.stack[this.stack.length-1];F(A,"expected node on stack"),F(A.type==="fragment","expected fragment on stack");let O=this.resume(),b=this.stack[this.stack.length-1];if(F(b,"expected node on stack"),F(b.type==="image"||b.type==="link","expected image or link on stack"),this.data.inReference=!0,b.type==="link"){let u=A.children;b.children=u}else b.alt=O}function B(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="image"||O.type==="link","expected image or link on stack"),O.url=A}function V1(){let A=this.resume(),O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="image"||O.type==="link","expected image or link on stack"),O.title=A}function T1(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function W1(A){let O=this.resume(),b=this.stack[this.stack.length-1];F(b,"expected node on stack"),F(b.type==="image"||b.type==="link","expected image reference or link reference on stack"),b.label=O,b.identifier=G1(this.sliceSerialize(A)).toLowerCase(),this.data.referenceType="full"}function m1(A){F(A.type==="characterReferenceMarkerNumeric"||A.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=A.type}function w6(A){let O=this.sliceSerialize(A),b=this.data.characterReferenceType,u;if(b)u=e5(O,b===$.characterReferenceMarkerNumeric?P.numericBaseDecimal:P.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{let q1=Y5(O);F(q1!==!1,"expected reference to decode"),u=q1}let a=this.stack[this.stack.length-1];F(a,"expected `node`"),F("value"in a,"expected `node.value`"),a.value+=u}function i5(A){let O=this.stack.pop();F(O,"expected `node`"),F(O.position,"expected `node.position`"),O.position.end=y1(A.end)}function Q1(A){T.call(this,A);let O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="link","expected link on stack"),O.url=this.sliceSerialize(A)}function j5(A){T.call(this,A);let O=this.stack[this.stack.length-1];F(O,"expected node on stack"),F(O.type==="link","expected link on stack"),O.url="mailto:"+this.sliceSerialize(A)}function A1(){return{type:"blockquote",children:[]}}function k1(){return{type:"code",lang:null,meta:null,value:""}}function J5(){return{type:"inlineCode",value:""}}function E6(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function U3(){return{type:"emphasis",children:[]}}function q2(){return{type:"heading",depth:0,children:[]}}function $2(){return{type:"break"}}function W2(){return{type:"html",value:""}}function N3(){return{type:"image",title:null,url:"",alt:null}}function U2(){return{type:"link",title:null,url:"",children:[]}}function N2(A){return{type:"list",ordered:A.type==="listOrdered",start:null,spread:A._spread,children:[]}}function V3(A){return{type:"listItem",spread:A._spread,checked:null,children:[]}}function M3(){return{type:"paragraph",children:[]}}function F3(){return{type:"strong",children:[]}}function B3(){return{type:"text",value:""}}function D3(){return{type:"thematicBreak"}}}function y1(Z){return{line:Z.line,column:Z.column,offset:Z.offset}}function O7(Z,J){let Q=-1;while(++Q<J.length){let X=J[Q];if(Array.isArray(X))O7(Z,X);else HZ(Z,X)}}function HZ(Z,J){let Q;for(Q in J)if(A7.call(J,Q))switch(Q){case"canContainEols":{let X=J[Q];if(X)Z[Q].push(...X);break}case"transforms":{let X=J[Q];if(X)Z[Q].push(...X);break}case"enter":case"exit":{let X=J[Q];if(X)Object.assign(Z[Q],X);break}}}function T7(Z,J){if(Z)throw Error("Cannot close `"+Z.type+"` ("+I1({start:Z.start,end:Z.end})+"): a different token (`"+J.type+"`, "+I1({start:J.start,end:J.end})+") is open");else throw Error("Cannot close document, a token (`"+J.type+"`, "+I1({start:J.start,end:J.end})+") is still open")}function W6(Z){let J=this;J.parser=Q;function Q(X){return $0(X,{...J.data("settings"),...Z,extensions:J.data("micromarkExtensions")||[],mdastExtensions:J.data("fromMarkdownExtensions")||[]})}}var U6=-1,$5=0,o1=1,W5=2,h5=3,x5=4,m5=5,k5=6,N6=7,V6=8;var z7=typeof self==="object"?self:globalThis,qZ=(Z,J)=>{let Q=(K,Y)=>{return Z.set(Y,K),K},X=(K)=>{if(Z.has(K))return Z.get(K);let[Y,G]=J[K];switch(Y){case $5:case U6:return Q(G,K);case o1:{let H=Q([],K);for(let q of G)H.push(X(q));return H}case W5:{let H=Q({},K);for(let[q,N]of G)H[X(q)]=X(N);return H}case h5:return Q(new Date(G),K);case x5:{let{source:H,flags:q}=G;return Q(new RegExp(H,q),K)}case m5:{let H=Q(new Map,K);for(let[q,N]of G)H.set(X(q),X(N));return H}case k5:{let H=Q(new Set,K);for(let q of G)H.add(X(q));return H}case N6:{let{name:H,message:q}=G;return Q(new z7[H](q),K)}case V6:return Q(BigInt(G),K);case"BigInt":return Q(Object(BigInt(G)),K);case"ArrayBuffer":return Q(new Uint8Array(G).buffer,G);case"DataView":{let{buffer:H}=new Uint8Array(G);return Q(new DataView(H),G)}}return Q(new z7[Y](G),K)};return X},W0=(Z)=>qZ(new Map,Z)(0);var U5="",{toString:$Z}={},{keys:WZ}=Object,v5=(Z)=>{let J=typeof Z;if(J!=="object"||!Z)return[$5,J];let Q=$Z.call(Z).slice(8,-1);switch(Q){case"Array":return[o1,U5];case"Object":return[W5,U5];case"Date":return[h5,U5];case"RegExp":return[x5,U5];case"Map":return[m5,U5];case"Set":return[k5,U5];case"DataView":return[o1,Q]}if(Q.includes("Array"))return[o1,Q];if(Q.includes("Error"))return[N6,Q];return[W5,Q]},M6=([Z,J])=>Z===$5&&(J==="function"||J==="symbol"),UZ=(Z,J,Q,X)=>{let K=(G,H)=>{let q=X.push(G)-1;return Q.set(H,q),q},Y=(G)=>{if(Q.has(G))return Q.get(G);let[H,q]=v5(G);switch(H){case $5:{let W=G;switch(q){case"bigint":H=V6,W=G.toString();break;case"function":case"symbol":if(Z)throw TypeError("unable to serialize "+q);W=null;break;case"undefined":return K([U6],G)}return K([H,W],G)}case o1:{if(q){let M=G;if(q==="DataView")M=new Uint8Array(G.buffer);else if(q==="ArrayBuffer")M=new Uint8Array(G);return K([q,[...M]],G)}let W=[],U=K([H,W],G);for(let M of G)W.push(Y(M));return U}case W5:{if(q)switch(q){case"BigInt":return K([q,G.toString()],G);case"Boolean":case"Number":case"String":return K([q,G.valueOf()],G)}if(J&&"toJSON"in G)return Y(G.toJSON());let W=[],U=K([H,W],G);for(let M of WZ(G))if(Z||!M6(v5(G[M])))W.push([Y(M),Y(G[M])]);return U}case h5:return K([H,G.toISOString()],G);case x5:{let{source:W,flags:U}=G;return K([H,{source:W,flags:U}],G)}case m5:{let W=[],U=K([H,W],G);for(let[M,V]of G)if(Z||!(M6(v5(M))||M6(v5(V))))W.push([Y(M),Y(V)]);return U}case k5:{let W=[],U=K([H,W],G);for(let M of G)if(Z||!M6(v5(M)))W.push(Y(M));return U}}let{message:N}=G;return K([H,{name:q,message:N}],G)};return Y},U0=(Z,{json:J,lossy:Q}={})=>{let X=[];return UZ(!(J||Q),!!J,new Map,X)(Z),X};var N5=typeof structuredClone==="function"?(Z,J)=>J&&(("json"in J)||("lossy"in J))?W0(U0(Z,J)):structuredClone(Z):(Z,J)=>W0(U0(Z,J));function NZ(Z,J){let Q=[{type:"text",value:"↩"}];if(J>1)Q.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(J)}]});return Q}function VZ(Z,J){return"Back to reference "+(Z+1)+(J>1?"-"+J:"")}function P7(Z){let J=typeof Z.options.clobberPrefix==="string"?Z.options.clobberPrefix:"user-content-",Q=Z.options.footnoteBackContent||NZ,X=Z.options.footnoteBackLabel||VZ,K=Z.options.footnoteLabel||"Footnotes",Y=Z.options.footnoteLabelTagName||"h2",G=Z.options.footnoteLabelProperties||{className:["sr-only"]},H=[],q=-1;while(++q<Z.footnoteOrder.length){let N=Z.footnoteById.get(Z.footnoteOrder[q]);if(!N)continue;let W=Z.all(N),U=String(N.identifier).toUpperCase(),M=F1(U.toLowerCase()),V=0,L=[],R=Z.footnoteCounts.get(U);while(R!==void 0&&++V<=R){if(L.length>0)L.push({type:"text",value:" "});let I=typeof Q==="string"?Q:Q(q,V);if(typeof I==="string")I={type:"text",value:I};L.push({type:"element",tagName:"a",properties:{href:"#"+J+"fnref-"+M+(V>1?"-"+V:""),dataFootnoteBackref:"",ariaLabel:typeof X==="string"?X:X(q,V),className:["data-footnote-backref"]},children:Array.isArray(I)?I:[I]})}let C=W[W.length-1];if(C&&C.type==="element"&&C.tagName==="p"){let I=C.children[C.children.length-1];if(I&&I.type==="text")I.value+=" ";else C.children.push({type:"text",value:" "});C.children.push(...L)}else W.push(...L);let j={type:"element",tagName:"li",properties:{id:J+"fn-"+M},children:Z.wrap(W,!0)};Z.patch(N,j),H.push(j)}if(H.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Y,properties:{...N5(G),id:"footnote-label"},children:[{type:"text",value:K}]},{type:"text",value:`
4
- `},{type:"element",tagName:"ol",properties:{},children:Z.wrap(H,!0)},{type:"text",value:`
5
- `}]}}var h1=function(Z){if(Z===null||Z===void 0)return DZ;if(typeof Z==="function")return F6(Z);if(typeof Z==="object")return Array.isArray(Z)?MZ(Z):FZ(Z);if(typeof Z==="string")return BZ(Z);throw Error("Expected function, string, or object as test")};function MZ(Z){let J=[],Q=-1;while(++Q<Z.length)J[Q]=h1(Z[Q]);return F6(X);function X(...K){let Y=-1;while(++Y<J.length)if(J[Y].apply(this,K))return!0;return!1}}function FZ(Z){let J=Z;return F6(Q);function Q(X){let K=X,Y;for(Y in Z)if(K[Y]!==J[Y])return!1;return!0}}function BZ(Z){return F6(J);function J(Q){return Q&&Q.type===Z}}function F6(Z){return J;function J(Q,X,K){return Boolean(LZ(Q)&&Z.call(this,Q,typeof X==="number"?X:void 0,K||void 0))}}function DZ(){return!0}function LZ(Z){return Z!==null&&typeof Z==="object"&&"type"in Z}function C7(Z){return Z}var S7=[],B6=!0,t1=!1,D6="skip";function p5(Z,J,Q,X){let K;if(typeof J==="function"&&typeof Q!=="function")X=Q,Q=J;else K=J;let Y=h1(K),G=X?-1:1;H(Z,void 0,[])();function H(q,N,W){let U=q&&typeof q==="object"?q:{};if(typeof U.type==="string"){let V=typeof U.tagName==="string"?U.tagName:typeof U.name==="string"?U.name:void 0;Object.defineProperty(M,"name",{value:"node ("+C7(q.type+(V?"<"+V+">":""))+")"})}return M;function M(){let V=S7,L,R,C;if(!J||Y(q,N,W[W.length-1]||void 0)){if(V=RZ(Q(q,W)),V[0]===t1)return V}if("children"in q&&q.children){let j=q;if(j.children&&V[0]!==D6){R=(X?j.children.length:-1)+G,C=W.concat(j);while(R>-1&&R<j.children.length){let I=j.children[R];if(L=H(I,R,C)(),L[0]===t1)return L;R=typeof L[1]==="number"?L[1]:R+G}}}return V}}}function RZ(Z){if(Array.isArray(Z))return Z;if(typeof Z==="number")return[B6,Z];return Z===null||Z===void 0?S7:[Z]}function e1(Z,J,Q,X){let K,Y,G;if(typeof J==="function"&&typeof Q!=="function")Y=void 0,G=J,K=Q;else Y=J,G=Q,K=X;p5(Z,Y,H,K);function H(q,N){let W=N[N.length-1],U=W?W.children.indexOf(q):void 0;return G(q,U,W)}}function w7(Z,J){let Q={type:"element",tagName:"blockquote",properties:{},children:Z.wrap(Z.all(J),!0)};return Z.patch(J,Q),Z.applyData(J,Q)}function E7(Z,J){let Q={type:"element",tagName:"br",properties:{},children:[]};return Z.patch(J,Q),[Z.applyData(J,Q),{type:"text",value:`
6
- `}]}function I7(Z,J){let Q=J.value?J.value+`
7
- `:"",X={},K=J.lang?J.lang.split(/\s+/):[];if(K.length>0)X.className=["language-"+K[0]];let Y={type:"element",tagName:"code",properties:X,children:[{type:"text",value:Q}]};if(J.meta)Y.data={meta:J.meta};return Z.patch(J,Y),Y=Z.applyData(J,Y),Y={type:"element",tagName:"pre",properties:{},children:[Y]},Z.patch(J,Y),Y}function g7(Z,J){let Q={type:"element",tagName:"del",properties:{},children:Z.all(J)};return Z.patch(J,Q),Z.applyData(J,Q)}function b7(Z,J){let Q={type:"element",tagName:"em",properties:{},children:Z.all(J)};return Z.patch(J,Q),Z.applyData(J,Q)}function y7(Z,J){let Q=typeof Z.options.clobberPrefix==="string"?Z.options.clobberPrefix:"user-content-",X=String(J.identifier).toUpperCase(),K=F1(X.toLowerCase()),Y=Z.footnoteOrder.indexOf(X),G,H=Z.footnoteCounts.get(X);if(H===void 0)H=0,Z.footnoteOrder.push(X),G=Z.footnoteOrder.length;else G=Y+1;H+=1,Z.footnoteCounts.set(X,H);let q={type:"element",tagName:"a",properties:{href:"#"+Q+"fn-"+K,id:Q+"fnref-"+K+(H>1?"-"+H:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(G)}]};Z.patch(J,q);let N={type:"element",tagName:"sup",properties:{},children:[q]};return Z.patch(J,N),Z.applyData(J,N)}function h7(Z,J){let Q={type:"element",tagName:"h"+J.depth,properties:{},children:Z.all(J)};return Z.patch(J,Q),Z.applyData(J,Q)}function x7(Z,J){if(Z.options.allowDangerousHtml){let Q={type:"raw",value:J.value};return Z.patch(J,Q),Z.applyData(J,Q)}return}function L6(Z,J){let Q=J.referenceType,X="]";if(Q==="collapsed")X+="[]";else if(Q==="full")X+="["+(J.label||J.identifier)+"]";if(J.type==="imageReference")return[{type:"text",value:"!["+J.alt+X}];let K=Z.all(J),Y=K[0];if(Y&&Y.type==="text")Y.value="["+Y.value;else K.unshift({type:"text",value:"["});let G=K[K.length-1];if(G&&G.type==="text")G.value+=X;else K.push({type:"text",value:X});return K}function m7(Z,J){let Q=String(J.identifier).toUpperCase(),X=Z.definitionById.get(Q);if(!X)return L6(Z,J);let K={src:F1(X.url||""),alt:J.alt};if(X.title!==null&&X.title!==void 0)K.title=X.title;let Y={type:"element",tagName:"img",properties:K,children:[]};return Z.patch(J,Y),Z.applyData(J,Y)}function k7(Z,J){let Q={src:F1(J.url)};if(J.alt!==null&&J.alt!==void 0)Q.alt=J.alt;if(J.title!==null&&J.title!==void 0)Q.title=J.title;let X={type:"element",tagName:"img",properties:Q,children:[]};return Z.patch(J,X),Z.applyData(J,X)}function v7(Z,J){let Q={type:"text",value:J.value.replace(/\r?\n|\r/g," ")};Z.patch(J,Q);let X={type:"element",tagName:"code",properties:{},children:[Q]};return Z.patch(J,X),Z.applyData(J,X)}function p7(Z,J){let Q=String(J.identifier).toUpperCase(),X=Z.definitionById.get(Q);if(!X)return L6(Z,J);let K={href:F1(X.url||"")};if(X.title!==null&&X.title!==void 0)K.title=X.title;let Y={type:"element",tagName:"a",properties:K,children:Z.all(J)};return Z.patch(J,Y),Z.applyData(J,Y)}function u7(Z,J){let Q={href:F1(J.url)};if(J.title!==null&&J.title!==void 0)Q.title=J.title;let X={type:"element",tagName:"a",properties:Q,children:Z.all(J)};return Z.patch(J,X),Z.applyData(J,X)}function f7(Z,J,Q){let X=Z.all(J),K=Q?jZ(Q):l7(J),Y={},G=[];if(typeof J.checked==="boolean"){let W=X[0],U;if(W&&W.type==="element"&&W.tagName==="p")U=W;else U={type:"element",tagName:"p",properties:{},children:[]},X.unshift(U);if(U.children.length>0)U.children.unshift({type:"text",value:" "});U.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:J.checked,disabled:!0},children:[]}),Y.className=["task-list-item"]}let H=-1;while(++H<X.length){let W=X[H];if(K||H!==0||W.type!=="element"||W.tagName!=="p")G.push({type:"text",value:`
8
- `});if(W.type==="element"&&W.tagName==="p"&&!K)G.push(...W.children);else G.push(W)}let q=X[X.length-1];if(q&&(K||q.type!=="element"||q.tagName!=="p"))G.push({type:"text",value:`
9
- `});let N={type:"element",tagName:"li",properties:Y,children:G};return Z.patch(J,N),Z.applyData(J,N)}function jZ(Z){let J=!1;if(Z.type==="list"){J=Z.spread||!1;let Q=Z.children,X=-1;while(!J&&++X<Q.length)J=l7(Q[X])}return J}function l7(Z){let J=Z.spread;return J===null||J===void 0?Z.children.length>1:J}function i7(Z,J){let Q={},X=Z.all(J),K=-1;if(typeof J.start==="number"&&J.start!==1)Q.start=J.start;while(++K<X.length){let G=X[K];if(G.type==="element"&&G.tagName==="li"&&G.properties&&Array.isArray(G.properties.className)&&G.properties.className.includes("task-list-item")){Q.className=["contains-task-list"];break}}let Y={type:"element",tagName:J.ordered?"ol":"ul",properties:Q,children:Z.wrap(X,!0)};return Z.patch(J,Y),Z.applyData(J,Y)}function r7(Z,J){let Q={type:"element",tagName:"p",properties:{},children:Z.all(J)};return Z.patch(J,Q),Z.applyData(J,Q)}function a7(Z,J){let Q={type:"root",children:Z.wrap(Z.all(J))};return Z.patch(J,Q),Z.applyData(J,Q)}function d7(Z,J){let Q={type:"element",tagName:"strong",properties:{},children:Z.all(J)};return Z.patch(J,Q),Z.applyData(J,Q)}function c7(Z,J){let Q=Z.all(J),X=Q.shift(),K=[];if(X){let G={type:"element",tagName:"thead",properties:{},children:Z.wrap([X],!0)};Z.patch(J.children[0],G),K.push(G)}if(Q.length>0){let G={type:"element",tagName:"tbody",properties:{},children:Z.wrap(Q,!0)},H=G5(J.children[1]),q=o5(J.children[J.children.length-1]);if(H&&q)G.position={start:H,end:q};K.push(G)}let Y={type:"element",tagName:"table",properties:{},children:Z.wrap(K,!0)};return Z.patch(J,Y),Z.applyData(J,Y)}function n7(Z,J,Q){let X=Q?Q.children:void 0,Y=(X?X.indexOf(J):1)===0?"th":"td",G=Q&&Q.type==="table"?Q.align:void 0,H=G?G.length:J.children.length,q=-1,N=[];while(++q<H){let U=J.children[q],M={},V=G?G[q]:void 0;if(V)M.align=V;let L={type:"element",tagName:Y,properties:M,children:[]};if(U)L.children=Z.all(U),Z.patch(U,L),L=Z.applyData(U,L);N.push(L)}let W={type:"element",tagName:"tr",properties:{},children:Z.wrap(N,!0)};return Z.patch(J,W),Z.applyData(J,W)}function s7(Z,J){let Q={type:"element",tagName:"td",properties:{},children:Z.all(J)};return Z.patch(J,Q),Z.applyData(J,Q)}function t7(Z){let J=String(Z),Q=/\r?\n|\r/g,X=Q.exec(J),K=0,Y=[];while(X)Y.push(o7(J.slice(K,X.index),K>0,!0),X[0]),K=X.index+X[0].length,X=Q.exec(J);return Y.push(o7(J.slice(K),K>0,!1)),Y.join("")}function o7(Z,J,Q){let X=0,K=Z.length;if(J){let Y=Z.codePointAt(X);while(Y===9||Y===32)X++,Y=Z.codePointAt(X)}if(Q){let Y=Z.codePointAt(K-1);while(Y===9||Y===32)K--,Y=Z.codePointAt(K-1)}return K>X?Z.slice(X,K):""}function e7(Z,J){let Q={type:"text",value:t7(String(J.value))};return Z.patch(J,Q),Z.applyData(J,Q)}function Z4(Z,J){let Q={type:"element",tagName:"hr",properties:{},children:[]};return Z.patch(J,Q),Z.applyData(J,Q)}var Q4={blockquote:w7,break:E7,code:I7,delete:g7,emphasis:b7,footnoteReference:y7,heading:h7,html:x7,imageReference:m7,image:k7,inlineCode:v7,linkReference:p7,link:u7,listItem:f7,list:i7,paragraph:r7,root:a7,strong:d7,table:c7,tableCell:s7,tableRow:n7,text:e7,thematicBreak:Z4,toml:R6,yaml:R6,definition:R6,footnoteDefinition:R6};function R6(){return}var N0={}.hasOwnProperty,TZ={};function X4(Z,J){let Q=J||TZ,X=new Map,K=new Map,Y=new Map,G={...Q4,...Q.handlers},H={all:N,applyData:OZ,definitionById:X,footnoteById:K,footnoteCounts:Y,footnoteOrder:[],handlers:G,one:q,options:Q,patch:AZ,wrap:PZ};return e1(Z,function(W){if(W.type==="definition"||W.type==="footnoteDefinition"){let U=W.type==="definition"?X:K,M=String(W.identifier).toUpperCase();if(!U.has(M))U.set(M,W)}}),H;function q(W,U){let M=W.type,V=H.handlers[M];if(N0.call(H.handlers,M)&&V)return V(H,W,U);if(H.options.passThrough&&H.options.passThrough.includes(M)){if("children"in W){let{children:R,...C}=W,j=N5(C);return j.children=H.all(W),j}return N5(W)}return(H.options.unknownHandler||zZ)(H,W,U)}function N(W){let U=[];if("children"in W){let M=W.children,V=-1;while(++V<M.length){let L=H.one(M[V],W);if(L){if(V&&M[V-1].type==="break"){if(!Array.isArray(L)&&L.type==="text")L.value=J4(L.value);if(!Array.isArray(L)&&L.type==="element"){let R=L.children[0];if(R&&R.type==="text")R.value=J4(R.value)}}if(Array.isArray(L))U.push(...L);else U.push(L)}}}return U}}function AZ(Z,J){if(Z.position)J.position=f6(Z)}function OZ(Z,J){let Q=J;if(Z&&Z.data){let X=Z.data.hName,K=Z.data.hChildren,Y=Z.data.hProperties;if(typeof X==="string")if(Q.type==="element")Q.tagName=X;else{let G="children"in Q?Q.children:[Q];Q={type:"element",tagName:X,properties:{},children:G}}if(Q.type==="element"&&Y)Object.assign(Q.properties,N5(Y));if("children"in Q&&Q.children&&K!==null&&K!==void 0)Q.children=K}return Q}function zZ(Z,J){let Q=J.data||{},X="value"in J&&!(N0.call(Q,"hProperties")||N0.call(Q,"hChildren"))?{type:"text",value:J.value}:{type:"element",tagName:"div",properties:{},children:Z.all(J)};return Z.patch(J,X),Z.applyData(J,X)}function PZ(Z,J){let Q=[],X=-1;if(J)Q.push({type:"text",value:`
10
- `});while(++X<Z.length){if(X)Q.push({type:"text",value:`
11
- `});Q.push(Z[X])}if(J&&Z.length>0)Q.push({type:"text",value:`
12
- `});return Q}function J4(Z){let J=0,Q=Z.charCodeAt(J);while(Q===9||Q===32)J++,Q=Z.charCodeAt(J);return Z.slice(J)}function j6(Z,J){let Q=X4(Z,J),X=Q.one(Z,void 0),K=P7(Q),Y=Array.isArray(X)?{type:"root",children:X}:X||{type:"root",children:[]};if(K)F("children"in Y),Y.children.push({type:"text",value:`
13
- `},K);return Y}function T6(Z,J){if(Z&&"run"in Z)return async function(Q,X){let K=j6(Q,{file:X,...J});await Z.run(K,X)};return function(Q,X){return j6(Q,{file:X,...Z||J})}}function V0(Z){if(Z)throw Z}var z6=f1(U4(),1);function u5(Z){if(typeof Z!=="object"||Z===null)return!1;let J=Object.getPrototypeOf(Z);return(J===null||J===Object.prototype||Object.getPrototypeOf(J)===null)&&!(Symbol.toStringTag in Z)&&!(Symbol.iterator in Z)}function M0(){let Z=[],J={run:Q,use:X};return J;function Q(...K){let Y=-1,G=K.pop();if(typeof G!=="function")throw TypeError("Expected function as last argument, not "+G);H(null,...K);function H(q,...N){let W=Z[++Y],U=-1;if(q){G(q);return}while(++U<K.length)if(N[U]===null||N[U]===void 0)N[U]=K[U];if(K=N,W)N4(W,H)(...N);else G(null,...N)}}function X(K){if(typeof K!=="function")throw TypeError("Expected `middelware` to be a function, not "+K);return Z.push(K),J}}function N4(Z,J){let Q;return X;function X(...G){let H=Z.length>G.length,q;if(H)G.push(K);try{q=Z.apply(this,G)}catch(N){let W=N;if(H&&Q)throw W;return K(W)}if(!H)if(q&&q.then&&typeof q.then==="function")q.then(Y,K);else if(q instanceof Error)K(q);else Y(q)}function K(G,...H){if(!Q)Q=!0,J(G,...H)}function Y(G){K(null,G)}}var B1={basename:CZ,dirname:SZ,extname:wZ,join:EZ,sep:"/"};function CZ(Z,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');f5(Z);let Q=0,X=-1,K=Z.length,Y;if(J===void 0||J.length===0||J.length>Z.length){while(K--)if(Z.codePointAt(K)===47){if(Y){Q=K+1;break}}else if(X<0)Y=!0,X=K+1;return X<0?"":Z.slice(Q,X)}if(J===Z)return"";let G=-1,H=J.length-1;while(K--)if(Z.codePointAt(K)===47){if(Y){Q=K+1;break}}else{if(G<0)Y=!0,G=K+1;if(H>-1)if(Z.codePointAt(K)===J.codePointAt(H--)){if(H<0)X=K}else H=-1,X=G}if(Q===X)X=G;else if(X<0)X=Z.length;return Z.slice(Q,X)}function SZ(Z){if(f5(Z),Z.length===0)return".";let J=-1,Q=Z.length,X;while(--Q)if(Z.codePointAt(Q)===47){if(X){J=Q;break}}else if(!X)X=!0;return J<0?Z.codePointAt(0)===47?"/":".":J===1&&Z.codePointAt(0)===47?"//":Z.slice(0,J)}function wZ(Z){f5(Z);let J=Z.length,Q=-1,X=0,K=-1,Y=0,G;while(J--){let H=Z.codePointAt(J);if(H===47){if(G){X=J+1;break}continue}if(Q<0)G=!0,Q=J+1;if(H===46){if(K<0)K=J;else if(Y!==1)Y=1}else if(K>-1)Y=-1}if(K<0||Q<0||Y===0||Y===1&&K===Q-1&&K===X+1)return"";return Z.slice(K,Q)}function EZ(...Z){let J=-1,Q;while(++J<Z.length)if(f5(Z[J]),Z[J])Q=Q===void 0?Z[J]:Q+"/"+Z[J];return Q===void 0?".":IZ(Q)}function IZ(Z){f5(Z);let J=Z.codePointAt(0)===47,Q=gZ(Z,!J);if(Q.length===0&&!J)Q=".";if(Q.length>0&&Z.codePointAt(Z.length-1)===47)Q+="/";return J?"/"+Q:Q}function gZ(Z,J){let Q="",X=0,K=-1,Y=0,G=-1,H,q;while(++G<=Z.length){if(G<Z.length)H=Z.codePointAt(G);else if(H===47)break;else H=47;if(H===47){if(K===G-1||Y===1);else if(K!==G-1&&Y===2){if(Q.length<2||X!==2||Q.codePointAt(Q.length-1)!==46||Q.codePointAt(Q.length-2)!==46){if(Q.length>2){if(q=Q.lastIndexOf("/"),q!==Q.length-1){if(q<0)Q="",X=0;else Q=Q.slice(0,q),X=Q.length-1-Q.lastIndexOf("/");K=G,Y=0;continue}}else if(Q.length>0){Q="",X=0,K=G,Y=0;continue}}if(J)Q=Q.length>0?Q+"/..":"..",X=2}else{if(Q.length>0)Q+="/"+Z.slice(K+1,G);else Q=Z.slice(K+1,G);X=G-K-1}K=G,Y=0}else if(H===46&&Y>-1)Y++;else Y=-1}return Q}function f5(Z){if(typeof Z!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(Z))}var V4={cwd:bZ};function bZ(){return"/"}function V5(Z){return Boolean(Z!==null&&typeof Z==="object"&&"href"in Z&&Z.href&&"protocol"in Z&&Z.protocol&&Z.auth===void 0)}function M4(Z){if(typeof Z==="string")Z=new URL(Z);else if(!V5(Z)){let J=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+Z+"`");throw J.code="ERR_INVALID_ARG_TYPE",J}if(Z.protocol!=="file:"){let J=TypeError("The URL must be of scheme file");throw J.code="ERR_INVALID_URL_SCHEME",J}return yZ(Z)}function yZ(Z){if(Z.hostname!==""){let X=TypeError('File URL host must be "localhost" or empty on darwin');throw X.code="ERR_INVALID_FILE_URL_HOST",X}let J=Z.pathname,Q=-1;while(++Q<J.length)if(J.codePointAt(Q)===37&&J.codePointAt(Q+1)===50){let X=J.codePointAt(Q+2);if(X===70||X===102){let K=TypeError("File URL path must not include encoded / characters");throw K.code="ERR_INVALID_FILE_URL_PATH",K}}return decodeURIComponent(J)}var F0=["history","path","basename","stem","extname","dirname"];class M5{constructor(Z){let J;if(!Z)J={};else if(V5(Z))J={path:Z};else if(typeof Z==="string"||hZ(Z))J={value:Z};else J=Z;this.cwd="cwd"in J?"":V4.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let Q=-1;while(++Q<F0.length){let K=F0[Q];if(K in J&&J[K]!==void 0&&J[K]!==null)this[K]=K==="history"?[...J[K]]:J[K]}let X;for(X in J)if(!F0.includes(X))this[X]=J[X]}get basename(){return typeof this.path==="string"?B1.basename(this.path):void 0}set basename(Z){D0(Z,"basename"),B0(Z,"basename"),this.path=B1.join(this.dirname||"",Z)}get dirname(){return typeof this.path==="string"?B1.dirname(this.path):void 0}set dirname(Z){F4(this.basename,"dirname"),this.path=B1.join(Z||"",this.basename)}get extname(){return typeof this.path==="string"?B1.extname(this.path):void 0}set extname(Z){if(B0(Z,"extname"),F4(this.dirname,"extname"),Z){if(Z.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(Z.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=B1.join(this.dirname,this.stem+(Z||""))}get path(){return this.history[this.history.length-1]}set path(Z){if(V5(Z))Z=M4(Z);if(D0(Z,"path"),this.path!==Z)this.history.push(Z)}get stem(){return typeof this.path==="string"?B1.basename(this.path,this.extname):void 0}set stem(Z){D0(Z,"stem"),B0(Z,"stem"),this.path=B1.join(this.dirname||"",Z+(this.extname||""))}fail(Z,J,Q){let X=this.message(Z,J,Q);throw X.fatal=!0,X}info(Z,J,Q){let X=this.message(Z,J,Q);return X.fatal=void 0,X}message(Z,J,Q){let X=new e(Z,J,Q);if(this.path)X.name=this.path+":"+X.name,X.file=this.path;return X.fatal=!1,this.messages.push(X),X}toString(Z){if(this.value===void 0)return"";if(typeof this.value==="string")return this.value;return new TextDecoder(Z||void 0).decode(this.value)}}function B0(Z,J){if(Z&&Z.includes(B1.sep))throw Error("`"+J+"` cannot be a path: did not expect `"+B1.sep+"`")}function D0(Z,J){if(!Z)throw Error("`"+J+"` cannot be empty")}function F4(Z,J){if(!Z)throw Error("Setting `"+J+"` requires `path` to be set too")}function hZ(Z){return Boolean(Z&&typeof Z==="object"&&"byteLength"in Z&&"byteOffset"in Z)}var B4=function(Z){let X=this.constructor.prototype,K=X[Z],Y=function(){return K.apply(Y,arguments)};return Object.setPrototypeOf(Y,X),Y};var xZ={}.hasOwnProperty;class T0 extends B4{constructor(){super("copy");this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=M0()}copy(){let Z=new T0,J=-1;while(++J<this.attachers.length){let Q=this.attachers[J];Z.use(...Q)}return Z.data(z6.default(!0,{},this.namespace)),Z}data(Z,J){if(typeof Z==="string"){if(arguments.length===2)return j0("data",this.frozen),this.namespace[Z]=J,this;return xZ.call(this.namespace,Z)&&this.namespace[Z]||void 0}if(Z)return j0("data",this.frozen),this.namespace=Z,this;return this.namespace}freeze(){if(this.frozen)return this;let Z=this;while(++this.freezeIndex<this.attachers.length){let[J,...Q]=this.attachers[this.freezeIndex];if(Q[0]===!1)continue;if(Q[0]===!0)Q[0]=void 0;let X=J.call(Z,...Q);if(typeof X==="function")this.transformers.use(X)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(Z){this.freeze();let J=O6(Z),Q=this.parser||this.Parser;return L0("parse",Q),Q(String(J),J)}process(Z,J){let Q=this;return this.freeze(),L0("process",this.parser||this.Parser),R0("process",this.compiler||this.Compiler),J?X(void 0,J):new Promise(X);function X(K,Y){let G=O6(Z),H=Q.parse(G);Q.run(H,G,function(N,W,U){if(N||!W||!U)return q(N);let M=W,V=Q.stringify(M,U);if(kZ(V))U.value=V;else U.result=V;q(N,U)});function q(N,W){if(N||!W)Y(N);else if(K)K(W);else F(J,"`done` is defined if `resolve` is not"),J(void 0,W)}}}processSync(Z){let J=!1,Q;return this.freeze(),L0("processSync",this.parser||this.Parser),R0("processSync",this.compiler||this.Compiler),this.process(Z,X),L4("processSync","process",J),F(Q,"we either bailed on an error or have a tree"),Q;function X(K,Y){J=!0,V0(K),Q=Y}}run(Z,J,Q){D4(Z),this.freeze();let X=this.transformers;if(!Q&&typeof J==="function")Q=J,J=void 0;return Q?K(void 0,Q):new Promise(K);function K(Y,G){F(typeof J!=="function","`file` can’t be a `done` anymore, we checked");let H=O6(J);X.run(Z,H,q);function q(N,W,U){let M=W||Z;if(N)G(N);else if(Y)Y(M);else F(Q,"`done` is defined if `resolve` is not"),Q(void 0,M,U)}}}runSync(Z,J){let Q=!1,X;return this.run(Z,J,K),L4("runSync","run",Q),F(X,"we either bailed on an error or have a tree"),X;function K(Y,G){V0(Y),X=G,Q=!0}}stringify(Z,J){this.freeze();let Q=O6(J),X=this.compiler||this.Compiler;return R0("stringify",X),D4(Z),X(Z,Q)}use(Z,...J){let Q=this.attachers,X=this.namespace;if(j0("use",this.frozen),Z===null||Z===void 0);else if(typeof Z==="function")H(Z,J);else if(typeof Z==="object")if(Array.isArray(Z))G(Z);else Y(Z);else throw TypeError("Expected usable value, not `"+Z+"`");return this;function K(q){if(typeof q==="function")H(q,[]);else if(typeof q==="object")if(Array.isArray(q)){let[N,...W]=q;H(N,W)}else Y(q);else throw TypeError("Expected usable value, not `"+q+"`")}function Y(q){if(!("plugins"in q)&&!("settings"in q))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");if(G(q.plugins),q.settings)X.settings=z6.default(!0,X.settings,q.settings)}function G(q){let N=-1;if(q===null||q===void 0);else if(Array.isArray(q))while(++N<q.length){let W=q[N];K(W)}else throw TypeError("Expected a list of plugins, not `"+q+"`")}function H(q,N){let W=-1,U=-1;while(++W<Q.length)if(Q[W][0]===q){U=W;break}if(U===-1)Q.push([q,...N]);else if(N.length>0){let[M,...V]=N,L=Q[U][1];if(u5(L)&&u5(M))M=z6.default(!0,L,M);Q[U]=[q,M,...V]}}}}var A0=new T0().freeze();function L0(Z,J){if(typeof J!=="function")throw TypeError("Cannot `"+Z+"` without `parser`")}function R0(Z,J){if(typeof J!=="function")throw TypeError("Cannot `"+Z+"` without `compiler`")}function j0(Z,J){if(J)throw Error("Cannot call `"+Z+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function D4(Z){if(!u5(Z)||typeof Z.type!=="string")throw TypeError("Expected node, got `"+Z+"`")}function L4(Z,J,Q){if(!Q)throw Error("`"+Z+"` finished async. Use `"+J+"` instead")}function O6(Z){return mZ(Z)?Z:new M5(Z)}function mZ(Z){return Boolean(Z&&typeof Z==="object"&&"message"in Z&&"messages"in Z)}function kZ(Z){return typeof Z==="string"||vZ(Z)}function vZ(Z){return Boolean(Z&&typeof Z==="object"&&"byteLength"in Z&&"byteOffset"in Z)}var fZ="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",R4=[],j4={allowDangerousHtml:!0},lZ=/^(https?|ircs?|mailto|xmpp)$/i,iZ=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function O0(Z){let J=rZ(Z),Q=aZ(Z);return dZ(J.runSync(J.parse(Q),Q),Z)}function rZ(Z){let J=Z.rehypePlugins||R4,Q=Z.remarkPlugins||R4,X=Z.remarkRehypeOptions?{...Z.remarkRehypeOptions,...j4}:j4;return A0().use(W6).use(Q).use(T6,X).use(J)}function aZ(Z){let J=Z.children||"",Q=new M5;if(typeof J==="string")Q.value=J;else r5("Unexpected value `"+J+"` for `children` prop, expected `string`");return Q}function dZ(Z,J){let{allowedElements:Q,allowElement:X,components:K,disallowedElements:Y,skipHtml:G,unwrapDisallowed:H}=J,q=J.urlTransform||A4;for(let W of iZ)if(Object.hasOwn(J,W.from))r5("Unexpected `"+W.from+"` prop, "+(W.to?"use `"+W.to+"` instead":"remove it")+" (see <"+fZ+"#"+W.id+"> for more info)");if(Q&&Y)r5("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return e1(Z,N),r6(Z,{Fragment:F5.Fragment,components:K,ignoreInvalidStyle:!0,jsx:F5.jsx,jsxs:F5.jsxs,passKeys:!0,passNode:!0});function N(W,U,M){if(W.type==="raw"&&M&&typeof U==="number"){if(G)M.children.splice(U,1);else M.children[U]={type:"text",value:W.value};return U}if(W.type==="element"){let V;for(V in S5)if(Object.hasOwn(S5,V)&&Object.hasOwn(W.properties,V)){let L=W.properties[V],R=S5[V];if(R===null||R.includes(W.tagName))W.properties[V]=q(String(L||""),V,W)}}if(W.type==="element"){let V=Q?!Q.includes(W.tagName):Y?Y.includes(W.tagName):!1;if(!V&&X&&typeof U==="number")V=!X(W,U,M);if(V&&M&&typeof U==="number"){if(H&&W.children)M.children.splice(U,1,...W.children);else M.children.splice(U,1);return U}}}}function A4(Z){let J=Z.indexOf(":"),Q=Z.indexOf("?"),X=Z.indexOf("#"),K=Z.indexOf("/");if(J===-1||K!==-1&&J>K||Q!==-1&&J>Q||X!==-1&&J>X||lZ.test(Z.slice(0,J)))return Z;return""}function z0(Z,J){let Q=String(Z);if(typeof J!=="string")throw TypeError("Expected character");let X=0,K=Q.indexOf(J);while(K!==-1)X++,K=Q.indexOf(J,K+J.length);return X}function P0(Z){if(typeof Z!=="string")throw TypeError("Expected a string");return Z.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function C0(Z,J,Q){let K=h1((Q||{}).ignore||[]),Y=cZ(J),G=-1;while(++G<Y.length)p5(Z,"text",H);function H(N,W){let U=-1,M;while(++U<W.length){let V=W[U],L=M?M.children:void 0;if(K(V,L?L.indexOf(V):void 0,M))return;M=V}if(M)return q(N,W)}function q(N,W){let U=W[W.length-1],M=Y[G][0],V=Y[G][1],L=0,C=U.children.indexOf(N),j=!1,I=[];M.lastIndex=0;let E=M.exec(N.value);while(E){let m=E.index,v={index:E.index,input:E.input,stack:[...W,N]},z=V(...E,v);if(typeof z==="string")z=z.length>0?{type:"text",value:z}:void 0;if(z===!1)M.lastIndex=m+1;else{if(L!==m)I.push({type:"text",value:N.value.slice(L,m)});if(Array.isArray(z))I.push(...z);else if(z)I.push(z);L=m+E[0].length,j=!0}if(!M.global)break;E=M.exec(N.value)}if(j){if(L<N.value.length)I.push({type:"text",value:N.value.slice(L)});U.children.splice(C,1,...I)}else I=[N];return C+I.length}}function cZ(Z){let J=[];if(!Array.isArray(Z))throw TypeError("Expected find and replace tuple or list of tuples");let Q=!Z[0]||Array.isArray(Z[0])?Z:[Z],X=-1;while(++X<Q.length){let K=Q[X];J.push([nZ(K[0]),sZ(K[1])])}return J}function nZ(Z){return typeof Z==="string"?new RegExp(P0(Z),"g"):Z}function sZ(Z){return typeof Z==="function"?Z:function(){return Z}}var S0="phrasing",w0=["autolink","link","image","label"];function I0(){return{transforms:[JQ],enter:{literalAutolink:oZ,literalAutolinkEmail:E0,literalAutolinkHttp:E0,literalAutolinkWww:E0},exit:{literalAutolink:QQ,literalAutolinkEmail:ZQ,literalAutolinkHttp:tZ,literalAutolinkWww:eZ}}}function g0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:S0,notInConstruct:w0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:S0,notInConstruct:w0},{character:":",before:"[ps]",after:"\\/",inConstruct:S0,notInConstruct:w0}]}}function oZ(Z){this.enter({type:"link",title:null,url:"",children:[]},Z)}function E0(Z){this.config.enter.autolinkProtocol.call(this,Z)}function tZ(Z){this.config.exit.autolinkProtocol.call(this,Z)}function eZ(Z){this.config.exit.data.call(this,Z);let J=this.stack[this.stack.length-1];F(J.type==="link"),J.url="http://"+this.sliceSerialize(Z)}function ZQ(Z){this.config.exit.autolinkEmail.call(this,Z)}function QQ(Z){this.exit(Z)}function JQ(Z){C0(Z,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,XQ],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,KQ]],{ignore:["link","linkReference"]})}function XQ(Z,J,Q,X,K){let Y="";if(!O4(K))return!1;if(/^w/i.test(J))Q=J+Q,J="",Y="http://";if(!GQ(Q))return!1;let G=YQ(Q+X);if(!G[0])return!1;let H={type:"link",title:null,url:Y+J+G[0],children:[{type:"text",value:J+G[0]}]};if(G[1])return[H,{type:"text",value:G[1]}];return H}function KQ(Z,J,Q,X){if(!O4(X,!0)||/[-\d_]$/.test(Q))return!1;return{type:"link",title:null,url:"mailto:"+J+"@"+Q,children:[{type:"text",value:J+"@"+Q}]}}function GQ(Z){let J=Z.split(".");if(J.length<2||J[J.length-1]&&(/_/.test(J[J.length-1])||!/[a-zA-Z\d]/.test(J[J.length-1]))||J[J.length-2]&&(/_/.test(J[J.length-2])||!/[a-zA-Z\d]/.test(J[J.length-2])))return!1;return!0}function YQ(Z){let J=/[!"&'),.:;<>?\]}]+$/.exec(Z);if(!J)return[Z,void 0];Z=Z.slice(0,J.index);let Q=J[0],X=Q.indexOf(")"),K=z0(Z,"("),Y=z0(Z,")");while(X!==-1&&K>Y)Z+=Q.slice(0,X+1),Q=Q.slice(X+1),X=Q.indexOf(")"),Y++;return[Z,Q]}function O4(Z,J){let Q=Z.input.charCodeAt(Z.index-1);return(Z.index===0||L1(Q)||r1(Q))&&(!J||Q!==47)}z4.peek=MQ;function _Q(){this.buffer()}function HQ(Z){this.enter({type:"footnoteReference",identifier:"",label:""},Z)}function qQ(){this.buffer()}function $Q(Z){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},Z)}function WQ(Z){let J=this.resume(),Q=this.stack[this.stack.length-1];F(Q.type==="footnoteReference"),Q.identifier=G1(this.sliceSerialize(Z)).toLowerCase(),Q.label=J}function UQ(Z){this.exit(Z)}function NQ(Z){let J=this.resume(),Q=this.stack[this.stack.length-1];F(Q.type==="footnoteDefinition"),Q.identifier=G1(this.sliceSerialize(Z)).toLowerCase(),Q.label=J}function VQ(Z){this.exit(Z)}function MQ(){return"["}function z4(Z,J,Q,X){let K=Q.createTracker(X),Y=K.move("[^"),G=Q.enter("footnoteReference"),H=Q.enter("reference");return Y+=K.move(Q.safe(Q.associationId(Z),{after:"]",before:Y})),H(),G(),Y+=K.move("]"),Y}function b0(){return{enter:{gfmFootnoteCallString:_Q,gfmFootnoteCall:HQ,gfmFootnoteDefinitionLabelString:qQ,gfmFootnoteDefinition:$Q},exit:{gfmFootnoteCallString:WQ,gfmFootnoteCall:UQ,gfmFootnoteDefinitionLabelString:NQ,gfmFootnoteDefinition:VQ}}}function y0(Z){let J=!1;if(Z&&Z.firstLineBlank)J=!0;return{handlers:{footnoteDefinition:Q,footnoteReference:z4},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function Q(X,K,Y,G){let H=Y.createTracker(G),q=H.move("[^"),N=Y.enter("footnoteDefinition"),W=Y.enter("label");if(q+=H.move(Y.safe(Y.associationId(X),{before:q,after:"]"})),W(),q+=H.move("]:"),X.children&&X.children.length>0)H.shift(4),q+=H.move((J?`
14
- `:" ")+Y.indentLines(Y.containerFlow(X,H.current()),J?P4:FQ));return N(),q}}function FQ(Z,J,Q){return J===0?Z:P4(Z,J,Q)}function P4(Z,J,Q){return(Q?"":" ")+Z}var BQ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];C4.peek=RQ;function h0(){return{canContainEols:["delete"],enter:{strikethrough:DQ},exit:{strikethrough:LQ}}}function x0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:BQ}],handlers:{delete:C4}}}function DQ(Z){this.enter({type:"delete",children:[]},Z)}function LQ(Z){this.exit(Z)}function C4(Z,J,Q,X){let K=Q.createTracker(X),Y=Q.enter("strikethrough"),G=K.move("~~");return G+=Q.containerPhrasing(Z,{...K.current(),before:G,after:"~"}),G+=K.move("~~"),Y(),G}function RQ(){return"~"}function jQ(Z){return Z.length}function w4(Z,J){let Q=J||{},X=(Q.align||[]).concat(),K=Q.stringLength||jQ,Y=[],G=[],H=[],q=[],N=0,W=-1;while(++W<Z.length){let R=[],C=[],j=-1;if(Z[W].length>N)N=Z[W].length;while(++j<Z[W].length){let I=TQ(Z[W][j]);if(Q.alignDelimiters!==!1){let E=K(I);if(C[j]=E,q[j]===void 0||E>q[j])q[j]=E}R.push(I)}G[W]=R,H[W]=C}let U=-1;if(typeof X==="object"&&"length"in X)while(++U<N)Y[U]=S4(X[U]);else{let R=S4(X);while(++U<N)Y[U]=R}U=-1;let M=[],V=[];while(++U<N){let R=Y[U],C="",j="";if(R===99)C=":",j=":";else if(R===108)C=":";else if(R===114)j=":";let I=Q.alignDelimiters===!1?1:Math.max(1,q[U]-C.length-j.length),E=C+"-".repeat(I)+j;if(Q.alignDelimiters!==!1){if(I=C.length+I+j.length,I>q[U])q[U]=I;V[U]=I}M[U]=E}G.splice(1,0,M),H.splice(1,0,V),W=-1;let L=[];while(++W<G.length){let R=G[W],C=H[W];U=-1;let j=[];while(++U<N){let I=R[U]||"",E="",m="";if(Q.alignDelimiters!==!1){let v=q[U]-(C[U]||0),z=Y[U];if(z===114)E=" ".repeat(v);else if(z===99)if(v%2)E=" ".repeat(v/2+0.5),m=" ".repeat(v/2-0.5);else E=" ".repeat(v/2),m=E;else m=" ".repeat(v)}if(Q.delimiterStart!==!1&&!U)j.push("|");if(Q.padding!==!1&&!(Q.alignDelimiters===!1&&I==="")&&(Q.delimiterStart!==!1||U))j.push(" ");if(Q.alignDelimiters!==!1)j.push(E);if(j.push(I),Q.alignDelimiters!==!1)j.push(m);if(Q.padding!==!1)j.push(" ");if(Q.delimiterEnd!==!1||U!==N-1)j.push("|")}L.push(Q.delimiterEnd===!1?j.join("").replace(/ +$/,""):j.join(""))}return L.join(`
15
- `)}function TQ(Z){return Z===null||Z===void 0?"":String(Z)}function S4(Z){let J=typeof Z==="string"?Z.codePointAt(0):0;return J===67||J===99?99:J===76||J===108?108:J===82||J===114?114:0}function E4(Z,J,Q,X){let K=Q.enter("blockquote"),Y=Q.createTracker(X);Y.move("> "),Y.shift(2);let G=Q.indentLines(Q.containerFlow(Z,Y.current()),AQ);return K(),G}function AQ(Z,J,Q){return">"+(Q?"":" ")+Z}function g4(Z,J){return I4(Z,J.inConstruct,!0)&&!I4(Z,J.notInConstruct,!1)}function I4(Z,J,Q){if(typeof J==="string")J=[J];if(!J||J.length===0)return Q;let X=-1;while(++X<J.length)if(Z.includes(J[X]))return!0;return!1}function m0(Z,J,Q,X){let K=-1;while(++K<Q.unsafe.length)if(Q.unsafe[K].character===`
16
- `&&g4(Q.stack,Q.unsafe[K]))return/[ \t]/.test(X.before)?"":" ";return"\\\n"}function b4(Z,J){let Q=String(Z),X=Q.indexOf(J),K=X,Y=0,G=0;if(typeof J!=="string")throw TypeError("Expected substring");while(X!==-1){if(X===K){if(++Y>G)G=Y}else Y=1;K=X+J.length,X=Q.indexOf(J,K)}return G}function y4(Z,J){return Boolean(J.options.fences===!1&&Z.value&&!Z.lang&&/[^ \r\n]/.test(Z.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(Z.value))}function h4(Z){let J=Z.options.fence||"`";if(J!=="`"&&J!=="~")throw Error("Cannot serialize code with `"+J+"` for `options.fence`, expected `` ` `` or `~`");return J}function x4(Z,J,Q,X){let K=h4(Q),Y=Z.value||"",G=K==="`"?"GraveAccent":"Tilde";if(y4(Z,Q)){let U=Q.enter("codeIndented"),M=Q.indentLines(Y,OQ);return U(),M}let H=Q.createTracker(X),q=K.repeat(Math.max(b4(Y,K)+1,3)),N=Q.enter("codeFenced"),W=H.move(q);if(Z.lang){let U=Q.enter(`codeFencedLang${G}`);W+=H.move(Q.safe(Z.lang,{before:W,after:" ",encode:["`"],...H.current()})),U()}if(Z.lang&&Z.meta){let U=Q.enter(`codeFencedMeta${G}`);W+=H.move(" "),W+=H.move(Q.safe(Z.meta,{before:W,after:`
17
- `,encode:["`"],...H.current()})),U()}if(W+=H.move(`
18
- `),Y)W+=H.move(Y+`
19
- `);return W+=H.move(q),N(),W}function OQ(Z,J,Q){return(Q?"":" ")+Z}function B5(Z){let J=Z.options.quote||'"';if(J!=='"'&&J!=="'")throw Error("Cannot serialize title with `"+J+"` for `options.quote`, expected `\"`, or `'`");return J}function m4(Z,J,Q,X){let K=B5(Q),Y=K==='"'?"Quote":"Apostrophe",G=Q.enter("definition"),H=Q.enter("label"),q=Q.createTracker(X),N=q.move("[");if(N+=q.move(Q.safe(Q.associationId(Z),{before:N,after:"]",...q.current()})),N+=q.move("]: "),H(),!Z.url||/[\0- \u007F]/.test(Z.url))H=Q.enter("destinationLiteral"),N+=q.move("<"),N+=q.move(Q.safe(Z.url,{before:N,after:">",...q.current()})),N+=q.move(">");else H=Q.enter("destinationRaw"),N+=q.move(Q.safe(Z.url,{before:N,after:Z.title?" ":`
20
- `,...q.current()}));if(H(),Z.title)H=Q.enter(`title${Y}`),N+=q.move(" "+K),N+=q.move(Q.safe(Z.title,{before:N,after:K,...q.current()})),N+=q.move(K),H();return G(),N}function k4(Z){let J=Z.options.emphasis||"*";if(J!=="*"&&J!=="_")throw Error("Cannot serialize emphasis with `"+J+"` for `options.emphasis`, expected `*`, or `_`");return J}function x1(Z){return"&#x"+Z.toString(16).toUpperCase()+";"}function D5(Z,J,Q){let X=P1(Z),K=P1(J);if(X===void 0)return K===void 0?Q==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:K===1?{inside:!0,outside:!0}:{inside:!1,outside:!0};if(X===1)return K===void 0?{inside:!1,outside:!1}:K===1?{inside:!0,outside:!0}:{inside:!1,outside:!1};return K===void 0?{inside:!1,outside:!1}:K===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}k0.peek=zQ;function k0(Z,J,Q,X){let K=k4(Q),Y=Q.enter("emphasis"),G=Q.createTracker(X),H=G.move(K),q=G.move(Q.containerPhrasing(Z,{after:K,before:H,...G.current()})),N=q.charCodeAt(0),W=D5(X.before.charCodeAt(X.before.length-1),N,K);if(W.inside)q=x1(N)+q.slice(1);let U=q.charCodeAt(q.length-1),M=D5(X.after.charCodeAt(0),U,K);if(M.inside)q=q.slice(0,-1)+x1(U);let V=G.move(K);return Y(),Q.attentionEncodeSurroundingInfo={after:M.outside,before:W.outside},H+q+V}function zQ(Z,J,Q){return Q.options.emphasis||"*"}function v4(Z,J){let Q=!1;return e1(Z,function(X){if("value"in X&&/\r?\n|\r/.test(X.value)||X.type==="break")return Q=!0,t1}),Boolean((!Z.depth||Z.depth<3)&&l1(Z)&&(J.options.setext||Q))}function p4(Z,J,Q,X){let K=Math.max(Math.min(6,Z.depth||1),1),Y=Q.createTracker(X);if(v4(Z,Q)){let W=Q.enter("headingSetext"),U=Q.enter("phrasing"),M=Q.containerPhrasing(Z,{...Y.current(),before:`
21
- `,after:`
22
- `});return U(),W(),M+`
23
- `+(K===1?"=":"-").repeat(M.length-(Math.max(M.lastIndexOf("\r"),M.lastIndexOf(`
24
- `))+1))}let G="#".repeat(K),H=Q.enter("headingAtx"),q=Q.enter("phrasing");Y.move(G+" ");let N=Q.containerPhrasing(Z,{before:"# ",after:`
25
- `,...Y.current()});if(/^[\t ]/.test(N))N=x1(N.charCodeAt(0))+N.slice(1);if(N=N?G+" "+N:G,Q.options.closeAtx)N+=" "+G;return q(),H(),N}v0.peek=PQ;function v0(Z){return Z.value||""}function PQ(){return"<"}p0.peek=CQ;function p0(Z,J,Q,X){let K=B5(Q),Y=K==='"'?"Quote":"Apostrophe",G=Q.enter("image"),H=Q.enter("label"),q=Q.createTracker(X),N=q.move("![");if(N+=q.move(Q.safe(Z.alt,{before:N,after:"]",...q.current()})),N+=q.move("]("),H(),!Z.url&&Z.title||/[\0- \u007F]/.test(Z.url))H=Q.enter("destinationLiteral"),N+=q.move("<"),N+=q.move(Q.safe(Z.url,{before:N,after:">",...q.current()})),N+=q.move(">");else H=Q.enter("destinationRaw"),N+=q.move(Q.safe(Z.url,{before:N,after:Z.title?" ":")",...q.current()}));if(H(),Z.title)H=Q.enter(`title${Y}`),N+=q.move(" "+K),N+=q.move(Q.safe(Z.title,{before:N,after:K,...q.current()})),N+=q.move(K),H();return N+=q.move(")"),G(),N}function CQ(){return"!"}u0.peek=SQ;function u0(Z,J,Q,X){let K=Z.referenceType,Y=Q.enter("imageReference"),G=Q.enter("label"),H=Q.createTracker(X),q=H.move("!["),N=Q.safe(Z.alt,{before:q,after:"]",...H.current()});q+=H.move(N+"]["),G();let W=Q.stack;Q.stack=[],G=Q.enter("reference");let U=Q.safe(Q.associationId(Z),{before:q,after:"]",...H.current()});if(G(),Q.stack=W,Y(),K==="full"||!N||N!==U)q+=H.move(U+"]");else if(K==="shortcut")q=q.slice(0,-1);else q+=H.move("]");return q}function SQ(){return"!"}f0.peek=wQ;function f0(Z,J,Q){let X=Z.value||"",K="`",Y=-1;while(new RegExp("(^|[^`])"+K+"([^`]|$)").test(X))K+="`";if(/[^ \r\n]/.test(X)&&(/^[ \r\n]/.test(X)&&/[ \r\n]$/.test(X)||/^`|`$/.test(X)))X=" "+X+" ";while(++Y<Q.unsafe.length){let G=Q.unsafe[Y],H=Q.compilePattern(G),q;if(!G.atBreak)continue;while(q=H.exec(X)){let N=q.index;if(X.charCodeAt(N)===10&&X.charCodeAt(N-1)===13)N--;X=X.slice(0,N)+" "+X.slice(q.index+1)}}return K+X+K}function wQ(){return"`"}function l0(Z,J){let Q=l1(Z);return Boolean(!J.options.resourceLink&&Z.url&&!Z.title&&Z.children&&Z.children.length===1&&Z.children[0].type==="text"&&(Q===Z.url||"mailto:"+Q===Z.url)&&/^[a-z][a-z+.-]+:/i.test(Z.url)&&!/[\0- <>\u007F]/.test(Z.url))}i0.peek=EQ;function i0(Z,J,Q,X){let K=B5(Q),Y=K==='"'?"Quote":"Apostrophe",G=Q.createTracker(X),H,q;if(l0(Z,Q)){let W=Q.stack;Q.stack=[],H=Q.enter("autolink");let U=G.move("<");return U+=G.move(Q.containerPhrasing(Z,{before:U,after:">",...G.current()})),U+=G.move(">"),H(),Q.stack=W,U}H=Q.enter("link"),q=Q.enter("label");let N=G.move("[");if(N+=G.move(Q.containerPhrasing(Z,{before:N,after:"](",...G.current()})),N+=G.move("]("),q(),!Z.url&&Z.title||/[\0- \u007F]/.test(Z.url))q=Q.enter("destinationLiteral"),N+=G.move("<"),N+=G.move(Q.safe(Z.url,{before:N,after:">",...G.current()})),N+=G.move(">");else q=Q.enter("destinationRaw"),N+=G.move(Q.safe(Z.url,{before:N,after:Z.title?" ":")",...G.current()}));if(q(),Z.title)q=Q.enter(`title${Y}`),N+=G.move(" "+K),N+=G.move(Q.safe(Z.title,{before:N,after:K,...G.current()})),N+=G.move(K),q();return N+=G.move(")"),H(),N}function EQ(Z,J,Q){return l0(Z,Q)?"<":"["}r0.peek=IQ;function r0(Z,J,Q,X){let K=Z.referenceType,Y=Q.enter("linkReference"),G=Q.enter("label"),H=Q.createTracker(X),q=H.move("["),N=Q.containerPhrasing(Z,{before:q,after:"]",...H.current()});q+=H.move(N+"]["),G();let W=Q.stack;Q.stack=[],G=Q.enter("reference");let U=Q.safe(Q.associationId(Z),{before:q,after:"]",...H.current()});if(G(),Q.stack=W,Y(),K==="full"||!N||N!==U)q+=H.move(U+"]");else if(K==="shortcut")q=q.slice(0,-1);else q+=H.move("]");return q}function IQ(){return"["}function L5(Z){let J=Z.options.bullet||"*";if(J!=="*"&&J!=="+"&&J!=="-")throw Error("Cannot serialize items with `"+J+"` for `options.bullet`, expected `*`, `+`, or `-`");return J}function u4(Z){let J=L5(Z),Q=Z.options.bulletOther;if(!Q)return J==="*"?"-":"*";if(Q!=="*"&&Q!=="+"&&Q!=="-")throw Error("Cannot serialize items with `"+Q+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(Q===J)throw Error("Expected `bullet` (`"+J+"`) and `bulletOther` (`"+Q+"`) to be different");return Q}function f4(Z){let J=Z.options.bulletOrdered||".";if(J!=="."&&J!==")")throw Error("Cannot serialize items with `"+J+"` for `options.bulletOrdered`, expected `.` or `)`");return J}function P6(Z){let J=Z.options.rule||"*";if(J!=="*"&&J!=="-"&&J!=="_")throw Error("Cannot serialize rules with `"+J+"` for `options.rule`, expected `*`, `-`, or `_`");return J}function l4(Z,J,Q,X){let K=Q.enter("list"),Y=Q.bulletCurrent,G=Z.ordered?f4(Q):L5(Q),H=Z.ordered?G==="."?")":".":u4(Q),q=J&&Q.bulletLastUsed?G===Q.bulletLastUsed:!1;if(!Z.ordered){let W=Z.children?Z.children[0]:void 0;if((G==="*"||G==="-")&&W&&(!W.children||!W.children[0])&&Q.stack[Q.stack.length-1]==="list"&&Q.stack[Q.stack.length-2]==="listItem"&&Q.stack[Q.stack.length-3]==="list"&&Q.stack[Q.stack.length-4]==="listItem"&&Q.indexStack[Q.indexStack.length-1]===0&&Q.indexStack[Q.indexStack.length-2]===0&&Q.indexStack[Q.indexStack.length-3]===0)q=!0;if(P6(Q)===G&&W){let U=-1;while(++U<Z.children.length){let M=Z.children[U];if(M&&M.type==="listItem"&&M.children&&M.children[0]&&M.children[0].type==="thematicBreak"){q=!0;break}}}}if(q)G=H;Q.bulletCurrent=G;let N=Q.containerFlow(Z,X);return Q.bulletLastUsed=G,Q.bulletCurrent=Y,K(),N}function i4(Z){let J=Z.options.listItemIndent||"one";if(J!=="tab"&&J!=="one"&&J!=="mixed")throw Error("Cannot serialize items with `"+J+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return J}function r4(Z,J,Q,X){let K=i4(Q),Y=Q.bulletCurrent||L5(Q);if(J&&J.type==="list"&&J.ordered)Y=(typeof J.start==="number"&&J.start>-1?J.start:1)+(Q.options.incrementListMarker===!1?0:J.children.indexOf(Z))+Y;let G=Y.length+1;if(K==="tab"||K==="mixed"&&(J&&J.type==="list"&&J.spread||Z.spread))G=Math.ceil(G/4)*4;let H=Q.createTracker(X);H.move(Y+" ".repeat(G-Y.length)),H.shift(G);let q=Q.enter("listItem"),N=Q.indentLines(Q.containerFlow(Z,H.current()),W);return q(),N;function W(U,M,V){if(M)return(V?"":" ".repeat(G))+U;return(V?Y:Y+" ".repeat(G-Y.length))+U}}function a4(Z,J,Q,X){let K=Q.enter("paragraph"),Y=Q.enter("phrasing"),G=Q.containerPhrasing(Z,X);return Y(),K(),G}var a0=h1(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function d4(Z,J,Q,X){return(Z.children.some(function(G){return a0(G)})?Q.containerPhrasing:Q.containerFlow).call(Q,Z,X)}function c4(Z){let J=Z.options.strong||"*";if(J!=="*"&&J!=="_")throw Error("Cannot serialize strong with `"+J+"` for `options.strong`, expected `*`, or `_`");return J}d0.peek=gQ;function d0(Z,J,Q,X){let K=c4(Q),Y=Q.enter("strong"),G=Q.createTracker(X),H=G.move(K+K),q=G.move(Q.containerPhrasing(Z,{after:K,before:H,...G.current()})),N=q.charCodeAt(0),W=D5(X.before.charCodeAt(X.before.length-1),N,K);if(W.inside)q=x1(N)+q.slice(1);let U=q.charCodeAt(q.length-1),M=D5(X.after.charCodeAt(0),U,K);if(M.inside)q=q.slice(0,-1)+x1(U);let V=G.move(K+K);return Y(),Q.attentionEncodeSurroundingInfo={after:M.outside,before:W.outside},H+q+V}function gQ(Z,J,Q){return Q.options.strong||"*"}function n4(Z,J,Q,X){return Q.safe(Z.value,X)}function s4(Z){let J=Z.options.ruleRepetition||3;if(J<3)throw Error("Cannot serialize rules with repetition `"+J+"` for `options.ruleRepetition`, expected `3` or more");return J}function o4(Z,J,Q){let X=(P6(Q)+(Q.options.ruleSpaces?" ":"")).repeat(s4(Q));return Q.options.ruleSpaces?X.slice(0,-1):X}var l5={blockquote:E4,break:m0,code:x4,definition:m4,emphasis:k0,hardBreak:m0,heading:p4,html:v0,image:p0,imageReference:u0,inlineCode:f0,link:i0,linkReference:r0,list:l4,listItem:r4,paragraph:a4,root:d4,strong:d0,text:n4,thematicBreak:o4};function n0(){return{enter:{table:bQ,tableData:t4,tableHeader:t4,tableRow:hQ},exit:{codeText:xQ,table:yQ,tableData:c0,tableHeader:c0,tableRow:c0}}}function bQ(Z){let J=Z._align;F(J,"expected `_align` on table"),this.enter({type:"table",align:J.map(function(Q){return Q==="none"?null:Q}),children:[]},Z),this.data.inTable=!0}function yQ(Z){this.exit(Z),this.data.inTable=void 0}function hQ(Z){this.enter({type:"tableRow",children:[]},Z)}function c0(Z){this.exit(Z)}function t4(Z){this.enter({type:"tableCell",children:[]},Z)}function xQ(Z){let J=this.resume();if(this.data.inTable)J=J.replace(/\\([\\|])/g,mQ);let Q=this.stack[this.stack.length-1];F(Q.type==="inlineCode"),Q.value=J,this.exit(Z)}function mQ(Z,J){return J==="|"?J:Z}function s0(Z){let J=Z||{},Q=J.tableCellPadding,X=J.tablePipeAlign,K=J.stringLength,Y=Q?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
26
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:M,table:G,tableCell:q,tableRow:H}};function G(V,L,R,C){return N(W(V,R,C),V.align)}function H(V,L,R,C){let j=U(V,R,C),I=N([j]);return I.slice(0,I.indexOf(`
27
- `))}function q(V,L,R,C){let j=R.enter("tableCell"),I=R.enter("phrasing"),E=R.containerPhrasing(V,{...C,before:Y,after:Y});return I(),j(),E}function N(V,L){return w4(V,{align:L,alignDelimiters:X,padding:Q,stringLength:K})}function W(V,L,R){let C=V.children,j=-1,I=[],E=L.enter("table");while(++j<C.length)I[j]=U(C[j],L,R);return E(),I}function U(V,L,R){let C=V.children,j=-1,I=[],E=L.enter("tableRow");while(++j<C.length)I[j]=q(C[j],V,L,R);return E(),I}function M(V,L,R){let C=l5.inlineCode(V,L,R);if(R.stack.includes("tableCell"))C=C.replace(/\|/g,"\\$&");return C}}function o0(){return{exit:{taskListCheckValueChecked:e4,taskListCheckValueUnchecked:e4,paragraph:kQ}}}function t0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:vQ}}}function e4(Z){let J=this.stack[this.stack.length-2];F(J.type==="listItem"),J.checked=Z.type==="taskListCheckValueChecked"}function kQ(Z){let J=this.stack[this.stack.length-2];if(J&&J.type==="listItem"&&typeof J.checked==="boolean"){let Q=this.stack[this.stack.length-1];F(Q.type==="paragraph");let X=Q.children[0];if(X&&X.type==="text"){let K=J.children,Y=-1,G;while(++Y<K.length){let H=K[Y];if(H.type==="paragraph"){G=H;break}}if(G===Q){if(X.value=X.value.slice(1),X.value.length===0)Q.children.shift();else if(Q.position&&X.position&&typeof X.position.start.offset==="number")X.position.start.column++,X.position.start.offset++,Q.position.start=Object.assign({},X.position.start)}}}this.exit(Z)}function vQ(Z,J,Q,X){let K=Z.children[0],Y=typeof Z.checked==="boolean"&&K&&K.type==="paragraph",G="["+(Z.checked?"x":" ")+"] ",H=Q.createTracker(X);if(Y)H.move(G);let q=l5.listItem(Z,J,Q,{...X,...H.current()});if(Y)q=q.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,N);return q;function N(W){return W+G}}function e0(){return[I0(),b0(),h0(),n0(),o0()]}function Z2(Z){return{extensions:[g0(),y0(Z),x0(),s0(Z),t0()]}}var pQ={tokenize:rQ,partial:!0},Z3={tokenize:aQ,partial:!0},Q3={tokenize:dQ,partial:!0},J3={tokenize:cQ,partial:!0},uQ={tokenize:nQ,partial:!0},X3={name:"wwwAutolink",tokenize:lQ,previous:G3},K3={name:"protocolAutolink",tokenize:iQ,previous:Y3},C1={name:"emailAutolink",tokenize:fQ,previous:_3},j1={};function J2(){return{text:j1}}var Z5=_.digit0;while(Z5<_.leftCurlyBrace)if(j1[Z5]=C1,Z5++,Z5===_.colon)Z5=_.uppercaseA;else if(Z5===_.leftSquareBracket)Z5=_.lowercaseA;j1[_.plusSign]=C1;j1[_.dash]=C1;j1[_.dot]=C1;j1[_.underscore]=C1;j1[_.uppercaseH]=[C1,K3];j1[_.lowercaseH]=[C1,K3];j1[_.uppercaseW]=[C1,X3];j1[_.lowercaseW]=[C1,X3];function fQ(Z,J,Q){let X=this,K,Y;return G;function G(U){if(!Q2(U)||!_3.call(X,X.previous)||X2(X.events))return Q(U);return Z.enter("literalAutolink"),Z.enter("literalAutolinkEmail"),H(U)}function H(U){if(Q2(U))return Z.consume(U),H;if(U===_.atSign)return Z.consume(U),q;return Q(U)}function q(U){if(U===_.dot)return Z.check(uQ,W,N)(U);if(U===_.dash||U===_.underscore||o(U))return Y=!0,Z.consume(U),q;return W(U)}function N(U){return Z.consume(U),K=!0,q}function W(U){if(Y&&K&&J1(X.previous))return Z.exit("literalAutolinkEmail"),Z.exit("literalAutolink"),J(U);return Q(U)}}function lQ(Z,J,Q){let X=this;return K;function K(G){if(G!==_.uppercaseW&&G!==_.lowercaseW||!G3.call(X,X.previous)||X2(X.events))return Q(G);return Z.enter("literalAutolink"),Z.enter("literalAutolinkWww"),Z.check(pQ,Z.attempt(Z3,Z.attempt(Q3,Y),Q),Q)(G)}function Y(G){return Z.exit("literalAutolinkWww"),Z.exit("literalAutolink"),J(G)}}function iQ(Z,J,Q){let X=this,K="",Y=!1;return G;function G(U){if((U===_.uppercaseH||U===_.lowercaseH)&&Y3.call(X,X.previous)&&!X2(X.events))return Z.enter("literalAutolink"),Z.enter("literalAutolinkHttp"),K+=String.fromCodePoint(U),Z.consume(U),H;return Q(U)}function H(U){if(J1(U)&&K.length<5)return K+=String.fromCodePoint(U),Z.consume(U),H;if(U===_.colon){let M=K.toLowerCase();if(M==="http"||M==="https")return Z.consume(U),q}return Q(U)}function q(U){if(U===_.slash){if(Z.consume(U),Y)return N;return Y=!0,q}return Q(U)}function N(U){return U===_.eof||i1(U)||f(U)||L1(U)||r1(U)?Q(U):Z.attempt(Z3,Z.attempt(Q3,W),Q)(U)}function W(U){return Z.exit("literalAutolinkHttp"),Z.exit("literalAutolink"),J(U)}}function rQ(Z,J,Q){let X=0;return K;function K(G){if((G===_.uppercaseW||G===_.lowercaseW)&&X<3)return X++,Z.consume(G),K;if(G===_.dot&&X===3)return Z.consume(G),Y;return Q(G)}function Y(G){return G===_.eof?Q(G):J(G)}}function aQ(Z,J,Q){let X,K,Y;return G;function G(N){if(N===_.dot||N===_.underscore)return Z.check(J3,q,H)(N);if(N===_.eof||f(N)||L1(N)||N!==_.dash&&r1(N))return q(N);return Y=!0,Z.consume(N),G}function H(N){if(N===_.underscore)X=!0;else K=X,X=void 0;return Z.consume(N),G}function q(N){if(K||X||!Y)return Q(N);return J(N)}}function dQ(Z,J){let Q=0,X=0;return K;function K(G){if(G===_.leftParenthesis)return Q++,Z.consume(G),K;if(G===_.rightParenthesis&&X<Q)return Y(G);if(G===_.exclamationMark||G===_.quotationMark||G===_.ampersand||G===_.apostrophe||G===_.rightParenthesis||G===_.asterisk||G===_.comma||G===_.dot||G===_.colon||G===_.semicolon||G===_.lessThan||G===_.questionMark||G===_.rightSquareBracket||G===_.underscore||G===_.tilde)return Z.check(J3,J,Y)(G);if(G===_.eof||f(G)||L1(G))return J(G);return Z.consume(G),K}function Y(G){if(G===_.rightParenthesis)X++;return Z.consume(G),K}}function cQ(Z,J,Q){return X;function X(H){if(H===_.exclamationMark||H===_.quotationMark||H===_.apostrophe||H===_.rightParenthesis||H===_.asterisk||H===_.comma||H===_.dot||H===_.colon||H===_.semicolon||H===_.questionMark||H===_.underscore||H===_.tilde)return Z.consume(H),X;if(H===_.ampersand)return Z.consume(H),Y;if(H===_.rightSquareBracket)return Z.consume(H),K;if(H===_.lessThan||H===_.eof||f(H)||L1(H))return J(H);return Q(H)}function K(H){if(H===_.eof||H===_.leftParenthesis||H===_.leftSquareBracket||f(H)||L1(H))return J(H);return X(H)}function Y(H){return J1(H)?G(H):Q(H)}function G(H){if(H===_.semicolon)return Z.consume(H),X;if(J1(H))return Z.consume(H),G;return Q(H)}}function nQ(Z,J,Q){return X;function X(Y){return Z.consume(Y),K}function K(Y){return o(Y)?Q(Y):J(Y)}}function G3(Z){return Z===_.eof||Z===_.leftParenthesis||Z===_.asterisk||Z===_.underscore||Z===_.leftSquareBracket||Z===_.rightSquareBracket||Z===_.tilde||f(Z)}function Y3(Z){return!J1(Z)}function _3(Z){return!(Z===_.slash||Q2(Z))}function Q2(Z){return Z===_.plusSign||Z===_.dash||Z===_.dot||Z===_.underscore||o(Z)}function X2(Z){let J=Z.length,Q=!1;while(J--){let X=Z[J][1];if((X.type==="labelLink"||X.type==="labelImage")&&!X._balanced){Q=!0;break}if(X._gfmAutolinkLiteralWalkedInto){Q=!1;break}}if(Z.length>0&&!Q)Z[Z.length-1][1]._gfmAutolinkLiteralWalkedInto=!0;return Q}var sQ={tokenize:XJ,partial:!0};function K2(){return{document:{[_.leftSquareBracket]:{name:"gfmFootnoteDefinition",tokenize:ZJ,continuation:{tokenize:QJ},exit:JJ}},text:{[_.leftSquareBracket]:{name:"gfmFootnoteCall",tokenize:eQ},[_.rightSquareBracket]:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:oQ,resolveTo:tQ}}}}function oQ(Z,J,Q){let X=this,K=X.events.length,Y=X.parser.gfmFootnotes||(X.parser.gfmFootnotes=[]),G;while(K--){let q=X.events[K][1];if(q.type===$.labelImage){G=q;break}if(q.type==="gfmFootnoteCall"||q.type===$.labelLink||q.type===$.label||q.type===$.image||q.type===$.link)break}return H;function H(q){if(F(q===_.rightSquareBracket,"expected `]`"),!G||!G._balanced)return Q(q);let N=G1(X.sliceSerialize({start:G.end,end:X.now()}));if(N.codePointAt(0)!==_.caret||!Y.includes(N.slice(1)))return Q(q);return Z.enter("gfmFootnoteCallLabelMarker"),Z.consume(q),Z.exit("gfmFootnoteCallLabelMarker"),J(q)}}function tQ(Z,J){let Q=Z.length,X;while(Q--)if(Z[Q][1].type===$.labelImage&&Z[Q][0]==="enter"){X=Z[Q][1];break}F(X,"expected `labelStart` to resolve"),Z[Q+1][1].type=$.data,Z[Q+3][1].type="gfmFootnoteCallLabelMarker";let K={type:"gfmFootnoteCall",start:Object.assign({},Z[Q+3][1].start),end:Object.assign({},Z[Z.length-1][1].end)},Y={type:"gfmFootnoteCallMarker",start:Object.assign({},Z[Q+3][1].end),end:Object.assign({},Z[Q+3][1].end)};Y.end.column++,Y.end.offset++,Y.end._bufferIndex++;let G={type:"gfmFootnoteCallString",start:Object.assign({},Y.end),end:Object.assign({},Z[Z.length-1][1].start)},H={type:$.chunkString,contentType:"string",start:Object.assign({},G.start),end:Object.assign({},G.end)},q=[Z[Q+1],Z[Q+2],["enter",K,J],Z[Q+3],Z[Q+4],["enter",Y,J],["exit",Y,J],["enter",G,J],["enter",H,J],["exit",H,J],["exit",G,J],Z[Z.length-2],Z[Z.length-1],["exit",K,J]];return Z.splice(Q,Z.length-Q+1,...q),Z}function eQ(Z,J,Q){let X=this,K=X.parser.gfmFootnotes||(X.parser.gfmFootnotes=[]),Y=0,G;return H;function H(U){return F(U===_.leftSquareBracket,"expected `[`"),Z.enter("gfmFootnoteCall"),Z.enter("gfmFootnoteCallLabelMarker"),Z.consume(U),Z.exit("gfmFootnoteCallLabelMarker"),q}function q(U){if(U!==_.caret)return Q(U);return Z.enter("gfmFootnoteCallMarker"),Z.consume(U),Z.exit("gfmFootnoteCallMarker"),Z.enter("gfmFootnoteCallString"),Z.enter("chunkString").contentType="string",N}function N(U){if(Y>P.linkReferenceSizeMax||U===_.rightSquareBracket&&!G||U===_.eof||U===_.leftSquareBracket||f(U))return Q(U);if(U===_.rightSquareBracket){Z.exit("chunkString");let M=Z.exit("gfmFootnoteCallString");if(!K.includes(G1(X.sliceSerialize(M))))return Q(U);return Z.enter("gfmFootnoteCallLabelMarker"),Z.consume(U),Z.exit("gfmFootnoteCallLabelMarker"),Z.exit("gfmFootnoteCall"),J}if(!f(U))G=!0;return Y++,Z.consume(U),U===_.backslash?W:N}function W(U){if(U===_.leftSquareBracket||U===_.backslash||U===_.rightSquareBracket)return Z.consume(U),Y++,N;return N(U)}}function ZJ(Z,J,Q){let X=this,K=X.parser.gfmFootnotes||(X.parser.gfmFootnotes=[]),Y,G=0,H;return q;function q(L){return F(L===_.leftSquareBracket,"expected `[`"),Z.enter("gfmFootnoteDefinition")._container=!0,Z.enter("gfmFootnoteDefinitionLabel"),Z.enter("gfmFootnoteDefinitionLabelMarker"),Z.consume(L),Z.exit("gfmFootnoteDefinitionLabelMarker"),N}function N(L){if(L===_.caret)return Z.enter("gfmFootnoteDefinitionMarker"),Z.consume(L),Z.exit("gfmFootnoteDefinitionMarker"),Z.enter("gfmFootnoteDefinitionLabelString"),Z.enter("chunkString").contentType="string",W;return Q(L)}function W(L){if(G>P.linkReferenceSizeMax||L===_.rightSquareBracket&&!H||L===_.eof||L===_.leftSquareBracket||f(L))return Q(L);if(L===_.rightSquareBracket){Z.exit("chunkString");let R=Z.exit("gfmFootnoteDefinitionLabelString");return Y=G1(X.sliceSerialize(R)),Z.enter("gfmFootnoteDefinitionLabelMarker"),Z.consume(L),Z.exit("gfmFootnoteDefinitionLabelMarker"),Z.exit("gfmFootnoteDefinitionLabel"),M}if(!f(L))H=!0;return G++,Z.consume(L),L===_.backslash?U:W}function U(L){if(L===_.leftSquareBracket||L===_.backslash||L===_.rightSquareBracket)return Z.consume(L),G++,W;return W(L)}function M(L){if(L===_.colon){if(Z.enter("definitionMarker"),Z.consume(L),Z.exit("definitionMarker"),!K.includes(Y))K.push(Y);return h(Z,V,"gfmFootnoteDefinitionWhitespace")}return Q(L)}function V(L){return J(L)}}function QJ(Z,J,Q){return Z.check(R1,J,Z.attempt(sQ,J,Q))}function JJ(Z){Z.exit("gfmFootnoteDefinition")}function XJ(Z,J,Q){let X=this;return h(Z,K,"gfmFootnoteDefinitionIndent",P.tabSize+1);function K(Y){let G=X.events[X.events.length-1];return G&&G[1].type==="gfmFootnoteDefinitionIndent"&&G[2].sliceSerialize(G[1],!0).length===P.tabSize?J(Y):Q(Y)}}function G2(Z){let Q=(Z||{}).singleTilde,X={name:"strikethrough",tokenize:Y,resolveAll:K};if(Q===null||Q===void 0)Q=!0;return{text:{[_.tilde]:X},insideSpan:{null:[X]},attentionMarkers:{null:[_.tilde]}};function K(G,H){let q=-1;while(++q<G.length)if(G[q][0]==="enter"&&G[q][1].type==="strikethroughSequenceTemporary"&&G[q][1]._close){let N=q;while(N--)if(G[N][0]==="exit"&&G[N][1].type==="strikethroughSequenceTemporary"&&G[N][1]._open&&G[q][1].end.offset-G[q][1].start.offset===G[N][1].end.offset-G[N][1].start.offset){G[q][1].type="strikethroughSequence",G[N][1].type="strikethroughSequence";let W={type:"strikethrough",start:Object.assign({},G[N][1].start),end:Object.assign({},G[q][1].end)},U={type:"strikethroughText",start:Object.assign({},G[N][1].end),end:Object.assign({},G[q][1].start)},M=[["enter",W,H],["enter",G[N][1],H],["exit",G[N][1],H],["enter",U,H]],V=H.parser.constructs.insideSpan.null;if(V)t(M,M.length,0,b1(V,G.slice(N+1,q),H));t(M,M.length,0,[["exit",U,H],["enter",G[q][1],H],["exit",G[q][1],H],["exit",W,H]]),t(G,N-1,q-N+3,M),q=N+M.length-2;break}}q=-1;while(++q<G.length)if(G[q][1].type==="strikethroughSequenceTemporary")G[q][1].type=$.data;return G}function Y(G,H,q){let N=this.previous,W=this.events,U=0;return M;function M(L){if(F(L===_.tilde,"expected `~`"),N===_.tilde&&W[W.length-1][1].type!==$.characterEscape)return q(L);return G.enter("strikethroughSequenceTemporary"),V(L)}function V(L){let R=P1(N);if(L===_.tilde){if(U>1)return q(L);return G.consume(L),U++,V}if(U<2&&!Q)return q(L);let C=G.exit("strikethroughSequenceTemporary"),j=P1(L);return C._open=!j||j===P.attentionSideAfter&&Boolean(R),C._close=!R||R===P.attentionSideAfter&&Boolean(j),H(L)}}}class Y2{constructor(){this.map=[]}add(Z,J,Q){KJ(this,Z,J,Q)}consume(Z){if(this.map.sort(function(K,Y){return K[0]-Y[0]}),this.map.length===0)return;let J=this.map.length,Q=[];while(J>0)J-=1,Q.push(Z.slice(this.map[J][0]+this.map[J][1]),this.map[J][2]),Z.length=this.map[J][0];Q.push(Z.slice()),Z.length=0;let X=Q.pop();while(X){for(let K of X)Z.push(K);X=Q.pop()}this.map.length=0}}function KJ(Z,J,Q,X){let K=0;if(Q===0&&X.length===0)return;while(K<Z.map.length){if(Z.map[K][0]===J){Z.map[K][1]+=Q,Z.map[K][2].push(...X);return}K+=1}Z.map.push([J,Q,X])}function H3(Z,J){F(Z[J][1].type==="table","expected table");let Q=!1,X=[];while(J<Z.length){let K=Z[J];if(Q){if(K[0]==="enter"){if(K[1].type==="tableContent")X.push(Z[J+1][1].type==="tableDelimiterMarker"?"left":"none")}else if(K[1].type==="tableContent"){if(Z[J-1][1].type==="tableDelimiterMarker"){let Y=X.length-1;X[Y]=X[Y]==="left"?"center":"right"}}else if(K[1].type==="tableDelimiterRow")break}else if(K[0]==="enter"&&K[1].type==="tableDelimiterRow")Q=!0;J+=1}return X}function _2(){return{flow:{null:{name:"table",tokenize:GJ,resolveAll:YJ}}}}function GJ(Z,J,Q){let X=this,K=0,Y=0,G;return H;function H(T){let X1=X.events.length-1;while(X1>-1){let x=X.events[X1][1].type;if(x===$.lineEnding||x===$.linePrefix)X1--;else break}let r=X1>-1?X.events[X1][1].type:null,g=r==="tableHead"||r==="tableRow"?z:q;if(g===z&&X.parser.lazy[X.now().line])return Q(T);return g(T)}function q(T){return Z.enter("tableHead"),Z.enter("tableRow"),N(T)}function N(T){if(T===_.verticalBar)return W(T);return G=!0,Y+=1,W(T)}function W(T){if(T===_.eof)return Q(T);if(w(T)){if(Y>1)return Y=0,X.interrupt=!0,Z.exit("tableRow"),Z.enter($.lineEnding),Z.consume(T),Z.exit($.lineEnding),V;return Q(T)}if(y(T))return h(Z,W,$.whitespace)(T);if(Y+=1,G)G=!1,K+=1;if(T===_.verticalBar)return Z.enter("tableCellDivider"),Z.consume(T),Z.exit("tableCellDivider"),G=!0,W;return Z.enter($.data),U(T)}function U(T){if(T===_.eof||T===_.verticalBar||f(T))return Z.exit($.data),W(T);return Z.consume(T),T===_.backslash?M:U}function M(T){if(T===_.backslash||T===_.verticalBar)return Z.consume(T),U;return U(T)}function V(T){if(X.interrupt=!1,X.parser.lazy[X.now().line])return Q(T);if(Z.enter("tableDelimiterRow"),G=!1,y(T))return F(X.parser.constructs.disable.null,"expected `disabled.null`"),h(Z,L,$.linePrefix,X.parser.constructs.disable.null.includes("codeIndented")?void 0:P.tabSize)(T);return L(T)}function L(T){if(T===_.dash||T===_.colon)return C(T);if(T===_.verticalBar)return G=!0,Z.enter("tableCellDivider"),Z.consume(T),Z.exit("tableCellDivider"),R;return v(T)}function R(T){if(y(T))return h(Z,C,$.whitespace)(T);return C(T)}function C(T){if(T===_.colon)return Y+=1,G=!0,Z.enter("tableDelimiterMarker"),Z.consume(T),Z.exit("tableDelimiterMarker"),j;if(T===_.dash)return Y+=1,j(T);if(T===_.eof||w(T))return m(T);return v(T)}function j(T){if(T===_.dash)return Z.enter("tableDelimiterFiller"),I(T);return v(T)}function I(T){if(T===_.dash)return Z.consume(T),I;if(T===_.colon)return G=!0,Z.exit("tableDelimiterFiller"),Z.enter("tableDelimiterMarker"),Z.consume(T),Z.exit("tableDelimiterMarker"),E;return Z.exit("tableDelimiterFiller"),E(T)}function E(T){if(y(T))return h(Z,m,$.whitespace)(T);return m(T)}function m(T){if(T===_.verticalBar)return L(T);if(T===_.eof||w(T)){if(!G||K!==Y)return v(T);return Z.exit("tableDelimiterRow"),Z.exit("tableHead"),J(T)}return v(T)}function v(T){return Q(T)}function z(T){return Z.enter("tableRow"),l(T)}function l(T){if(T===_.verticalBar)return Z.enter("tableCellDivider"),Z.consume(T),Z.exit("tableCellDivider"),l;if(T===_.eof||w(T))return Z.exit("tableRow"),J(T);if(y(T))return h(Z,l,$.whitespace)(T);return Z.enter($.data),c(T)}function c(T){if(T===_.eof||T===_.verticalBar||f(T))return Z.exit($.data),l(T);return Z.consume(T),T===_.backslash?i:c}function i(T){if(T===_.backslash||T===_.verticalBar)return Z.consume(T),c;return c(T)}}function YJ(Z,J){let Q=-1,X=!0,K=0,Y=[0,0,0,0],G=[0,0,0,0],H=!1,q=0,N,W,U,M=new Y2;while(++Q<Z.length){let V=Z[Q],L=V[1];if(V[0]==="enter"){if(L.type==="tableHead"){if(H=!1,q!==0)F(N,"there should be a table opening"),q3(M,J,q,N,W),W=void 0,q=0;N={type:"table",start:Object.assign({},L.start),end:Object.assign({},L.end)},M.add(Q,0,[["enter",N,J]])}else if(L.type==="tableRow"||L.type==="tableDelimiterRow"){if(X=!0,U=void 0,Y=[0,0,0,0],G=[0,Q+1,0,0],H)H=!1,W={type:"tableBody",start:Object.assign({},L.start),end:Object.assign({},L.end)},M.add(Q,0,[["enter",W,J]]);K=L.type==="tableDelimiterRow"?2:W?3:1}else if(K&&(L.type===$.data||L.type==="tableDelimiterMarker"||L.type==="tableDelimiterFiller")){if(X=!1,G[2]===0){if(Y[1]!==0)G[0]=G[1],U=C6(M,J,Y,K,void 0,U),Y=[0,0,0,0];G[2]=Q}}else if(L.type==="tableCellDivider")if(X)X=!1;else{if(Y[1]!==0)G[0]=G[1],U=C6(M,J,Y,K,void 0,U);Y=G,G=[Y[1],Q,0,0]}}else if(L.type==="tableHead")H=!0,q=Q;else if(L.type==="tableRow"||L.type==="tableDelimiterRow"){if(q=Q,Y[1]!==0)G[0]=G[1],U=C6(M,J,Y,K,Q,U);else if(G[1]!==0)U=C6(M,J,G,K,Q,U);K=0}else if(K&&(L.type===$.data||L.type==="tableDelimiterMarker"||L.type==="tableDelimiterFiller"))G[3]=Q}if(q!==0)F(N,"expected table opening"),q3(M,J,q,N,W);M.consume(J.events),Q=-1;while(++Q<J.events.length){let V=J.events[Q];if(V[0]==="enter"&&V[1].type==="table")V[1]._align=H3(J.events,Q)}return Z}function C6(Z,J,Q,X,K,Y){let G=X===1?"tableHeader":X===2?"tableDelimiter":"tableData",H="tableContent";if(Q[0]!==0)F(Y,"expected previous cell enter"),Y.end=Object.assign({},R5(J.events,Q[0])),Z.add(Q[0],0,[["exit",Y,J]]);let q=R5(J.events,Q[1]);if(Y={type:G,start:Object.assign({},q),end:Object.assign({},q)},Z.add(Q[1],0,[["enter",Y,J]]),Q[2]!==0){let N=R5(J.events,Q[2]),W=R5(J.events,Q[3]),U={type:"tableContent",start:Object.assign({},N),end:Object.assign({},W)};if(Z.add(Q[2],0,[["enter",U,J]]),F(Q[3]!==0),X!==2){let M=J.events[Q[2]],V=J.events[Q[3]];if(M[1].end=Object.assign({},V[1].end),M[1].type=$.chunkText,M[1].contentType=P.contentTypeText,Q[3]>Q[2]+1){let L=Q[2]+1,R=Q[3]-Q[2]-1;Z.add(L,R,[])}}Z.add(Q[3]+1,0,[["exit",U,J]])}if(K!==void 0)Y.end=Object.assign({},R5(J.events,K)),Z.add(K,0,[["exit",Y,J]]),Y=void 0;return Y}function q3(Z,J,Q,X,K){let Y=[],G=R5(J.events,Q);if(K)K.end=Object.assign({},G),Y.push(["exit",K,J]);X.end=Object.assign({},G),Y.push(["exit",X,J]),Z.add(Q+1,0,Y)}function R5(Z,J){let Q=Z[J],X=Q[0]==="enter"?"start":"end";return Q[1][X]}var _J={name:"tasklistCheck",tokenize:HJ};function H2(){return{text:{[_.leftSquareBracket]:_J}}}function HJ(Z,J,Q){let X=this;return K;function K(q){if(F(q===_.leftSquareBracket,"expected `[`"),X.previous!==_.eof||!X._gfmTasklistFirstContentOfListItem)return Q(q);return Z.enter("taskListCheck"),Z.enter("taskListCheckMarker"),Z.consume(q),Z.exit("taskListCheckMarker"),Y}function Y(q){if(f(q))return Z.enter("taskListCheckValueUnchecked"),Z.consume(q),Z.exit("taskListCheckValueUnchecked"),G;if(q===_.uppercaseX||q===_.lowercaseX)return Z.enter("taskListCheckValueChecked"),Z.consume(q),Z.exit("taskListCheckValueChecked"),G;return Q(q)}function G(q){if(q===_.rightSquareBracket)return Z.enter("taskListCheckMarker"),Z.consume(q),Z.exit("taskListCheckMarker"),Z.exit("taskListCheck"),H;return Q(q)}function H(q){if(w(q))return J(q);if(y(q))return Z.check({tokenize:qJ},J,Q)(q);return Q(q)}}function qJ(Z,J,Q){return h(Z,X,$.whitespace);function X(K){return K===_.eof?Q(K):J(K)}}function $3(Z){return t5([J2(),K2(),G2(Z),_2(),H2()])}var $J={};function S6(Z){let J=this,Q=Z||$J,X=J.data(),K=X.micromarkExtensions||(X.micromarkExtensions=[]),Y=X.fromMarkdownExtensions||(X.fromMarkdownExtensions=[]),G=X.toMarkdownExtensions||(X.toMarkdownExtensions=[]);K.push($3(Q)),Y.push(e0()),G.push(Z2(Q))}var Q5=f1(W3(),1);function WJ({children:Z,className:J}){return Q5.jsxDEV("div",{className:`prose prose-sm max-w-none dark:prose-invert break-words ${J??""}`,children:Q5.jsxDEV(O0,{remarkPlugins:[S6],components:{pre:({children:X})=>Q5.jsxDEV("pre",{className:"overflow-x-auto rounded bg-muted text-foreground p-2 text-xs",children:X},void 0,!1,void 0,this),code:({children:X,className:K})=>{if(K?.startsWith("language-"))return Q5.jsxDEV("code",{className:`${K} text-xs bg-transparent`,children:X},void 0,!1,void 0,this);return Q5.jsxDEV("code",{className:"rounded bg-muted text-foreground px-1 py-0.5 text-xs font-mono",children:X},void 0,!1,void 0,this)},a:({href:X,children:K})=>Q5.jsxDEV("a",{href:X,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:K},void 0,!1,void 0,this)},children:Z},void 0,!1,void 0,this)},void 0,!1,void 0,this)}
28
- export{WJ as p};
@@ -1,2 +0,0 @@
1
- import{Aa as r,Cb as a,Ea as c,Ia as u,Qa as n}from"/chunk-p8qycd26.js";var o=r(c(),1);var e=r(n(),1),i=o.createContext(null);function d(){let t=o.useContext(i);if(!t)throw Error("useProjectLayout must be used within a ProjectLayoutProvider");return t}function s({value:t}){return e.jsxDEV(i.Provider,{value:t,children:e.jsxDEV(o.Suspense,{fallback:e.jsxDEV("div",{className:"flex items-center justify-center flex-1",children:e.jsxDEV(a,{size:"lg",className:"text-muted-foreground"},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:e.jsxDEV(u,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}
2
- export{d as a,s as b};
@@ -1,2 +0,0 @@
1
- import{Aa as r,Qa as o,Xa as i,Ya as n}from"/chunk-p8qycd26.js";var t=r(o(),1);function s({message:a="Something went wrong",onRetry:e}){return t.jsxDEV("div",{role:"alert",className:"flex flex-col items-center justify-center py-12 gap-3 text-center",children:[t.jsxDEV(n,{className:"h-8 w-8 text-destructive"},void 0,!1,void 0,this),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:a},void 0,!1,void 0,this),e&&t.jsxDEV(i,{variant:"outline",size:"sm",onClick:e,children:"Try again"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}
2
- export{s as R};