Files
client/node_modules/prettier/plugins/markdown.js
T

70 lines
286 KiB
JavaScript
Raw Normal View History

2026-10-07 18:56:27 +02: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 om=Object.create;var Pr=Object.defineProperty;var sm=Object.getOwnPropertyDescriptor;var lm=Object.getOwnPropertyNames;var cm=Object.getPrototypeOf,fm=Object.prototype.hasOwnProperty;var q=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Or=(e,t)=>{for(var r in t)Pr(e,r,{get:t[r],enumerable:!0})},xu=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lm(t))!fm.call(e,a)&&a!==r&&Pr(e,a,{get:()=>t[a],enumerable:!(n=sm(t,a))||n.enumerable});return e};var At=(e,t,r)=>(r=e!=null?om(cm(e)):{},xu(t||!e||!e.__esModule?Pr(r,"default",{value:e,enumerable:!0}):r,e)),pm=e=>xu(Pr({},"__esModule",{value:!0}),e);var bo=q((k8,Fo)=>{"use strict";Fo.exports=wg;var sr=9,en=10,_t=32,kg=33,Fg=58,Pt=91,bg=92,Pi=93,lr=94,tn=96,rn=4,Eg=1024;function wg(e){var t=this.Parser,r=this.Compiler;Cg(t)&&vg(t,e),yg(r)&&Ag(r)}function Cg(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function yg(e){return!!(e&&e.prototype&&e.prototype.visitors)}function vg(e,t){for(var r=t||{},n=e.prototype,a=n.blockTokenizers,u=n.inlineTokenizers,i=n.blockMethods,o=n.inlineMethods,s=a.definition,l=u.reference,c=[],f=-1,h=i.length,m;++f<h;)m=i[f],!(m==="newline"||m==="indentedCode"||m==="paragraph"||m==="footnoteDefinition")&&c.push([m]);c.push(["footnoteDefinition"]),r.inlineNotes&&(Oi(o,"reference","inlineNote"),u.inlineNote=g),Oi(i,"definition","footnoteDefinition"),Oi(o,"reference","footnoteCall"),a.definition=E,a.footnoteDefinition=D,u.footnoteCall=x,u.reference=k,n.interruptFootnoteDefinition=c,k.locator=l.locator,x.locator=C,g.locator=S;function D(w,d,v){for(var L=this,y=L.interruptFootnoteDefinition,b=L.offset,_=d.length+1,I=0,T=[],R,O,z,N,W,ne,p,Y,ie,F,ee,ce,te;I<_&&(N=d.charCodeAt(I),!(N!==sr&&N!==_t));)I++;if(d.charCodeAt(I++)===Pt&&d.charCodeAt(I++)===lr){for(O=I;I<_;){if(N=d.charCodeAt(I),N!==N||N===en||N===sr||N===_t)return;if(N===Pi){z=I,I++;break}I++}if(!(z===void 0||O===z||d.charCodeAt(I++)!==Fg)){if(v)return!0;for(R=d.slice(O,z),W=w.now(),ie=0,F=0,ee=I,ce=[];I<_;){if(N=d.charCodeAt(I),N!==N||N===en)te={start:ie,contentStart:ee||I,contentEnd:I,end:I},ce.push(te),N===en&&(ie=I+1,F=0,ee=void 0,te.end=ie);else if(F!==void 0)if(N===_t||N===sr)F+=N===_t?1:rn-F%rn,F>rn&&(F=void 0,ee=I);else{if(F<rn&&te&&(te.contentStart===te.contentEnd||Tg(y,a,L,[w,d.slice(I,Eg),!0])))break;F=void 0,ee=I}I++}for(I=-1,_=ce.length;_>0&&(te=ce[_-1],te.contentStart===te.contentEnd);)_--;for(ne=w(d.slice(0,te.contentEnd));++I<_;)te=ce[I],b[W.line+I]=(b[W.line+I]||0)+(te.contentStart-te.start),T.push(d.slice(te.contentStart,te.end));return p=L.enterBlock(),Y=L.tokenizeBlock(T.join(""),W),p(),ne({type:"footnoteDefinition",identifier:R.toLowerCase(),label:R,children:Y})}}}function x(w,d,v){var L=d.length+1,y=0,b,_,I,T;if(d.charCodeAt(y++)===Pt&&d.charCodeAt(y++)===lr){for(_=y;y<L;){if(T=d.charCodeAt(y),T!==T||T===en||T===sr||T===_t)return;if(T===Pi){I=y,y++;break}y++}if(!(I===void 0||_===I))return v?!0:(b=d.slice(_,I),w(d.slice(0,y))({type:"footnoteReference",identifier:b.toLowerCase(),label:b}))}}function g(w,d,v){var L=this,y=d.length+1,b=0,_=0,I,T,R,O,z,N,W;if(d.charCodeAt(b++)===lr&&d.charCodeAt(b++)===Pt){for(R=b;b<y;){if(T=d.charCodeAt(b),T!==T)return;if(N===void 0)if(T===bg)b+=2;else if(T===Pt)_++,b++;else if(T===Pi)if(_===0){O=b,b++;break}else _--,b++;else if(T===tn){for(z=b,N=1;d.charCodeAt(z+N)===tn;)N++;b+=N}else b++;else if(T===tn){for(z=b,W=1;d.charCodeAt(z+W)===tn;)W++;b+=W,N===W&&(N=void 0),W=void 0}else b++}if(O!==void 0)return v?!0:(I=w.now(),I.column+=2,I.offset+=2,w(d.slice(0,b))({type:"footnote",children:L.tokenizeInline(d.slice(R,O),I)}))}}function k(w,d,v){var L=0;if(d.charCodeAt(L)===kg&&L++,d.charCodeAt(L)===Pt&&d
`).split(`
`),s=0,l=o.length,c;++s<l;)c=o[s],c!==""&&(o[s]=r+c);return"[^"+(i.label||i.identifier)+"]: "+o.join(`
`)}}function Oi(e,t,r){e.splice(e.indexOf(t),0,r)}function Tg(e,t,r,n){for(var a=e.length,u=-1;++u<a;)if(t[e[u][0]].apply(r,n))return!0;return!1}});var Ri=q(Ni=>{Ni.isRemarkParser=Sg;Ni.isRemarkCompiler=Lg;function Sg(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Lg(e){return!!(e&&e.prototype&&e.prototype.visitors)}});var To=q((b8,Ao)=>{var Eo=Ri();Ao.exports=_g;var wo=9,Co=32,nn=36,Ig=48,qg=57,yo=92,Bg=["math","math-inline"],vo="math-display";function _g(e){let t=this.Parser,r=this.Compiler;Eo.isRemarkParser(t)&&Pg(t,e),Eo.isRemarkCompiler(r)&&Og(r,e)}function Pg(e,t){let r=e.prototype,n=r.inlineMethods;u.locator=a,r.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,h=0,m,D,x,g,k,E,C;if(o.charCodeAt(h)===yo&&(f=!0,h++),o.charCodeAt(h)===nn){if(h++,f)return s?!0:i(o.slice(0,h))({type:"text",value:"$"});if(o.charCodeAt(h)===nn&&(c=!0,h++),x=o.charCodeAt(h),!(x===Co||x===wo)){for(g=h;h<l;){if(D=x,x=o.charCodeAt(h+1),D===nn){if(m=o.charCodeAt(h-1),m!==Co&&m!==wo&&(x!==x||x<Ig||x>qg)&&(!c||x===nn)){k=h-1,h++,c&&h++,E=h;break}}else D===yo&&(h++,x=o.charCodeAt(h+1));h++}if(E!==void 0)return s?!0:(C=o.slice(g,k+1),i(o.slice(0,E))({type:"inlineMath",value:C,data:{hName:"span",hProperties:{className:Bg.concat(c&&t.inlineMathDouble?[vo]:[])},hChildren:[{type:"text",value:C}]}}))}}}}function Og(e){let t=e.prototype;t.visitors.inlineMath=r;function r(n){let a="$";return(n.data&&n.data.hProperties&&n.data.hProperties.className||[]).includes(vo)&&(a="$$"),a+n.value+a}}});var Bo=q((E8,qo)=>{var So=Ri();qo.exports=zg;var Lo=10,cr=32,Mi=36,Io=`
`,Ng="$",Rg=2,Mg=["math","math-display"];function zg(){let e=this.Parser,t=this.Compiler;So.isRemarkParser(e)&&Ug(e),So.isRemarkCompiler(t)&&Hg(t)}function Ug(e){let t=e.prototype,r=t.blockMethods,n=t.interruptParagraph,a=t.interruptList,u=t.interruptBlockquote;t.blockTokenizers.math=i,r.splice(r.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 h,m,D,x,g,k,E,C,S,w,d;for(;f<c&&s.charCodeAt(f)===cr;)f++;for(g=f;f<c&&s.charCodeAt(f)===Mi;)f++;if(k=f-g,!(k<Rg)){for(;f<c&&s.charCodeAt(f)===cr;)f++;for(E=f;f<c;){if(h=s.charCodeAt(f),h===Mi)return;if(h===Lo)break;f++}if(s.charCodeAt(f)===Lo){if(l)return!0;for(m=[],E!==f&&m.push(s.slice(E,f)),f++,D=s.indexOf(Io,f+1),D=D===-1?c:D;f<c;){for(C=!1,w=f,d=D,x=D,S=0;x>w&&s.charCodeAt(x-1)===cr;)x--;for(;x>w&&s.charCodeAt(x-1)===Mi;)S++,x--;for(k<=S&&s.indexOf(Ng,w)===x&&(C=!0,d=x);w<=d&&w-f<g&&s.charCodeAt(w)===cr;)w++;if(C)for(;d>w&&s.charCodeAt(d-1)===cr;)d--;if((!C||w!==d)&&m.push(s.slice(w,d)),C)break;f=D+1,D=s.indexOf(Io,f+1),D=D===-1?c:D}return m=m.join(`
`),o(s.slice(0,D))({type:"math",value:m,data:{hName:"div",hProperties:{className:Mg.concat()},hChildren:[{type:"text",value:m}]}})}}}}function Hg(e){let t=e.prototype;t.visitors.math=r;function r(n){return`$$
`+n.value+`
$$`}}});var Po=q((w8,_o)=>{var Vg=To(),Gg=Bo();_o.exports=Wg;function Wg(e){var t=e||{};Gg.call(this,t),Vg.call(this,t)}});var Ft=q((C8,Oo)=>{Oo.exports=jg;var Yg=Object.prototype.hasOwnProperty;function jg(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var n in r)Yg.call(r,n)&&(e[n]=r[n])}return e}});var No=q((y8,zi)=>{typeof Object.create=="function"?zi.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:zi.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var zo=q((v8,Mo)=>{"use strict";var $g=Ft(),Ro=No();Mo.exports=Kg;function Kg(e){var t,r,n;Ro(u,e),Ro(a,u),t=u.prototype;for(r in t)n=t[r],n&&typeof n=="object"&&(t[r]="concat"in n?n.concat():$g(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 Ho=q((A8,Uo)=>{"use strict";Uo.exports=Qg;function Qg(e,t,r){return n;function n(){var a=r||this,u=a[e];return a[e]=!t,i;function i(){a[e]=u}}}});var Go=q((T8,Vo)=>{"use strict";Vo.exports=Jg;function Jg(e){for(var t=String(e),r=[],n=/\r?\n|\r/g;n.exec(t);)r.push(n.lastIndex);return r.push(t.length+1),{toPoint:a,toPosition:a,toOffset:u};function a(i){var o=-1;if(i>-1&&i<r[r.length-1]){for(;++o<r.length;)if(r[o]>i)return{line:o+1,column:i-(r[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 r&&(l=(r[o-2]||0)+s-1||0),l>-1&&l<r[r.length-1]?l:-1}}});var Yo=q((S8,Wo)=>{"use strict";Wo.exports=Xg;var Ui="\\";function Xg(e,t){return r;function r(n){for(var a=0,u=n.indexOf(Ui),i=e[t],o=[],s;u!==-1;)o.push(n.slice(a,u)),a=u+1,s=n.charAt(a),(!s||i.indexOf(s)===-1)&&o.push(Ui),u=n.indexOf(Ui,a+1);return o.push(n.slice(a)),o.join("")}}});var jo=q((L8,Zg)=>{Zg.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 $o=q((I8,ex)=>{ex.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 bt=q((q8,Ko)=>{"use strict";Ko.exports=tx;function tx(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}});var Jo=q((B8,Qo)=>{"use strict";Qo.exports=rx;function rx(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}});var Ot=q((_8,Xo)=>{"use strict";Xo.exports=nx;function nx(e){var t=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
`);_!==-1;)l++,b=_,_=y.indexOf(`
`,_+1);b===-1?c+=y.length:c=y.length-b,l in u&&(b!==-1?c+=u[l]:c<=u[l]&&(c=u[l]+1))}function E(){var y=[],b=l+1;return function(){for(var _=l+1;b<_;)y.push((u[b]||0)+1),b++;return y}}function C(){var y={line:l,column:c};return y.offset=a.toOffset(y),y}function S(y){this.start=y,this.end=C()}function w(y){r.slice(0,y.length)!==y&&a.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),C())}function d(){var y=C();return b;function b(_,I){var T=_.position,R=T?T.start:y,O=[],z=T&&T.end.line,N=y.line;if(_.position=new S(R),T&&I&&T.indent){if(O=T.indent,z<N){for(;++z<N;)O.push((u[z]||0)+1);O.push(y.column)}I=O.concat(I)}return _.position.indent=I||[],_}}function v(y,b){var _=b?b.children:i,I=_[_.length-1],T;return I&&y.type===I.type&&(y.type==="text"||y.type==="blockquote")&&bs(I)&&bs(y)&&(T=y.type==="text"?qx:Bx,y=T.call(a,I,y)),y!==I&&_.push(y),a.atStart&&i.length!==0&&a.exitStart(),y}function L(y){var b=E(),_=d(),I=C();return w(y),T.reset=R,R.test=O,T.test=O,r=r.slice(y.length),k(y),b=b(),T;function T(z,N){return _(v(_(z),N),b)}function R(){var z=T.apply(null,arguments);return l=I.line,c=I.column,r=y+r,z}function O(){var z=_({});return l=I.line,c=I.column,r=y+r,z.position}}}}function bs(e){var t,r;return e.type!=="text"||!e.position?!0:(t=e.position.start,r=e.position.end,t.line!==r.line||r.column-t.column===e.value.length)}function qx(e,t){return e.value+=t.value,e}function Bx(e,t){return this.options.commonmark||this.options.gfm?t:(e.children=e.children.concat(t.children),e)}});var vs=q((U8,ys)=>{"use strict";ys.exports=un;var Yi=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],ji=Yi.concat(["~","|"]),Cs=ji.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);un.default=Yi;un.gfm=ji;un.commonmark=Cs;function un(e){var t=e||{};return t.commonmark?Cs:t.gfm?ji:Yi}});var Ts=q((H8,As)=>{"use strict";As.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 $i=q((V8,Ss)=>{"use strict";Ss.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Ts()}});var Is=q((G8,Ls)=>{"use strict";var _x=Ft(),Px=vs(),Ox=$i();Ls.exports=Nx;function Nx(e){var t=this,r=t.options,n,a;if(e==null)e={};else if(typeof e=="object")e=_x(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(n in Ox){if(a=e[n],a==null&&(a=r[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 t.options=e,t.escape=Px(e),t}});var _s=q((W8,Bs)=>{"use strict";Bs.exports=qs;function qs(e){if(e==null)return Ux;if(typeof e=="string")return zx(e);if(typeof e=="object")return"length"in e?Mx(e):Rx(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function Rx(e){return t;function t(r){var n;for(n in e)if(r[n]!==e[n])return!1;return!0}}function Mx(e){for(var t=[],r=-1;++r<e.length;)t[r]=qs(e[r]);return n;function n(){for(var a=-1;++a<t.length;)if(t[a].apply(this,arguments))return!0;return!1}}function zx(e){return t;function t(r){return!!(r&&r.type===e)}}function Ux(){return!0}});var Os=q((Y8,Ps)=>{Ps.exports=Hx;function Hx(e){return e}});var zs=q((j8,Ms)=>{"use strict";Ms.exports=on;var Vx=_s(),Gx=Os(),Ns=!0,Rs="skip",Ki=!1;on.CONTINUE=Ns;on.SKIP=Rs;on.EXIT=Ki;function on(e,t,r,n){var a,u;typeof t=="function"&&typeof r!="function"&&(n=r,r=t,t=null),u=Vx(t),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,h.displayName="node ("+Gx(c.type+(f?"<"+f+">":""))+")"),h;function h(){var m=l.concat(o),D=[],x,g;if((!t||u(o,s,l[l.length-1]||null))&&(D=Wx(r(o,l)),D[0]===Ki))return D;if(o.children&&D[0]!==Rs)for(g=(n?o.children.length:-1)+a;g>-1&&g<o.children.length;){if(x=i(o.children[g],g,m)(),x[0]===Ki)return x;g=typeof x[1]=="number"?x[1]:g+a}return D}}}function Wx(e){return e!==null&&typeof e=="object"&&"length"in e?e:typeof e=="number"?[Ns,e]:[e]}});var Hs=q(($8,Us)=>{"use strict";Us.exports=ln;var sn=zs(),Yx=sn.CONTINUE,jx=sn.SKIP,$x=sn.EXIT;ln.CONTINUE=Yx;ln.SKIP=jx;ln.EXIT=$x;function ln(e,t,r,n){typeof t=="function"&&typeof r!="function"&&(n=r,r=t,t=null),sn(e,t,a,n);function a(u,i){var o=i[i.length-1],s=o?o.children.indexOf(u):null;return r(u,s,o)}}});var Gs=q((K8,Vs)=>{"use strict";var Kx=Hs();Vs.exports=Qx;function Qx(e,t){return Kx(e,t?Jx:Xx),e}function Jx(e){delete e.position}function Xx(e){e.position=void 0}});var js=q((Q8,Ys)=>{"use strict";var Ws=Ft(),Zx=Gs();Ys.exports=r1;var e1=`
`,t1=/\r\n|\r/g;function r1(){var e=this,t=String(e.file),r={line:1,column:1,offset:0},n=Ws(r),a;return t=t.replace(t1,e1),t.charCodeAt(0)===65279&&(t=t.slice(1),n.column++,n.offset++),a={type:"root",children:e.tokenizeBlock(t,n),position:{start:r,end:e.eof||Ws(r)}},e.options.position||Zx(a,!0),a}});var Ks=q((J8,$s)=>{"use strict";var n1=/^[ \t]*(\n|$)/;$s.exports=i1;function i1(e,t,r){for(var n,a="",u=0,i=t.length;u<i&&(n=n1.exec(t.slice(u)),n!=null);)u+=n[0].length,a+=n[0];if(a!==""){if(r)return!0;e(a)}}});var cn=q((X8,Qs)=>{"use strict";var Ge="",Qi;Qs.exports=a1;function a1(e,t){if(typeof e!="string")throw new TypeError("expected a string");if(t===1)return e;if(t===2)return e+e;var r=e.length*t;if(Qi!==e||typeof Qi>"u")Qi=e,Ge="";else if(Ge.length>=r)return Ge.substr(0,r);for(;r>Ge.length&&t>1;)t&1&&(Ge+=e),t>>=1,e+=e;return Ge+=e,Ge=Ge.substr(0,r),Ge}});var Ji=q((Z8,Js)=>{"use strict";Js.exports=u1;function u1(e){return String(e).replace(/\n+$/,"")}});var el=q((eT,Zs)=>{"use strict";var o1=cn(),s1=Ji();Zs.exports=f1;var Xi=`
`,Xs=" ",Zi=" ",l1=4,c1=o1(Zi,l1);function f1(e,t,r){for(var n=-1,a=t.length,u="",i="",o="",s="",l,c,f;++n<a;)if(l=t.charAt(n),f)if(f=!1,u+=o,i+=s,o="",s="",l===Xi)o=l,s=l;else for(u+=l,i+=l;++n<a;){if(l=t.charAt(n),!l||l===Xi){s=l,o=l;break}u+=l,i+=l}else if(l===Zi&&t.charAt(n+1)===l&&t.charAt(n+2)===l&&t.charAt(n+3)===l)o+=c1,n+=3,f=!0;else if(l===Xs)o+=l,f=!0;else{for(c="";l===Xs||l===Zi;)c+=l,l=t.charAt(++n);if(l!==Xi)break;o+=c+l,s+=l}if(i)return r?!0:e(u)({type:"code",lang:null,meta:null,value:s1(i)})}});var nl=q((tT,rl)=>{"use strict";rl.exports=D1;var fn=`
`,pr=" ",Mt=" ",p1="~",tl="`",h1=3,m1=4;function D1(e,t,r){var n=this,a=n.options.gfm,u=t.length+1,i=0,o="",s,l,c,f,h,m,D,x,g,k,E,C,S;if(a){for(;i<u&&(c=t.charAt(i),!(c!==Mt&&c!==pr));)o+=c,i++;if(C=i,c=t.charAt(i),!(c!==p1&&c!==tl)){for(i++,l=c,s=1,o+=c;i<u&&(c=t.charAt(i),c===l);)o+=c,s++,i++;if(!(s<h1)){for(;i<u&&(c=t.charAt(i),!(c!==Mt&&c!==pr));)o+=c,i++;for(f="",D="";i<u&&(c=t.charAt(i),!(c===fn||l===tl&&c===l));)c===Mt||c===pr?D+=c:(f+=D+c,D=""),i++;if(c=t.charAt(i),!(c&&c!==fn)){if(r)return!0;S=e.now(),S.column+=o.length,S.offset+=o.length,o+=f,f=n.decode.raw(n.unescape(f),S),D&&(o+=D),D="",k="",E="",x="",g="";for(var w=!0;i<u;){if(c=t.charAt(i),x+=k,g+=E,k="",E="",c!==fn){x+=c,E+=c,i++;continue}for(w?(o+=c,w=!1):(k+=c,E+=c),D="",i++;i<u&&(c=t.charAt(i),c===Mt);)D+=c,i++;if(k+=D,E+=D.slice(C),!(D.length>=m1)){for(D="";i<u&&(c=t.charAt(i),c===l);)D+=c,i++;if(k+=D,E+=D,!(D.length<s)){for(D="";i<u&&(c=t.charAt(i),!(c!==Mt&&c!==pr));)k+=c,E+=c,i++;if(!c||c===fn)break}}}for(o+=x+k,i=-1,u=f.length;++i<u;)if(c=f.charAt(i),c===Mt||c===pr)h||(h=f.slice(0,i));else if(h){m=f.slice(i);break}return e(o)({type:"code",lang:h||f||null,meta:m||null,value:g})}}}}}});var Et=q((zt,il)=>{zt=il.exports=d1;function d1(e){return e.trim?e.trim():zt.right(zt.left(e))}zt.left=function(e){return e.trimLeft?e.trimLeft():e.replace(/^\s\s*/,"")};zt.right=function(e){if(e.trimRight)return e.trimRight();for(var t=/\s/,r=e.length;t.test(e.charAt(--r)););return e.slice(0,r+1)}});var pn=q((rT,al)=>{"use strict";al.exports=g1;function g1(e,t,r,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!==r.options.pedantic)&&!(o.commonmark!==void 0&&o.commonmark!==r.options.commonmark)&&t[i[0]].apply(r,n))return!0;return!1}});var ll=q((nT,sl)=>{"use strict";var x1=Et(),k1=pn();sl.exports=F1;var ea=`
`,ul=" ",ta=" ",ol=">";function F1(e,t,r){for(var n=this,a=n.offset,u=n.blockTokenizers,i=n.interruptBlockquote,o=e.now(),s=o.line,l=t.length,c=[],f=[],h=[],m,D=0,x,g,k,E,C,S,w,d;D<l&&(x=t.charAt(D),!(x!==ta&&x!==ul));)D++;if(t.charAt(D)===ol){if(r)return!0;for(D=0;D<l;){for(k=t.indexOf(ea,D),S=D,w=!1,k===-1&&(k=l);D<l&&(x=t.charAt(D),!(x!==ta&&x!==ul));)D++;if(t.charAt(D)===ol?(D++,w=!0,t.charAt(D)===ta&&D++):D=S,E=t.slice(D,k),!w&&!x1(E)){D=S;break}if(!w&&(g=t.slice(D),k1(i,u,n,[e,g,!0])))break;C=S===D?E:t.slice(S,k),h.push(D-S),c.push(C),f.push(E),D=k+1}for(D=-1,l=h.length,m=e(c.join(ea));++D<l;)a[s]=(a[s]||0)+h[D],s++;return d=n.enterBlock(),f=n.tokenizeBlock(f.join(ea),o),d(),m({type:"blockquote",children:f})}}});var pl=q((iT,fl)=>{"use strict";fl.exports=E1;var cl=`
`,hr=" ",mr=" ",Dr="#",b1=6;function E1(e,t,r){for(var n=this,a=n.options.pedantic,u=t.length+1,i=-1,o=e.now(),s="",l="",c,f,h;++i<u;){if(c=t.charAt(i),c!==mr&&c!==hr){i--;break}s+=c}for(h=0;++i<=u;){if(c=t.charAt(i),c!==Dr){i--;break}s+=c,h++}if(!(h>b1)&&!(!h||!a&&t.charAt(i+1)===Dr)){for(u=t.length+1,f="";++i<u;){if(c=t.charAt(i),c!==mr&&c!==hr){i--;break}f+=c}if(!(!a&&f.length===0&&c&&c!==cl)){if(r)return!0;for(s+=f,f="",l="";++i<u&&(c=t.charAt(i),!(!c||c===cl));){if(c!==mr&&c!==hr&&c!==Dr){l+=f+c,f="";continue}for(;c===mr||c===hr;)f+=c,c=t.charAt(++i);if(!a&&l&&!f&&c===Dr){l+=c;continue}for(;c===Dr;)f+=c,c=t.charAt(++i);for(;c===mr||c===hr;)f+=c,c=t.charAt(++i);i--}return o.column+=s.length,o.offset+=s.length,s+=l+f,e(s)({type:"heading",depth:h,children:n.tokenizeInline(l,o)})}}}});var Dl=q((aT,ml)=>{"use strict";ml.exports=S1;var w1=" ",C1=`
`,hl=" ",y1="*",v1="-",A1="_",T1=3;function S1(e,t,r){for(var n=-1,a=t.length+1,u="",i,o,s,l;++n<a&&(i=t.charAt(n),!(i!==w1&&i!==hl));)u+=i;if(!(i!==y1&&i!==v1&&i!==A1))for(o=i,u+=i,s=1,l="";++n<a;)if(i=t.charAt(n),i===o)s++,u+=l+o,l="";else if(i===hl)l+=i;else return s>=T1&&(!i||i===C1)?(u+=l,r?!0:e(u)({type:"thematicBreak"})):void 0}});var ra=q((uT,gl)=>{"use strict";gl.exports=B1;var dl=" ",L1=" ",I1=1,q1=4;function B1(e){for(var t=0,r=0,n=e.charAt(t),a={},u,i=0;n===dl||n===L1;){for(u=n===dl?q1:I1,r+=u,u>1&&(r=Math.floor(r/u)*u);i<r;)a[++i]=t;n=e.charAt(++t)}return{indent:r,stops:a}}});var Fl=q((oT,kl)=>{"use strict";var _1=Et(),P1=cn(),O1=ra();kl.exports=M1;var xl=`
`,N1=" ",R1="!";function M1(e,t){var r=e.split(xl),n=r.length+1,a=1/0,u=[],i,o,s;for(r.unshift(P1(N1,t)+R1);n--;)if(o=O1(r[n]),u[n]=o.stops,_1(r[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=r.length;n--;){for(s=u[n],i=a;i&&!(i in s);)i--;r[n]=r[n].slice(s[i]+1)}return r.shift(),r.join(xl)}});var vl=q((sT,yl)=>{"use strict";var z1=Et(),U1=cn(),bl=bt(),H1=ra(),V1=Fl(),G1=pn();yl.exports=X1;var na="*",W1="_",El="+",ia="-",wl=".",We=" ",_e=`
`,hn=" ",Cl=")",Y1="x",ut=4,j1=/\n\n(?!\s*$)/,$1=/^\[([ X\tx])][ \t]/,K1=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Q1=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,J1=/^( {1,4}|\t)?/gm;function X1(e,t,r){for(var n=this,a=n.options.commonmark,u=n.options.pedantic,i=n.blockTokenizers,o=n.interruptList,s=0,l=t.length,c=null,f,h,m,D,x,g,k,E,C,S,w,d,v,L,y,b,_,I,T,R=!1,O,z,N,W;s<l&&(D=t.charAt(s),!(D!==hn&&D!==We));)s++;if(D=t.charAt(s),D===na||D===El||D===ia)x=D,m=!1;else{for(m=!0,h="";s<l&&(D=t.charAt(s),!!bl(D));)h+=D,s++;if(D=t.charAt(s),!h||!(D===wl||a&&D===Cl)||r&&h!=="1")return;c=parseInt(h,10),x=D}if(D=t.charAt(++s),!(D!==We&&D!==hn&&(u||D!==_e&&D!==""))){if(r)return!0;for(s=0,L=[],y=[],b=[];s<l;){for(g=t.indexOf(_e,s),k=s,E=!1,W=!1,g===-1&&(g=l),f=0;s<l;){if(D=t.charAt(s),D===hn)f+=ut-f%ut;else if(D===We)f++;else break;s++}if(_&&f>=_.indent&&(W=!0),D=t.charAt(s),C=null,!W){if(D===na||D===El||D===ia)C=D,s++,f++;else{for(h="";s<l&&(D=t.charAt(s),!!bl(D));)h+=D,s++;D=t.charAt(s),s++,h&&(D===wl||a&&D===Cl)&&(C=D,f+=h.length+1)}if(C)if(D=t.charAt(s),D===hn)f+=ut-f%ut,s++;else if(D===We){for(N=s+ut;s<N&&t.charAt(s)===We;)s++,f++;s===N&&t.charAt(s)===We&&(s-=ut-1,f-=ut-1)}else D!==_e&&D!==""&&(C=null)}if(C){if(!u&&x!==C)break;E=!0}else!a&&!W&&t.charAt(k)===We?W=!0:a&&_&&(W=f>=_.indent||f>ut),E=!1,s=k;if(w=t.slice(k,g),S=k===s?w:t.slice(s,g),(C===na||C===W1||C===ia)&&i.thematicBreak.call(n,e,w,!0))break;if(d=v,v=!E&&!z1(S).length,W&&_)_.value=_.value.concat(b,w),y=y.concat(b,w),b=[];else if(E)b.length!==0&&(R=!0,_.value.push(""),_.trail=b.concat()),_={value:[w],indent:f,trail:[]},L.push(_),y=y.concat(b,w),b=[];else if(v){if(d&&!a)break;b.push(w)}else{if(d||G1(o,i,n,[e,w,!0]))break;_.value=_.value.concat(b,w),y=y.concat(b,w),b=[]}s=g+1}for(O=e(y.join(_e)).reset({type:"list",ordered:m,start:c,spread:R,children:[]}),I=n.enterList(),T=n.enterBlock(),s=-1,l=L.length;++s<l;)_=L[s].value.join(_e),z=e.now(),e(_)(Z1(n,_,z),O),_=L[s].trail.join(_e),s!==l-1&&(_+=_e),e(_);return I(),T(),O}}function Z1(e,t,r){var n=e.offset,a=e.options.pedantic?ek:tk,u=null,i,o;return t=a.apply(null,arguments),e.options.gfm&&(i=t.match($1),i&&(o=i[0].length,u=i[1].toLowerCase()===Y1,n[r.line]+=o,t=t.slice(o))),{type:"listItem",spread:j1.test(t),checked:u,children:e.tokenizeBlock(t,r)}}function ek(e,t,r){var n=e.offset,a=r.line;return t=t.replace(Q1,u),a=r.line,t.replace(J1,u);function u(i){return n[a]=(n[a]||0)+i.length,a++,""}}function tk(e,t,r){var n=e.offset,a=r.line,u,i,o,s,l,c,f;for(t=t.replace(K1,h),s=t.split(_e),l=V1(t,H1(u).indent).split(_e),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(_e);function h(m,D,x,g,k){return i=D+x+g,o=k,Number(x)<10&&i.length%2===1&&(x=We+x),u=D+U1(We,x.length)+g,u+o}}});var Ll=q((lT,Sl)=>{"use strict";Sl.exports=ok;var aa=`
`,rk=" ",Al=" ",Tl="=",nk="-",ik=3,ak=1,uk=2;function ok(e,t,r){for(var n=this,a=e.now(),u=t.length,i=-1,o="",s,l,c,f,h;++i<u;){if(c=t.charAt(i),c!==Al||i>=ik){i--;break}o+=c}for(s="",l="";++i<u;){if(c=t.charAt(i),c===aa){i--;break}c===Al||c===rk?l+=c:(s+=l+c,l="")}if(a.column+=o.length,a.offset+=o.length,o+=s+l,c=t.charAt(++i),f=t.charAt(++i),!(c!==aa||f!==Tl&&f!==nk)){for(o+=c,l=f,h=f===Tl?ak:uk;++i<u;){if(c=t.charAt(i),c!==f){if(c!==aa)return;i--;break}l+=c}return r?!0:e(o+l)({type:"heading",depth:h,children:n.tokenizeInline(s,a)})}}});var oa=q(ua=>{"use strict";var sk="[a-zA-Z_:][a-zA-Z0-9:._-]*",lk="[^\"'=<>`\\u0000-\\u0020]+",ck="'[^']*'",fk='"[^"]*"',pk="(?:"+lk+"|"+ck+"|"+fk+")",hk="(?:\\s+"+sk+"(?:\\s*=\\s*"+pk+")?)",Il="<[A-Za-z][A-Za-z0-9\\-]*"+hk+"*\\s*\\/?>",ql="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",mk="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Dk="<[?].*?[?]>",dk="<![A-Za-z]+\\s+[^>]*>",gk="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";ua.openCloseTag=new RegExp("^(?:"+Il+"|"+ql+")");ua.tag=new RegExp("^(?:"+Il+"|"+ql+"|"+mk+"|"+Dk+"|"+dk+"|"+gk+")")});var Ol=q((fT,Pl)=>{"use strict";var xk=oa().openCloseTag;Pl.exports=Bk;var kk=" ",Fk=" ",Bl=`
`,bk="<",Ek=/^<(script|pre|style)(?=(\s|>|$))/i,wk=/<\/(script|pre|style)>/i,Ck=/^<!--/,yk=/-->/,vk=/^<\?/,Ak=/\?>/,Tk=/^<![A-Za-z]/,Sk=/>/,Lk=/^<!\[CDATA\[/,Ik=/]]>/,_l=/^$/,qk=new RegExp(xk.source+"\\s*$");function Bk(e,t,r){for(var n=this,a=n.options.blocks.join("|"),u=new RegExp("^</?("+a+")(?=(\\s|/?>|$))","i"),i=t.length,o=0,s,l,c,f,h,m,D,x=[[Ek,wk,!0],[Ck,yk,!0],[vk,Ak,!0],[Tk,Sk,!0],[Lk,Ik,!0],[u,_l,!0],[qk,_l,!1]];o<i&&(f=t.charAt(o),!(f!==kk&&f!==Fk));)o++;if(t.charAt(o)===bk){for(s=t.indexOf(Bl,o+1),s=s===-1?i:s,l=t.slice(o,s),c=-1,h=x.length;++c<h;)if(x[c][0].test(l)){m=x[c];break}if(m){if(r)return m[2];if(o=s,!m[1].test(l))for(;o<i;){if(s=t.indexOf(Bl,o+1),s=s===-1?i:s,l=t.slice(o+1,s),m[1].test(l)){l&&(o=s);break}o=s}return D=t.slice(0,o),e(D)({type:"html",value:D})}}}});var Pe=q((pT,Nl)=>{"use strict";Nl.exports=Ok;var _k=String.fromCharCode,Pk=/\s/;function Ok(e){return Pk.test(typeof e=="number"?_k(e):e.charAt(0))}});var mn=q((hT,Rl)=>{"use strict";Rl.exports=Nk;function Nk(e){return String(e).replace(/\s+/g," ")}});var sa=q((mT,Ml)=>{"use strict";var Rk=mn();Ml.exports=Mk;function Mk(e){return Rk(e).toLowerCase()}});var Yl=q((DT,Wl)=>{"use strict";var zk=Pe(),Uk=sa();Wl.exports=Wk;var zl='"',Ul="'",Hk="\\",Ut=`
`,Dn=" ",dn=" ",ca="[",dr="]",Vk="(",Gk=")",Hl=":",Vl="<",Gl=">";function Wk(e,t,r){for(var n=this,a=n.options.commonmark,u=0,i=t.length,o="",s,l,c,f,h,m,D,x;u<i&&(f=t.charAt(u),!(f!==dn&&f!==Dn));)o+=f,u++;if(f=t.charAt(u),f===ca){for(u++,o+=f,c="";u<i&&(f=t.charAt(u),f!==dr);)f===Hk&&(c+=f,u++,f=t.charAt(u)),c+=f,u++;if(!(!c||t.charAt(u)!==dr||t.charAt(u+1)!==Hl)){for(m=c,o+=c+dr+Hl,u=o.length,c="";u<i&&(f=t.charAt(u),!(f!==Dn&&f!==dn&&f!==Ut));)o+=f,u++;if(f=t.charAt(u),c="",s=o,f===Vl){for(u++;u<i&&(f=t.charAt(u),!!la(f));)c+=f,u++;if(f=t.charAt(u),f===la.delimiter)o+=Vl+c+f,u++;else{if(a)return;u-=c.length+1,c=""}}if(!c){for(;u<i&&(f=t.charAt(u),!!Yk(f));)c+=f,u++;o+=c}if(c){for(D=c,c="";u<i&&(f=t.charAt(u),!(f!==Dn&&f!==dn&&f!==Ut));)c+=f,u++;if(f=t.charAt(u),h=null,f===zl?h=zl:f===Ul?h=Ul:f===Vk&&(h=Gk),!h)c="",u=o.length;else if(c){for(o+=c+f,u=o.length,c="";u<i&&(f=t.charAt(u),f!==h);){if(f===Ut){if(u++,f=t.charAt(u),f===Ut||f===h)return;c+=Ut}c+=f,u++}if(f=t.charAt(u),f!==h)return;l=o,o+=c+f,u++,x=c,c=""}else return;for(;u<i&&(f=t.charAt(u),!(f!==Dn&&f!==dn));)o+=f,u++;if(f=t.charAt(u),!f||f===Ut)return r?!0:(s=e(s).test().end,D=n.decode.raw(n.unescape(D),s,{nonTerminated:!1}),x&&(l=e(l).test().end,x=n.decode.raw(n.unescape(x),l)),e(o)({type:"definition",identifier:Uk(m),label:m,title:x||null,url:D}))}}}}function la(e){return e!==Gl&&e!==ca&&e!==dr}la.delimiter=Gl;function Yk(e){return e!==ca&&e!==dr&&!zk(e)}});var Kl=q((dT,$l)=>{"use strict";var jk=Pe();$l.exports=n0;var $k=" ",gn=`
`,Kk=" ",Qk="-",Jk=":",Xk="\\",fa="|",Zk=1,e0=2,jl="left",t0="center",r0="right";function n0(e,t,r){var n=this,a,u,i,o,s,l,c,f,h,m,D,x,g,k,E,C,S,w,d,v,L,y;if(n.options.gfm){for(a=0,C=0,l=t.length+1,c=[];a<l;){if(v=t.indexOf(gn,a),L=t.indexOf(fa,a+1),v===-1&&(v=t.length),L===-1||L>v){if(C<e0)return;break}c.push(t.slice(a,v)),C++,a=v+1}for(o=c.join(gn),u=c.splice(1,1)[0]||[],a=0,l=u.length,C--,i=!1,D=[];a<l;){if(h=u.charAt(a),h===fa){if(m=null,i===!1){if(y===!1)return}else D.push(i),i=!1;y=!1}else if(h===Qk)m=!0,i=i||null;else if(h===Jk)i===jl?i=t0:m&&i===null?i=r0:i=jl;else if(!jk(h))return;a++}if(i!==!1&&D.push(i),!(D.length<Zk)){if(r)return!0;for(E=-1,w=[],d=e(o).reset({type:"table",align:D,children:w});++E<C;){for(S=c[E],s={type:"tableRow",children:[]},E&&e(gn),e(S).reset(s,d),l=S.length+1,a=0,f="",x="",g=!0;a<l;){if(h=S.charAt(a),h===$k||h===Kk){x?f+=h:e(h),a++;continue}h===""||h===fa?g?e(h):((x||h)&&!g&&(o=x,f.length>1&&(h?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),k=e.now(),e(o)({type:"tableCell",children:n.tokenizeInline(x,k)},s)),e(f+h),f="",x=""):(f&&(x+=f,f=""),x+=h,h===Xk&&a!==l-2&&(x+=S.charAt(a+1),a++)),g=!1,a++}E||e(gn+u)}return d}}}});var Xl=q((gT,Jl)=>{"use strict";var i0=Et(),a0=Ji(),u0=pn();Jl.exports=l0;var o0=" ",gr=`
`,s0=" ",Ql=4;function l0(e,t,r){for(var n=this,a=n.options,u=a.commonmark,i=n.blockTokenizers,o=n.interruptParagraph,s=t.indexOf(gr),l=t.length,c,f,h,m,D;s<l;){if(s===-1){s=l;break}if(t.charAt(s+1)===gr)break;if(u){for(m=0,c=s+1;c<l;){if(h=t.charAt(c),h===o0){m=Ql;break}else if(h===s0)m++;else break;c++}if(m>=Ql&&h!==gr){s=t.indexOf(gr,s+1);continue}}if(f=t.slice(s+1),u0(o,i,n,[e,f,!0]))break;if(c=s,s=t.indexOf(gr,s+1),s!==-1&&i0(t.slice(c,s))===""){s=c;break}}return f=t.slice(0,s),r?!0:(D=e.now(),f=a0(f),e(f)({type:"paragraph",children:n.tokenizeInline(f,D)}))}});var ec=q((xT,Zl)=>{"use strict";Zl.exports=c0;function c0(e,t){return e.indexOf("\\",t)}});var ic=q((kT,nc)=>{"use strict";var f0=ec();nc.exports=rc;rc.locator=f0;var p0=`
`,tc="\\";function rc(e,t,r){var n=this,a,u;if(t.charAt(0)===tc&&(a=t.charAt(1),n.escape.indexOf(a)!==-1))return r?!0:(a===p0?u={type:"break"}:u={type:"text",value:a},e(tc+a)(u))}});var pa=q((FT,ac)=>{"use strict";ac.exports=h0;function h0(e,t){return e.indexOf("<",t)}});var cc=q((bT,lc)=>{"use strict";var uc=Pe(),m0=fr(),D0=pa();lc.exports=da;da.locator=D0;da.notInLink=!0;var oc="<",ha=">",sc="@",ma="/",Da="mailto:",xn=Da.length;function da(e,t,r){var n=this,a="",u=t.length,i=0,o="",s=!1,l="",c,f,h,m,D;if(t.charAt(0)===oc){for(i++,a=oc;i<u&&(c=t.charAt(i),!(uc(c)||c===ha||c===sc||c===":"&&t.charAt(i+1)===ma));)o+=c,i++;if(o){if(l+=o,o="",c=t.charAt(i),l+=c,i++,c===sc)s=!0;else{if(c!==":"||t.charAt(i+1)!==ma)return;l+=ma,i++}for(;i<u&&(c=t.charAt(i),!(uc(c)||c===ha));)o+=c,i++;if(c=t.charAt(i),!(!o||c!==ha))return r?!0:(l+=o,h=l,a+=l+c,f=e.now(),f.column++,f.offset++,s&&(l.slice(0,xn).toLowerCase()===Da?(h=h.slice(xn),f.column+=xn,f.offset+=xn):l=Da+l),m=n.inlineTokenizers,n.inlineTokenizers={text:m.text},D=n.enterLink(),h=n.tokenizeInline(h,f),n.inlineTokenizers=m,D(),e(a)({type:"link",title:null,url:m0(l,{nonTerminated:!1}),children:h}))}}}});var pc=q((ET,fc)=>{"use strict";fc.exports=d0;function d0(e,t){var r=String(e),n=0,a;if(typeof t!="string")throw new Error("Expected character");for(a=r.indexOf(t);a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}});var Dc=q((wT,mc)=>{"use strict";mc.exports=g0;var hc=["www.","http://","https://"];function g0(e,t){var r=-1,n,a,u;if(!this.options.gfm)return r;for(a=hc.length,n=-1;++n<a;)u=e.indexOf(hc[n],t),u!==-1&&(r===-1||u<r)&&(r=u);return r}});var Fc=q((CT,kc)=>{"use strict";var dc=pc(),x0=fr(),k0=bt(),ga=Ot(),F0=Pe(),b0=Dc();kc.exports=ka;ka.locator=b0;ka.notInLink=!0;var E0=33,w0=38,C0=41,y0=42,v0=44,A0=45,xa=46,T0=58,S0=59,L0=63,I0=60,gc=95,q0=126,B0="(",xc=")";function ka(e,t,r){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=t.length,o=-1,s=!1,l,c,f,h,m,D,x,g,k,E,C,S,w,d;if(a){if(t.slice(0,4)==="www.")s=!0,h=4;else if(t.slice(0,7).toLowerCase()==="http://")h=7;else if(t.slice(0,8).toLowerCase()==="https://")h=8;else return;for(o=h-1,f=h,l=[];h<i;){if(x=t.charCodeAt(h),x===xa){if(o===h-1)break;l.push(h),o=h,h++;continue}if(k0(x)||ga(x)||x===A0||x===gc){h++;continue}break}if(x===xa&&(l.pop(),h--),l[0]!==void 0&&(c=l.length<2?f:l[l.length-2]+1,t.slice(c,h).indexOf("_")===-1)){if(r)return!0;for(g=h,m=h;h<i&&(x=t.charCodeAt(h),!(F0(x)||x===I0));)h++,x===E0||x===y0||x===v0||x===xa||x===T0||x===L0||x===gc||x===q0||(g=h);if(h=g,t.charCodeAt(h-1)===C0)for(D=t.slice(m,h),k=dc(D,B0),E=dc(D,xc);E>k;)h=m+D.lastIndexOf(xc),D=t.slice(m,h),E--;if(t.charCodeAt(h-1)===S0&&(h--,ga(t.charCodeAt(h-1)))){for(g=h-2;ga(t.charCodeAt(g));)g--;t.charCodeAt(g)===w0&&(h=g)}return C=t.slice(0,h),w=x0(C,{nonTerminated:!1}),s&&(w="http://"+w),d=n.enterLink(),n.inlineTokenizers={text:u.text},S=n.tokenizeInline(C,e.now()),n.inlineTokenizers=u,d(),e(C)({type:"link",title:null,url:w,children:S})}}}});var Cc=q((yT,wc)=>{"use strict";var _0=bt(),P0=Ot(),O0=43,N0=45,R0=46,M0=95;wc.exports=Ec;function Ec(e,t){var r=this,n,a;if(!this.options.gfm||(n=e.indexOf("@",t),n===-1))return-1;if(a=n,a===t||!bc(e.charCodeAt(a-1)))return Ec.call(r,e,n+1);for(;a>t&&bc(e.charCodeAt(a-1));)a--;return a}function bc(e){return _0(e)||P0(e)||e===O0||e===N0||e===R0||e===M0}});var Tc=q((vT,Ac)=>{"use strict";var z0=fr(),yc=bt(),vc=Ot(),U0=Cc();Ac.exports=Ea;Ea.locator=U0;Ea.notInLink=!0;var H0=43,Fa=45,kn=46,V0=64,ba=95;function Ea(e,t,r){var n=this,a=n.options.gfm,u=n.inlineTokenizers,i=0,o=t.length,s=-1,l,c,f,h;if(a){for(l=t.charCodeAt(i);yc(l)||vc(l)||l===H0||l===Fa||l===kn||l===ba;)l=t.charCodeAt(++i);if(i!==0&&l===V0){for(i++;i<o;){if(l=t.charCodeAt(i),yc(l)||vc(l)||l===Fa||l===kn||l===ba){i++,s===-1&&l===kn&&(s=i);continue}break}if(!(s===-1||s===i||l===Fa||l===ba))return l===kn&&i--,c=t.slice(0,i),r?!0:(h=n.enterLink(),n.inlineTokenizers={text:u.text},f=n.tokenizeInline(c,e.now()),n.inlineTokenizers=u,h(),e(c)({type:"link",title:null,url:"mailto:"+z0(c,{nonTerminated:!1}),children:f}))}}}});var Ic=q((AT,Lc)=>{"use strict";var
`,rF="!",Bc='"',_c="'",Ht="(",kr=")",Ca="<",ya=">",Pc="[",Fr="\\",nF="]",Oc="`";function Nc(e,t,r){var n=this,a="",u=0,i=t.charAt(0),o=n.options.pedantic,s=n.options.commonmark,l=n.options.gfm,c,f,h,m,D,x,g,k,E,C,S,w,d,v,L,y,b,_;if(i===rF&&(k=!0,a=i,i=t.charAt(++u)),i===Pc&&!(!k&&n.inLink)){for(a+=i,v="",u++,S=t.length,y=e.now(),d=0,y.column+=u,y.offset+=u;u<S;){if(i=t.charAt(u),x=i,i===Oc){for(f=1;t.charAt(u+1)===Oc;)x+=i,u++,f++;h?f>=h&&(h=0):h=f}else if(i===Fr)u++,x+=t.charAt(u);else if((!h||l)&&i===Pc)d++;else if((!h||l)&&i===nF)if(d)d--;else{if(t.charAt(u+1)!==Ht)return;x+=Ht,c=!0,u++;break}v+=x,x="",u++}if(c){for(E=v,a+=v+x,u++;u<S&&(i=t.charAt(u),!!xr(i));)a+=i,u++;if(i=t.charAt(u),v="",m=a,i===Ca){for(u++,m+=Ca;u<S&&(i=t.charAt(u),i!==ya);){if(s&&i===tF)return;v+=i,u++}if(t.charAt(u)!==ya)return;a+=Ca+v+ya,L=v,u++}else{for(i=null,x="";u<S&&(i=t.charAt(u),!(x&&(i===Bc||i===_c||s&&i===Ht)));){if(xr(i)){if(!o)break;x+=i}else{if(i===Ht)d++;else if(i===kr){if(d===0)break;d--}v+=x,x="",i===Fr&&(v+=Fr,i=t.charAt(++u)),v+=i}u++}a+=v,L=v,u=a.length}for(v="";u<S&&(i=t.charAt(u),!!xr(i));)v+=i,u++;if(i=t.charAt(u),a+=v,v&&(i===Bc||i===_c||s&&i===Ht))if(u++,a+=i,v="",C=i===Ht?kr:i,D=a,s){for(;u<S&&(i=t.charAt(u),i!==C);)i===Fr&&(v+=Fr,i=t.charAt(++u)),u++,v+=i;if(i=t.charAt(u),i!==C)return;for(w=v,a+=v+i,u++;u<S&&(i=t.charAt(u),!!xr(i));)a+=i,u++}else for(x="";u<S;){if(i=t.charAt(u),i===C)g&&(v+=C+x,x=""),g=!0;else if(!g)v+=i;else if(i===kr){a+=v+C+x,w=v;break}else xr(i)?x+=i:(v+=C+x+i,x="",g=!1);u++}if(t.charAt(u)===kr)return r?!0:(a+=kr,L=n.decode.raw(n.unescape(L),e(m).test().end,{nonTerminated:!1}),w&&(D=e(D).test().end,w=n.decode.raw(n.unescape(w),D)),_={type:k?"image":"link",title:w||null,url:L},k?_.alt=n.decode.raw(n.unescape(E),y)||null:(b=n.enterLink(),_.children=n.tokenizeInline(E,y),b()),e(a)(_))}}}});var Hc=q((LT,Uc)=>{"use strict";var iF=Pe(),aF=wa(),uF=sa();Uc.exports=zc;zc.locator=aF;var va="link",oF="image",sF="shortcut",lF="collapsed",Aa="full",cF="!",Fn="[",bn="\\",En="]";function zc(e,t,r){var n=this,a=n.options.commonmark,u=t.charAt(0),i=0,o=t.length,s="",l="",c=va,f=sF,h,m,D,x,g,k,E,C;if(u===cF&&(c=oF,l=u,u=t.charAt(++i)),u===Fn){for(i++,l+=u,k="",C=0;i<o;){if(u=t.charAt(i),u===Fn)E=!0,C++;else if(u===En){if(!C)break;C--}u===bn&&(k+=bn,u=t.charAt(++i)),k+=u,i++}if(s=k,h=k,u=t.charAt(i),u===En){if(i++,s+=u,k="",!a)for(;i<o&&(u=t.charAt(i),!!iF(u));)k+=u,i++;if(u=t.charAt(i),u===Fn){for(m="",k+=u,i++;i<o&&(u=t.charAt(i),!(u===Fn||u===En));)u===bn&&(m+=bn,u=t.charAt(++i)),m+=u,i++;u=t.charAt(i),u===En?(f=m?Aa:lF,k+=m+u,i++):m="",s+=k,k=""}else{if(!h)return;m=h}if(!(f!==Aa&&E))return s=l+s,c===va&&n.inLink?null:r?!0:(D=e.now(),D.column+=l.length,D.offset+=l.length,m=f===Aa?m:h,x={type:c+"Reference",identifier:uF(m),label:m,referenceType:f},c===va?(g=n.enterLink(),x.children=n.tokenizeInline(h,D),g()):x.alt=n.decode.raw(n.unescape(h),D)||null,e(s)(x))}}}});var Gc=q((IT,Vc)=>{"use strict";Vc.exports=fF;function fF(e,t){var r=e.indexOf("**",t),n=e.indexOf("__",t);return n===-1?r:r===-1||n<r?n:r}});var $c=q((qT,jc)=>{"use strict";var pF=Et(),Wc=Pe(),hF=Gc();jc.exports=Yc;Yc.locator=hF;var mF="\\",DF="*",dF="_";function Yc(e,t,r){var n=this,a=0,u=t.charAt(a),i,o,s,l,c,f,h;if(!(u!==DF&&u!==dF||t.charAt(++a)!==u)&&(o=n.options.pedantic,s=u,c=s+s,f=t.length,a++,l="",u="",!(o&&Wc(t.charAt(a)))))for(;a<f;){if(h=u,u=t.charAt(a),u===s&&t.charAt(a+1)===s&&(!o||!Wc(h))&&(u=t.charAt(a+2),u!==s))return pF(l)?r?!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===mF&&(l+=u,u=t.charAt(++a)),l+=u,a++}}});var Qc=q((BT,Kc)=>{"use strict";Kc.exports=kF;var gF=String.fromCharCode,xF=/\w/;function kF(e){return xF.test(typeof e=="number"?gF(e):e.charAt(0))}});var Xc=q((_T,Jc)=>{"use strict";Jc.exports=FF;function FF(e,t){var r=e.indexOf("*",t),n=e.indexOf("_",t);return n===-1?r:r===-1||n<r?n:r}});var nf=q((PT,rf)=>{"use strict";var bF=Et(),EF=Qc(),Zc=Pe(),wF=Xc();rf.exports=tf;tf.locator=wF;var CF="*",ef="_",yF="\\";function tf(e,t,r){var n=this,a=0,u=t.charAt(a),i,o,s,l,c,f
`,t);r>t&&e.charAt(r-1)===" ";)r--;return r}});var bf=q((UT,Ff)=>{"use strict";var IF=xf();Ff.exports=kf;kf.locator=IF;var qF=" ",BF=`
`,_F=2;function kf(e,t,r){for(var n=t.length,a=-1,u="",i;++a<n;){if(i=t.charAt(a),i===BF)return a<_F?void 0:r?!0:(u+=i,e(u)({type:"break"}));if(i!==qF)return;u+=i}}});var wf=q((HT,Ef)=>{"use strict";Ef.exports=PF;function PF(e,t,r){var n=this,a,u,i,o,s,l,c,f,h,m;if(r)return!0;for(a=n.inlineMethods,o=a.length,u=n.inlineTokenizers,i=-1,h=t.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,t,1),l!==-1&&l<h&&(h=l));s=t.slice(0,h),m=e.now(),n.decode(s,m,D);function D(x,g,k){e(k||x)({type:"text",value:x})}}});var Af=q((VT,vf)=>{"use strict";var OF=Ft(),Cn=Ho(),NF=Go(),RF=Yo(),MF=Fs(),Ia=ws();vf.exports=Cf;function Cf(e,t){this.file=t,this.offset={},this.options=OF(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=NF(t).toOffset,this.unescape=RF(this,"escape"),this.decode=MF(this)}var ue=Cf.prototype;ue.setOptions=Is();ue.parse=js();ue.options=$i();ue.exitStart=Cn("atStart",!0);ue.enterList=Cn("inList",!1);ue.enterLink=Cn("inLink",!1);ue.enterBlock=Cn("inBlock",!1);ue.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];ue.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];ue.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}]];ue.blockTokenizers={blankLine:Ks(),indentedCode:el(),fencedCode:nl(),blockquote:ll(),atxHeading:pl(),thematicBreak:Dl(),list:vl(),setextHeading:Ll(),html:Ol(),definition:Yl(),table:Kl(),paragraph:Xl()};ue.inlineTokenizers={escape:ic(),autoLink:cc(),url:Fc(),email:Tc(),html:Ic(),link:Mc(),reference:Hc(),strong:$c(),emphasis:nf(),deletion:ff(),code:df(),break:bf(),text:wf()};ue.blockMethods=yf(ue.blockTokenizers);ue.inlineMethods=yf(ue.inlineTokenizers);ue.tokenizeBlock=Ia("block");ue.tokenizeInline=Ia("inline");ue.tokenizeFactory=Ia;function yf(e){var t=[],r;for(r in e)t.push(r);return t}});var If=q((GT,Lf)=>{"use strict";var zF=zo(),UF=Ft(),Tf=Af();Lf.exports=Sf;Sf.Parser=Tf;function Sf(e){var t=this.data("settings"),r=zF(Tf);r.prototype.options=UF(r.prototype.options,t,e),this.Parser=r}});var Bf=q((WT,qf)=>{"use strict";qf.exports=HF;function HF(e){if(e)throw e}});var qa=q((YT,_f)=>{_f.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var Vf=q((jT,Hf)=>{"use strict";var yn=Object.prototype.hasOwnProperty,Uf=Object.prototype.toString,Pf=Object.defineProperty,Of=Object.getOwnPropertyDescriptor,Nf=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Uf.call(t)==="[object Array]"},Rf=function(t){if(!t||Uf.call(t)!=="[object Object]")return!1;var r=yn.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&yn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a>"u"||yn.call(t,a)},Mf=function(t,r){Pf&&r.name==="__proto__"?Pf(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},zf=function(t,r){if(r==="__proto__")if(yn.call(t,r)){if(Of)return Of(t,r).value}else return;return t[r]};Hf.exports=function e(){var t,r,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(t=arguments[s],t!=null)for(r in t)n=zf(o,r),a=zf(t,r),o!==a&&(c&&a&&(Rf(a)||(u=Nf(a)))?(u?(u=!1,i=n&&Nf(n)?n:[]):i=n&&Rf(n)?n:{},Mf(o,{name:r,newValue:e(c,i,a)})):typeof a<"u"&&Mf(o,{name:r,newValue:a}));return o}});var Wf=q(($T,Gf)=>{"use strict";Gf.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}});var j
`,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}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",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",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",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",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",T
`;break}case-3:{i=`\r
`;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&a)continue;i=" ";break}default:i=String.fromCharCode(u)}a=u===-2,n.push(i)}return n.join("")}function oi(e){let n={constructs:Nr([ui,...(e||{}).extensions||[]]),content:a(Tu),defined:[],document:a(Lu),flow:a(_u),lazy:{},string:a(Ou),text:a(Nu)};return n;function a(u){return i;function i(o){return zu(n,u,o)}}}function si(e){for(;!Gr(e););return e}var Uu=/[\0\t\n\r]/g;function li(){let e=1,t="",r=!0,n;return a;function a(u,i,o){let s=[],l,c,f,h,m;for(u=t+(typeof u=="string"?u.toString():new TextDecoder(i||void 0).decode(u)),f=0,t="",r&&(u.charCodeAt(0)===65279&&f++,r=void 0);f<u.length;){if(Uu.lastIndex=f,l=Uu.exec(u),h=l&&l.index!==void 0?l.index:u.length,m=u.charCodeAt(h),!l){t=u.slice(f);break}if(m===10&&f===h&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),f<h&&(s.push(u.slice(f,h)),e+=h-f),m){case 0:{s.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,s.push(-2);e++<c;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:n=!0,e=1}f=h+1}return o&&(n&&s.push(-5),t&&s.push(t),s.push(null)),s}}var MD=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Hu(e){return e.replace(MD,zD)}function zD(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let a=r.charCodeAt(1),u=a===120||a===88;return Rr(r.slice(u?2:1),u?16:10)}return Tt(r)||e}function Lt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Vu(e.position):"start"in e||"end"in e?Vu(e):"line"in e||"column"in e?ci(e):""}function ci(e){return Gu(e&&e.line)+":"+Gu(e&&e.column)}function Vu(e){return ci(e&&e.start)+"-"+ci(e&&e.end)}function Gu(e){return e&&typeof e=="number"?e:1}var Yu={}.hasOwnProperty;function fi(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),UD(r)(si(oi(r).document().write(li()(e,t,!0))))}function UD(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(du),autolinkProtocol:y,autolinkEmail:y,atxHeading:u(hu),blockQuote:u(Me),characterEscape:y,characterReference:y,codeFenced:u(ct),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:u(ct,i),codeText:u(yt,i),codeTextData:y,data:y,codeFlowValue:y,definition:u(Hn),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:u(em),hardBreakEscape:u(mu),hardBreakTrailing:u(mu),htmlFlow:u(Du,i),htmlFlowData:y,htmlText:u(Du,i),htmlTextData:y,image:u(tm),label:i,link:u(du),listItem:u(rm),listItemValue:h,listOrdered:u(gu,f),listUnordered:u(gu),paragraph:u(nm),reference:F,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:u(hu),strong:u(im),thematicBreak:u(um)},exit:{atxHeading:s(),atxHeadingSequence:w,autolink:s(),autolinkEmail:Jt,autolinkProtocol:oe,blockQuote:s(),characterEscapeValue:b,characterReferenceMarkerHexadecimal:ce,characterReferenceMarkerNumeric:ce,characterReferenceValue:te,characterReference:et,codeFenced:s(g),codeFencedFence:x,codeFencedFenceInfo:m,codeFencedFenceMeta:D,codeFlowValue:b,codeIndented:s(k),codeText:s(O),codeTextData:b,data:b,definition:s(),definitionDestinationString:S,definitionLabelString:E,definitionTitleString:C,emphasis:s(),hardBreakEscape:s(I),hardBreakTrailing:s(I),htmlFlow:s(T),htmlFlowData:b,htmlText:s(R),htmlTextData:b,image:s(N),label:ne,labelText:W,lineEnding:_,link:s(z),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:ee,resourceDestinationString:p,resourceTitleString:Y,resource:ie,setextHeading:s(L),setextHeadingLineSequence:v,setextHeadingText:d,strong:s(),thematicBreak:s()}};ju(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(A){let P={type:"root",children:[]},V={stack:[P],tokenStack:[],config:t,enter:o,exit:l,buffer:i,resume:c,data:r},j=[],$=-1;for(;++$<A.length;)if(A[$][1].type==="listOrdered"||A[$][1].type==="listUnordered")if(A[$][0]==="enter")j.push($);else{let ye=j.pop();$=a(A,ye,$)}for($=-1;++$<A.length;){let ye=t[A[$][0]];Yu.call(ye,A[$][1].type)&&ye[A[$][1].type].call(Object.assign({sliceSerialize:A[$][2].sliceSerialize},V),A[$][1])}if(V.tokenStack.length>0){let ye=V.tokenStack[V.tokenStack.length-1];(ye[1]|
`,ur);if(r===-1)return;let n=e.slice(ur,r).trim(),a=e.indexOf(`
${t}`,r),u=n;if(u||(u=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&u==="yaml"&&(a=e.indexOf(`
...`,r)),a===-1)return;let i=a+1+ur,o=e.charAt(i+1);if(!/\s?/.test(o))return;let s=e.slice(0,i),l;return{language:u,explicitLanguage:n||null,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:s.slice(-ur),raw:s,start:{line:1,column:0,index:0},end:{index:s.length,get line(){return l??(l=s.split(`
`)),l.length},get column(){return l??(l=s.split(`
`)),J(0,l,-1).length}},[Jr]:!0}}function Cd(e){let t=wd(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return so(r)+e.slice(r.length)}}:{content:e}}var Ve=Cd;function bi(e,t){let r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function ve(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Bt=(function(e){if(e==null)return Td;if(typeof e=="function")return Xr(e);if(typeof e=="object")return Array.isArray(e)?yd(e):vd(e);if(typeof e=="string")return Ad(e);throw new Error("Expected function, string, or object as test")});function yd(e){let t=[],r=-1;for(;++r<e.length;)t[r]=Bt(e[r]);return Xr(n);function n(...a){let u=-1;for(;++u<t.length;)if(t[u].apply(this,a))return!0;return!1}}function vd(e){let t=e;return Xr(r);function r(n){let a=n,u;for(u in e)if(a[u]!==t[u])return!1;return!0}}function Ad(e){return Xr(t);function t(r){return r&&r.type===e}}function Xr(e){return t;function t(r,n,a){return!!(Sd(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function Td(){return!0}function Sd(e){return e!==null&&typeof e=="object"&&"type"in e}var lo=[],co=!0,Ei=!1,fo="skip";function wi(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;let u=Bt(a),i=n?-1:1;o(e,void 0,[])();function o(s,l,c){let f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){let m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(s.type+(m?"<"+m+">":""))+")"})}return h;function h(){let m=lo,D,x,g;if((!t||u(s,l,c[c.length-1]||void 0))&&(m=Ld(r(s,c)),m[0]===Ei))return m;if("children"in s&&s.children){let k=s;if(k.children&&m[0]!==fo)for(x=(n?k.children.length:-1)+i,g=c.concat(k);x>-1&&x<k.children.length;){let E=k.children[x];if(D=o(E,x,g)(),D[0]===Ei)return D;x=typeof D[1]=="number"?D[1]:x+i}}return m}}}function Ld(e){return Array.isArray(e)?e:typeof e=="number"?[co,e]:e==null?lo:[e]}function Ci(e,t,r){let a=Bt((r||{}).ignore||[]),u=Id(t),i=-1;for(;++i<u.length;)wi(e,"text",o);function o(l,c){let f=-1,h;for(;++f<c.length;){let m=c[f],D=h?h.children:void 0;if(a(m,D?D.indexOf(m):void 0,h))return;h=m}if(h)return s(l,c)}function s(l,c){let f=c[c.length-1],h=u[i][0],m=u[i][1],D=0,g=f.children.indexOf(l),k=!1,E=[];h.lastIndex=0;let C=h.exec(l.value);for(;C;){let S=C.index,w={index:C.index,input:C.input,stack:[...c,l]},d=m(...C,w);if(typeof d=="string"&&(d=d.length>0?{type:"text",value:d}:void 0),d===!1?h.lastIndex=S+1:(D!==S&&E.push({type:"text",value:l.value.slice(D,S)}),Array.isArray(d)?E.push(...d):d&&E.push(d),D=S+C[0].length,k=!0),!h.global)break;C=h.exec(l.value)}return k?(D<l.value.length&&E.push({type:"text",value:l.value.slice(D)}),f.children.splice(g,1,...E)):E=[l],g+E.length}}function Id(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){let a=r[n];t.push([qd(a[0]),Bd(a[1])])}return t}function qd(e){return typeof e=="string"?new RegExp(ve(e),"g"):e}function Bd(e){return typeof e=="function"?e:function(){return e}}function vi(){return{transforms:[Md],enter:{literalAutolink:_d,literalAutolinkEmail:yi,literalAutolinkHttp:yi,literalAutolinkWww:yi},exit:{literalAutolink:Rd,literalAutolinkEmail:Nd,literalAutolinkHttp:Pd,literalAutolinkWww:Od}}}function _d(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function yi(e){this.config.enter.autolinkProtocol.call(this,e)}function Pd(e){this.config.exit.autolinkProtocol.call(this,e)}function Od(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Nd(e){this.config.exit.autolinkEmail.call(this,e)}function Rd(e){this.exit(e)}function Md(e){Ci(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,zd],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Ud]],{ignore:["link","linkReference"]})}function zd(e,t,r,n,a){l
`),n=r===-1?t:t.slice(0,r);if(Tp(n))return e(n)({type:Ap(n)?"export":"import",value:n})};Ua.notInBlock=!0;Ua.locator=e=>Tp(e)?-1:1;var Sp=(e,t)=>{let r=Sb.exec(t);if(r)return e(r[0])({type:"esComment",value:r[1].trim()})};Sp.locator=(e,t)=>e.indexOf("{",t);var Lp=function(){let{Parser:e}=this,{blockTokenizers:t,blockMethods:r,inlineTokenizers:n,inlineMethods:a}=e.prototype;t.esSyntax=Ua,n.esComment=Sp,r.splice(r.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};var De="string",de="array",st="cursor",Ae="indent",Te="align",je="trim",ke="group",Fe="fill",be="if-break",$e="indent-if-break",Ke="line-suffix",Qe="line-suffix-boundary",ge="line",Je="label",Se="break-parent",Tn=new Set([st,Ae,Te,je,ke,Fe,be,$e,Ke,Qe,ge,Je,Se]);function Ip(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function Ib(e){if(typeof e=="string")return De;if(Array.isArray(e))return de;if(!e)return;let{type:t}=e;if(Tn.has(t))return t}var me=Ib;var qb=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Bb(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
Expected it to be 'string' or 'object'.`;if(me(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=qb([...Tn].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`}var Ha=class extends Error{name="InvalidDocError";constructor(t){super(Bb(t)),this.doc=t}},wt=Ha;var qp={};function _b(e,t,r,n){let a=[e];for(;a.length>0;){let u=a.pop();if(u===qp){r(a.pop());continue}r&&a.push(u,qp);let i=me(u);if(!i)throw new wt(u);if(t?.(u)!==!1)switch(i){case de:case Fe:{let o=i===de?u:u.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case be:a.push(u.flatContents,u.breakContents);break;case ke: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 Te:case Ae:case $e:case Je:case Ke:a.push(u.contents);break;case De:case st:case je:case Qe:case ge:case Se:break;default:throw new wt(u)}}}var Bp=_b;function Pb(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(u){return Ip(r,u,a)}function a(u){switch(me(u)){case de:return t(u.map(n));case Fe:return t({...u,parts:u.parts.map(n)});case be:return t({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case ke:{let{expandedStates:i,contents:o}=u;return i?(i=i.map(n),o=i[0]):o=n(o),t({...u,contents:o,expandedStates:i})}case Te:case Ae:case $e:case Je:case Ke:return t({...u,contents:n(u.contents)});case De:case st:case je:case Qe:case ge:case Se:return t(u);default:throw new wt(u)}}}function _p(e){if(e.length>0){let t=J(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Pp(e){let t=new Set,r=[];function n(u){if(u.type===Se&&_p(r),u.type===ke){if(r.push(u),t.has(u))return!1;t.add(u)}}function a(u){u.type===ke&&r.pop().break&&_p(r)}Bp(e,n,a,!0)}function Xe(e,t=wr){return Pb(e,r=>typeof r=="string"?Sn(t,r.split(`
`)):r)}var Le=ar,Ln=ar,Op=ar,Np=ar;function Cr(e){return Le(e),{type:Ae,contents:e}}function we(e,t){return Np(e),Le(t),{type:Te,contents:t,n:e}}function yr(e){return we({type:"root"},e)}var Wt={type:Se};function Yt(e){return Op(e),{type:Fe,parts:e}}function jt(e,t={}){return Le(e),Ln(t.expandedStates,!0),{type:ke,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Rp(e,t="",r={}){return Le(e),t!==""&&Le(t),{type:be,breakContents:e,flatContents:t,groupId:r.groupId}}function Sn(e,t){Le(e),Ln(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var In={type:ge},qn={type:ge,soft:!0},vr={type:ge,hard:!0},Z=[vr,Wt],Ob={type:ge,hard:!0,literal:!0},wr=[Ob,Wt];var Nb="cr",Rb="crlf";var Mb="\r",zb=`\r
`,Ub=`
`,Hb=Ub;function Mp(e){return e===Nb?Mb:e===Rb?zb:Hb}var zp=()=>/[#*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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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-\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-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D
`?X(0,g,`
`,a):g;k&&(l.write(k),i.length>0&&(u+=Ar(k)));break}case de:for(let k=g.length-1;k>=0;k--)i.push({indent:D,mode:x,doc:g[k]});break;case st:l.markPosition();break;case Ae:i.push({indent:Qp(D,t),mode:x,doc:g.contents});break;case Te:i.push({indent:Kp(D,g.n,t),mode:x,doc:g.contents});break;case je:u-=l.trim();break;case ke:{let k=(function(){if(x===Ne&&!o)return{indent:D,mode:g.break?Ce:Ne,doc:g.contents};o=!1;let C=n-u,S=s.length>0,w={indent:D,mode:Ne,doc:g.contents};if(!g.break&&_n(w,i,C,S,r))return w;if(!g.expandedStates)return{indent:D,mode:Ce,doc:g.contents};if(!g.break)for(let d=1;d<g.expandedStates.length-1;d++){let v={indent:D,mode:Ne,doc:g.expandedStates[d]};if(_n(v,i,C,S,r))return v}return{indent:D,mode:Ce,doc:J(0,g.expandedStates,-1)}})();i.push(k),g.id&&(r[g.id]=k.mode);break}case Fe:{let k=n-u,E=g[Ka]??0,{parts:C}=g,S=C.length-E;if(S===0)break;let w=C[E+0],d=C[E+1],v={indent:D,mode:Ne,doc:w},L={indent:D,mode:Ce,doc:w},y=_n(v,[],k,s.length>0,r,!0);if(S===1){y?i.push(v):i.push(L);break}let b={indent:D,mode:Ne,doc:d},_={indent:D,mode:Ce,doc:d};if(S===2){y?i.push(b,v):i.push(_,L);break}let I=C[E+2],T={indent:D,mode:x,doc:{...g,[Ka]:E+2}},O=_n({indent:D,mode:Ne,doc:[w,d,I]},[],k,s.length>0,r,!0);i.push(T),O?i.push(b,v):y?i.push(_,v):i.push(_,L);break}case be:case $e:{let k=g.groupId?r[g.groupId]:x;if(k===Ce){let E=g.type===be?g.breakContents:g.negate?g.contents:Cr(g.contents);E&&i.push({indent:D,mode:x,doc:E})}if(k===Ne){let E=g.type===be?g.flatContents:g.negate?Cr(g.contents):g.contents;E&&i.push({indent:D,mode:x,doc:E})}break}case Ke:s.push({indent:D,mode:x,doc:g.contents});break;case Qe:s.length>0&&i.push({indent:D,mode:x,doc:vr});break;case ge:switch(x){case Ne:if(!g.hard){g.soft||(l.write(" "),u+=1);break}o=!0;case Ce:if(s.length>0){i.push({indent:D,mode:x,doc:g},...s.reverse()),s.length=0;break}g.literal?(l.write(a),u=0,D.root&&(D.root.value&&l.write(D.root.value),u=D.root.length)):(l.trim(),l.write(a+D.value),u=D.length);break}break;case Je:i.push({indent:D,mode:x,doc:g.contents});break;case Se:break;default:throw new wt(g)}i.length===0&&s.length>0&&(i.push(...s.reverse()),s.length=0)}let{text:c,positions:f}=l.finish();if(f.length!==2)return{formatted:c};let[h,m]=f;return{formatted:c,cursorNodeStart:h,cursorNodeText:c.slice(h,m)}}var Xb=Array.prototype.toReversed??function(){return[...this].reverse()},Zb=qt("toReversed",function(){if(Array.isArray(this))return Xb}),Zp=Zb;function eE(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??!1}var tE=eE();function eh(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function rE(e){return e=eh(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function nE(e){e=eh(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}function Qa(e){return tE?nE(e):rE(e)}var th=e=>String(e).split(/[/\\]/).pop(),rh=e=>String(e).startsWith("file:");function nh(e,t){if(!t)return;let r=th(t).toLowerCase();return e.find(({filenames:n})=>n?.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n?.some(a=>r.endsWith(a)))}function iE(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}var aE=void 0;function ih(e,t){if(t){if(rh(t))try{t=Qa(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r?.({filepath:t}))}}function uE(e,t){let r=Zp(0,e.plugins).flatMap(a=>a.languages??[]);return(iE(r,t.language)??nh(r,t.physicalFile)??nh(r,t.file)??ih(r,t.physicalFile)??ih(r,t.file)??aE?.(r,t.physicalFile))?.parsers[0]}var Ja=uE;function oE(e){return!!e?.[Jr]}var Xa=oE;var sE=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=t;function t(r,n){
`:" "});continue}if((a===0||a===r.length-1)&&u==="")continue;let i=u.split(new RegExp(`(${uh.source})`,"u"));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:$t,isCJ:!1,hasLeadingPunctuation:Ze.test(s[0]),hasTrailingPunctuation:Ze.test(J(0,s,-1))});continue}if(Ze.test(s)){n({type:"word",value:s,kind:Tr,isCJ:!0,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0});continue}if(lE.test(s)){n({type:"word",value:s,kind:Ct,isCJ:!1,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1});continue}n({type:"word",value:s,kind:Re,isCJ:!0,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return t;function n(a){let u=J(0,t,-1);u?.type==="word"&&!i($t,Tr)&&[u.value,a.value].every(o=>!/\u3000/.test(o))&&t.push({type:"whitespace",value:""}),t.push(a);function i(o,s){return u.kind===o&&a.kind===s||u.kind===s&&a.kind===o}}}function lt(e,t){let r=t.originalText.slice(e.position.start.offset,e.position.end.offset);if(t.parser!=="mdx"){let u=e.children[0];u&&(r=t.originalText.slice(e.position.start.offset,u.position.start.offset))}let{numberText:n,leadingSpaces:a}=r.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/).groups;return{number:Number(n),leadingSpaces:a}}function eu(e,t){return!e.ordered||e.children.length<2||lt(e.children[1],t).number!==1?!1:lt(e.children[0],t).number!==0?!0:e.children.length>2&&lt(e.children[2],t).number===1}function On(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith(`
`)&&t.endsWith(`
`)?r.slice(0,-1):r}function Ee(e,t){return(function r(n,a,u){let i={...t(n,a,u)};return i.children&&(i.children=i.children.map((o,s)=>r(o,s,[i,...u]))),i})(e,null,[])}function Nn(e){if(e?.type!=="link"||e.children.length!==1)return!1;let[t]=e.children;return pt(e)===pt(t)&&ht(e)===ht(t)}function Lr(e){let t;if(e.type==="html")t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;e.type==="esComment"?r=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return t?t[1]||"next":!1}function Ir(e,t){return r(e,t,n=>n.ordered===e.ordered);function r(n,a,u){let i=-1;for(let o of a.children)if(o.type===n.type&&u(o)?i++:i=-1,o===n)return i}}function oh(e){return e.index>0&&Lr(e.previous)==="next"}function Kt(e){let{start:t,end:r}=e.position;return t.line!==r.line}var Qt=e=>e?.type==="whitespace"&&e.value===`
`;function cE(){return e=>Ee(e,(t,r,[n])=>t.type!=="html"||vp.test(t.value)||Pn.has(n.type)?t:{...t,type:"jsx"})}var sh=cE;var fE=function(){let e=this.Parser.prototype,t=e.inlineMethods;t.splice(t.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=r;function r(n,a){let u=a.match(/^(\{%.*?%\}|\{\{.*?\}\})/s);if(u)return n(u[0])({type:"liquidNode",value:u[0]})}r.locator=function(n,a){return n.indexOf("{",a)}},lh=fE;var pE=function(){let e="wikiLink",t=/^\[\[(?<linkContents>.+?)\]\]/s,r=this.Parser.prototype,n=r.inlineMethods;n.splice(n.indexOf("link"),0,e),r.inlineTokenizers.wikiLink=a;function a(u,i){let o=t.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)}},ch=pE;function tu(e){let t=(0,mh.default)().use(hh.default,{commonmark:!0,blocks:[yp]}).use(fh.default).use(ah).use(ph.default).use(Lp).use(lh).use(sh).use(ch);return t.run(t.parse(e))}var Dh="format";var dh=/<!--\s*@(?:noformat|noprettier)\s*-->|\{\s*\/\*\s*@(?:noformat|noprettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:noformat|noprettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/m,gh=/<!--\s*@(?:format|prettier)\s*-->|\{\s*\/\*\s*@(?:format|prettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:format|prettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/m;var Rn=e=>Ve(e).content.trimStart().match(gh)?.index===0,xh=e=>Ve(e).content.trimStart().match(dh)?.index===0,kh=e=>{let{frontMatter:t}=Ve(e),r=`<!-- @${Dh} -->`;return t?`${t.raw}
${r}
${e.slice(t.end.index)}`:`${r}
${e}`};function Fh(e){return{astFormat:"mdast",hasPragma:Rn,hasIgnorePragma:xh,locStart:pt,locEnd:ht,parse:e}}var hE=Fh(_i),mE=Fh(tu);var pu={};Or(pu,{mdast:()=>sw});function DE(e,t){let r=e.matchAll(new RegExp(`(?:${ve(t)})+`,"g"));return r.reduce||(r=[...r]),r.reduce((n,[a])=>Math.max(n,a.length),0)/t.length}var Mn=DE;function dE(e,t){let{node:r}=e;switch(r.type){case"code":{let{lang:n}=r;if(!n)return;let a;return n==="angular-ts"?a=Ja(t,{language:"typescript"}):n==="angular-html"?a="angular":a=Ja(t,{language:n}),a?async u=>{let i={parser:a};n==="ts"||n==="typescript"?i.filepath="dummy.ts":n==="tsx"&&(i.filepath="dummy.tsx");let o=await u(t.parser==="mdx"?On(r,t.originalText):r.value,i),s=t.__inJsTemplate?"~":"`",l=s.repeat(Math.max(3,Mn(r.value,s)+1));return yr([l,r.lang,r.meta?" "+r.meta:"",Z,Xe(o),Z,l])}:void 0}case"import":case"export":return n=>n(r.value,{__onHtmlBindingRoot:a=>gE(a,r.type),parser:"babel"});case"jsx":return n=>n(`<$>${r.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}function gE(e,t){let{program:{body:r}}=e;if(r.some(n=>!(n.type==="ImportDeclaration"||n.type==="ExportDefaultDeclaration"||n.type==="ExportNamedDeclaration")))throw new Error(`Unexpected '${t}' in MDX.`)}var bh=dE;var nu=At(mn(),1);var xE=new Set(["position","raw"]);function iu(e,t,r){if((e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete t.value,e.type==="list"&&delete t.isAligned,(e.type==="list"||e.type==="listItem")&&delete t.spread,e.type==="text")return null;if(e.type==="inlineCode"&&(t.value=X(0,e.value,`
`," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(t.label=(0,nu.default)(e.label)),e.type==="imageReference"&&e.referenceType==="collapsed"&&(t.alt=(0,nu.default)(e.alt)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of"<>")t.url=X(0,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(t.title=X(0,e.title,/\\(?=["')])/g,"")),r?.type==="root"&&r.children.length>0&&(r.children[0]===e||Xa(r.children[0])&&r.children[1]===e)&&e.type==="html"&&Rn(e.value))return null}iu.ignoredProperties=xE;function au(e,t){let r=t.originalText.slice(e.node.position.start.offset,e.node.position.end.offset);return t.parser==="mdx"?r:e.node.type==="list"&&e.findAncestor(n=>n.type==="blockquote")&&t.proseWrap!=="always"?r.replace(/\n>\s*$/,""):r}var jh=At(mn(),1);function kE(e,t){let r=e.match(new RegExp(`(${ve(t)})+`,"g"));if(r===null)return 1;let n=new Map,a=0;for(let u of r){let i=u.length/t.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 Eh=kE;var wh=Object.freeze({character:"'",codePoint:39}),Ch=Object.freeze({character:'"',codePoint:34}),FE=Object.freeze({preferred:wh,alternate:Ch}),bE=Object.freeze({preferred:Ch,alternate:wh});function yh(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?FE:bE,{length:a}=e,u=0,i=0;for(let o=0;o<a;o++){let s=e.charCodeAt(o);s===r.codePoint?u++:s===n.codePoint&&i++}return(u>i?n:r).character}var uu=class extends Error{name="UnexpectedNodeError";constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`),this.node=t}},vh=uu;function ae(e,t,r,n={}){let{processor:a=r}=n,u=[];return e.each(()=>{let i=a(e);i!==!1&&(u.length>0&&EE(e)&&(u.push(Z),CE(e,t)&&u.push(Z)),u.push(i))},"children"),u}function EE({node:e,parent:t}){let r=Za.has(e.type),n=e.type==="html"&&Pn.has(t.type);return!r&&!n}var wE=new Set(["listItem","definition"]);function CE(e,t){let{node:r,previous:n,parent:a}=e;if(t.parser==="mdx"){if(Ah(n,t)||r.type==="list"&&a.type==="listItem"&&(n.type==="code"||n.type==="paragraph")&&n.position.end.line+1<r.position.start.line)return!0}else{if(Kt(r)&&r.position.start.line<n.position.end.line)return!1;if(yE(e)||r.type==="list"&&a.type==="listItem"&&(n.type==="code"||n.type==="paragraph")&&n.position.end.line+1<r.position.start.line)return!0}let i=n.type===r.type&&wE.has(r.type),o;t.parser==="mdx"?o=a.type==="listItem"&&(r.type==="list"||!Ah(a,t)):o=a.type==="listItem"&&(r.type==="list"||!e.callParent(Th));let s=Lr(n)==="next",l=r.type==="html"&&n.type==="html"&&n.position.end.line+1===r.position.start.line,c=t.parser!=="mdx"&&r.type==="html"&&n.type==="paragraph"&&n.position.end.line+1===r.position.start.line,f=r.type==="html"&&a.type==="listItem"&&n.type==="paragraph"&&n.position.end.line+1===r.position.start.line;return!(i||o||s||l||c||f)}function Ah(e,t){return e.type==="listItem"&&(e.spread||t.originalText.charAt(e.position.end.offset-1)===`
`)}function Th({node:e,parent:t,next:r}){return e.type==="listItem"&&(e.spread||t.type==="list"&&r?.type==="listItem"&&e.position.end.line+1<r.position.start.line)}function yE(e){return e.index===0?!1:Th({node:e.previous,parent:e.parent,next:e.node})}function vE(e,t,r){return["#".repeat(e.node.depth)+" ",ae(e,t,r)]}function AE(e,t,r){let{originalText:n}=t,{node:a}=e,u=a.position.end.offset,i=n.lastIndexOf(`
`,u-1)+1,o=n.slice(i,u),s=Math.max(o.indexOf("="),o.indexOf("-")),l=o.slice(s);return[ae(e,t,r),Z,l]}function Sh(e,t,r){return t.parser!=="mdx"&&Kt(e.node)?AE(e,t,r):vE(e,t,r)}var TE=999999999;function qh(e,t,r){let{node:n}=e,a=Ir(n,e.parent),u=eu(n,t),i=SE(e);return ae(e,t,r,{processor(){let o=l(),{node:s}=e;if(s.children.length===2&&s.children[1].type==="html"&&s.children[0].position.start.column!==s.children[1].position.start.column)return[o,Lh(e,t,r,o)];return[o,we(" ".repeat(o.length),Lh(e,t,r,o))];function l(){let c=n.ordered?(e.isFirst?n.start:u?1:Math.min(n.start+e.index,TE))+(a%2===0?". ":") "):a%2===0?"- ":"* ",f=n.isAligned&&n.ordered?_h(c,t):c;if(f.length>=i)return f;f=f.trimEnd();let h=Math.min(i-f.length,4);h>0&&(f+=" ".repeat(h));let m=Math.min(i-f.length,3);return m>0&&(f=" ".repeat(m)+f),f}}})}function Lh(e,t,r,n){let{node:a}=e,u=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[u,ae(e,t,r,{processor({node:i,isFirst:o}){if(o&&i.type!=="list"||i.type==="code"&&i.isIndented)return we(" ".repeat(u.length),r());let s=" ".repeat(Ph(t.tabWidth-n.length,0,3));return[s,we(s,r())]}})]}function SE(e){let{node:t,next:r}=e;return t.checked===null||!(r?.type==="code"&&r.isIndented)?0:4+[.../^[ \t]*/.exec(r.value)?.[0]??""].reduce((a,u)=>a+(u===" "?4:1),0)+1}function Bh(e,t,r){let{node:n}=e,a=Ir(n,e.parent),u=eu(n,t);return ae(e,t,r,{processor(){let i=s(),{node:o}=e;if(o.children.length===2&&o.children[1].type==="html"&&o.children[0].position.start.column!==o.children[1].position.start.column)return[i,Ih(e,t,r,i)];return[i,we(" ".repeat(i.length),Ih(e,t,r,i))];function s(){let l=n.ordered?(e.isFirst?n.start:u?1:n.start+e.index)+(a%2===0?". ":") "):a%2===0?"- ":"* ";return(n.isAligned||n.hasIndentedCodeblock)&&n.ordered?_h(l,t):l}}})}function Ih(e,t,r,n){let{node:a}=e,u=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[u,ae(e,t,r,{processor({node:i,isFirst:o}){if(o&&i.type!=="list")return we(" ".repeat(u.length),r());let s=" ".repeat(Ph(t.tabWidth-n.length,0,3));return[s,we(s,r())]}})]}function _h(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let a=e.length%t.tabWidth;return a===0?0:t.tabWidth-a}}function Ph(e,t,r){return Math.max(t,Math.min(e,r))}function Oh(e,t,r){let n=e.map(r,"children");return LE(n)}function LE(e){let t=[""];return(function r(n){for(let a of n){let u=me(a);if(u===de){r(a);continue}let i=a,o=[];u===Fe&&([i,...o]=a.parts),t.push([t.pop(),i],...o)}})(e),Yt(t)}function Nh(e,t){let r=[""];return e.each(()=>{let{node:n}=e,a=t();switch(n.type){case"whitespace":if(me(a)!==De){r.push(a,"");break}default:r.push([r.pop(),a])}},"children"),Yt(r)}function Rh(e,t,r){let{node:n}=e,a=[],u=e.map(()=>e.map(({index:f})=>{let h=Xp(r(),t).formatted,m=Ar(h);return a[f]=Math.max(a[f]??3,m),{text:h,width:m}},"children"),"children"),i=s(!1);if(t.proseWrap!=="never")return[Wt,i];let o=s(!0);return[Wt,jt(Rp(o,i))];function s(f){return Sn(vr,[c(u[0],f),l(f),...u.slice(1).map(h=>c(h,f))].map(h=>`| ${h.join(" | ")} |`))}function l(f){return a.map((h,m)=>{if(t.parser!=="mdx"&&m>=u[0].length)return null;let D=n.align[m],x=D==="center"||D==="left"?":":"-",g=D==="center"||D==="right"?":":"-",k=f?"-":"-".repeat(h-2);return`${x}${k}${g}`}).filter(h=>h!==null)}function c(f,h){return f.map(({text:m,width:D},x)=>{if(h)return m;let g=a[x]-D,k=n.align[x],E=0;k==="right"?E=g:k==="center"&&(E=Math.floor(g/2));let C=g-E;return`${" ".repeat(E)}${m}${" ".repeat(C)}`})}}var IE=new Set(["tableCell","link","wikiLink"]),Mh=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function qE({parent:e}){if(e.usesCJSpaces===void 0){let t={" ":0,"":0},{children:r}=e;for(let n=1;n<r.length-1;++n){let a=r[n];if(a.type==="whitespace"&&(a.value===" "||a.value==="")){let u=r[n-1].kind,i=r[n+1].kind;(u===Re&&i===$t||u===$t&&i===Re)&&++t[a.value]}}e.usesCJSpaces=t[" "]>t[""]}return e.usesCJSpaces}function BE(e,t){if(t)return!0;let{previous:r,next:n}=e;if(!r||!n)return!0;let a=r.kind,u=n.kind;return zh(a)&&zh(u)||a===Ct&&u===Re||u===Ct&&a===Re?!0:a===Tr||u===Tr||a===Re&&u===Re?!1:Mh.has(n.value[0])||Mh.has(J(0,r.value,-1))?!0:r.hasTrailingPunctuation||n
`)return Z;let u=t===" "||t===`
`&&BE(e,n);return _E(e,t,r,n,a)?u?In:qn:u?" ":""}var PE=/^(?:=+|-+)$/;function Uh(e,t){let{node:r}=e,n=e.findAncestor(u=>u.type==="emphasis"||u.type==="strong"),a=r.value;return n?(e.isFirst&&(a.startsWith("*")||a.startsWith("_"))&&e.callParent(()=>e.isFirst)&&e.grandparent===n&&(a=`\\${a}`),a=X(0,a,/(\\+|^|.)(\*+|_+)($|.)/g,(u,i,o,s)=>[...i].every(l=>l==="\\")&&i.length%2===1?u:OE(J(0,i,-1)||J(1,e.previous?.value,-1),o,s[0]||e.next?.value[0])?`${i}\\${o}${s}`:u),a):t.proseWrap==="preserve"&&e.parent.type==="sentence"&&PE.test(a)&&Qt(e.previous)&&(e.isLast||Qt(e.next))?`\\${a}`:a}function OE(e,t,r){if(!e||!r)return null;let n=/[\p{Space_Separator}\t\n\f\r]/u.test(r),a=/[\p{Space_Separator}\t\n\f\r]/u.test(e),u=Ze.test(r),i=Ze.test(e),o=!n&&(!u||u&&(a||i)),s=!a&&(!i||i&&(n||u));return t[0]==="*"?o||s:o?!s||i:s?!o||u:!1}function Hh(e){let{node:t}=e,r=X(0,X(0,t.value,"*","\\*"),new RegExp([`(^|${Ze.source})(_+)`,`(_+)(${Ze.source}|$)`].join("|"),"gu"),(u,i,o,s,l)=>X(0,o?`${i}${o}`:`${s}${l}`,"_","\\_")),n=(u,i,o)=>u.type==="sentence"&&o===0,a=(u,i,o)=>Nn(u.children[o-1]);return r!==t.value&&(e.match(void 0,n,a)||e.match(void 0,n,(u,i,o)=>u.type==="emphasis"&&o===0,a))&&(r=r.replace(/^(\\?[*_])+/,u=>X(0,u,"\\",""))),r}function Vh(e){let{previous:t,next:r}=e;return t?.type==="sentence"&&J(0,t.children,-1)?.type==="word"&&!J(0,t.children,-1).hasTrailingPunctuation&&!/[\p{Space_Separator}\t\n\f\r]$/u.test(J(0,t.children,-1).value)||r?.type==="sentence"&&r.children[0]?.type==="word"&&!r.children[0].hasLeadingPunctuation&&!/^[\p{Space_Separator}\t\n\f\r]/u.test(r.children[0].value)}function NE(e){let{siblings:t,index:r}=e;if(!t||typeof r!="number")return!1;let n=t[r+2];return n?.type==="whitespace"&&n.value===""}function RE(e){if(!Qt(e.node)||e.next?.value!=="-")return!1;let t=e.siblings[e.index+2];return!t||Qt(t)}function lu(e,t,r){let{node:n}=e;if(zE(e)){let a=[""],u=Sr(t.originalText.slice(n.position.start.offset,n.position.end.offset));for(let i of u){if(i.type==="word"){a.push([a.pop(),i.value]);continue}let o=ou(e,i.value,t.proseWrap,!0,t);if(me(o)===De){a.push([a.pop(),o]);continue}a.push(o,"")}return Yt(a)}switch(n.type){case"root":return n.children.length===0?"":[ME(e,t,r),Z];case"paragraph":return Oh(e,t,r);case"sentence":return Nh(e,r);case"word":return t.parser!=="mdx"?Uh(e,t):Hh(e);case"whitespace":{let{next:a}=e,u=a&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(a.value)&&!NE(e)&&!(t.proseWrap==="preserve"&&RE(e))?"never":t.proseWrap;return ou(e,n.value,u,!1,t)}case"emphasis":{let a;if(Nn(n.children[0]))a=t.originalText[n.position.start.offset];else{let u=Vh(e),i=e.callParent(({node:o})=>o.type==="strong"&&Vh(e));a=u||i||e.hasAncestor(o=>o.type==="emphasis")?"*":"_"}return[a,ae(e,t,r),a]}case"strong":return["**",ae(e,t,r),"**"];case"delete":return["~~",ae(e,t,r),"~~"];case"inlineCode":{let a=t.proseWrap==="preserve"?n.value:X(0,n.value,`
`," ");t.parser!=="mdx"&&e.hasAncestor(s=>s.type==="tableCell")&&(a=X(0,a,"|","\\|"));let u=Eh(a,"`"),i="`".repeat(u),o=a.startsWith("`")||a.endsWith("`")||/^[\n ]/.test(a)&&/[\n ]$/.test(a)&&/[^\n ]/.test(a)?" ":"";return[i,o,a,o,i]}case"wikiLink":{let a;return t.proseWrap==="preserve"?a=n.value:a=X(0,n.value,/[\t\n]+/g," "),["[[",a,"]]"]}case"link":switch(t.originalText[n.position.start.offset]){case"<":{let a="mailto:";return["<",n.url.startsWith(a)&&t.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+a.length)!==a?n.url.slice(a.length):n.url,">"]}case"[":return["[",ae(e,t,r),"](",t.parser!=="mdx"&&n.url===""?"<>":su(n.url,")"),Un(n.title,t),")"];default:return t.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return["![",Yh(n,t),"](",t.parser!=="mdx"&&n.url===""?"<>":su(n.url,")"),Un(n.title,t),")"];case"blockquote":return["> ",we("> ",ae(e,t,r))];case"heading":return Sh(e,t,r);case"code":{if(n.isIndented){let i=" ".repeat(4);return we(i,[i,Xe(n.value,Z)])}let a=t.__inJsTemplate?"~":"`",u=a.repeat(Math.max(3,Mn(n.value,a)+1));return[u,n.lang||"",n.meta?" "+n.meta:"",Z,Xe(t.parser==="mdx"?On(n,t.originalText):n.value,Z),Z,u]}case"html":{let{parent:a,isLast:u}=e,i=a.type==="root"&&u?n.value.trimEnd():n.value,o=/^<!--.*-->$/s.test(i);return Xe(i,o?Z:yr(wr))}case"list":return t.parser==="mdx"?Bh(e,t,r):qh(e,t,r);case"thematicBreak":{let{ancestors:a}=e,u=a.findIndex(o=>o.type==="list");return u===-1?"---":Ir(a[u],a[u+1])%2===0?"***":"---"}case"linkReference":return["[",ae(e,t,r),"]",n.referenceType==="full"?zn(n):n.referenceType==="collapsed"?"[]":""];case"imageReference":{let a=Yh(n,t);return n.referenceType==="full"?["![",a,"]",zn(n)]:[...t.parser==="mdx"?["![",a,"]"]:["!",zn(n)],n.referenceType==="collapsed"?"[]":""]}case"definition":{let a=t.proseWrap==="always"?In:" ";return jt([zn(n),":",Cr([a,t.parser!=="mdx"&&n.url===""?"<>":su(n.url),n.title===null?"":[a,Un(n.title,t,!1)]])])}case"footnote":return["[^",ae(e,t,r),"]"];case"footnoteReference":return Wh(n);case"footnoteDefinition":{let a=n.children.length===1&&n.children[0].type==="paragraph"&&(t.proseWrap==="never"||t.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return[Wh(n),": ",a?ae(e,t,r):jt([we(" ".repeat(4),ae(e,t,r,{processor:({isFirst:u})=>u?jt([qn,r()]):r()}))])]}case"table":return Rh(e,t,r);case"tableCell":return ae(e,t,r);case"break":return/\s/.test(t.originalText[n.position.start.offset])?[" ",yr(wr)]:["\\",Z];case"liquidNode":return Xe(n.value,Z);case"import":case"export":case"jsx":return n.value.trimEnd();case"esComment":return["{/* ",n.value," */}"];case"math":return["$$",n.meta?" "+n.meta:"",Z,n.value?[Xe(n.value,Z),Z]:"","$$"];case"inlineMath":return t.originalText.slice(pt(n),ht(n));case"text":return Xe(n.value,Z);default:throw new vh(n,"Markdown")}}function ME(e,t,r){let n=[],a=null,{children:u}=e.node;for(let[i,o]of u.entries())switch(Lr(o)){case"start":a===null&&(a={index:i,offset:o.position.end.offset});break;case"end":a!==null&&(n.push({start:a,end:{index:i,offset:o.position.start.offset}}),a=null);break;default:break}return ae(e,t,r,{processor({index:i}){if(n.length>0){let o=n[0];if(i===o.start.index)return[Gh(u[o.start.index]),t.originalText.slice(o.start.offset,o.end.offset),Gh(u[o.end.index])];if(o.start.index<i&&i<o.end.index)return!1;if(i===o.end.index)return n.shift(),!1}return r()}})}function Gh(e){if(e.type==="html")return e.value;if(e.type==="paragraph"&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type==="esComment")return["{/* ",e.children[0].value," */}"]}function zE(e){let t=e.findAncestor(r=>r.type==="linkReference"||r.type==="imageReference");return t&&(t.type!=="linkReference"||t.referenceType!=="full")}var UE=(e,t)=>{for(let r of t)e=X(0,e,r,encodeURIComponent(r));return e};function su(e,t=[]){let r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map(n=>ve(n)).join("|")).test(e)?`<${UE(e,"<>")}>`:e}function Un(e,t,r=!0){if(!e)return"";if(r)return" "+Un(e,t,!1);if(t.parser==="mdx"&&(e=X(0,e,/\\(?=["')])/g
`)){if(n.length===0)continue;let a=this.getLeadingWhitespaceCount(n);if(a===0)return 0;n.length!==a&&a<r&&(r=a)}return r===Number.POSITIVE_INFINITY?0:r}dedentString(t){let r=this.#t(t);return r===0?t:t.split(`
`).map(n=>n.slice(r)).join(`
`)}},$h=cu;var HE=[" ",`
`,"\f","\r"," "],VE=new $h(HE),qr=VE;var GE=/^\\?.$/su,WE=/^\n *>[ >]*$/;function YE(e,t){return t.parser==="mdx"?e=jE(e,t):e=$E(e,t),e=QE(e),t.parser==="mdx"?e=tw(e,t):e=ew(e,t),t.parser!=="mdx"&&(e=rw(e,t)),t.parser==="mdx"?e=iw(e,t):e=nw(e,t),t.parser==="mdx"?e=JE(e):e=XE(e),e}function jE(e,t){return Ee(e,r=>{if(r.type!=="text")return r;let{value:n}=r;if(n==="*"||n==="_"||!GE.test(n)||r.position.end.offset-r.position.start.offset===n.length)return r;let a=t.originalText.slice(r.position.start.offset,r.position.end.offset);return WE.test(a)?r:{...r,value:a}})}function $E(e,t){return Ee(e,r=>(r.type==="text"&&(r.raw=t.originalText.slice(r.position.start.offset,r.position.end.offset)),r))}function KE(e,t,r){return Ee(e,n=>{if(!n.children)return n;let a=[],u,i;for(let o of n.children)u&&t(u,o)?(o=r(u,o),a.splice(-1,1,o),i||(i=!0)):a.push(o),u=o;return i?{...n,children:a}:n})}function QE(e){return KE(e,(t,r)=>t.type==="text"&&r.type==="text",(t,r)=>({type:"text",value:t.value+r.value,position:{start:t.position.start,end:r.position.end}}))}function JE(e){return Ee(e,(t,r,[n])=>{if(t.type!=="text")return t;let{value:a}=t;return n.type==="paragraph"&&(r===0&&(a=qr.trimStart(a)),r===n.children.length-1&&(a=qr.trimEnd(a))),{type:"sentence",position:t.position,children:Sr(a)}})}function XE(e){let t=new Set,r=new Set;return n(e,(u,i)=>{if(u.type==="wikiLink"){a(i);return}if(u.type==="text"){if(u.raw.includes("[["))for(let o of i)o.type==="paragraph"&&t.add(o);u.raw.includes("]]")&&a(i)}}),Ee(e,(u,i,o)=>{if(u.type!=="text")return u;let s=u.raw,l=o.findIndex(f=>f?.type==="paragraph"),c=l===-1?void 0:o[l];if(c){o.slice(l+1).some(h=>h?.type==="blockquote")&&(s=ZE(s,u));let f=o[0];f?.type==="paragraph"&&(i===0&&(s=qr.trimStart(s)),i===f.children.length-1&&(s=qr.trimEnd(s)))}return c&&r.has(c.position)?{type:"text",position:u.position,value:s}:{type:"sentence",position:u.position,children:Sr(s)}});function n(u,i){return(function o(s,l){if(i(s,l),s.children)for(let c of s.children)o(c,[s,...l])})(u,[])}function a(u){for(let i of u)i.type==="paragraph"&&t.has(i)&&r.add(i.position)}}function ZE(e,t){let r=/^([ \t]*>[ \t]*)*/,n=e.split(`
`),a=t.value.split(`
`);return n.map((i,o)=>{let l=(a[o]??"").match(r)[0]??"";return i.replace(r,l)}).join(`
`)}function ew(e,t){return Ee(e,r=>{if(r.type!=="code")return r;let n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(r.position.start.offset,r.position.end.offset));return r.isIndented=n,r})}function tw(e,t){return Ee(e,(r,n,a)=>{if(r.type==="code"){let u=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(r.position.start.offset,r.position.end.offset));if(r.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 r})}function rw(e,t){let{originalText:r}=t;return Ee(e,n=>{if(n.type==="image"||n.type==="imageReference")return n.originalAltText=Kh(r,n.position.start.offset,n.position.end.offset),n;if(n.type!=="link"||!n.url)return n;let a=Kh(r,n.position.start.offset,n.position.end.offset);return a&&/[[\]]/.test(a)&&(n.originalLabelText=a),n})}function Kh(e,t,r){let n=e.indexOf("[",t);if(n===-1||n>=r)return null;let a=1,u=n+1;for(;u<r;){let i=e[u];if(i==="\\"){u+=2;continue}if(i==="[")a++;else if(i==="]"&&(a--,a===0))return e.slice(n+1,u);u++}return null}function nw(e,t){return Ee(e,(a,u,i)=>{if(a.type==="list"&&a.children.length>0){for(let s=0;s<i.length;s++){let l=i[s];if(l.type==="list"&&!l.isAligned)return a.isAligned=!1,a}let o=i[0]?.children[u+1];if(o?.type==="code"&&o.isIndented)return a.isAligned=!1,a;a.isAligned=n(a)}return a});function r(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(lt(u,t).leadingSpaces.length>1)return!0;let s=r(u);if(s===-1)return!1;if(a.children.length===1)return s%t.tabWidth===0;let l=r(i);return s!==l?!1:s%t.tabWidth===0?!0:lt(i,t).leadingSpaces.length>1}}function iw(e,t){return Ee(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 r(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(lt(u,t).leadingSpaces.length>1)return!0;let s=r(u);if(s===-1)return!1;if(a.children.length===1)return s%t.tabWidth===0;let l=r(i);return s!==l?!1:s%t.tabWidth===0?!0:lt(i,t).leadingSpaces.length>1}}var Qh=YE;var Br=null;function _r(e){if(Br!==null&&typeof Br.property){let t=Br;return Br=_r.prototype=null,t}return Br=_r.prototype=e??Object.create(null),new _r}var aw=10;for(let e=0;e<=aw;e++)_r();function fu(e){return _r(e)}function uw(e,t="type"){fu(e);function r(n){let a=n[t],u=e[a];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return u}return r}var Jh=uw;var le=[["children"]],Xh={root:le[0],paragraph:le[0],sentence:le[0],word:[],whitespace:[],emphasis:le[0],strong:le[0],delete:le[0],inlineCode:[],wikiLink:[],link:le[0],image:[],blockquote:le[0],heading:le[0],code:[],html:[],list:le[0],thematicBreak:[],linkReference:le[0],imageReference:[],definition:[],footnote:le[0],footnoteReference:[],footnoteDefinition:le[0],table:le[0],tableCell:le[0],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:le[0],listItem:le[0],text:[]};var ow=Jh(Xh),Zh=ow;var sw={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:Qh,print:lu,embed:bh,massageAstNode:iu,hasPrettierIgnore:oh,insertPragma:kh,getVisitorKeys:Zh,printPrettierIgnored:au};return pm(lw);});