fediversity.eu/node_modules/prettier/plugins/markdown.js

59 lines
146 KiB
JavaScript
Raw Normal View History

2024-03-26 16:28:28 +01:00
(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.markdown=e()}})(function(){"use strict";var rl=Object.create;var xr=Object.defineProperty;var tl=Object.getOwnPropertyDescriptor;var nl=Object.getOwnPropertyNames;var ul=Object.getPrototypeOf,il=Object.prototype.hasOwnProperty;var C=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),On=(e,r)=>{for(var t in r)xr(e,t,{get:r[t],enumerable:!0})},Pn=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of nl(r))!il.call(e,a)&&a!==t&&xr(e,a,{get:()=>r[a],enumerable:!(n=tl(r,a))||n.enumerable});return e};var Ne=(e,r,t)=>(t=e!=null?rl(ul(e)):{},Pn(r||!e||!e.__esModule?xr(t,"default",{value:e,enumerable:!0}):t,e)),al=e=>Pn(xr({},"__esModule",{value:!0}),e);var kr=C((Om,Ln)=>{"use strict";Ln.exports=cl;function cl(e){return String(e).replace(/\s+/g," ")}});var Lu=C(($g,Pu)=>{"use strict";Pu.exports=hf;var lr=9,Rr=10,ze=32,ff=33,Df=58,Me=91,pf=92,At=93,fr=94,Ur=96,zr=4,df=1024;function hf(e){var r=this.Parser,t=this.Compiler;mf(r)&&gf(r,e),Ff(t)&&vf(t)}function mf(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Ff(e){return!!(e&&e.prototype&&e.prototype.visitors)}function gf(e,r){for(var t=r||{},n=e.prototype,a=n.blockTokenizers,u=n.inlineTokenizers,i=n.blockMethods,o=n.inlineMethods,s=a.definition,l=u.reference,c=[],f=-1,D=i.length,h;++f<D;)h=i[f],!(h==="newline"||h==="indentedCode"||h==="paragraph"||h==="footnoteDefinition")&&c.push([h]);c.push(["footnoteDefinition"]),t.inlineNotes&&(xt(o,"reference","inlineNote"),u.inlineNote=m),xt(i,"definition","footnoteDefinition"),xt(o,"reference","footnoteCall"),a.definition=y,a.footnoteDefinition=p,u.footnoteCall=d,u.reference=F,n.interruptFootnoteDefinition=c,F.locator=l.locator,d.locator=v,m.locator=B;function p(b,g,A){for(var x=this,E=x.interruptFootnoteDefinition,k=x.offset,w=g.length+1,q=0,T=[],R,O,_,S,P,ke,G,I,X,K,me,Fe,z;q<w&&(S=g.charCodeAt(q),!(S!==lr&&S!==ze));)q++;if(g.charCodeAt(q++)===Me&&g.charCodeAt(q++)===fr){for(O=q;q<w;){if(S=g.charCodeAt(q),S!==S||S===Rr||S===lr||S===ze)return;if(S===At){_=q,q++;break}q++}if(!(_===void 0||O===_||g.charCodeAt(q++)!==Df)){if(A)return!0;for(R=g.slice(O,_),P=b.now(),X=0,K=0,me=q,Fe=[];q<w;){if(S=g.charCodeAt(q),S!==S||S===Rr)z={start:X,contentStart:me||q,contentEnd:q,end:q},Fe.push(z),S===Rr&&(X=q+1,K=0,me=void 0,z.end=X);else if(K!==void 0)if(S===ze||S===lr)K+=S===ze?1:zr-K%zr,K>zr&&(K=void 0,me=q);else{if(K<zr&&z&&(z.contentStart===z.contentEnd||Ef(E,a,x,[b,g.slice(q,df),!0])))break;K=void 0,me=q}q++}for(q=-1,w=Fe.length;w>0&&(z=Fe[w-1],z.contentStart===z.contentEnd);)w--;for(ke=b(g.slice(0,z.contentEnd));++q<w;)z=Fe[q],k[P.line+q]=(k[P.line+q]||0)+(z.contentStart-z.start),T.push(g.slice(z.contentStart,z.end));return G=x.enterBlock(),I=x.tokenizeBlock(T.join(""),P),G(),ke({type:"footnoteDefinition",identifier:R.toLowerCase(),label:R,children:I})}}}function d(b,g,A){var x=g.length+1,E=0,k,w,q,T;if(g.charCodeAt(E++)===Me&&g.charCodeAt(E++)===fr){for(w=E;E<x;){if(T=g.charCodeAt(E),T!==T||T===Rr||T===lr||T===ze)return;if(T===At){q=E,E++;break}E++}if(!(q===void 0||w===q))return A?!0:(k=g.slice(w,q),b(g.slice(0,E))({type:"footnoteReference",identifier:k.toLowerCase(),label:k}))}}function m(b,g,A){var x=this,E=g.length+1,k=0,w=0,q,T,R,O,_,S,P;if(g.charCodeAt(k++)===fr&&g.charCodeAt(k++)===Me){for(R=k;k<E;){if(T=g.charCodeAt(k),T!==T)return;if(S===void 0)if(T===pf)k+=2;else if(T===Me)w++,k++;else if(T===At)if(w===0){O=k,k++;break}else w--,k++;else if(T===Ur){for(_=k,S=1;g.charCodeAt(_+S)===Ur;)S++;k+=S}else k++;else if(T===Ur){for(_=k,P=1;g.charCodeAt(_+P)===Ur;)P++;k+=P,S===P&&(S=void 0),P=void 0}else k++}if(O!==void 0)return A?!0:(q=b.now(),q.column+=2,q.offset+=2,b(g.slice(0,k))({type:"footnote",children:x.tokenizeInline(g.slice(R,O),q)}))}}function F(b,g,A){var x=0;if(g.
`).split(`
`),s=0,l=o.length,c;++s<l;)c=o[s],c!==""&&(o[s]=t+c);return"[^"+(i.label||i.identifier)+"]: "+o.join(`
`)}}function xt(e,r,t){e.splice(e.indexOf(r),0,t)}function Ef(e,r,t,n){for(var a=e.length,u=-1;++u<a;)if(r[e[u][0]].apply(t,n))return!0;return!1}});var wt=C(kt=>{kt.isRemarkParser=Cf;kt.isRemarkCompiler=bf;function Cf(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function bf(e){return!!(e&&e.prototype&&e.prototype.visitors)}});var Yu=C((Wg,Mu)=>{var Iu=wt();Mu.exports=kf;var Nu=9,Ru=32,Mr=36,yf=48,Af=57,Uu=92,xf=["math","math-inline"],zu="math-display";function kf(e){let r=this.Parser,t=this.Compiler;Iu.isRemarkParser(r)&&wf(r,e),Iu.isRemarkCompiler(t)&&Bf(t,e)}function wf(e,r){let t=e.prototype,n=t.inlineMethods;u.locator=a,t.inlineTokenizers.math=u,n.splice(n.indexOf("text"),0,"math");function a(i,o){return i.indexOf("$",o)}function u(i,o,s){let l=o.length,c=!1,f=!1,D=0,h,p,d,m,F,y,v;if(o.charCodeAt(D)===Uu&&(f=!0,D++),o.charCodeAt(D)===Mr){if(D++,f)return s?!0:i(o.slice(0,D))({type:"text",value:"$"});if(o.charCodeAt(D)===Mr&&(c=!0,D++),d=o.charCodeAt(D),!(d===Ru||d===Nu)){for(m=D;D<l;){if(p=d,d=o.charCodeAt(D+1),p===Mr){if(h=o.charCodeAt(D-1),h!==Ru&&h!==Nu&&(d!==d||d<yf||d>Af)&&(!c||d===Mr)){F=D-1,D++,c&&D++,y=D;break}}else p===Uu&&(D++,d=o.charCodeAt(D+1));D++}if(y!==void 0)return s?!0:(v=o.slice(m,F+1),i(o.slice(0,y))({type:"inlineMath",value:v,data:{hName:"span",hProperties:{className:xf.concat(c&&r.inlineMathDouble?[zu]:[])},hChildren:[{type:"text",value:v}]}}))}}}}function Bf(e){let r=e.prototype;r.visitors.inlineMath=t;function t(n){let a="$";return(n.data&&n.data.hProperties&&n.data.hProperties.className||[]).includes(zu)&&(a="$$"),a+n.value+a}}});var Wu=C((Hg,ju)=>{var Vu=wt();ju.exports=_f;var Gu=10,Dr=32,Bt=36,$u=`
`,qf="$",Tf=2,Sf=["math","math-display"];function _f(){let e=this.Parser,r=this.Compiler;Vu.isRemarkParser(e)&&Of(e),Vu.isRemarkCompiler(r)&&Pf(r)}function Of(e){let r=e.prototype,t=r.blockMethods,n=r.interruptParagraph,a=r.interruptList,u=r.interruptBlockquote;r.blockTokenizers.math=i,t.splice(t.indexOf("fencedCode")+1,0,"math"),n.splice(n.indexOf("fencedCode")+1,0,["math"]),a.splice(a.indexOf("fencedCode")+1,0,["math"]),u.splice(u.indexOf("fencedCode")+1,0,["math"]);function i(o,s,l){var c=s.length,f=0;let D,h,p,d,m,F,y,v,B,b,g;for(;f<c&&s.charCodeAt(f)===Dr;)f++;for(m=f;f<c&&s.charCodeAt(f)===Bt;)f++;if(F=f-m,!(F<Tf)){for(;f<c&&s.charCodeAt(f)===Dr;)f++;for(y=f;f<c;){if(D=s.charCodeAt(f),D===Bt)return;if(D===Gu)break;f++}if(s.charCodeAt(f)===Gu){if(l)return!0;for(h=[],y!==f&&h.push(s.slice(y,f)),f++,p=s.indexOf($u,f+1),p=p===-1?c:p;f<c;){for(v=!1,b=f,g=p,d=p,B=0;d>b&&s.charCodeAt(d-1)===Dr;)d--;for(;d>b&&s.charCodeAt(d-1)===Bt;)B++,d--;for(F<=B&&s.indexOf(qf,b)===d&&(v=!0,g=d);b<=g&&b-f<m&&s.charCodeAt(b)===Dr;)b++;if(v)for(;g>b&&s.charCodeAt(g-1)===Dr;)g--;if((!v||b!==g)&&h.push(s.slice(b,g)),v)break;f=p+1,p=s.indexOf($u,f+1),p=p===-1?c:p}return h=h.join(`
`),o(s.slice(0,p))({type:"math",value:h,data:{hName:"div",hProperties:{className:Sf.concat()},hChildren:[{type:"text",value:h}]}})}}}}function Pf(e){let r=e.prototype;r.visitors.math=t;function t(n){return`$$
`+n.value+`
$$`}}});var Ku=C((Kg,Hu)=>{var Lf=Yu(),If=Wu();Hu.exports=Nf;function Nf(e){var r=e||{};If.call(this,r),Lf.call(this,r)}});var Pe=C((Xg,Xu)=>{Xu.exports=Uf;var Rf=Object.prototype.hasOwnProperty;function Uf(){for(var e={},r=0;r<arguments.length;r++){var t=arguments[r];for(var n in t)Rf.call(t,n)&&(e[n]=t[n])}return e}});var Ju=C((Jg,qt)=>{typeof Object.create=="function"?qt.exports=function(r,t){t&&(r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:qt.exports=function(r,t){if(t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r}}});var ei=C((Qg,Zu)=>{"use strict";var zf=Pe(),Qu=Ju();Zu.exports=Mf;function Mf(e){var r,t,n;Qu(u,e),Qu(a,u),r=u.prototype;for(t in r)n=r[t],n&&typeof n=="object"&&(r[t]="concat"in n?n.concat():zf(n));return u;function a(i){return e.apply(this,i)}function u(){return this instanceof u?e.apply(this,arguments):new a(arguments)}}});var ti=C((Zg,ri)=>{"use strict";ri.exports=Yf;function Yf(e,r,t){return n;function n(){var a=t||this,u=a[e];return a[e]=!r,i;function i(){a[e]=u}}}});var ui=C((ev,ni)=>{"use strict";ni.exports=Vf;function Vf(e){for(var r=String(e),t=[],n=/\r?\n|\r/g;n.exec(r);)t.push(n.lastIndex);return t.push(r.length+1),{toPoint:a,toPosition:a,toOffset:u};function a(i){var o=-1;if(i>-1&&i<t[t.length-1]){for(;++o<t.length;)if(t[o]>i)return{line:o+1,column:i-(t[o-1]||0)+1,offset:i}}return{}}function u(i){var o=i&&i.line,s=i&&i.column,l;return!isNaN(o)&&!isNaN(s)&&o-1 in t&&(l=(t[o-2]||0)+s-1||0),l>-1&&l<t[t.length-1]?l:-1}}});var ai=C((rv,ii)=>{"use strict";ii.exports=Gf;var Tt="\\";function Gf(e,r){return t;function t(n){for(var a=0,u=n.indexOf(Tt),i=e[r],o=[],s;u!==-1;)o.push(n.slice(a,u)),a=u+1,s=n.charAt(a),(!s||i.indexOf(s)===-1)&&o.push(Tt),u=n.indexOf(Tt,a+1);return o.push(n.slice(a)),o.join("")}}});var oi=C((tv,$f)=>{$f.exports={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Acirc:"\xC2",Agrave:"\xC0",Aring:"\xC5",Atilde:"\xC3",Auml:"\xC4",COPY:"\xA9",Ccedil:"\xC7",ETH:"\xD0",Eacute:"\xC9",Ecirc:"\xCA",Egrave:"\xC8",Euml:"\xCB",GT:">",Iacute:"\xCD",Icirc:"\xCE",Igrave:"\xCC",Iuml:"\xCF",LT:"<",Ntilde:"\xD1",Oacute:"\xD3",Ocirc:"\xD4",Ograve:"\xD2",Oslash:"\xD8",Otilde:"\xD5",Ouml:"\xD6",QUOT:'"',REG:"\xAE",THORN:"\xDE",Uacute:"\xDA",Ucirc:"\xDB",Ugrave:"\xD9",Uuml:"\xDC",Yacute:"\xDD",aacute:"\xE1",acirc:"\xE2",acute:"\xB4",aelig:"\xE6",agrave:"\xE0",amp:"&",aring:"\xE5",atilde:"\xE3",auml:"\xE4",brvbar:"\xA6",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",ecirc:"\xEA",egrave:"\xE8",eth:"\xF0",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",iacute:"\xED",icirc:"\xEE",iexcl:"\xA1",igrave:"\xEC",iquest:"\xBF",iuml:"\xEF",laquo:"\xAB",lt:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",oacute:"\xF3",ocirc:"\xF4",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",otilde:"\xF5",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',raquo:"\xBB",reg:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",times:"\xD7",uacute:"\xFA",ucirc:"\xFB",ugrave:"\xF9",uml:"\xA8",uuml:"\xFC",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}});var si=C((nv,jf)=>{jf.exports={"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}});var Le=C((uv,ci)=>{"use strict";ci.exports=Wf;function Wf(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=48&&r<=57}});var fi=C((iv,li)=>{"use strict";li.exports=Hf;function Hf(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}});var Ye=C((av,Di)=>{"use strict";Di.exports=Kf;function Kf(e){var r=typeof e=="string"?e.charCodeAt(0):e;r
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntild:"\xD1",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacut:"\xD3",Oacute:"\xD3",Ocir:"\xD4",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograv:"\xD2",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslas:"\xD8",Oslash:"\xD8",Otild:"\xD5",Otilde:"\xD5",Otimes:"\u2A37",Oum:"\xD6",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUO:'"',QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",RE:"\xAE",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THOR:"\xDE",THORN:"\xDE",TRADE:"\u
`);w!==-1;)l++,k=w,w=E.indexOf(`
`,w+1);k===-1?c+=E.length:c=E.length-k,l in u&&(k!==-1?c+=u[l]:c<=u[l]&&(c=u[l]+1))}function y(){var E=[],k=l+1;return function(){for(var w=l+1;k<w;)E.push((u[k]||0)+1),k++;return E}}function v(){var E={line:l,column:c};return E.offset=a.toOffset(E),E}function B(E){this.start=E,this.end=v()}function b(E){t.slice(0,E.length)!==E&&a.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),v())}function g(){var E=v();return k;function k(w,q){var T=w.position,R=T?T.start:E,O=[],_=T&&T.end.line,S=E.line;if(w.position=new B(R),T&&q&&T.indent){if(O=T.indent,_<S){for(;++_<S;)O.push((u[_]||0)+1);O.push(E.column)}q=O.concat(q)}return w.position.indent=q||[],w}}function A(E,k){var w=k?k.children:i,q=w[w.length-1],T;return q&&E.type===q.type&&(E.type==="text"||E.type==="blockquote")&&Li(q)&&Li(E)&&(T=E.type==="text"?AD:xD,E=T.call(a,q,E)),E!==q&&w.push(E),a.atStart&&i.length!==0&&a.exitStart(),E}function x(E){var k=y(),w=g(),q=v();return b(E),T.reset=R,R.test=O,T.test=O,t=t.slice(E.length),F(E),k=k(),T;function T(_,S){return w(A(w(_),S),k)}function R(){var _=T.apply(null,arguments);return l=q.line,c=q.column,t=E+t,_}function O(){var _=w({});return l=q.line,c=q.column,t=E+t,_.position}}}}function Li(e){var r,t;return e.type!=="text"||!e.position?!0:(r=e.position.start,t=e.position.end,r.line!==t.line||t.column-r.column===e.value.length)}function AD(e,r){return e.value+=r.value,e}function xD(e,r){return this.options.commonmark||this.options.gfm?r:(e.children=e.children.concat(r.children),e)}});var zi=C((pv,Ui)=>{"use strict";Ui.exports=Vr;var Lt=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],It=Lt.concat(["~","|"]),Ri=It.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);Vr.default=Lt;Vr.gfm=It;Vr.commonmark=Ri;function Vr(e){var r=e||{};return r.commonmark?Ri:r.gfm?It:Lt}});var Yi=C((dv,Mi)=>{"use strict";Mi.exports=["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","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var Nt=C((hv,Vi)=>{"use strict";Vi.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Yi()}});var $i=C((mv,Gi)=>{"use strict";var kD=Pe(),wD=zi(),BD=Nt();Gi.exports=qD;function qD(e){var r=this,t=r.options,n,a;if(e==null)e={};else if(typeof e=="object")e=kD(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(n in BD){if(a=e[n],a==null&&(a=t[n]),n!=="blocks"&&typeof a!="boolean"||n==="blocks"&&typeof a!="object")throw new Error("Invalid value `"+a+"` for setting `options."+n+"`");e[n]=a}return r.options=e,r.escape=wD(e),r}});var Hi=C((Fv,Wi)=>{"use strict";Wi.exports=ji;function ji(e){if(e==null)return OD;if(typeof e=="string")return _D(e);if(typeof e=="object")return"length"in e?SD(e):TD(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function TD(e){return r;function r(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function SD(e){for(var r=[],t=-1;++t<e.length;)r[t]=ji(e[t]);return n;function n(){for(var a=-1;++a<r.length;)if(r[a].apply(this,arguments))return!0;return!1}}function _D(e){return r;function r(t){return!!(t&&t.type===e)}}function OD(){return!0}});var Xi=C((gv,Ki)=>{Ki.exports=PD;function PD(e){return e}});var ea=C((vv,Zi)=>{"use strict";Zi.exports=Gr;var LD=Hi(),ID=Xi(),Ji=!0,Qi="skip",Rt=!1;Gr.CONTINUE=Ji;Gr.SKIP=Qi;Gr.EXIT=Rt;function Gr(e,r,t,n){var a,u;typeof r=="function"&&typeof t!="function"&&(n=t,t=r,r=null),u=LD(r),a=n?-1:1,i(e,null,[])();function i(o,s,l){var c=typeof o=="object"&&o!==null?o:{},f;return typeof c.type=="string"&&(f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0,D.displayName="node ("+ID(c.type+(f?"<"+f+">":""))+")"),D;function D(){var h=l.concat(o),p=[],d,m;if((!r||u(o,s,l[l.length-1]||null))&&(p=ND(t(o,l)),p[0]===Rt))return p;if(o.children&&p[0]!==Qi)for(m=(n?o.children.length:-1)+a;m>-1&&m<o.children.length;){if(d=i(o.children[m],m,h)(),d[0]===Rt)return d;m=typeof d[1]=="number"?d[1]:m+a}return p}}}function ND(e){return e!==null&&typeof e=="object"&&"length"in e?e:typeof e=="number"?[Ji,e]:[e]}});var ta=C((Ev,ra)=>{"use strict";ra.exports=jr;var $r=ea(),RD=$r.CONTINUE,UD=$r.SKIP,zD=$r.EXIT;jr.CONTINUE=RD;jr.SKIP=UD;jr.EXIT=zD;function jr(e,r,t,n){typeof r=="function"&&typeof t!="function"&&(n=t,t=r,r=null),$r(e,r,a,n);function a(u,i){var o=i[i.length-1],s=o?o.children.indexOf(u):null;return t(u,s,o)}}});var ua=C((Cv,na)=>{"use strict";var MD=ta();na.exports=YD;function YD(e,r){return MD(e,r?VD:GD),e}function VD(e){delete e.position}function GD(e){e.position=void 0}});var oa=C((bv,aa)=>{"use strict";var ia=Pe(),$D=ua();aa.exports=HD;var jD=`
`,WD=/\r\n|\r/g;function HD(){var e=this,r=String(e.file),t={line:1,column:1,offset:0},n=ia(t),a;return r=r.replace(WD,jD),r.charCodeAt(0)===65279&&(r=r.slice(1),n.column++,n.offset++),a={type:"root",children:e.tokenizeBlock(r,n),position:{start:t,end:e.eof||ia(t)}},e.options.position||$D(a,!0),a}});var ca=C((yv,sa)=>{"use strict";var KD=/^[ \t]*(\n|$)/;sa.exports=XD;function XD(e,r,t){for(var n,a="",u=0,i=r.length;u<i&&(n=KD.exec(r.slice(u)),n!=null);)u+=n[0].length,a+=n[0];if(a!==""){if(t)return!0;e(a)}}});var Wr=C((Av,la)=>{"use strict";var pe="",Ut;la.exports=JD;function JD(e,r){if(typeof e!="string")throw new TypeError("expected a string");if(r===1)return e;if(r===2)return e+e;var t=e.length*r;if(Ut!==e||typeof Ut>"u")Ut=e,pe="";else if(pe.length>=t)return pe.substr(0,t);for(;t>pe.length&&r>1;)r&1&&(pe+=e),r>>=1,e+=e;return pe+=e,pe=pe.substr(0,t),pe}});var zt=C((xv,fa)=>{"use strict";fa.exports=QD;function QD(e){return String(e).replace(/\n+$/,"")}});var da=C((kv,pa)=>{"use strict";var ZD=Wr(),ep=zt();pa.exports=np;var Mt=`
`,Da=" ",Yt=" ",rp=4,tp=ZD(Yt,rp);function np(e,r,t){for(var n=-1,a=r.length,u="",i="",o="",s="",l,c,f;++n<a;)if(l=r.charAt(n),f)if(f=!1,u+=o,i+=s,o="",s="",l===Mt)o=l,s=l;else for(u+=l,i+=l;++n<a;){if(l=r.charAt(n),!l||l===Mt){s=l,o=l;break}u+=l,i+=l}else if(l===Yt&&r.charAt(n+1)===l&&r.charAt(n+2)===l&&r.charAt(n+3)===l)o+=tp,n+=3,f=!0;else if(l===Da)o+=l,f=!0;else{for(c="";l===Da||l===Yt;)c+=l,l=r.charAt(++n);if(l!==Mt)break;o+=c+l,s+=l}if(i)return t?!0:e(u)({type:"code",lang:null,meta:null,value:ep(i)})}});var Fa=C((wv,ma)=>{"use strict";ma.exports=op;var Hr=`
`,dr=" ",$e=" ",up="~",ha="`",ip=3,ap=4;function op(e,r,t){var n=this,a=n.options.gfm,u=r.length+1,i=0,o="",s,l,c,f,D,h,p,d,m,F,y,v,B;if(a){for(;i<u&&(c=r.charAt(i),!(c!==$e&&c!==dr));)o+=c,i++;if(v=i,c=r.charAt(i),!(c!==up&&c!==ha)){for(i++,l=c,s=1,o+=c;i<u&&(c=r.charAt(i),c===l);)o+=c,s++,i++;if(!(s<ip)){for(;i<u&&(c=r.charAt(i),!(c!==$e&&c!==dr));)o+=c,i++;for(f="",p="";i<u&&(c=r.charAt(i),!(c===Hr||l===ha&&c===l));)c===$e||c===dr?p+=c:(f+=p+c,p=""),i++;if(c=r.charAt(i),!(c&&c!==Hr)){if(t)return!0;B=e.now(),B.column+=o.length,B.offset+=o.length,o+=f,f=n.decode.raw(n.unescape(f),B),p&&(o+=p),p="",F="",y="",d="",m="";for(var b=!0;i<u;){if(c=r.charAt(i),d+=F,m+=y,F="",y="",c!==Hr){d+=c,y+=c,i++;continue}for(b?(o+=c,b=!1):(F+=c,y+=c),p="",i++;i<u&&(c=r.charAt(i),c===$e);)p+=c,i++;if(F+=p,y+=p.slice(v),!(p.length>=ap)){for(p="";i<u&&(c=r.charAt(i),c===l);)p+=c,i++;if(F+=p,y+=p,!(p.length<s)){for(p="";i<u&&(c=r.charAt(i),!(c!==$e&&c!==dr));)F+=c,y+=c,i++;if(!c||c===Hr)break}}}for(o+=d+F,i=-1,u=f.length;++i<u;)if(c=f.charAt(i),c===$e||c===dr)D||(D=f.slice(0,i));else if(D){h=f.slice(i);break}return e(o)({type:"code",lang:D||f||null,meta:h||null,value:m})}}}}}});var Ie=C((je,ga)=>{je=ga.exports=sp;function sp(e){return e.trim?e.trim():je.right(je.left(e))}je.left=function(e){return e.trimLeft?e.trimLeft():e.replace(/^\s\s*/,"")};je.right=function(e){if(e.trimRight)return e.trimRight();for(var r=/\s/,t=e.length;r.test(e.charAt(--t)););return e.slice(0,t+1)}});var Kr=C((Bv,va)=>{"use strict";va.exports=cp;function cp(e,r,t,n){for(var a=e.length,u=-1,i,o;++u<a;)if(i=e[u],o=i[1]||{},!(o.pedantic!==void 0&&o.pedantic!==t.options.pedantic)&&!(o.commonmark!==void 0&&o.commonmark!==t.options.commonmark)&&r[i[0]].apply(t,n))return!0;return!1}});var ya=C((qv,ba)=>{"use strict";var lp=Ie(),fp=Kr();ba.exports=Dp;var Vt=`
`,Ea=" ",Gt=" ",Ca=">";function Dp(e,r,t){for(var n=this,a=n.offset,u=n.blockTokenizers,i=n.interruptBlockquote,o=e.now(),s=o.line,l=r.length,c=[],f=[],D=[],h,p=0,d,m,F,y,v,B,b,g;p<l&&(d=r.charAt(p),!(d!==Gt&&d!==Ea));)p++;if(r.charAt(p)===Ca){if(t)return!0;for(p=0;p<l;){for(F=r.indexOf(Vt,p),B=p,b=!1,F===-1&&(F=l);p<l&&(d=r.charAt(p),!(d!==Gt&&d!==Ea));)p++;if(r.charAt(p)===Ca?(p++,b=!0,r.charAt(p)===Gt&&p++):p=B,y=r.slice(p,F),!b&&!lp(y)){p=B;break}if(!b&&(m=r.slice(p),fp(i,u,n,[e,m,!0])))break;v=B===p?y:r.slice(B,F),D.push(p-B),c.push(v),f.push(y),p=F+1}for(p=-1,l=D.length,h=e(c.join(Vt));++p<l;)a[s]=(a[s]||0)+D[p],s++;return g=n.enterBlock(),f=n.tokenizeBlock(f.join(Vt),o),g(),h({type:"blockquote",children:f})}}});var ka=C((Tv,xa)=>{"use strict";xa.exports=dp;var Aa=`
`,hr=" ",mr=" ",Fr="#",pp=6;function dp(e,r,t){for(var n=this,a=n.options.pedantic,u=r.length+1,i=-1,o=e.now(),s="",l="",c,f,D;++i<u;){if(c=r.charAt(i),c!==mr&&c!==hr){i--;break}s+=c}for(D=0;++i<=u;){if(c=r.charAt(i),c!==Fr){i--;break}s+=c,D++}if(!(D>pp)&&!(!D||!a&&r.charAt(i+1)===Fr)){for(u=r.length+1,f="";++i<u;){if(c=r.charAt(i),c!==mr&&c!==hr){i--;break}f+=c}if(!(!a&&f.length===0&&c&&c!==Aa)){if(t)return!0;for(s+=f,f="",l="";++i<u&&(c=r.charAt(i),!(!c||c===Aa));){if(c!==mr&&c!==hr&&c!==Fr){l+=f+c,f="";continue}for(;c===mr||c===hr;)f+=c,c=r.charAt(++i);if(!a&&l&&!f&&c===Fr){l+=c;continue}for(;c===Fr;)f+=c,c=r.charAt(++i);for(;c===mr||c===hr;)f+=c,c=r.charAt(++i);i--}return o.column+=s.length,o.offset+=s.length,s+=l+f,e(s)({type:"heading",depth:D,children:n.tokenizeInline(l,o)})}}}});var qa=C((Sv,Ba)=>{"use strict";Ba.exports=Cp;var hp=" ",mp=`
`,wa=" ",Fp="*",gp="-",vp="_",Ep=3;function Cp(e,r,t){for(var n=-1,a=r.length+1,u="",i,o,s,l;++n<a&&(i=r.charAt(n),!(i!==hp&&i!==wa));)u+=i;if(!(i!==Fp&&i!==gp&&i!==vp))for(o=i,u+=i,s=1,l="";++n<a;)if(i=r.charAt(n),i===o)s++,u+=l+o,l="";else if(i===wa)l+=i;else return s>=Ep&&(!i||i===mp)?(u+=l,t?!0:e(u)({type:"thematicBreak"})):void 0}});var $t=C((_v,Sa)=>{"use strict";Sa.exports=xp;var Ta=" ",bp=" ",yp=1,Ap=4;function xp(e){for(var r=0,t=0,n=e.charAt(r),a={},u,i=0;n===Ta||n===bp;){for(u=n===Ta?Ap:yp,t+=u,u>1&&(t=Math.floor(t/u)*u);i<t;)a[++i]=r;n=e.charAt(++r)}return{indent:t,stops:a}}});var Pa=C((Ov,Oa)=>{"use strict";var kp=Ie(),wp=Wr(),Bp=$t();Oa.exports=Sp;var _a=`
`,qp=" ",Tp="!";function Sp(e,r){var t=e.split(_a),n=t.length+1,a=1/0,u=[],i,o,s;for(t.unshift(wp(qp,r)+Tp);n--;)if(o=Bp(t[n]),u[n]=o.stops,kp(t[n]).length!==0)if(o.indent)o.indent>0&&o.indent<a&&(a=o.indent);else{a=1/0;break}if(a!==1/0)for(n=t.length;n--;){for(s=u[n],i=a;i&&!(i in s);)i--;t[n]=t[n].slice(s[i]+1)}return t.shift(),t.join(_a)}});var za=C((Pv,Ua)=>{"use strict";var _p=Ie(),Op=Wr(),La=Le(),Pp=$t(),Lp=Pa(),Ip=Kr();Ua.exports=Gp;var jt="*",Np="_",Ia="+",Wt="-",Na=".",de=" ",te=`
`,Xr=" ",Ra=")",Rp="x",Ae=4,Up=/\n\n(?!\s*$)/,zp=/^\[([ X\tx])][ \t]/,Mp=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Yp=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,Vp=/^( {1,4}|\t)?/gm;function Gp(e,r,t){for(var n=this,a=n.options.commonmark,u=n.options.pedantic,i=n.blockTokenizers,o=n.interruptList,s=0,l=r.length,c=null,f,D,h,p,d,m,F,y,v,B,b,g,A,x,E,k,w,q,T,R=!1,O,_,S,P;s<l&&(p=r.charAt(s),!(p!==Xr&&p!==de));)s++;if(p=r.charAt(s),p===jt||p===Ia||p===Wt)d=p,h=!1;else{for(h=!0,D="";s<l&&(p=r.charAt(s),!!La(p));)D+=p,s++;if(p=r.charAt(s),!D||!(p===Na||a&&p===Ra)||t&&D!=="1")return;c=parseInt(D,10),d=p}if(p=r.charAt(++s),!(p!==de&&p!==Xr&&(u||p!==te&&p!==""))){if(t)return!0;for(s=0,x=[],E=[],k=[];s<l;){for(m=r.indexOf(te,s),F=s,y=!1,P=!1,m===-1&&(m=l),f=0;s<l;){if(p=r.charAt(s),p===Xr)f+=Ae-f%Ae;else if(p===de)f++;else break;s++}if(w&&f>=w.indent&&(P=!0),p=r.charAt(s),v=null,!P){if(p===jt||p===Ia||p===Wt)v=p,s++,f++;else{for(D="";s<l&&(p=r.charAt(s),!!La(p));)D+=p,s++;p=r.charAt(s),s++,D&&(p===Na||a&&p===Ra)&&(v=p,f+=D.length+1)}if(v)if(p=r.charAt(s),p===Xr)f+=Ae-f%Ae,s++;else if(p===de){for(S=s+Ae;s<S&&r.charAt(s)===de;)s++,f++;s===S&&r.charAt(s)===de&&(s-=Ae-1,f-=Ae-1)}else p!==te&&p!==""&&(v=null)}if(v){if(!u&&d!==v)break;y=!0}else!a&&!P&&r.charAt(F)===de?P=!0:a&&w&&(P=f>=w.indent||f>Ae),y=!1,s=F;if(b=r.slice(F,m),B=F===s?b:r.slice(s,m),(v===jt||v===Np||v===Wt)&&i.thematicBreak.call(n,e,b,!0))break;if(g=A,A=!y&&!_p(B).length,P&&w)w.value=w.value.concat(k,b),E=E.concat(k,b),k=[];else if(y)k.length!==0&&(R=!0,w.value.push(""),w.trail=k.concat()),w={value:[b],indent:f,trail:[]},x.push(w),E=E.concat(k,b),k=[];else if(A){if(g&&!a)break;k.push(b)}else{if(g||Ip(o,i,n,[e,b,!0]))break;w.value=w.value.concat(k,b),E=E.concat(k,b),k=[]}s=m+1}for(O=e(E.join(te)).reset({type:"list",ordered:h,start:c,spread:R,children:[]}),q=n.enterList(),T=n.enterBlock(),s=-1,l=x.length;++s<l;)w=x[s].value.join(te),_=e.now(),e(w)($p(n,w,_),O),w=x[s].trail.join(te),s!==l-1&&(w+=te),e(w);return q(),T(),O}}function $p(e,r,t){var n=e.offset,a=e.options.pedantic?jp:Wp,u=null,i,o;return r=a.apply(null,arguments),e.options.gfm&&(i=r.match(zp),i&&(o=i[0].length,u=i[1].toLowerCase()===Rp,n[t.line]+=o,r=r.slice(o))),{type:"listItem",spread:Up.test(r),checked:u,children:e.tokenizeBlock(r,t)}}function jp(e,r,t){var n=e.offset,a=t.line;return r=r.replace(Yp,u),a=t.line,r.replace(Vp,u);function u(i){return n[a]=(n[a]||0)+i.length,a++,""}}function Wp(e,r,t){var n=e.offset,a=t.line,u,i,o,s,l,c,f;for(r=r.replace(Mp,D),s=r.split(te),l=Lp(r,Pp(u).indent).split(te),l[0]=o,n[a]=(n[a]||0)+i.length,a++,c=0,f=s.length;++c<f;)n[a]=(n[a]||0)+s[c].length-l[c].length,a++;return l.join(te);function D(h,p,d,m,F){return i=p+d+m,o=F,Number(d)<10&&i.length%2===1&&(d=de+d),u=p+Op(de,d.length)+m,u+o}}});var Ga=C((Lv,Va)=>{"use strict";Va.exports=Zp;var Ht=`
`,Hp=" ",Ma=" ",Ya="=",Kp="-",Xp=3,Jp=1,Qp=2;function Zp(e,r,t){for(var n=this,a=e.now(),u=r.length,i=-1,o="",s,l,c,f,D;++i<u;){if(c=r.charAt(i),c!==Ma||i>=Xp){i--;break}o+=c}for(s="",l="";++i<u;){if(c=r.charAt(i),c===Ht){i--;break}c===Ma||c===Hp?l+=c:(s+=l+c,l="")}if(a.column+=o.length,a.offset+=o.length,o+=s+l,c=r.charAt(++i),f=r.charAt(++i),!(c!==Ht||f!==Ya&&f!==Kp)){for(o+=c,l=f,D=f===Ya?Jp:Qp;++i<u;){if(c=r.charAt(i),c!==f){if(c!==Ht)return;i--;break}l+=c}return t?!0:e(o+l)({type:"heading",depth:D,children:n.tokenizeInline(s,a)})}}});var Xt=C(Kt=>{"use strict";var ed="[a-zA-Z_:][a-zA-Z0-9:._-]*",rd="[^\"'=<>`\\u0000-\\u0020]+",td="'[^']*'",nd='"[^"]*"',ud="(?:"+rd+"|"+td+"|"+nd+")",id="(?:\\s+"+ed+"(?:\\s*=\\s*"+ud+")?)",$a="<[A-Za-z][A-Za-z0-9\\-]*"+id+"*\\s*\\/?>",ja="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ad="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",od="<[?].*?[?]>",sd="<![A-Za-z]+\\s+[^>]*>",cd="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";Kt.openCloseTag=new RegExp("^(?:"+$a+"|"+ja+")");Kt.tag=new RegExp("^(?:"+$a+"|"+ja+"|"+ad+"|"+od+"|"+sd+"|"+cd+")")});var Xa=C((Nv,Ka)=>{"use strict";var ld=Xt().openCloseTag;Ka.exports=xd;var fd=" ",Dd=" ",Wa=`
`,pd="<",dd=/^<(script|pre|style)(?=(\s|>|$))/i,hd=/<\/(script|pre|style)>/i,md=/^<!--/,Fd=/-->/,gd=/^<\?/,vd=/\?>/,Ed=/^<![A-Za-z]/,Cd=/>/,bd=/^<!\[CDATA\[/,yd=/]]>/,Ha=/^$/,Ad=new RegExp(ld.source+"\\s*$");function xd(e,r,t){for(var n=this,a=n.options.blocks.join("|"),u=new RegExp("^</?("+a+")(?=(\\s|/?>|$))","i"),i=r.length,o=0,s,l,c,f,D,h,p,d=[[dd,hd,!0],[md,Fd,!0],[gd,vd,!0],[Ed,Cd,!0],[bd,yd,!0],[u,Ha,!0],[Ad,Ha,!1]];o<i&&(f=r.charAt(o),!(f!==fd&&f!==Dd));)o++;if(r.charAt(o)===pd){for(s=r.indexOf(Wa,o+1),s=s===-1?i:s,l=r.slice(o,s),c=-1,D=d.length;++c<D;)if(d[c][0].test(l)){h=d[c];break}if(h){if(t)return h[2];if(o=s,!h[1].test(l))for(;o<i;){if(s=r.indexOf(Wa,o+1),s=s===-1?i:s,l=r.slice(o+1,s),h[1].test(l)){l&&(o=s);break}o=s}return p=r.slice(0,o),e(p)({type:"html",value:p})}}}});var ne=C((Rv,Ja)=>{"use strict";Ja.exports=Bd;var kd=String.fromCharCode,wd=/\s/;function Bd(e){return wd.test(typeof e=="number"?kd(e):e.charAt(0))}});var Jt=C((Uv,Qa)=>{"use strict";var qd=kr();Qa.exports=Td;function Td(e){return qd(e).toLowerCase()}});var io=C((zv,uo)=>{"use strict";var Sd=ne(),_d=Jt();uo.exports=Id;var Za='"',eo="'",Od="\\",We=`
`,Jr=" ",Qr=" ",Zt="[",gr="]",Pd="(",Ld=")",ro=":",to="<",no=">";function Id(e,r,t){for(var n=this,a=n.options.commonmark,u=0,i=r.length,o="",s,l,c,f,D,h,p,d;u<i&&(f=r.charAt(u),!(f!==Qr&&f!==Jr));)o+=f,u++;if(f=r.charAt(u),f===Zt){for(u++,o+=f,c="";u<i&&(f=r.charAt(u),f!==gr);)f===Od&&(c+=f,u++,f=r.charAt(u)),c+=f,u++;if(!(!c||r.charAt(u)!==gr||r.charAt(u+1)!==ro)){for(h=c,o+=c+gr+ro,u=o.length,c="";u<i&&(f=r.charAt(u),!(f!==Jr&&f!==Qr&&f!==We));)o+=f,u++;if(f=r.charAt(u),c="",s=o,f===to){for(u++;u<i&&(f=r.charAt(u),!!Qt(f));)c+=f,u++;if(f=r.charAt(u),f===Qt.delimiter)o+=to+c+f,u++;else{if(a)return;u-=c.length+1,c=""}}if(!c){for(;u<i&&(f=r.charAt(u),!!Nd(f));)c+=f,u++;o+=c}if(c){for(p=c,c="";u<i&&(f=r.charAt(u),!(f!==Jr&&f!==Qr&&f!==We));)c+=f,u++;if(f=r.charAt(u),D=null,f===Za?D=Za:f===eo?D=eo:f===Pd&&(D=Ld),!D)c="",u=o.length;else if(c){for(o+=c+f,u=o.length,c="";u<i&&(f=r.charAt(u),f!==D);){if(f===We){if(u++,f=r.charAt(u),f===We||f===D)return;c+=We}c+=f,u++}if(f=r.charAt(u),f!==D)return;l=o,o+=c+f,u++,d=c,c=""}else return;for(;u<i&&(f=r.charAt(u),!(f!==Jr&&f!==Qr));)o+=f,u++;if(f=r.charAt(u),!f||f===We)return t?!0:(s=e(s).test().end,p=n.decode.raw(n.unescape(p),s,{nonTerminated:!1}),d&&(l=e(l).test().end,d=n.decode.raw(n.unescape(d),l)),e(o)({type:"definition",identifier:_d(h),label:h,title:d||null,url:p}))}}}}function Qt(e){return e!==no&&e!==Zt&&e!==gr}Qt.delimiter=no;function Nd(e){return e!==Zt&&e!==gr&&!Sd(e)}});var so=C((Mv,oo)=>{"use strict";var Rd=ne();oo.exports=Hd;var Ud=" ",Zr=`
`,zd=" ",Md="-",Yd=":",Vd="\\",en="|",Gd=1,$d=2,ao="left",jd="center",Wd="right";function Hd(e,r,t){var n=this,a,u,i,o,s,l,c,f,D,h,p,d,m,F,y,v,B,b,g,A,x,E;if(n.options.gfm){for(a=0,v=0,l=r.length+1,c=[];a<l;){if(A=r.indexOf(Zr,a),x=r.indexOf(en,a+1),A===-1&&(A=r.length),x===-1||x>A){if(v<$d)return;break}c.push(r.slice(a,A)),v++,a=A+1}for(o=c.join(Zr),u=c.splice(1,1)[0]||[],a=0,l=u.length,v--,i=!1,p=[];a<l;){if(D=u.charAt(a),D===en){if(h=null,i===!1){if(E===!1)return}else p.push(i),i=!1;E=!1}else if(D===Md)h=!0,i=i||null;else if(D===Yd)i===ao?i=jd:h&&i===null?i=Wd:i=ao;else if(!Rd(D))return;a++}if(i!==!1&&p.push(i),!(p.length<Gd)){if(t)return!0;for(y=-1,b=[],g=e(o).reset({type:"table",align:p,children:b});++y<v;){for(B=c[y],s={type:"tableRow",children:[]},y&&e(Zr),e(B).reset(s,g),l=B.length+1,a=0,f="",d="",m=!0;a<l;){if(D=B.charAt(a),D===Ud||D===zd){d?f+=D:e(D),a++;continue}D===""||D===en?m?e(D):((d||D)&&!m&&(o=d,f.length>1&&(D?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),F=e.now(),e(o)({type:"tableCell",children:n.tokenizeInline(d,F)},s)),e(f+D),f="",d=""):(f&&(d+=f,f=""),d+=D,D===Vd&&a!==l-2&&(d+=B.charAt(a+1),a++)),m=!1,a++}y||e(Zr+u)}return g}}}});var fo=C((Yv,lo)=>{"use strict";var Kd=Ie(),Xd=zt(),Jd=Kr();lo.exports=e0;var Qd=" ",vr=`
`,Zd=" ",co=4;function e0(e,r,t){for(var n=this,a=n.options,u=a.commonmark,i=n.blockTokenizers,o=n.interruptParagraph,s=r.indexOf(vr),l=r.length,c,f,D,h,p;s<l;){if(s===-1){s=l;break}if(r.charAt(s+1)===vr)break;if(u){for(h=0,c=s+1;c<l;){if(D=r.charAt(c),D===Qd){h=co;break}else if(D===Zd)h++;else break;c++}if(h>=co&&D!==vr){s=r.indexOf(vr,s+1);continue}}if(f=r.slice(s+1),Jd(o,i,n,[e,f,!0]))break;if(c=s,s=r.indexOf(vr,s+1),s!==-1&&Kd(r.slice(c,s))===""){s=c;break}}return f=r.slice(0,s),t?!0:(p=e.now(),f=Xd(f),e(f)({type:"paragraph",children:n.tokenizeInline(f,p)}))}});var po=C((Vv,Do)=>{"use strict";Do.exports=r0;function r0(e,r){return e.indexOf("\\",r)}});var go=C((Gv,Fo)=>{"use strict";var t0=po();Fo.exports=mo;mo.locator=t0;var n0=`
`,ho="\\";function mo(e,r,t){var n=this,a,u;if(r.charAt(0)===ho&&(a=r.charAt(1),n.escape.indexOf(a)!==-1))return t?!0:(a===n0?u={type:"break"}:u={type:"text",value:a},e(ho+a)(u))}});var rn=C(($v,vo)=>{"use strict";vo.exports=u0;function u0(e,r){return e.indexOf("<",r)}});var Ao=C((jv,yo)=>{"use strict";var Eo=ne(),i0=pr(),a0=rn();yo.exports=an;an.locator=a0;an.notInLink=!0;var Co="<",tn=">",bo="@",nn="/",un="mailto:",et=un.length;function an(e,r,t){var n=this,a="",u=r.length,i=0,o="",s=!1,l="",c,f,D,h,p;if(r.charAt(0)===Co){for(i++,a=Co;i<u&&(c=r.charAt(i),!(Eo(c)||c===tn||c===bo||c===":"&&r.charAt(i+1)===nn));)o+=c,i++;if(o){if(l+=o,o="",c=r.charAt(i),l+=c,i++,c===bo)s=!0;else{if(c!==":"||r.charAt(i+1)!==nn)return;l+=nn,i++}for(;i<u&&(c=r.charAt(i),!(Eo(c)||c===tn));)o+=c,i++;if(c=r.charAt(i),!(!o||c!==tn))return t?!0:(l+=o,D=l,a+=l+c,f=e.now(),f.column++,f.offset++,s&&(l.slice(0,et).toLowerCase()===un?(D=D.slice(et),f.column+=et,f.offset+=et):l=un+l),h=n.inlineTokenizers,n.inlineTokenizers={text:h.text},p=n.enterLink(),D=n.tokenizeInline(D,f),n.inlineTokenizers=h,p(),e(a)({type:"link",title:null,url:i0(l,{nonTerminated:!1}),children:D}))}}}});var ko=C((Wv,xo)=>{"use strict";xo.exports=o0;function o0(e,r){var t=String(e),n=0,a;if(typeof r!="string")throw new Error("Expected character");for(a=t.indexOf(r);a!==-1;)n++,a=t.indexOf(r,a+r.length);return n}});var qo=C((Hv,Bo)=>{"use strict";Bo.exports=s0;var wo=["www.","http://","https://"];function s0(e,r){var t=-1,n,a,u;if(!this.options.gfm)return t;for(a=wo.length,n=-1;++n<a;)u=e.indexOf(wo[n],r),u!==-1&&(t===-1||u<t)&&(t=u);return t}});var Po=C((Kv,Oo)=>{"use strict";var To=ko(),c0=pr(),l0=Le(),on=Ye(),f0=ne(),D0=qo();Oo.exports=cn;cn.locator=D0;cn.notInLink=!0;var p0=33,d0=38,h0=41,m0=42,F0=44,g0=45,sn=46,v0=58,E0=59,C0=63,b0=60,So=95,y0=126,A0="(",_o=")";function cn(e,r,t){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=r.length,o=-1,s=!1,l,c,f,D,h,p,d,m,F,y,v,B,b,g;if(a){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];D<i;){if(d=r.charCodeAt(D),d===sn){if(o===D-1)break;l.push(D),o=D,D++;continue}if(l0(d)||on(d)||d===g0||d===So){D++;continue}break}if(d===sn&&(l.pop(),D--),l[0]!==void 0&&(c=l.length<2?f:l[l.length-2]+1,r.slice(c,D).indexOf("_")===-1)){if(t)return!0;for(m=D,h=D;D<i&&(d=r.charCodeAt(D),!(f0(d)||d===b0));)D++,d===p0||d===m0||d===F0||d===sn||d===v0||d===C0||d===So||d===y0||(m=D);if(D=m,r.charCodeAt(D-1)===h0)for(p=r.slice(h,D),F=To(p,A0),y=To(p,_o);y>F;)D=h+p.lastIndexOf(_o),p=r.slice(h,D),y--;if(r.charCodeAt(D-1)===E0&&(D--,on(r.charCodeAt(D-1)))){for(m=D-2;on(r.charCodeAt(m));)m--;r.charCodeAt(m)===d0&&(D=m)}return v=r.slice(0,D),b=c0(v,{nonTerminated:!1}),s&&(b="http://"+b),g=n.enterLink(),n.inlineTokenizers={text:u.text},B=n.tokenizeInline(v,e.now()),n.inlineTokenizers=u,g(),e(v)({type:"link",title:null,url:b,children:B})}}}});var Ro=C((Xv,No)=>{"use strict";var x0=Le(),k0=Ye(),w0=43,B0=45,q0=46,T0=95;No.exports=Io;function Io(e,r){var t=this,n,a;if(!this.options.gfm||(n=e.indexOf("@",r),n===-1))return-1;if(a=n,a===r||!Lo(e.charCodeAt(a-1)))return Io.call(t,e,n+1);for(;a>r&&Lo(e.charCodeAt(a-1));)a--;return a}function Lo(e){return x0(e)||k0(e)||e===w0||e===B0||e===q0||e===T0}});var Yo=C((Jv,Mo)=>{"use strict";var S0=pr(),Uo=Le(),zo=Ye(),_0=Ro();Mo.exports=Dn;Dn.locator=_0;Dn.notInLink=!0;var O0=43,ln=45,rt=46,P0=64,fn=95;function Dn(e,r,t){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=0,o=r.length,s=-1,l,c,f,D;if(a){for(l=r.charCodeAt(i);Uo(l)||zo(l)||l===O0||l===ln||l===rt||l===fn;)l=r.charCodeAt(++i);if(i!==0&&l===P0){for(i++;i<o;){if(l=r.charCodeAt(i),Uo(l)||zo(l)||l===ln||l===rt||l===fn){i++,s===-1&&l===rt&&(s=i);continue}break}if(!(s===-1||s===i||l===ln||l===fn))return l===rt&&i--,c=r.slice(0,i),t?!0:(D=n.enterLink(),n.inlineTokenizers={text:u.text},f=n.tokenizeInline(c,e.now()),n.inlineTokenizers=u,D(),e(c)({type:"link",title:null,url:"mailto:"+S0(c,{nonTerminated:!1}),children:f}))}}}});var $o=C((Qv,Go)=>{"use strict";var
`,W0="!",Wo='"',Ho="'",He="(",Cr=")",dn="<",hn=">",Ko="[",br="\\",H0="]",Xo="`";function Jo(e,r,t){var n=this,a="",u=0,i=r.charAt(0),o=n.options.pedantic,s=n.options.commonmark,l=n.options.gfm,c,f,D,h,p,d,m,F,y,v,B,b,g,A,x,E,k,w;if(i===W0&&(F=!0,a=i,i=r.charAt(++u)),i===Ko&&!(!F&&n.inLink)){for(a+=i,A="",u++,B=r.length,E=e.now(),g=0,E.column+=u,E.offset+=u;u<B;){if(i=r.charAt(u),d=i,i===Xo){for(f=1;r.charAt(u+1)===Xo;)d+=i,u++,f++;D?f>=D&&(D=0):D=f}else if(i===br)u++,d+=r.charAt(u);else if((!D||l)&&i===Ko)g++;else if((!D||l)&&i===H0)if(g)g--;else{if(r.charAt(u+1)!==He)return;d+=He,c=!0,u++;break}A+=d,d="",u++}if(c){for(y=A,a+=A+d,u++;u<B&&(i=r.charAt(u),!!Er(i));)a+=i,u++;if(i=r.charAt(u),A="",h=a,i===dn){for(u++,h+=dn;u<B&&(i=r.charAt(u),i!==hn);){if(s&&i===j0)return;A+=i,u++}if(r.charAt(u)!==hn)return;a+=dn+A+hn,x=A,u++}else{for(i=null,d="";u<B&&(i=r.charAt(u),!(d&&(i===Wo||i===Ho||s&&i===He)));){if(Er(i)){if(!o)break;d+=i}else{if(i===He)g++;else if(i===Cr){if(g===0)break;g--}A+=d,d="",i===br&&(A+=br,i=r.charAt(++u)),A+=i}u++}a+=A,x=A,u=a.length}for(A="";u<B&&(i=r.charAt(u),!!Er(i));)A+=i,u++;if(i=r.charAt(u),a+=A,A&&(i===Wo||i===Ho||s&&i===He))if(u++,a+=i,A="",v=i===He?Cr:i,p=a,s){for(;u<B&&(i=r.charAt(u),i!==v);)i===br&&(A+=br,i=r.charAt(++u)),u++,A+=i;if(i=r.charAt(u),i!==v)return;for(b=A,a+=A+i,u++;u<B&&(i=r.charAt(u),!!Er(i));)a+=i,u++}else for(d="";u<B;){if(i=r.charAt(u),i===v)m&&(A+=v+d,d=""),m=!0;else if(!m)A+=i;else if(i===Cr){a+=A+v+d,b=A;break}else Er(i)?d+=i:(A+=v+d+i,d="",m=!1);u++}if(r.charAt(u)===Cr)return t?!0:(a+=Cr,x=n.decode.raw(n.unescape(x),e(h).test().end,{nonTerminated:!1}),b&&(p=e(p).test().end,b=n.decode.raw(n.unescape(b),p)),w={type:F?"image":"link",title:b||null,url:x},F?w.alt=n.decode.raw(n.unescape(y),E)||null:(k=n.enterLink(),w.children=n.tokenizeInline(y,E),k()),e(a)(w))}}}});var ts=C((rE,rs)=>{"use strict";var K0=ne(),X0=pn(),J0=Jt();rs.exports=es;es.locator=X0;var mn="link",Q0="image",Z0="shortcut",eh="collapsed",Fn="full",rh="!",tt="[",nt="\\",ut="]";function es(e,r,t){var n=this,a=n.options.commonmark,u=r.charAt(0),i=0,o=r.length,s="",l="",c=mn,f=Z0,D,h,p,d,m,F,y,v;if(u===rh&&(c=Q0,l=u,u=r.charAt(++i)),u===tt){for(i++,l+=u,F="",v=0;i<o;){if(u=r.charAt(i),u===tt)y=!0,v++;else if(u===ut){if(!v)break;v--}u===nt&&(F+=nt,u=r.charAt(++i)),F+=u,i++}if(s=F,D=F,u=r.charAt(i),u===ut){if(i++,s+=u,F="",!a)for(;i<o&&(u=r.charAt(i),!!K0(u));)F+=u,i++;if(u=r.charAt(i),u===tt){for(h="",F+=u,i++;i<o&&(u=r.charAt(i),!(u===tt||u===ut));)u===nt&&(h+=nt,u=r.charAt(++i)),h+=u,i++;u=r.charAt(i),u===ut?(f=h?Fn:eh,F+=h+u,i++):h="",s+=F,F=""}else{if(!D)return;h=D}if(!(f!==Fn&&y))return s=l+s,c===mn&&n.inLink?null:t?!0:(p=e.now(),p.column+=l.length,p.offset+=l.length,h=f===Fn?h:D,d={type:c+"Reference",identifier:J0(h),label:h,referenceType:f},c===mn?(m=n.enterLink(),d.children=n.tokenizeInline(D,p),m()):d.alt=n.decode.raw(n.unescape(D),p)||null,e(s)(d))}}}});var us=C((tE,ns)=>{"use strict";ns.exports=th;function th(e,r){var t=e.indexOf("**",r),n=e.indexOf("__",r);return n===-1?t:t===-1||n<t?n:t}});var ss=C((nE,os)=>{"use strict";var nh=Ie(),is=ne(),uh=us();os.exports=as;as.locator=uh;var ih="\\",ah="*",oh="_";function as(e,r,t){var n=this,a=0,u=r.charAt(a),i,o,s,l,c,f,D;if(!(u!==ah&&u!==oh||r.charAt(++a)!==u)&&(o=n.options.pedantic,s=u,c=s+s,f=r.length,a++,l="",u="",!(o&&is(r.charAt(a)))))for(;a<f;){if(D=u,u=r.charAt(a),u===s&&r.charAt(a+1)===s&&(!o||!is(D))&&(u=r.charAt(a+2),u!==s))return nh(l)?t?!0:(i=e.now(),i.column+=2,i.offset+=2,e(c+l+c)({type:"strong",children:n.tokenizeInline(l,i)})):void 0;!o&&u===ih&&(l+=u,u=r.charAt(++a)),l+=u,a++}}});var ls=C((uE,cs)=>{"use strict";cs.exports=lh;var sh=String.fromCharCode,ch=/\w/;function lh(e){return ch.test(typeof e=="number"?sh(e):e.charAt(0))}});var Ds=C((iE,fs)=>{"use strict";fs.exports=fh;function fh(e,r){var t=e.indexOf("*",r),n=e.indexOf("_",r);return n===-1?t:t===-1||n<t?n:t}});var Fs=C((aE,ms)=>{"use strict";var Dh=Ie(),ph=ls(),ps=ne(),dh=Ds();ms.exports=hs;hs.locator=dh;var hh="*",ds="_",mh="\\";function hs(e,r,t){var n=this,a=0,u=r.charAt(a),i,o,s,l,c,f
`,r);t>r&&e.charAt(t-1)===" ";)t--;return t}});var Ps=C((DE,Os)=>{"use strict";var bh=Ss();Os.exports=_s;_s.locator=bh;var yh=" ",Ah=`
`,xh=2;function _s(e,r,t){for(var n=r.length,a=-1,u="",i;++a<n;){if(i=r.charAt(a),i===Ah)return a<xh?void 0:t?!0:(u+=i,e(u)({type:"break"}));if(i!==yh)return;u+=i}}});var Is=C((pE,Ls)=>{"use strict";Ls.exports=kh;function kh(e,r,t){var n=this,a,u,i,o,s,l,c,f,D,h;if(t)return!0;for(a=n.inlineMethods,o=a.length,u=n.inlineTokenizers,i=-1,D=r.length;++i<o;)f=a[i],!(f==="text"||!u[f])&&(c=u[f].locator,c||e.file.fail("Missing locator: `"+f+"`"),l=c.call(n,r,1),l!==-1&&l<D&&(D=l));s=r.slice(0,D),h=e.now(),n.decode(s,h,p);function p(d,m,F){e(F||d)({type:"text",value:d})}}});var zs=C((dE,Us)=>{"use strict";var wh=Pe(),at=ti(),Bh=ui(),qh=ai(),Th=Pi(),Cn=Ni();Us.exports=Ns;function Ns(e,r){this.file=r,this.offset={},this.options=wh(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Bh(r).toOffset,this.unescape=qh(this,"escape"),this.decode=Th(this)}var U=Ns.prototype;U.setOptions=$i();U.parse=oa();U.options=Nt();U.exitStart=at("atStart",!0);U.enterList=at("inList",!1);U.enterLink=at("inLink",!1);U.enterBlock=at("inBlock",!1);U.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];U.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];U.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]];U.blockTokenizers={blankLine:ca(),indentedCode:da(),fencedCode:Fa(),blockquote:ya(),atxHeading:ka(),thematicBreak:qa(),list:za(),setextHeading:Ga(),html:Xa(),definition:io(),table:so(),paragraph:fo()};U.inlineTokenizers={escape:go(),autoLink:Ao(),url:Po(),email:Yo(),html:$o(),link:Zo(),reference:ts(),strong:ss(),emphasis:Fs(),deletion:As(),code:qs(),break:Ps(),text:Is()};U.blockMethods=Rs(U.blockTokenizers);U.inlineMethods=Rs(U.inlineTokenizers);U.tokenizeBlock=Cn("block");U.tokenizeInline=Cn("inline");U.tokenizeFactory=Cn;function Rs(e){var r=[],t;for(t in e)r.push(t);return r}});var Gs=C((hE,Vs)=>{"use strict";var Sh=ei(),_h=Pe(),Ms=zs();Vs.exports=Ys;Ys.Parser=Ms;function Ys(e){var r=this.data("settings"),t=Sh(Ms);t.prototype.options=_h(t.prototype.options,r,e),this.Parser=t}});var js=C((mE,$s)=>{"use strict";$s.exports=Oh;function Oh(e){if(e)throw e}});var bn=C((FE,Ws)=>{Ws.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var tc=C((gE,rc)=>{"use strict";var ot=Object.prototype.hasOwnProperty,ec=Object.prototype.toString,Hs=Object.defineProperty,Ks=Object.getOwnPropertyDescriptor,Xs=function(r){return typeof Array.isArray=="function"?Array.isArray(r):ec.call(r)==="[object Array]"},Js=function(r){if(!r||ec.call(r)!=="[object Object]")return!1;var t=ot.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&ot.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!t&&!n)return!1;var a;for(a in r);return typeof a>"u"||ot.call(r,a)},Qs=function(r,t){Hs&&t.name==="__proto__"?Hs(r,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):r[t.name]=t.newValue},Zs=function(r,t){if(t==="__proto__")if(ot.call(r,t)){if(Ks)return Ks(r,t).value}else return;return r[t]};rc.exports=function e(){var r,t,n,a,u,i,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s<l;++s)if(r=arguments[s],r!=null)for(t in r)n=Zs(o,t),a=Zs(r,t),o!==a&&(c&&a&&(Js(a)||(u=Xs(a)))?(u?(u=!1,i=n&&Xs(n)?n:[]):i=n&&Js(n)?n:{},Qs(o,{name:t,newValue:e(c,i,a)})):typeof a<"u"&&Qs(o,{name:t,newValue:a}));return o}});var uc=C((vE,nc)=>{"use strict";nc.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var ac=C((EE,ic)=>{"use s
Expected it to be 'string' or 'object'.`;if(fe(e))throw new Error("doc is valid.");let t=Object.prototype.toString.call(e);if(t!=="[object Object]")return`Unexpected doc '${t}'.`;let n=fl([...wr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`}var ft=class extends Error{name="InvalidDocError";constructor(r){super(Dl(r)),this.doc=r}},we=ft;var In={};function pl(e,r,t,n){let a=[e];for(;a.length>0;){let u=a.pop();if(u===In){t(a.pop());continue}t&&a.push(u,In);let i=fe(u);if(!i)throw new we(u);if((r==null?void 0:r(u))!==!1)switch(i){case J:case W:{let o=i===J?u:u.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case H:a.push(u.flatContents,u.breakContents);break;case j:if(n&&u.expandedStates)for(let o=u.expandedStates.length,s=o-1;s>=0;--s)a.push(u.expandedStates[s]);else a.push(u.contents);break;case Z:case Q:case oe:case le:case se:a.push(u.contents);break;case ie:case ge:case ae:case ce:case $:case ee:break;default:throw new we(u)}}}var Nn=pl;var Rn=()=>{},Be=Rn,Br=Rn;function Je(e){return Be(e),{type:Q,contents:e}}function ve(e,r){return Be(r),{type:Z,contents:r,n:e}}function Qe(e,r={}){return Be(e),Br(r.expandedStates,!0),{type:j,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function qe(e){return ve({type:"root"},e)}function qr(e){return Br(e),{type:W,parts:e}}function Un(e,r="",t={}){return Be(e),r!==""&&Be(r),{type:H,breakContents:e,flatContents:r,groupId:t.groupId}}var Ze={type:ee};var Re={type:$,hard:!0},dl={type:$,hard:!0,literal:!0},Tr={type:$},er={type:$,soft:!0},L=[Re,Ze],rr=[dl,Ze];function tr(e,r){Be(e),Br(r);let t=[];for(let n=0;n<r.length;n++)n!==0&&t.push(e),t.push(r[n]);return t}function zn(e){switch(e){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}var Mn=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDF
`)):t)}var V=Symbol("MODE_BREAK"),re=Symbol("MODE_FLAT"),ur=Symbol("cursor");function Jn(){return{value:"",length:0,queue:[]}}function Fl(e,r){return Dt(e,{type:"indent"},r)}function gl(e,r,t){return r===Number.NEGATIVE_INFINITY?e.root||Jn():r<0?Dt(e,{type:"dedent"},t):r?r.type==="root"?{...e,root:e}:Dt(e,{type:typeof r=="string"?"stringAlign":"numberAlign",n:r},t):e}function Dt(e,r,t){let n=r.type==="dedent"?e.queue.slice(0,-1):[...e.queue,r],a="",u=0,i=0,o=0;for(let p of n)switch(p.type){case"indent":c(),t.useTabs?s(1):l(t.tabWidth);break;case"stringAlign":c(),a+=p.n,u+=p.n.length;break;case"numberAlign":i+=1,o+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return D(),{...e,value:a,length:u,queue:n};function s(p){a+=" ".repeat(p),u+=t.tabWidth*p}function l(p){a+=" ".repeat(p),u+=p}function c(){t.useTabs?f():D()}function f(){i>0&&s(i),h()}function D(){o>0&&l(o),h()}function h(){i=0,o=0}}function pt(e){let r=0,t=0,n=e.length;e:for(;n--;){let a=e[n];if(a===ur){t++;continue}for(let u=a.length-1;u>=0;u--){let i=a[u];if(i===" "||i===" ")r++;else{e[n]=a.slice(0,u+1);break e}}}if(r>0||t>0)for(e.length=n+1;t-- >0;)e.push(ur);return r}function Sr(e,r,t,n,a,u){if(t===Number.POSITIVE_INFINITY)return!0;let i=r.length,o=[e],s=[];for(;t>=0;){if(o.length===0){if(i===0)return!0;o.push(r[--i]);continue}let{mode:l,doc:c}=o.pop();switch(fe(c)){case ie:s.push(c),t-=nr(c);break;case J:case W:{let f=Wn(c);for(let D=f.length-1;D>=0;D--)o.push({mode:l,doc:f[D]});break}case Q:case Z:case oe:case le:o.push({mode:l,doc:c.contents});break;case ae:t+=pt(s);break;case j:{if(u&&c.break)return!1;let f=c.break?V:l,D=c.expandedStates&&f===V?M(!1,c.expandedStates,-1):c.contents;o.push({mode:f,doc:D});break}case H:{let D=(c.groupId?a[c.groupId]||re:l)===V?c.breakContents:c.flatContents;D&&o.push({mode:l,doc:D});break}case $:if(l===V||c.hard)return!0;c.soft||(s.push(" "),t--);break;case se:n=!0;break;case ce:if(n)return!1;break}}return!1}function Qn(e,r){let t={},n=r.printWidth,a=zn(r.endOfLine),u=0,i=[{ind:Jn(),mode:V,doc:e}],o=[],s=!1,l=[],c=0;for(Kn(e);i.length>0;){let{ind:D,mode:h,doc:p}=i.pop();switch(fe(p)){case ie:{let d=a!==`
`?N(!1,p,`
`,a):p;o.push(d),i.length>0&&(u+=nr(d));break}case J:for(let d=p.length-1;d>=0;d--)i.push({ind:D,mode:h,doc:p[d]});break;case ge:if(c>=2)throw new Error("There are too many 'cursor' in doc.");o.push(ur),c++;break;case Q:i.push({ind:Fl(D,r),mode:h,doc:p.contents});break;case Z:i.push({ind:gl(D,p.n,r),mode:h,doc:p.contents});break;case ae:u-=pt(o);break;case j:switch(h){case re:if(!s){i.push({ind:D,mode:p.break?V:re,doc:p.contents});break}case V:{s=!1;let d={ind:D,mode:re,doc:p.contents},m=n-u,F=l.length>0;if(!p.break&&Sr(d,i,m,F,t))i.push(d);else if(p.expandedStates){let y=M(!1,p.expandedStates,-1);if(p.break){i.push({ind:D,mode:V,doc:y});break}else for(let v=1;v<p.expandedStates.length+1;v++)if(v>=p.expandedStates.length){i.push({ind:D,mode:V,doc:y});break}else{let B=p.expandedStates[v],b={ind:D,mode:re,doc:B};if(Sr(b,i,m,F,t)){i.push(b);break}}}else i.push({ind:D,mode:V,doc:p.contents});break}}p.id&&(t[p.id]=M(!1,i,-1).mode);break;case W:{let d=n-u,{parts:m}=p;if(m.length===0)break;let[F,y]=m,v={ind:D,mode:re,doc:F},B={ind:D,mode:V,doc:F},b=Sr(v,[],d,l.length>0,t,!0);if(m.length===1){b?i.push(v):i.push(B);break}let g={ind:D,mode:re,doc:y},A={ind:D,mode:V,doc:y};if(m.length===2){b?i.push(g,v):i.push(A,B);break}m.splice(0,2);let x={ind:D,mode:h,doc:qr(m)},E=m[0];Sr({ind:D,mode:re,doc:[F,y,E]},[],d,l.length>0,t,!0)?i.push(x,g,v):b?i.push(x,A,v):i.push(x,A,B);break}case H:case oe:{let d=p.groupId?t[p.groupId]:h;if(d===V){let m=p.type===H?p.breakContents:p.negate?p.contents:Je(p.contents);m&&i.push({ind:D,mode:h,doc:m})}if(d===re){let m=p.type===H?p.flatContents:p.negate?Je(p.contents):p.contents;m&&i.push({ind:D,mode:h,doc:m})}break}case se:l.push({ind:D,mode:h,doc:p.contents});break;case ce:l.length>0&&i.push({ind:D,mode:h,doc:Re});break;case $:switch(h){case re:if(p.hard)s=!0;else{p.soft||(o.push(" "),u+=1);break}case V:if(l.length>0){i.push({ind:D,mode:h,doc:p},...l.reverse()),l.length=0;break}p.literal?D.root?(o.push(a,D.root.value),u=D.root.length):(o.push(a),u=0):(u-=pt(o),o.push(a+D.value),u=D.length);break}break;case le:i.push({ind:D,mode:h,doc:p.contents});break;case ee:break;default:throw new we(p)}i.length===0&&l.length>0&&(i.push(...l.reverse()),l.length=0)}let f=o.indexOf(ur);if(f!==-1){let D=o.indexOf(ur,f+1),h=o.slice(0,f).join(""),p=o.slice(f+1,D).join(""),d=o.slice(D+1).join("");return{formatted:h+p+d,cursorNodeStart:h.length,cursorNodeText:p}}return{formatted:o.join("")}}function ir(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function vl(e,r){let t=e.match(new RegExp(`(${ir(r)})+`,"g"));return t===null?0:t.reduce((n,a)=>Math.max(n,a.length/r.length),0)}var _r=vl;function El(e,r){let t=e.match(new RegExp(`(${ir(r)})+`,"g"));if(t===null)return 0;let n=new Map,a=0;for(let u of t){let i=u.length/r.length;n.set(i,!0),i>a&&(a=i)}for(let u=1;u<a;u++)if(!n.get(u))return u;return a+1}var Zn=El;var Or="'",eu='"';function Cl(e,r){let t=r===!0||r===Or?Or:eu,n=t===Or?eu:Or,a=0,u=0;for(let i of e)i===t?a++:i===n&&u++;return a>u?n:t}var ru=Cl;var dt=class extends Error{name="UnexpectedNodeError";constructor(r,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(r[n])}.`),this.node=r}},tu=dt;var ou=Ne(kr(),1);function bl(e){return(e==null?void 0:e.type)==="front-matter"}var nu=bl;var yl=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Al(e){let r=e.match(yl);if(!r)return{content:e};let{startDelimiter:t,language:n,value:a="",endDelimiter:u}=r.groups,i=n.trim()||"yaml";if(t==="+++"&&(i="toml"),i!=="yaml"&&t!==u)return{content:e};let[o]=r;return{frontMatter:{type:"front-matter",lang:i,value:a,startDelimiter:t,endDelimiter:u,raw:o.replace(/\n$/,"")},content:N(!1,o,/[^\n]/g," ")+e.slice(o.length)}}var ar=Al;var uu=["format","prettier"];function ht(e){let r=`@(${uu.join("|")})`,t=new RegExp([`<!--\\s*${r}\\s*-->`,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${r}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),n=e.match(t);return(n==null?void 0:n.index)===0}var iu=e=>ht(ar(e).content.trimStart()),au=e=>{let r=ar(e),t=`<!-- @${uu[0]} -->`;return r.frontMatter?`${r.frontMatter.raw}
${t}
${r.content}`:`${t}
${r.content}`};var xl=new Set(["position","raw"]);function su(e,r,t){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text")return null;if(e.type==="inlineCode"&&(r.value=N(!1,e.value,`
`," ")),e.type==="wikiLink"&&(r.value=N(!1,e.value.trim(),/[\t\n]+/g," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,ou.default)(e.label)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of"<>")r.url=N(!1,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=N(!1,e.title,/\\(?=["')])/g,"")),(t==null?void 0:t.type)==="root"&&t.children.length>0&&(t.children[0]===e||nu(t.children[0])&&t.children[1]===e)&&e.type==="html"&&ht(e.value))return null}su.ignoredProperties=xl;var cu=su;var lu=/(?:[\u02ea-\u02eb\u1100-\u11ff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u303f\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u3190-\u4dbf\u4e00-\u9fff\ua700-\ua707\ua960-\ua97c\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufe10-\ufe1f\ufe30-\ufe6f\uff00-\uffef]|[\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872\ud874-\ud879\ud880-\ud883\ud885-\ud887][\udc00-\udfff]|\ud81b[\udfe3]|\ud82b[\udff0-\udff3\udff5-\udffb\udffd-\udffe]|\ud82c[\udc00-\udd22\udd32\udd50-\udd52\udd55\udd64-\udd67]|\ud83c[\ude00\ude50-\ude51]|\ud869[\udc00-\udedf\udf00-\udfff]|\ud86d[\udc00-\udf39\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\ud884[\udc00-\udf4a\udf50-\udfff]|\ud888[\udc00-\udfaf])(?:[\ufe00-\ufe0f]|\udb40[\udd00-\uddef])?/,fu=/[\u1100-\u11ff\u3001-\u3003\u3008-\u3011\u3013-\u301f\u302e-\u3030\u3037\u30fb\u3131-\u318e\u3200-\u321e\u3260-\u327e\ua960-\ua97c\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ufe45-\ufe46\uff61-\uff65\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]/,Te=/[\u0021-\u002f\u003a-\u0040\u005b-\u0060\u007b-\u007e\u00a1\u00a7\u00ab\u00b6-\u00b7\u00bb\u00bf\u037e\u0387\u055a-\u055f\u0589-\u058a\u05be\u05c0\u05c3\u05c6\u05f3-\u05f4\u0609-\u060a\u060c-\u060d\u061b\u061d-\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964-\u0965\u0970\u09fd\u0a76\u0af0\u0c77\u0c84\u0df4\u0e4f\u0e5a-\u0e5b\u0f04-\u0f12\u0f14\u0f3a-\u0f3d\u0f85\u0fd0-\u0fd4\u0fd9-\u0fda\u104a-\u104f\u10fb\u1360-\u1368\u1400\u166e\u169b-\u169c\u16eb-\u16ed\u1735-\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u1944-\u1945\u1a1e-\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1b7d-\u1b7e\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e-\u1c7f\u1cc0-\u1cc7\u1cd3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205e\u207d-\u207e\u208d-\u208e\u2308-\u230b\u2329-\u232a\u2768-\u2775\u27c5-\u27c6\u27e6-\u27ef\u2983-\u2998\u29d8-\u29db\u29fc-\u29fd\u2cf9-\u2cfc\u2cfe-\u2cff\u2d70\u2e00-\u2e2e\u2e30-\u2e4f\u2e52-\u2e5d\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ua4fe-\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce-\ua8cf\ua8f8-\ua8fa\ua8fc\ua92e-\ua92f\ua95f\ua9c1-\ua9cd\ua9de-\ua9df\uaa5c-\uaa5f\uaade-\uaadf\uaaf0-\uaaf1\uabeb\ufd3e-\ufd3f\ufe10-\ufe19\ufe30-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a-\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a-\uff1b\uff1f-\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65]|\ud800[\udd00-\udd02\udf9f\udfd0]|\ud801[\udd6f]|\ud802[\udc57\udd1f\udd3f\ude50-\ude58\ude7f\udef0-\udef6\udf39-\udf3f\udf99-\udf9c]|\ud803[\udead\udf55-\udf59\udf86-\udf89]|\ud804[\udc47-\udc4d\udcbb-\udcbc\udcbe-\udcc1\udd40-\udd43\udd74-\udd75\uddc5-\uddc8\uddcd\udddb\udddd-\udddf\ude38-\ude3d\udea9]|\ud805[\udc4b-\udc4f\udc5a-\udc5b\udc5d\udcc6\uddc1-\uddd7\ude41-\ude43\ude60-\ude6c\udeb9\udf3c-\udf3e]|\ud806[\udc3b\udd44-\udd46\udde2\ude3f-\ude46\ude9a-\ude9c\ude9e-\udea2\udf00-\udf09]|\ud807[\udc41-\udc45\udc70-\udc71\udef7-\udef8\udf43-\udf4f\udfff]|\ud809[\udc70-\udc74]|\ud80b[\udff1-\udff2]|\ud81a[\ude6e-\ude6f\udef5\udf37-\udf3b\udf44]|\ud81b[\ude97-\ude9a\udfe2]|\ud82f[\udc9f]|\ud836[\ude87-\ude8b]|\ud83a[\udd5e-\udd5f]/;async function kl(e,r){if(e.lang==="yaml"){let t=e.value.trim(),n=t?await r(t,{parser:"yaml"}):"";return qe([e.startDelimiter,L,n,n?L:"",e.endDelimiter])}}var Du=kl;var wl=e=>String(e).split(/[/\\]/).pop();function pu(e,r){if(!r)return;let t=wl
`:" "});continue}if((a===0||a===t.length-1)&&u==="")continue;let i=u.split(new RegExp(`(${lu.source})`));for(let[o,s]of i.entries())if(!((o===0||o===i.length-1)&&s==="")){if(o%2===0){s!==""&&n({type:"word",value:s,kind:Oe,hasLeadingPunctuation:Te.test(s[0]),hasTrailingPunctuation:Te.test(M(!1,s,-1))});continue}n(Te.test(s)?{type:"word",value:s,kind:or,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:fu.test(s)?Ce:De,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function n(a){let u=M(!1,r,-1);(u==null?void 0:u.type)==="word"&&!i(Oe,or)&&![u.value,a.value].some(o=>/\u3000/.test(o))&&r.push({type:"whitespace",value:""}),r.push(a);function i(o,s){return u.kind===o&&a.kind===s||u.kind===s&&a.kind===o}}}function Ue(e,r){let[,t,n,a]=r.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:t,marker:n,leadingSpaces:a}}function hu(e,r){if(!e.ordered||e.children.length<2)return!1;let t=Number(Ue(e.children[0],r.originalText).numberText),n=Number(Ue(e.children[1],r.originalText).numberText);if(t===0&&e.children.length>2){let a=Number(Ue(e.children[2],r.originalText).numberText);return n===1&&a===1}return n===1}function Ir(e,r){let{value:t}=e;return e.position.end.offset===r.length&&t.endsWith(`
`)&&r.endsWith(`
`)?t.slice(0,-1):t}function be(e,r){return function t(n,a,u){let i={...r(n,a,u)};return i.children&&(i.children=i.children.map((o,s)=>t(o,s,[i,...u]))),i}(e,null,[])}function Ft(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[r]=e.children;return Se(e)===Se(r)&&_e(e)===_e(r)}function Sl(e,r){let{node:t}=e;if(t.type==="code"&&t.lang!==null){let n=du(r,{language:t.lang});if(n)return async a=>{let u=r.__inJsTemplate?"~":"`",i=u.repeat(Math.max(3,_r(t.value,u)+1)),o={parser:n};t.lang==="ts"||t.lang==="typescript"?o.filepath="dummy.ts":t.lang==="tsx"&&(o.filepath="dummy.tsx");let s=await a(Ir(t,r.originalText),o);return qe([i,t.lang,t.meta?" "+t.meta:"",L,Ee(s),L,i])}}switch(t.type){case"front-matter":return n=>Du(t,n);case"import":case"export":return n=>n(t.value,{parser:"babel"});case"jsx":return n=>n(`<$>${t.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var mu=Sl;var sr=null;function cr(e){if(sr!==null&&typeof sr.property){let r=sr;return sr=cr.prototype=null,r}return sr=cr.prototype=e??Object.create(null),new cr}var _l=10;for(let e=0;e<=_l;e++)cr();function gt(e){return cr(e)}function Ol(e,r="type"){gt(e);function t(n){let a=n[r],u=e[a];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return u}return t}var Fu=Ol;var Pl={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},gu=Pl;var Ll=Fu(gu),vu=Ll;var Il=/^.$/su;function Nl(e,r){return e=Rl(e,r),e=zl(e),e=Yl(e,r),e=Vl(e,r),e=Ml(e),e}function Rl(e,r){return be(e,t=>t.type!=="text"||t.value==="*"||t.value==="_"||!Il.test(t.value)||t.position.end.offset-t.position.start.offset===t.value.length?t:{...t,value:r.originalText.slice(t.position.start.offset,t.position.end.offset)})}function Ul(e,r,t){return be(e,n=>{if(!n.children)return n;let a=n.children.reduce((u,i)=>{let o=M(!1,u,-1);return o&&r(o,i)?u.splice(-1,1,t(o,i)):u.push(i),u},[]);return{...n,children:a}})}function zl(e){return Ul(e,(r,t)=>r.type==="text"&&t.type==="text",(r,t)=>({type:"text",value:r.value+t.value,position:{start:r.position.start,end:t.position.end}}))}function Ml(e){return be(e,(r,t,[n])=>{if(r.type!=="text")return r;let{value:a}=r;return n.type==="paragraph"&&(t===0&&(a=a.trimStart()),t===n.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:r.position,children:Lr(a)}})}function Yl(e,r){return be(e,(t,n,a)=>{if(t.type==="code"){let u=/^\n?(?: {4,}|\t)/.test(r.originalText.slice(t.position.start.offset,t.position.end.offset));if(t.isIndented=u,u)for(let i=0;i<a.length;i++){let o=a[i];if(o.hasIndentedCodeblock)break;o.type==="list"&&(o.hasIndentedCodeblock=!0)}}return t})}function Vl(e,r){return be(e,(a,u,i)=>{if(a.type==="list"&&a.children.length>0){for(let o=0;o<i.length;o++){let s=i[o];if(s.type==="list"&&!s.isAligned)return a.isAligned=!1,a}a.isAligned=n(a)}return a});function t(a){return a.children.length===0?-1:a.children[0].position.start.column-1}function n(a){if(!a.ordered)return!0;let[u,i]=a.children;if(Ue(u,r.originalText).leadingSpaces.length>1)return!0;let s=t(u);if(s===-1)return!1;if(a.children.length===1)return s%r.tabWidth===0;let l=t(i);return s!==l?!1:s%r.tabWidth===0?!0:Ue(i,r.originalText).leadingSpaces.length>1}}var Eu=Nl;var Gl=new Set(["heading","tableCell","link","wikiLink"]),$l=new Set(`$(\xA3\xA5\xB7'"\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5[{\u2035\uFE34\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE4F\u3018\uFF5F\xAB`),jl=new Set(`!%),.:;?]}\xA
`)return L;let a=r===" "||r===`
`&&Hl(e,n);return Kl(e,r,t,n,a)?a?Tr:er:a?" ":""}var Xl=new Set(["listItem","definition","footnoteDefinition"]);function Jl(e,r,t){var a,u,i;let{node:n}=e;if(uf(e))return Lr(r.originalText.slice(n.position.start.offset,n.position.end.offset)).map(o=>o.type==="word"?o.value:vt(e,o.value,r.proseWrap,!0));switch(n.type){case"front-matter":return r.originalText.slice(n.position.start.offset,n.position.end.offset);case"root":return n.children.length===0?"":[Xn(rf(e,r,t)),L];case"paragraph":return Y(e,r,t,{postprocessor:qr});case"sentence":return Y(e,r,t);case"word":{let o=N(!1,N(!1,n.value,"*","\\*"),new RegExp([`(^|${Te.source})(_+)`,`(_+)(${Te.source}|$)`].join("|"),"g"),(c,f,D,h,p)=>N(!1,D?`${f}${D}`:`${h}${p}`,"_","\\_")),s=(c,f,D)=>c.type==="sentence"&&D===0,l=(c,f,D)=>Ft(c.children[D-1]);return o!==n.value&&(e.match(void 0,s,l)||e.match(void 0,s,(c,f,D)=>c.type==="emphasis"&&D===0,l))&&(o=o.replace(/^(\\?[*_])+/,c=>N(!1,c,"\\",""))),o}case"whitespace":{let{next:o}=e,s=o&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":r.proseWrap;return vt(e,n.value,s)}case"emphasis":{let o;if(Ft(n.children[0]))o=r.originalText[n.position.start.offset];else{let{previous:s,next:l}=e;o=(s==null?void 0:s.type)==="sentence"&&((a=M(!1,s.children,-1))==null?void 0:a.type)==="word"&&!M(!1,s.children,-1).hasTrailingPunctuation||(l==null?void 0:l.type)==="sentence"&&((u=l.children[0])==null?void 0:u.type)==="word"&&!l.children[0].hasLeadingPunctuation||e.hasAncestor(f=>f.type==="emphasis")?"*":"_"}return[o,Y(e,r,t),o]}case"strong":return["**",Y(e,r,t),"**"];case"delete":return["~~",Y(e,r,t),"~~"];case"inlineCode":{let o=r.proseWrap==="preserve"?n.value:N(!1,n.value,`
`," "),s=Zn(o,"`"),l="`".repeat(s||1),c=o.startsWith("`")||o.endsWith("`")||/^[\n ]/.test(o)&&/[\n ]$/.test(o)&&/[^\n ]/.test(o)?" ":"";return[l,c,o,c,l]}case"wikiLink":{let o="";return r.proseWrap==="preserve"?o=n.value:o=N(!1,n.value,/[\t\n]+/g," "),["[[",o,"]]"]}case"link":switch(r.originalText[n.position.start.offset]){case"<":{let o="mailto:";return["<",n.url.startsWith(o)&&r.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+o.length)!==o?n.url.slice(o.length):n.url,">"]}case"[":return["[",Y(e,r,t),"](",Et(n.url,")"),Nr(n.title,r),")"];default:return r.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return["![",n.alt||"","](",Et(n.url,")"),Nr(n.title,r),")"];case"blockquote":return["> ",ve("> ",Y(e,r,t))];case"heading":return["#".repeat(n.depth)+" ",Y(e,r,t)];case"code":{if(n.isIndented){let l=" ".repeat(4);return ve(l,[l,Ee(n.value,L)])}let o=r.__inJsTemplate?"~":"`",s=o.repeat(Math.max(3,_r(n.value,o)+1));return[s,n.lang||"",n.meta?" "+n.meta:"",L,Ee(Ir(n,r.originalText),L),L,s]}case"html":{let{parent:o,isLast:s}=e,l=o.type==="root"&&s?n.value.trimEnd():n.value,c=/^<!--.*-->$/s.test(l);return Ee(l,c?L:qe(rr))}case"list":{let o=xu(n,e.parent),s=hu(n,r);return Y(e,r,t,{processor(l){let c=D(),f=l.node;if(f.children.length===2&&f.children[1].type==="html"&&f.children[0].position.start.column!==f.children[1].position.start.column)return[c,Au(l,r,t,c)];return[c,ve(" ".repeat(c.length),Au(l,r,t,c))];function D(){let h=n.ordered?(l.isFirst?n.start:s?1:n.start+l.index)+(o%2===0?". ":") "):o%2===0?"- ":"* ";return n.isAligned||n.hasIndentedCodeblock?Ql(h,r):h}}})}case"thematicBreak":{let{ancestors:o}=e,s=o.findIndex(c=>c.type==="list");return s===-1?"---":xu(o[s],o[s+1])%2===0?"***":"---"}case"linkReference":return["[",Y(e,r,t),"]",n.referenceType==="full"?Ct(n):n.referenceType==="collapsed"?"[]":""];case"imageReference":switch(n.referenceType){case"full":return["![",n.alt||"","]",Ct(n)];default:return["![",n.alt,"]",n.referenceType==="collapsed"?"[]":""]}case"definition":{let o=r.proseWrap==="always"?Tr:" ";return Qe([Ct(n),":",Je([o,Et(n.url),n.title===null?"":[o,Nr(n.title,r,!1)]])])}case"footnote":return["[^",Y(e,r,t),"]"];case"footnoteReference":return qu(n);case"footnoteDefinition":{let o=n.children.length===1&&n.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return[qu(n),": ",o?Y(e,r,t):Qe([ve(" ".repeat(4),Y(e,r,t,{processor:({isFirst:s})=>s?Qe([er,t()]):t()})),((i=e.next)==null?void 0:i.type)==="footnoteDefinition"?er:""])]}case"table":return ef(e,r,t);case"tableCell":return Y(e,r,t);case"break":return/\s/.test(r.originalText[n.position.start.offset])?[" ",qe(rr)]:["\\",L];case"liquidNode":return Ee(n.value,L);case"import":case"export":case"jsx":return n.value;case"esComment":return["{/* ",n.value," */}"];case"math":return["$$",L,n.value?[Ee(n.value,L),L]:"","$$"];case"inlineMath":return r.originalText.slice(Se(n),_e(n));case"tableRow":case"listItem":case"text":default:throw new tu(n,"Markdown")}}function Au(e,r,t,n){let{node:a}=e,u=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[u,Y(e,r,t,{processor({node:i,isFirst:o}){if(o&&i.type!=="list")return ve(" ".repeat(u.length),t());let s=" ".repeat(of(r.tabWidth-n.length,0,3));return[s,ve(s,t())]}})]}function Ql(e,r){let t=n();return e+" ".repeat(t>=4?0:t);function n(){let a=e.length%r.tabWidth;return a===0?0:r.tabWidth-a}}function xu(e,r){return Zl(e,r,t=>t.ordered===e.ordered)}function Zl(e,r,t){let n=-1;for(let a of r.children)if(a.type===e.type&&t(a)?n++:n=-1,a===e)return n}function ef(e,r,t){let{node:n}=e,a=[],u=e.map(()=>e.map(({index:f})=>{let D=Qn(t(),r).formatted,h=nr(D);return a[f]=Math.max(a[f]||3,h),{text:D,width:h}},"children"),"children"),i=s(!1);if(r.proseWrap!=="never")return[Ze,i];let o=s(!0);return[Ze,Qe(Un(o,i))];function s(f){let D=[c(u[0],f),l(f)];return u.length>1&&D.push(tr(Re,u.slice(1).map(h=>c(h,f)))),tr(Re,D)}function l(f){return`| ${a.map((h,p)=>{let d=n.align[p],m=d==="center"||d==="l
`)}function nf({node:e,previous:r,parent:t},n){if(wu(r,n))return!0;let i=r.type===e.type&&Xl.has(e.type),o=t.type==="listItem"&&!wu(t,n),s=bt(r)==="next",l=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,c=e.type==="html"&&t.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(i||o||s||l||c)}function Bu({node:e,previous:r}){let t=r.type==="list",n=e.type==="code"&&e.isIndented;return t&&n}function uf(e){let r=e.findAncestor(t=>t.type==="linkReference"||t.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}var af=(e,r)=>{for(let t of r)e=N(!1,e,t,encodeURIComponent(t));return e};function Et(e,r=[]){let t=[" ",...Array.isArray(r)?r:[r]];return new RegExp(t.map(n=>`\\${n}`).join("|")).test(e)?`<${af(e,"<>")}>`:e}function Nr(e,r,t=!0){if(!e)return"";if(t)return" "+Nr(e,r,!1);if(e=N(!1,e,/\\(?=["')])/g,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=ru(e,r.singleQuote);return e=N(!1,e,"\\","\\\\"),e=N(!1,e,n,`\\${n}`),`${n}${e}${n}`}function of(e,r,t){return e<r?r:e>t?t:e}function sf(e){return e.index>0&&bt(e.previous)==="next"}function Ct(e){return`[${(0,Tu.default)(e.label)}]`}function qu(e){return`[^${e.label}]`}var cf={preprocess:Eu,print:Jl,embed:mu,massageAstNode:cu,hasPrettierIgnore:sf,insertPragma:au,getVisitorKeys:vu},Su=cf;var _u=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];var yt={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var lf={proseWrap:yt.proseWrap,singleQuote:yt.singleQuote},Ou=lf;var _n={};On(_n,{markdown:()=>km,mdx:()=>wm,remark:()=>km});var Kc=Ne(Lu(),1),Xc=Ne(Ku(),1),Jc=Ne(Gs(),1),Qc=Ne(Nc(),1);var gm=/^import\s/,vm=/^export\s/,Rc="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Uc=/<!---->|<!---?[^>-](?:-?[^-])*-->/,Em=/^{\s*\/\*(.*)\*\/\s*}/,Cm=`
`,zc=e=>gm.test(e),Sn=e=>vm.test(e),Mc=(e,r)=>{let t=r.indexOf(Cm),n=r.slice(0,t);if(Sn(n)||zc(n))return e(n)({type:Sn(n)?"export":"import",value:n})},Yc=(e,r)=>{let t=Em.exec(r);if(t)return e(t[0])({type:"esComment",value:t[1].trim()})};Mc.locator=e=>Sn(e)||zc(e)?-1:1;Yc.locator=(e,r)=>e.indexOf("{",r);var Vc=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:t,inlineTokenizers:n,inlineMethods:a}=e.prototype;r.esSyntax=Mc,n.esComment=Yc,t.splice(t.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};var bm=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(t,n){let a=ar(n);if(a.frontMatter)return t(a.frontMatter.raw)(a.frontMatter)}r.onlyAtStart=!0},Gc=bm;function ym(){return e=>be(e,(r,t,[n])=>r.type!=="html"||Uc.test(r.value)||Pr.has(n.type)?r:{...r,type:"jsx"})}var $c=ym;var Am=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=t;function t(n,a){let u=a.match(/^({%.*?%}|{{.*?}})/s);if(u)return n(u[0])({type:"liquidNode",value:u[0]})}t.locator=function(n,a){return n.indexOf("{",a)}},jc=Am;var xm=function(){let e="wikiLink",r=/^\[\[(?<linkContents>.+?)]]/s,t=this.Parser.prototype,n=t.inlineMethods;n.splice(n.indexOf("link"),0,e),t.inlineTokenizers.wikiLink=a;function a(u,i){let o=r.exec(i);if(o){let s=o.groups.linkContents.trim();return u(o[0])({type:e,value:s})}}a.locator=function(u,i){return u.indexOf("[",i)}},Wc=xm;function Zc({isMDX:e}){return r=>{let t=(0,Qc.default)().use(Jc.default,{commonmark:!0,...e&&{blocks:[Rc]}}).use(Kc.default).use(Gc).use(Xc.default).use(e?Vc:Hc).use(jc).use(e?$c:Hc).use(Wc);return t.run(t.parse(r))}}function Hc(){}var el={astFormat:"mdast",hasPragma:iu,locStart:Se,locEnd:_e},km={...el,parse:Zc({isMDX:!1})},wm={...el,parse:Zc({isMDX:!0})};var Bm={mdast:Su};return al(qm);});