s),n?!0:(p=e.now(),f=Ed(f),e(f)({type:"paragraph",children:t.tokenizeInline(f,p)}))}});var Wa=C((wF,Ha)=>{"use strict";Ha.exports=kd;function kd(e,r){return e.indexOf("\\",r)}});var Qa=C((AF,Xa)=>{"use strict";var wd=Wa();Xa.exports=Ja;Ja.locator=wd;var Ad=`
`,Ka="\\";function Ja(e,r,n){var t=this,a,i;if(r.charAt(0)===Ka&&(a=r.charAt(1),t.escape.indexOf(a)!==-1))return n?!0:(a===Ad?i={type:"break"}:i={type:"text",value:a},e(Ka+a)(i))}});var Jt=C((BF,Za)=>{"use strict";Za.exports=Bd;function Bd(e,r){return e.indexOf("<",r)}});var io=C((qF,no)=>{"use strict";var eo=ne(),qd=lr(),Td=Jt();no.exports=en;en.locator=Td;en.notInLink=!0;var ro="<",Xt=">",to="@",Qt="/",Zt="mailto:",Kr=Zt.length;function en(e,r,n){var t=this,a="",i=r.length,u=0,o="",s=!1,l="",c,f,D,h,p;if(r.charAt(0)===ro){for(u++,a=ro;u<i&&(c=r.charAt(u),!(eo(c)||c===Xt||c===to||c===":"&&r.charAt(u+1)===Qt));)o+=c,u++;if(o){if(l+=o,o="",c=r.charAt(u),l+=c,u++,c===to)s=!0;else{if(c!==":"||r.charAt(u+1)!==Qt)return;l+=Qt,u++}for(;u<i&&(c=r.charAt(u),!(eo(c)||c===Xt));)o+=c,u++;if(c=r.charAt(u),!(!o||c!==Xt))return n?!0:(l+=o,D=l,a+=l+c,f=e.now(),f.column++,f.offset++,s&&(l.slice(0,Kr).toLowerCase()===Zt?(D=D.slice(Kr),f.column+=Kr,f.offset+=Kr):l=Zt+l),h=t.inlineTokenizers,t.inlineTokenizers={text:h.text},p=t.enterLink(),D=t.tokenizeInline(D,f),t.inlineTokenizers=h,p(),e(a)({type:"link",title:null,url:qd(l,{nonTerminated:!1}),children:D}))}}}});var ao=C((TF,uo)=>{"use strict";uo.exports=Sd;function Sd(e,r){var n=String(e),t=0,a;if(typeof r!="string")throw new Error("Expected character");for(a=n.indexOf(r);a!==-1;)t++,a=n.indexOf(r,a+r.length);return t}});var co=C((SF,so)=>{"use strict";so.exports=Pd;var oo=["www.","http://","https://"];function Pd(e,r){var n=-1,t,a,i;if(!this.options.gfm)return n;for(a=oo.length,t=-1;++t<a;)i=e.indexOf(oo[t],r),i!==-1&&(n===-1||i<n)&&(n=i);return n}});var ho=C((PF,po)=>{"use strict";var lo=ao(),_d=lr(),Ld=Le(),rn=ze(),Od=ne(),Id=co();po.exports=nn;nn.locator=Id;nn.notInLink=!0;var Nd=33,Rd=38,zd=41,Md=42,Ud=44,Yd=45,tn=46,Vd=58,jd=59,$d=63,Gd=60,fo=95,Hd=126,Wd="(",Do=")";function nn(e,r,n){var t=this,a=t.options.gfm,i=t.inlineTokenizers,u=r.length,o=-1,s=!1,l,c,f,D,h,p,d,m,g,x,F,B,b,v;if(a){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];D<u;){if(d=r.charCodeAt(D),d===tn){if(o===D-1)break;l.push(D),o=D,D++;continue}if(Ld(d)||rn(d)||d===Yd||d===fo){D++;continue}break}if(d===tn&&(l.pop(),D--),l[0]!==void 0&&(c=l.length<2?f:l[l.length-2]+1,r.slice(c,D).indexOf("_")===-1)){if(n)return!0;for(m=D,h=D;D<u&&(d=r.charCodeAt(D),!(Od(d)||d===Gd));)D++,d===Nd||d===Md||d===Ud||d===tn||d===Vd||d===$d||d===fo||d===Hd||(m=D);if(D=m,r.charCodeAt(D-1)===zd)for(p=r.slice(h,D),g=lo(p,Wd),x=lo(p,Do);x>g;)D=h+p.lastIndexOf(Do),p=r.slice(h,D),x--;if(r.charCodeAt(D-1)===jd&&(D--,rn(r.charCodeAt(D-1)))){for(m=D-2;rn(r.charCodeAt(m));)m--;r.charCodeAt(m)===Rd&&(D=m)}return F=r.slice(0,D),b=_d(F,{nonTerminated:!1}),s&&(b="http://"+b),v=t.enterLink(),t.inlineTokenizers={text:i.text},B=t.tokenizeInline(F,e.now()),t.inlineTokenizers=i,v(),e(F)({type:"link",title:null,url:b,children:B})}}}});var Fo=C((_F,vo)=>{"use strict";var Kd=Le(),Jd=ze(),Xd=43,Qd=45,Zd=46,eh=95;vo.exports=go;function go(e,r){var n=this,t,a;if(!this.options.gfm||(t=e.indexOf("@",r),t===-1))return-1;if(a=t,a===r||!mo(e.charCodeAt(a-1)))return go.call(n,e,t+1);for(;a>r&&mo(e.charCodeAt(a-1));)a--;return a}function mo(e){return Kd(e)||Jd(e)||e===Xd||e===Qd||e===Zd||e===eh}});var xo=C((LF,bo)=>{"use strict";var rh=lr(),Eo=Le(),Co=ze(),th=Fo();bo.exports=on;on.locator=th;on.notInLink=!0;var nh=43,un=45,Jr=46,ih=64,an=95;function on(e,r,n){var t=this,a=t.options.gfm,i=t.inlineTokenizers,u=0,o=r.length,s=-1,l,c,f,D;if(a){for(l=r.charCodeAt(u);Eo(l)||Co(l)||l===nh||l===un||l===Jr||l===an;)l=r.charCodeAt(++u);if(u!==0&&l===ih){for(u++;u<o;){if(l=r.charCodeAt(u),Eo(l)||Co(l)||l===un||l===Jr||l===an){u++,s===-1&&l===Jr&&(s=u);continue}break}if(!(s===-1||s===u||l===un||l===an))return l===Jr&&u--,c=r.slice(0,u),n?!0:(D=t.enterLink(),t.inlineTokenizers={text:i.text},f=t.tokenizeInline(c,e.now()),t.inlineTokenizers=i,D(),e(c)({type:"link",title:null,url:"mailto:"+rh(c,{nonTerminated:!1}),children:f}))}}}});var wo=C((OF,ko)=>{"use strict";var uh=ze(),ah=Jt(),oh=$t().tag;ko.exports=yo;yo.locator=ah;var sh="<",ch="?",lh="!",fh="/",Dh=/^<a /i,ph=/^<\/a>/i;function yo(e,r,n){var t=this,a=r.length,i,u;if(!(r.charAt(0)!==sh||a<3)&&(i=r.charAt(1),!(!uh(i)&&i!==ch&&i!==lh&&i!==fh)&&(u=r.match(oh),!!u)))return n?!0:(u=u[0],!t.inLink&&Dh.test(u)?t.inLink=!0:t.inLink&&ph.test(u)&&(t.inLink=!1),e(u)({type:"html",value:u}))}});var sn=C((IF,Ao)=>{"use strict";Ao.exports=dh;function dh(e,r){var n=e.indexOf("[",r),t=e.indexOf("![",r);return t===-1||n<t?n:t}});var Lo=C((NF,_o)=>{"use strict";var gr=ne(),hh=sn();_o.exports=Po;Po.locator=hh;var mh=`
`,gh="!",Bo='"',qo="'",$e="(",vr=")",cn="<",ln=">",To="[",Fr="\\",vh="]",So="`";function Po(e,r,n){var t=this,a="",i=0,u=r.charAt(0),o=t.options.pedantic,s=t.options.commonmark,l=t.options.gfm,c,f,D,h,p,d,m,g,x,F,B,b,v,y,k,E,w,A;if(u===gh&&(g=!0,a=u,u=r.charAt(++i)),u===To&&!(!g&&t.inLink)){for(a+=u,y="",i++,B=r.length,E=e.now(),v=0,E.column+=i,E.offset+=i;i<B;){if(u=r.charAt(i),d=u,u===So){for(f=1;r.charAt(i+1)===So;)d+=u,i++,f++;D?f>=D&&(D=0):D=f}else if(u===Fr)i++,d+=r.charAt(i);else if((!D||l)&&u===To)v++;else if((!D||l)&&u===vh)if(v)v--;else{if(r.charAt(i+1)!==$e)return;d+=$e,c=!0,i++;break}y+=d,d="",i++}if(c){for(x=y,a+=y+d,i++;i<B&&(u=r.charAt(i),!!gr(u));)a+=u,i++;if(u=r.charAt(i),y="",h=a,u===cn){for(i++,h+=cn;i<B&&(u=r.charAt(i),u!==ln);){if(s&&u===mh)return;y+=u,i++}if(r.charAt(i)!==ln)return;a+=cn+y+ln,k=y,i++}else{for(u=null,d="";i<B&&(u=r.charAt(i),!(d&&(u===Bo||u===qo||s&&u===$e)));){if(gr(u)){if(!o)break;d+=u}else{if(u===$e)v++;else if(u===vr){if(v===0)break;v--}y+=d,d="",u===Fr&&(y+=Fr,u=r.charAt(++i)),y+=u}i++}a+=y,k=y,i=a.length}for(y="";i<B&&(u=r.charAt(i),!!gr(u));)y+=u,i++;if(u=r.charAt(i),a+=y,y&&(u===Bo||u===qo||s&&u===$e))if(i++,a+=u,y="",F=u===$e?vr:u,p=a,s){for(;i<B&&(u=r.charAt(i),u!==F);)u===Fr&&(y+=Fr,u=r.charAt(++i)),i++,y+=u;if(u=r.charAt(i),u!==F)return;for(b=y,a+=y+u,i++;i<B&&(u=r.charAt(i),!!gr(u));)a+=u,i++}else for(d="";i<B;){if(u=r.charAt(i),u===F)m&&(y+=F+d,d=""),m=!0;else if(!m)y+=u;else if(u===vr){a+=y+F+d,b=y;break}else gr(u)?d+=u:(y+=F+d+u,d="",m=!1);i++}if(r.charAt(i)===vr)return n?!0:(a+=vr,k=t.decode.raw(t.unescape(k),e(h).test().end,{nonTerminated:!1}),b&&(p=e(p).test().end,b=t.decode.raw(t.unescape(b),p)),A={type:g?"image":"link",title:b||null,url:k},g?A.alt=t.decode.raw(t.unescape(x),E)||null:(w=t.enterLink(),A.children=t.tokenizeInline(x,E),w()),e(a)(A))}}}});var No=C((RF,Io)=>{"use strict";var Fh=ne(),Eh=sn(),Ch=Gt();Io.exports=Oo;Oo.locator=Eh;var fn="link",bh="image",xh="shortcut",yh="collapsed",Dn="full",kh="!",Xr="[",Qr="\\",Zr="]";function Oo(e,r,n){var t=this,a=t.options.commonmark,i=r.charAt(0),u=0,o=r.length,s="",l="",c=fn,f=xh,D,h,p,d,m,g,x,F;if(i===kh&&(c=bh,l=i,i=r.charAt(++u)),i===Xr){for(u++,l+=i,g="",F=0;u<o;){if(i=r.charAt(u),i===Xr)x=!0,F++;else if(i===Zr){if(!F)break;F--}i===Qr&&(g+=Qr,i=r.charAt(++u)),g+=i,u++}if(s=g,D=g,i=r.charAt(u),i===Zr){if(u++,s+=i,g="",!a)for(;u<o&&(i=r.charAt(u),!!Fh(i));)g+=i,u++;if(i=r.charAt(u),i===Xr){for(h="",g+=i,u++;u<o&&(i=r.charAt(u),!(i===Xr||i===Zr));)i===Qr&&(h+=Qr,i=r.charAt(++u)),h+=i,u++;i=r.charAt(u),i===Zr?(f=h?Dn:yh,g+=h+i,u++):h="",s+=g,g=""}else{if(!D)return;h=D}if(!(f!==Dn&&x))return s=l+s,c===fn&&t.inLink?null:n?!0:(p=e.now(),p.column+=l.length,p.offset+=l.length,h=f===Dn?h:D,d={type:c+"Reference",identifier:Ch(h),label:h,referenceType:f},c===fn?(m=t.enterLink(),d.children=t.tokenizeInline(D,p),m()):d.alt=t.decode.raw(t.unescape(D),p)||null,e(s)(d))}}}});var zo=C((zF,Ro)=>{"use strict";Ro.exports=wh;function wh(e,r){var n=e.indexOf("**",r),t=e.indexOf("__",r);return t===-1?n:n===-1||t<n?t:n}});var Vo=C((MF,Yo)=>{"use strict";var Ah=Oe(),Mo=ne(),Bh=zo();Yo.exports=Uo;Uo.locator=Bh;var qh="\\",Th="*",Sh="_";function Uo(e,r,n){var t=this,a=0,i=r.charAt(a),u,o,s,l,c,f,D;if(!(i!==Th&&i!==Sh||r.charAt(++a)!==i)&&(o=t.options.pedantic,s=i,c=s+s,f=r.length,a++,l="",i="",!(o&&Mo(r.charAt(a)))))for(;a<f;){if(D=i,i=r.charAt(a),i===s&&r.charAt(a+1)===s&&(!o||!Mo(D))&&(i=r.charAt(a+2),i!==s))return Ah(l)?n?!0:(u=e.now(),u.column+=2,u.offset+=2,e(c+l+c)({type:"strong",children:t.tokenizeInline(l,u)})):void 0;!o&&i===qh&&(l+=i,i=r.charAt(++a)),l+=i,a++}}});var $o=C((UF,jo)=>{"use strict";jo.exports=Lh;var Ph=String.fromCharCode,_h=/\w/;function Lh(e){return _h.test(typeof e=="number"?Ph(e):e.charAt(0))}});var Ho=C((YF,Go)=>{"use strict";Go.exports=Oh;function Oh(e,r){var n=e.indexOf("*",r),t=e.indexOf("_",r);return t===-1?n:n===-1||t<n?t:n}});var Qo=C((VF,Xo)=>{"use strict";var Ih=Oe(),Nh=$o(),Wo=ne(),Rh=Ho();Xo.exports=Jo;Jo.locator=Rh;var zh="*",Ko="_",Mh="\\";function Jo(e,r,n){var t=this,a=0,i=r.charAt(a),u,o,s,l,c,f,D;if(!(i!==zh&&i!==Ko)&&(o=t.options.pedantic,c=i,s=i,f=r.length,a++,l="",i="",!(o&&Wo(r.charAt(a)))))for(;a<f;){if(D=i,i=r.charAt(a),i===s&&(!o||!Wo(D))){if(i=r.charAt(++a),i!==s){if(!Ih(l)||D===s)return;if(!o&&s===Ko&&Nh(i)){l+=s;continue}return n?!0:(u=e.now(),u.column++,u.offset++,e(c+l+s)({type:"emphasis",children:t.tokenizeInline(l,u)}))}l+=s}!o&&i===Mh&&(l+=i,i=r.charAt(++a)),l+=i,a++}}});var es=C((jF,Zo)=>{"use strict";Zo.exports=Uh;function Uh(e,r){return e.indexOf("~~",r)}});var us=C(($F,is)=>{"use strict";var rs=ne(),Yh=es();is.exports=ns;ns.locator=Yh;var et="~",ts="~~";function ns(e,r,n){var t=this,a="",i="",u="",o="",s,l,c;if(!(!t.options.gfm||r.charAt(0)!==et||r.charAt(1)!==et||rs(r.charAt(2))))for(s=1,l=r.length,c=e.now(),c.column+=2,c.offset+=2;++s<l;){if(a=r.charAt(s),a===et&&i===et&&(!u||!rs(u)))return n?!0:e(ts+o+ts)({type:"delete",children:t.tokenizeInline(o,c)});o+=i,u=i,i=a}}});var os=C((GF,as)=>{"use strict";as.exports=Vh;function Vh(e,r){return e.indexOf("`",r)}});var ls=C((HF,cs)=>{"use strict";var jh=os();cs.exports=ss;ss.locator=jh;var pn=10,dn=32,hn=96;function ss(e,r,n){for(var t=r.length,a=0,i,u,o,s,l,c;a<t&&r.charCodeAt(a)===hn;)a++;if(!(a===0||a===t)){for(i=a,l=r.charCodeAt(a);a<t;){if(s=l,l=r.charCodeAt(a+1),s===hn){if(u===void 0&&(u=a),o=a+1,l!==hn&&o-u===i){c=!0;break}}else u!==void 0&&(u=void 0,o=void 0);a++}if(c){if(n)return!0;if(a=i,t=u,s=r.charCodeAt(a),l=r.charCodeAt(t-1),c=!1,t-a>2&&(s===dn||s===pn)&&(l===dn||l===pn)){for(a++,t--;a<t;){if(s=r.charCodeAt(a),s!==dn&&s!==pn){c=!0;break}a++}c===!0&&(i++,u--)}return e(r.slice(0,o))({type:"inlineCode",value:r.slice(i,u)})}}}});var Ds=C((WF,fs)=>{"use strict";fs.exports=$h;function $h(e,r){for(var n=e.indexOf(`
`,r);n>r&&e.charAt(n-1)===" ";)n--;return n}});var hs=C((KF,ds)=>{"use strict";var Gh=Ds();ds.exports=ps;ps.locator=Gh;var Hh=" ",Wh=`
`,Kh=2;function ps(e,r,n){for(var t=r.length,a=-1,i="",u;++a<t;){if(u=r.charAt(a),u===Wh)return a<Kh?void 0:n?!0:(i+=u,e(i)({type:"break"}));if(u!==Hh)return;i+=u}}});var gs=C((JF,ms)=>{"use strict";ms.exports=Jh;function Jh(e,r,n){var t=this,a,i,u,o,s,l,c,f,D,h;if(n)return!0;for(a=t.inlineMethods,o=a.length,i=t.inlineTokenizers,u=-1,D=r.length;++u<o;)f=a[u],!(f==="text"||!i[f])&&(c=i[f].locator,c||e.file.fail("Missing locator: `"+f+"`"),l=c.call(t,r,1),l!==-1&&l<D&&(D=l));s=r.slice(0,D),h=e.now(),t.decode(s,h,p);function p(d,m,g){e(g||d)({type:"text",value:d})}}});var Cs=C((XF,Es)=>{"use strict";var Xh=_e(),rt=Ni(),Qh=zi(),Zh=Ui(),em=hu(),mn=vu();Es.exports=vs;function vs(e,r){this.file=r,this.offset={},this.options=Xh(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Qh(r).toOffset,this.unescape=Zh(this,"escape"),this.decode=em(this)}var z=vs.prototype;z.setOptions=wu();z.parse=Yu();z.options=Pt();z.exitStart=rt("atStart",!0);z.enterList=rt("inList",!1);z.enterLink=rt("inLink",!1);z.enterBlock=rt("inBlock",!1);z.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];z.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];z.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}]];z.blockTokenizers={blankLine:ju(),indentedCode:Ku(),fencedCode:Qu(),blockquote:ia(),atxHeading:oa(),thematicBreak:la(),list:Ca(),setextHeading:ka(),html:Sa(),definition:Ma(),table:Va(),paragraph:Ga()};z.inlineTokenizers={escape:Qa(),autoLink:io(),url:ho(),email:xo(),html:wo(),link:Lo(),reference:No(),strong:Vo(),emphasis:Qo(),deletion:us(),code:ls(),break:hs(),text:gs()};z.blockMethods=Fs(z.blockTokenizers);z.inlineMethods=Fs(z.inlineTokenizers);z.tokenizeBlock=mn("block");z.tokenizeInline=mn("inline");z.tokenizeFactory=mn;function Fs(e){var r=[],n;for(n in e)r.push(n);return r}});var ks=C((QF,ys)=>{"use strict";var rm=Oi(),tm=_e(),bs=Cs();ys.exports=xs;xs.Parser=bs;function xs(e){var r=this.data("settings"),n=rm(bs);n.prototype.options=tm(n.prototype.options,r,e),this.Parser=n}});var As=C((ZF,ws)=>{"use strict";ws.exports=nm;function nm(e){if(e)throw e}});var gn=C((eE,Bs)=>{Bs.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Ns=C((rE,Is)=>{"use strict";var tt=Object.prototype.hasOwnProperty,Os=Object.prototype.toString,qs=Object.defineProperty,Ts=Object.getOwnPropertyDescriptor,Ss=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Os.call(r)==="[object Array]"},Ps=function(r){if(!r||Os.call(r)!=="[object Object]")return!1;var n=tt.call(r,"constructor"),t=r.constructor&&r.constructor.prototype&&tt.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!n&&!t)return!1;var a;for(a in r);return typeof a>"u"||tt.call(r,a)},_s=function(r,n){qs&&n.name==="__proto__"?qs(r,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):r[n.name]=n.newValue},Ls=function(r,n){if(n==="__proto__")if(tt.call(r,n)){if(Ts)return Ts(r,n).value}else return;return r[n]};Is.exports=function e(){var r,n,t,a,i,u,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s<l;++s)if(r=arguments[s],r!=null)for(n in r)t=Ls(o,n),a=Ls(r,n),o!==a&&(c&&a&&(Ps(a)||(i=Ss(a)))?(i?(i=!1,u=t&&Ss(t)?t:[]):u=t&&Ps(t)?t:{},_s(o,{name:n,newValue:e(c,u,a)})):typeof a<"u"&&_s(o,{name:n,newValue:a}));return o}});var zs=C((tE,Rs)=>{"use strict";Rs.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var Us=C((nE,Ms)=>{"use strict";var im=[].slice;Ms.exports=um;function um(e,r){var n;return t;function t(){var u=im.call(arguments,0),o=e.length>u.length,s;o&&u.push(a);try{s=e.apply(null,u)}catch(l){if(o&&n)throw l;return a(l)}o||(s&&typeof s.then=="function"?s.then(i,a):s instanceof Error?a(s):i(s))}function a(){n||(n=!0,r.apply(null,arguments))}function i(u){a(null,u)}}});var Gs=C((iE,$s)=>{"use strict";var Vs=Us();$s.exports=js;js.wrap=Vs;var Ys=[].slice;function js(){var e=[],r={};return r.run=n,r.use=t,r;function n(){var a=-1,i=Ys.call(arguments,0,-1),u=arguments[arguments.length-1];if(typeof u!="function")throw new Error("Expected function as last argument, not "+u);o.apply(null,[null].concat(i));function o(s){var l=e[++a],c=Ys.call(arguments,0),f=c.slice(1),D=i.length,h=-1;if(s){u(s);return}for(;++h<D;)(f[h]===null||f[h]===void 0)&&(f[h]=i[h]);i=f,l?Vs(l,o).apply(null,i):u.apply(null,[null].concat(i))}}function t(a){if(typeof a!="function")throw new Error("Expected `fn` to be a function, not "+a);return e.push(a),r}}});var Js=C((uE,Ks)=>{"use strict";var Ge={}.hasOwnProperty;Ks.exports=am;function am(e){return!e||typeof e!="object"?"":Ge.call(e,"position")||Ge.call(e,"type")?Hs(e.position):Ge.call(e,"start")||Ge.call(e,"end")?Hs(e):Ge.call(e,"line")||Ge.call(e,"column")?vn(e):""}function vn(e){return(!e||typeof e!="object")&&(e={}),Ws(e.line)+":"+Ws(e.column)}function Hs(e){return(!e||typeof e!="object")&&(e={}),vn(e.start)+"-"+vn(e.end)}function Ws(e){return e&&typeof e=="number"?e:1}});var Zs=C((aE,Qs)=>{"use strict";var om=Js();Qs.exports=Fn;function Xs(){}Xs.prototype=Error.prototype;Fn.prototype=new Xs;var ke=Fn.prototype;ke.file="";ke.name="";ke.reason="";ke.message="";ke.stack="";ke.fatal=null;ke.column=null;ke.line=null;function Fn(e,r,n){var t,a,i;typeof r=="string"&&(n=r,r=null),t=sm(n),a=om(r)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(i=r,r=r.start):i.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=i,this.source=t[0],this.ruleId=t[1]}function sm(e){var r=[null,null],n;return typeof e=="string"&&(n=e.indexOf(":"),n===-1?r[1]=e:(r[0]=e.slice(0,n),r[1]=e.slice(n+1))),r}});var ec=C(He=>{"use strict";He.basename=cm;He.dirname=lm;He.extname=fm;He.join=Dm;He.sep="/";function cm(e,r){var n=0,t=-1,a,i,u,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(Er(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(u){n=a+1;break}}else t<0&&(u=!0,t=a+1);return t<0?"":e.slice(n,t)}if(r===e)return"";for(i=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(u){n=a+1;break}}else i<0&&(u=!0,i=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(t=a):(o=-1,t=i));return n===t?t=i:t<0&&(t=e.length),e.slice(n,t)}function lm(e){var r,n,t;if(Er(e),!e.length)return".";for(r=-1,t=e.length;--t;)if(e.charCodeAt(t)===47){if(n){r=t;break}}else n||(n=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function fm(e){var r=-1,n=0,t=-1,a=0,i,u,o;for(Er(e),o=e.length;o--;){if(u=e.charCodeAt(o),u===47){if(i){n=o+1;break}continue}t<0&&(i=!0,t=o+1),u===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||t<0||a===0||a===1&&r===t-1&&r===n+1?"":e.slice(r,t)}function Dm(){for(var e=-1,r;++e<arguments.length;)Er(arguments[e]),arguments[e]&&(r=r===void 0?arguments[e]:r+"/"+arguments[e]);return r===void 0?".":pm(r)}function pm(e){var r,n;return Er(e),r=e.charCodeAt(0)===47,n=dm(e,!r),!n.length&&!r&&(n="."),n.length&&e.charCodeAt(e.length-1)===47&&(n+="/"),r?"/"+n:n}function dm(e,r){for(var n="",t=0,a=-1,i=0,u=-1,o,s;++u<=e.length;){if(u<e.length)o=e.charCodeAt(u);else{if(o===47)break;o=47}if(o===47){if(!(a===u-1||i===1))if(a!==u-1&&i===2){if(n.length<2||t!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",t=0):(n=n.slice(0,s),t=n.length-1-n.lastIndexOf("/")),a=u,i=0;continue}}else if(n.length){n="",t=0,a=u,i=0;continue}}r&&(n=n.length?n+"/..":"..",t=2)}else n.length?n+="/"+e.slice(a+1,u):n=e.slice(a+1,u),t=u-a-1;a=u,i=0}else o===46&&i>-1?i++:i=-1}return n}function Er(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}});var tc=C(rc=>{"use strict";rc.cwd=hm;function hm(){return"/"}});var uc=C((cE,ic)=>{"use strict";var ie=ec(),mm=tc(),gm=gn();ic.exports=he;var vm={}.hasOwnProperty,En=["history","path","basename","stem","extname","dirname"];he.prototype.toString=qm;Object.defineProperty(he.prototype,"path",{get:Fm,set:Em});Object.defineProperty(he.prototype,"dirname",{get:Cm,set:bm});Object.defineProperty(he.prototype,"basename",{get:xm,set:ym});Object.defineProperty(he.prototype,"extname",{get:km,set:wm});Object.defineProperty(he.prototype,"stem",{get:Am,set:Bm});function he(e){var r,n;if(!e)e={};else if(typeof e=="string"||gm(e))e={contents:e};else if("message"in e&&"messages"in e)return e;if(!(this instanceof he))return new he(e);for(this.data={},this.messages=[],this.history=[],this.cwd=mm.cwd(),n=-1;++n<En.length;)r=En[n],vm.call(e,r)&&(this[r]=e[r]);for(r in e)En.indexOf(r)<0&&(this[r]=e[r])}function Fm(){return this.history[this.history.length-1]}function Em(e){bn(e,"path"),this.path!==e&&this.history.push(e)}function Cm(){return typeof this.path=="string"?ie.dirname(this.path):void 0}function bm(e){nc(this.path,"dirname"),this.path=ie.join(e||"",this.basename)}function xm(){return typeof this.path=="string"?ie.basename(this.path):void 0}function ym(e){bn(e,"basename"),Cn(e,"basename"),this.path=ie.join(this.dirname||"",e)}function km(){return typeof this.path=="string"?ie.extname(this.path):void 0}function wm(e){if(Cn(e,"extname"),nc(this.path,"extname"),e){if(e.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=ie.join(this.dirname,this.stem+(e||""))}function Am(){return typeof this.path=="string"?ie.basename(this.path,this.extname):void 0}function Bm(e){bn(e,"stem"),Cn(e,"stem"),this.path=ie.join(this.dirname||"",e+(this.extname||""))}function qm(e){return(this.contents||"").toString(e)}function Cn(e,r){if(e&&e.indexOf(ie.sep)>-1)throw new Error("`"+r+"` cannot be a path: did not expect `"+ie.sep+"`")}function bn(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function nc(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}});var oc=C((lE,ac)=>{"use strict";var Tm=Zs(),nt=uc();ac.exports=nt;nt.prototype.message=Sm;nt.prototype.info=_m;nt.prototype.fail=Pm;function Sm(e,r,n){var t=new Tm(e,r,n);return this.path&&(t.name=this.path+":"+t.name,t.file=this.path),t.fatal=!1,this.messages.push(t),t}function Pm(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function _m(){var e=this.message.apply(this,arguments);return e.fatal=null,e}});var cc=C((fE,sc)=>{"use strict";sc.exports=oc()});var vc=C((DE,gc)=>{"use strict";var lc=As(),Lm=gn(),it=Ns(),fc=zs(),hc=Gs(),Cr=cc();gc.exports=mc().freeze();var Om=[].slice,Im={}.hasOwnProperty,Nm=hc().use(Rm).use(zm).use(Mm);function Rm(e,r){r.tree=e.parse(r.file)}function zm(e,r,n){e.run(r.tree,r.file,t);function t(a,i,u){a?n(a):(r.tree=i,r.file=u,n())}}function Mm(e,r){var n=e.stringify(r.tree,r.file);n==null||(typeof n=="string"||Lm(n)?("value"in r.file&&(r.file.value=n),r.file.contents=n):r.file.result=n)}function mc(){var e=[],r=hc(),n={},t=-1,a;return i.data=o,i.freeze=u,i.attachers=e,i.use=s,i.parse=c,i.stringify=h,i.run=f,i.runSync=D,i.process=p,i.processSync=d,i;function i(){for(var m=mc(),g=-1;++g<e.length;)m.use.apply(null,e[g]);return m.data(it(!0,{},n)),m}function u(){var m,g;if(a)return i;for(;++t<e.length;)m=e[t],m[1]!==!1&&(m[1]===!0&&(m[1]=void 0),g=m[0].apply(i,m.slice(1)),typeof g=="function"&&r.use(g));return a=!0,t=1/0,i}function o(m,g){return typeof m=="string"?arguments.length===2?(kn("data",a),n[m]=g,i):Im.call(n,m)&&n[m]||null:m?(kn("data",a),n=m,i):n}function s(m){var g;if(kn("use",a),m!=null)if(typeof m=="function")b.apply(null,arguments);else if(typeof m=="object")"length"in m?B(m):x(m);else throw new Error("Expected usable value, not `"+m+"`");return g&&(n.settings=it(n.settings||{},g)),i;function x(v){B(v.plugins),v.settings&&(g=it(g||{},v.settings))}function F(v){if(typeof v=="function")b(v);else if(typeof v=="object")"length"in v?b.apply(null,v):x(v);else throw new Error("Expected usable value, not `"+v+"`")}function B(v){var y=-1;if(v!=null)if(typeof v=="object"&&"length"in v)for(;++y<v.length;)F(v[y]);else throw new Error("Expected a list of plugins, not `"+v+"`")}function b(v,y){var k=l(v);k?(fc(k[1])&&fc(y)&&(y=it(!0,k[1],y)),k[1]=y):e.push(Om.call(arguments))}}function l(m){for(var g=-1;++g<e.length;)if(e[g][0]===m)return e[g]}function c(m){var g=Cr(m),x;return u(),x=i.Parser,xn("parse",x),Dc(x,"parse")?new x(String(g),g).parse():x(String(g),g)}function f(m,g,x){if(pc(m),u(),!x&&typeof g=="function"&&(x=g,g=null),!x)return new Promise(F);F(null,x);function F(B,b){r.run(m,Cr(g),v);function v(y,k,E){k=k||m,y?b(y):B?B(k):x(null,k,E)}}}function D(m,g){var x,F;return f(m,g,B),dc("runSync","run",F),x;function B(b,v){F=!0,x=v,lc(b)}}function h(m,g){var x=Cr(g),F;return u(),F=i.Compiler,yn("stringify",F),pc(m),Dc(F,"compile")?new F(m,x).compile():F(m,x)}function p(m,g){if(u(),xn("process",i.Parser),yn("process",i.Compiler),!g)return new Promise(x);x(null,g);function x(F,B){var b=Cr(m);Nm.run(i,{file:b},v);function v(y){y?B(y):F?F(b):g(null,b)}}}function d(m){var g,x;return u(),xn("processSync",i.Parser),yn("processSync",i.Compiler),g=Cr(m),p(g,F),dc("processSync","process",x),g;function F(B){x=!0,lc(B)}}}function Dc(e,r){return typeof e=="function"&&e.prototype&&(Um(e.prototype)||r in e.prototype)}function Um(e){var r;for(r in e)return!0;return!1}function xn(e,r){if(typeof r!="function")throw new Error("Cannot `"+e+"` without `Parser`")}function yn(e,r){if(typeof r!="function")throw new Error("Cannot `"+e+"` without `Compiler`")}function kn(e,r){if(r)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function pc(e){if(!e||typeof e.type!="string")throw new Error("Expected node, got `"+e+"`")}function dc(e,r,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+r+"` instead")}});var An=C(wn=>{wn.isRemarkParser=Ym;wn.isRemarkCompiler=Vm;function Ym(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Vm(e){return!!(e&&e.prototype&&e.prototype.visitors)}});var kc=C((dE,yc)=>{var Fc=An();yc.exports=Hm;var Ec=9,Cc=32,ut=36,jm=48,$m=57,bc=92,Gm=["math","math-inline"],xc="math-display";function Hm(e){let r=this.Parser,n=this.Compiler;Fc.isRemarkParser(r)&&Wm(r,e),Fc.isRemarkCompiler(n)&&Km(n,e)}function Wm(e,r){let n=e.prototype,t=n.inlineMethods;i.locator=a,n.inlineTokenizers.math=i,t.splice(t.indexOf("text"),0,"math");function a(u,o){return u.indexOf("$",o)}function i(u,o,s){let l=o.length,c=!1,f=!1,D=0,h,p,d,m,g,x,F;if(o.charCodeAt(D)===bc&&(f=!0,D++),o.charCodeAt(D)===ut){if(D++,f)return s?!0:u(o.slice(0,D))({type:"text",value:"$"});if(o.charCodeAt(D)===ut&&(c=!0,D++),d=o.charCodeAt(D),!(d===Cc||d===Ec)){for(m=D;D<l;){if(p=d,d=o.charCodeAt(D+1),p===ut){if(h=o.charCodeAt(D-1),h!==Cc&&h!==Ec&&(d!==d||d<jm||d>$m)&&(!c||d===ut)){g=D-1,D++,c&&D++,x=D;break}}else p===bc&&(D++,d=o.charCodeAt(D+1));D++}if(x!==void 0)return s?!0:(F=o.slice(m,g+1),u(o.slice(0,x))({type:"inlineMath",value:F,data:{hName:"span",hProperties:{className:Gm.concat(c&&r.inlineMathDouble?[xc]:[])},hChildren:[{type:"text",value:F}]}}))}}}}function Km(e){let r=e.prototype;r.visitors.inlineMath=n;function n(t){let a="$";return(t.data&&t.data.hProperties&&t.data.hProperties.className||[]).includes(xc)&&(a="$$"),a+t.value+a}}});var Tc=C((hE,qc)=>{var wc=An();qc.exports=Zm;var Ac=10,br=32,Bn=36,Bc=`
`,Jm="$",Xm=2,Qm=["math","math-display"];function Zm(){let e=this.Parser,r=this.Compiler;wc.isRemarkParser(e)&&eg(e),wc.isRemarkCompiler(r)&&rg(r)}function eg(e){let r=e.prototype,n=r.blockMethods,t=r.interruptParagraph,a=r.interruptList,i=r.interruptBlockquote;r.blockTokenizers.math=u,n.splice(n.indexOf("fencedCode")+1,0,"math"),t.splice(t.indexOf("fencedCode")+1,0,["math"]),a.splice(a.indexOf("fencedCode")+1,0,["math"]),i.splice(i.indexOf("fencedCode")+1,0,["math"]);function u(o,s,l){var c=s.length,f=0;let D,h,p,d,m,g,x,F,B,b,v;for(;f<c&&s.charCodeAt(f)===br;)f++;for(m=f;f<c&&s.charCodeAt(f)===Bn;)f++;if(g=f-m,!(g<Xm)){for(;f<c&&s.charCodeAt(f)===br;)f++;for(x=f;f<c;){if(D=s.charCodeAt(f),D===Bn)return;if(D===Ac)break;f++}if(s.charCodeAt(f)===Ac){if(l)return!0;for(h=[],x!==f&&h.push(s.slice(x,f)),f++,p=s.indexOf(Bc,f+1),p=p===-1?c:p;f<c;){for(F=!1,b=f,v=p,d=p,B=0;d>b&&s.charCodeAt(d-1)===br;)d--;for(;d>b&&s.charCodeAt(d-1)===Bn;)B++,d--;for(g<=B&&s.indexOf(Jm,b)===d&&(F=!0,v=d);b<=v&&b-f<m&&s.charCodeAt(b)===br;)b++;if(F)for(;v>b&&s.charCodeAt(v-1)===br;)v--;if((!F||b!==v)&&h.push(s.slice(b,v)),F)break;f=p+1,p=s.indexOf(Bc,f+1),p=p===-1?c:p}return h=h.join(`
`),o(s.slice(0,p))({type:"math",value:h,data:{hName:"div",hProperties:{className:Qm.concat()},hChildren:[{type:"text",value:h}]}})}}}}function rg(e){let r=e.prototype;r.visitors.math=n;function n(t){return`$$
`+t.value+`
$$`}}});var Pc=C((mE,Sc)=>{var tg=kc(),ng=Tc();Sc.exports=ig;function ig(e){var r=e||{};ng.call(this,r),tg.call(this,r)}});var Lc=C((gE,_c)=>{"use strict";_c.exports=cg;var xr=9,at=10,We=32,ug=33,ag=58,Ke=91,og=92,qn=93,yr=94,ot=96,st=4,sg=1024;function cg(e){var r=this.Parser,n=this.Compiler;lg(r)&&Dg(r,e),fg(n)&&pg(n)}function lg(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function fg(e){return!!(e&&e.prototype&&e.prototype.visitors)}function Dg(e,r){for(var n=r||{},t=e.prototype,a=t.blockTokenizers,i=t.inlineTokenizers,u=t.blockMethods,o=t.inlineMethods,s=a.definition,l=i.reference,c=[],f=-1,D=u.length,h;++f<D;)h=u[f],!(h==="newline"||h==="indentedCode"||h==="paragraph"||h==="footnoteDefinition")&&c.push([h]);c.push(["footnoteDefinition"]),n.inlineNotes&&(Tn(o,"reference","inlineNote"),i.inlineNote=m),Tn(u,"definition","footnoteDefinition"),Tn(o,"reference","footnoteCall"),a.definition=x,a.footnoteDefinition=p,i.footnoteCall=d,i.reference=g,t.interruptFootnoteDefinition=c,g.locator=l.locator,d.locator=F,m.locator=B;function p(b,v,y){for(var k=this,E=k.interruptFootnoteDefinition,w=k.offset,A=v.length+1,q=0,T=[],N,_,P,S,L,we,j,I,J,K,me,ge,M;q<A&&(S=v.charCodeAt(q),!(S!==xr&&S!==We));)q++;if(v.charCodeAt(q++)===Ke&&v.charCodeAt(q++)===yr){for(_=q;q<A;){if(S=v.charCodeAt(q),S!==S||S===at||S===xr||S===We)return;if(S===qn){P=q,q++;break}q++}if(!(P===void 0||_===P||v.charCodeAt(q++)!==ag)){if(y)return!0;for(N=v.slice(_,P),L=b.now(),J=0,K=0,me=q,ge=[];q<A;){if(S=v.charCodeAt(q),S!==S||S===at)M={start:J,contentStart:me||q,contentEnd:q,end:q},ge.push(M),S===at&&(J=q+1,K=0,me=void 0,M.end=J);else if(K!==void 0)if(S===We||S===xr)K+=S===We?1:st-K%st,K>st&&(K=void 0,me=q);else{if(K<st&&M&&(M.contentStart===M.contentEnd||dg(E,a,k,[b,v.slice(q,sg),!0])))break;K=void 0,me=q}q++}for(q=-1,A=ge.length;A>0&&(M=ge[A-1],M.contentStart===M.contentEnd);)A--;for(we=b(v.slice(0,M.contentEnd));++q<A;)M=ge[q],w[L.line+q]=(w[L.line+q]||0)+(M.contentStart-M.start),T.push(v.slice(M.contentStart,M.end));return j=k.enterBlock(),I=k.tokenizeBlock(T.join(""),L),j(),we({type:"footnoteDefinition",identifier:N.toLowerCase(),label:N,children:I})}}}function d(b,v,y){var k=v.length+1,E=0,w,A,q,T;if(v.charCodeAt(E++)===Ke&&v.charCodeAt(E++)===yr){for(A=E;E<k;){if(T=v.charCodeAt(E),T!==T||T===at||T===xr||T===We)return;if(T===qn){q=E,E++;break}E++}if(!(q===void 0||A===q))return y?!0:(w=v.slice(A,q),b(v.slice(0,E))({type:"footnoteReference",identifier:w.toLowerCase(),label:w}))}}function m(b,v,y){var k=this,E=v.length+1,w=0,A=0,q,T,N,_,P,S,L;if(v.charCodeAt(w++)===yr&&v.charCodeAt(w++)===Ke){for(N=w;w<E;){if(T=v.charCodeAt(w),T!==T)return;if(S===void 0)if(T===og)w+=2;else if(T===Ke)A++,w++;else if(T===qn)if(A===0){_=w,w++;break}else A--,w++;else if(T===ot){for(P=w,S=1;v.charCodeAt(P+S)===ot;)S++;w+=S}else w++;else if(T===ot){for(P=w,L=1;v.charCodeAt(P+L)===ot;)L++;w+=L,S===L&&(S=void 0),L=void 0}else w++}if(_!==void 0)return y?!0:(q=b.now(),q.column+=2,q.offset+=2,b(v.slice(0,w))({type:"footnote",children:k.tokenizeInline(v.slice(N,_),q)}))}}function g(b,v,y){var k=0;if(v.charCodeAt(k)===ug&&k++,v.charCodeAt(k)===Ke&&v.charCodeAt(k+1)!==yr)return l.call(this,b,v,y)}function x(b,v,y){for(var k=0,E=v.charCodeAt(k);E===We||E===xr;)E=v.charCodeAt(++k);if(E===Ke&&v.charCodeAt(k+1)!==yr)return s.call(this,b,v,y)}function F(b,v){return b.indexOf("[",v)}function B(b,v){return b.indexOf("^[",v)}}function pg(e){var r=e.prototype.visitors,n="    ";r.footnote=t,r.footnoteReference=a,r.footnoteDefinition=i;function t(u){return"^["+this.all(u).join("")+"]"}function a(u){return"[^"+(u.label||u.identifier)+"]"}function i(u){for(var o=this.all(u).join(`

`).split(`
`),s=0,l=o.length,c;++s<l;)c=o[s],c!==""&&(o[s]=n+c);return"[^"+(u.label||u.identifier)+"]: "+o.join(`
`)}}function Tn(e,r,n){e.splice(e.indexOf(r),0,n)}function dg(e,r,n,t){for(var a=e.length,i=-1;++i<a;)if(r[e[i][0]].apply(n,t))return!0;return!1}});var Ln={};On(Ln,{languages:()=>Qc,options:()=>Zc,parsers:()=>Pn,printers:()=>wg});var al=(e,r,n,t)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(n,t):n.global?r.replace(n,t):r.split(n).join(t)},R=al;var ol=(e,r,n)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[n<0?r.length+n:n]:r.at(n)},U=ol;var qi=Ie(kr(),1);function Je(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function cl(e,r){let n=e.match(new RegExp(`(${Je(r)})+`,"g"));if(n===null)return 0;let t=new Map,a=0;for(let i of n){let u=i.length/r.length;t.set(u,!0),u>a&&(a=u)}for(let i=1;i<a;i++)if(!t.get(i))return i;return a+1}var Nn=cl;function ll(e,r){let n=e.match(new RegExp(`(${Je(r)})+`,"g"));return n===null?0:n.reduce((t,a)=>Math.max(t,a.length/r.length),0)}var wr=ll;var Rn=()=>/[#*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\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\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(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var zn={eastAsianWidth(e){var r=e.charCodeAt(0),n=e.length==2?e.charCodeAt(1):0,t=r;return 55296<=r&&r<=56319&&56320<=n&&n<=57343&&(r&=1023,n&=1023,t=r<<10|n,t+=65536),t==12288||65281<=t&&t<=65376||65504<=t&&t<=65510?"F":4352<=t&&t<=4447||4515<=t&&t<=4519||4602<=t&&t<=4607||9001<=t&&t<=9002||11904<=t&&t<=11929||11931<=t&&t<=12019||12032<=t&&t<=12245||12272<=t&&t<=12283||12289<=t&&t<=12350||12353<=t&&t<=12438||12441<=t&&t<=12543||12549<=t&&t<=12589||12593<=t&&t<=12686||12688<=t&&t<=12730||12736<=t&&t<=12771||12784<=t&&t<=12830||12832<=t&&t<=12871||12880<=t&&t<=13054||13056<=t&&t<=19903||19968<=t&&t<=42124||42128<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||55216<=t&&t<=55238||55243<=t&&t<=55291||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65106||65108<=t&&t<=65126||65128<=t&&t<=65131||110592<=t&&t<=110593||127488<=t&&t<=127490||127504<=t&&t<=127546||127552<=t&&t<=127560||127568<=t&&t<=127569||131072<=t&&t<=194367||177984<=t&&t<=196605||196608<=t&&t<=262141?"W":"N"}};var fl=/[^\x20-\x7F]/;function Dl(e){if(!e)return 0;if(!fl.test(e))return e.length;e=e.replace(Rn(),"  ");let r=0;for(let n of e){let t=n.codePointAt(0);if(t<=31||t>=127&&t<=159||t>=768&&t<=879)continue;let a=zn.eastAsianWidth(n);r+=a==="F"||a==="W"?2:1}return r}var Xe=Dl;var Ar="'",Mn='"';function pl(e,r){let n=r===!0||r===Ar?Ar:Mn,t=n===Ar?Mn:Ar,a=0,i=0;for(let u of e)u===n?a++:u===t&&i++;return a>i?t:n}var Un=pl;var ue="string",X="array",ve="cursor",Q="indent",Z="align",ae="trim",G="group",H="fill",W="if-break",oe="indent-if-break",se="line-suffix",ce="line-suffix-boundary",$="line",le="label",ee="break-parent",Br=new Set([ve,Q,Z,ae,G,H,W,oe,se,ce,$,le,ee]);function dl(e){if(typeof e=="string")return ue;if(Array.isArray(e))return X;if(!e)return;let{type:r}=e;if(Br.has(r))return r}var fe=dl;var hl=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function ml(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', 
Expected it to be 'string' or 'object'.`;if(fe(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let t=hl([...Br].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
Expected it to be ${t}.`}var ft=class extends Error{name="InvalidDocError";constructor(r){super(ml(r)),this.doc=r}},Ae=ft;var Yn={};function gl(e,r,n,t){let a=[e];for(;a.length>0;){let i=a.pop();if(i===Yn){n(a.pop());continue}n&&a.push(i,Yn);let u=fe(i);if(!u)throw new Ae(i);if((r==null?void 0:r(i))!==!1)switch(u){case X:case H:{let o=u===X?i:i.parts;for(let s=o.length,l=s-1;l>=0;--l)a.push(o[l]);break}case W:a.push(i.flatContents,i.breakContents);break;case G:if(t&&i.expandedStates)for(let o=i.expandedStates.length,s=o-1;s>=0;--s)a.push(i.expandedStates[s]);else a.push(i.contents);break;case Z:case Q:case oe:case le:case se:a.push(i.contents);break;case ue:case ve:case ae:case ce:case $:case ee:break;default:throw new Ae(i)}}}var Vn=gl;var jn=()=>{},Be=jn,qr=jn;function Qe(e){return Be(e),{type:Q,contents:e}}function Fe(e,r){return Be(r),{type:Z,contents:r,n:e}}function Ze(e,r={}){return Be(e),qr(r.expandedStates,!0),{type:G,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function qe(e){return Fe({type:"root"},e)}function Tr(e){return qr(e),{type:H,parts:e}}function $n(e,r="",n={}){return Be(e),r!==""&&Be(r),{type:W,breakContents:e,flatContents:r,groupId:n.groupId}}var er={type:ee};var Ne={type:$,hard:!0},vl={type:$,hard:!0,literal:!0},Sr={type:$},rr={type:$,soft:!0},O=[Ne,er],tr=[vl,er];function nr(e,r){Be(e),qr(r);let n=[];for(let t=0;t<r.length;t++)t!==0&&n.push(e),n.push(r[t]);return n}var Wn=e=>{if(Array.isArray(e))return e;if(e.type!==H)throw new Error(`Expect doc to be 'array' or '${H}'.`);return e.parts};function Kn(e,r){if(typeof e=="string")return r(e);let n=new Map;return t(e);function t(i){if(n.has(i))return n.get(i);let u=a(i);return n.set(i,u),u}function a(i){switch(fe(i)){case X:return r(i.map(t));case H:return r({...i,parts:i.parts.map(t)});case W:return r({...i,breakContents:t(i.breakContents),flatContents:t(i.flatContents)});case G:{let{expandedStates:u,contents:o}=i;return u?(u=u.map(t),o=u[0]):o=t(o),r({...i,contents:o,expandedStates:u})}case Z:case Q:case oe:case le:case se:return r({...i,contents:t(i.contents)});case ue:case ve:case ae:case ce:case $:case ee:return r(i);default:throw new Ae(i)}}}function Gn(e){if(e.length>0){let r=U(!1,e,-1);!r.expandedStates&&!r.break&&(r.break="propagated")}return null}function Jn(e){let r=new Set,n=[];function t(i){if(i.type===ee&&Gn(n),i.type===G){if(n.push(i),r.has(i))return!1;r.add(i)}}function a(i){i.type===G&&n.pop().break&&Gn(n)}Vn(e,t,a,!0)}function Hn(e){let r=[],n=e.filter(Boolean);for(;n.length>0;){let t=n.shift();if(t){if(Array.isArray(t)){n.unshift(...t);continue}if(r.length>0&&typeof U(!1,r,-1)=="string"&&typeof t=="string"){r[r.length-1]+=t;continue}r.push(t)}}return r}function Xn(e){return Kn(e,r=>Array.isArray(r)?Hn(r):r.parts?{...r,parts:Hn(r.parts)}:r)}function Ee(e,r=tr){return Kn(e,n=>typeof n=="string"?nr(r,n.split(`
`)):n)}function Qn(e){switch(e){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}var V=Symbol("MODE_BREAK"),re=Symbol("MODE_FLAT"),ir=Symbol("cursor");function Zn(){return{value:"",length:0,queue:[]}}function Fl(e,r){return Dt(e,{type:"indent"},r)}function El(e,r,n){return r===Number.NEGATIVE_INFINITY?e.root||Zn():r<0?Dt(e,{type:"dedent"},n):r?r.type==="root"?{...e,root:e}:Dt(e,{type:typeof r=="string"?"stringAlign":"numberAlign",n:r},n):e}function Dt(e,r,n){let t=r.type==="dedent"?e.queue.slice(0,-1):[...e.queue,r],a="",i=0,u=0,o=0;for(let p of t)switch(p.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),a+=p.n,i+=p.n.length;break;case"numberAlign":u+=1,o+=p.n;break;default:throw new Error(`Unexpected type '${p.type}'`)}return D(),{...e,value:a,length:i,queue:t};function s(p){a+="	".repeat(p),i+=n.tabWidth*p}function l(p){a+=" ".repeat(p),i+=p}function c(){n.useTabs?f():D()}function f(){u>0&&s(u),h()}function D(){o>0&&l(o),h()}function h(){u=0,o=0}}function pt(e){let r=0,n=0,t=e.length;e:for(;t--;){let a=e[t];if(a===ir){n++;continue}for(let i=a.length-1;i>=0;i--){let u=a[i];if(u===" "||u==="	")r++;else{e[t]=a.slice(0,i+1);break e}}}if(r>0||n>0)for(e.length=t+1;n-- >0;)e.push(ir);return r}function Pr(e,r,n,t,a,i){if(n===Number.POSITIVE_INFINITY)return!0;let u=r.length,o=[e],s=[];for(;n>=0;){if(o.length===0){if(u===0)return!0;o.push(r[--u]);continue}let{mode:l,doc:c}=o.pop();switch(fe(c)){case ue:s.push(c),n-=Xe(c);break;case X:case H:{let f=Wn(c);for(let D=f.length-1;D>=0;D--)o.push({mode:l,doc:f[D]});break}case Q:case Z:case oe:case le:o.push({mode:l,doc:c.contents});break;case ae:n+=pt(s);break;case G:{if(i&&c.break)return!1;let f=c.break?V:l,D=c.expandedStates&&f===V?U(!1,c.expandedStates,-1):c.contents;o.push({mode:f,doc:D});break}case W:{let D=(c.groupId?a[c.groupId]||re:l)===V?c.breakContents:c.flatContents;D&&o.push({mode:l,doc:D});break}case $:if(l===V||c.hard)return!0;c.soft||(s.push(" "),n--);break;case se:t=!0;break;case ce:if(t)return!1;break}}return!1}function ei(e,r){let n={},t=r.printWidth,a=Qn(r.endOfLine),i=0,u=[{ind:Zn(),mode:V,doc:e}],o=[],s=!1,l=[],c=0;for(Jn(e);u.length>0;){let{ind:D,mode:h,doc:p}=u.pop();switch(fe(p)){case ue:{let d=a!==`
`?R(!1,p,`
`,a):p;o.push(d),u.length>0&&(i+=Xe(d));break}case X:for(let d=p.length-1;d>=0;d--)u.push({ind:D,mode:h,doc:p[d]});break;case ve:if(c>=2)throw new Error("There are too many 'cursor' in doc.");o.push(ir),c++;break;case Q:u.push({ind:Fl(D,r),mode:h,doc:p.contents});break;case Z:u.push({ind:El(D,p.n,r),mode:h,doc:p.contents});break;case ae:i-=pt(o);break;case G:switch(h){case re:if(!s){u.push({ind:D,mode:p.break?V:re,doc:p.contents});break}case V:{s=!1;let d={ind:D,mode:re,doc:p.contents},m=t-i,g=l.length>0;if(!p.break&&Pr(d,u,m,g,n))u.push(d);else if(p.expandedStates){let x=U(!1,p.expandedStates,-1);if(p.break){u.push({ind:D,mode:V,doc:x});break}else for(let F=1;F<p.expandedStates.length+1;F++)if(F>=p.expandedStates.length){u.push({ind:D,mode:V,doc:x});break}else{let B=p.expandedStates[F],b={ind:D,mode:re,doc:B};if(Pr(b,u,m,g,n)){u.push(b);break}}}else u.push({ind:D,mode:V,doc:p.contents});break}}p.id&&(n[p.id]=U(!1,u,-1).mode);break;case H:{let d=t-i,{parts:m}=p;if(m.length===0)break;let[g,x]=m,F={ind:D,mode:re,doc:g},B={ind:D,mode:V,doc:g},b=Pr(F,[],d,l.length>0,n,!0);if(m.length===1){b?u.push(F):u.push(B);break}let v={ind:D,mode:re,doc:x},y={ind:D,mode:V,doc:x};if(m.length===2){b?u.push(v,F):u.push(y,B);break}m.splice(0,2);let k={ind:D,mode:h,doc:Tr(m)},E=m[0];Pr({ind:D,mode:re,doc:[g,x,E]},[],d,l.length>0,n,!0)?u.push(k,v,F):b?u.push(k,y,F):u.push(k,y,B);break}case W:case oe:{let d=p.groupId?n[p.groupId]:h;if(d===V){let m=p.type===W?p.breakContents:p.negate?p.contents:Qe(p.contents);m&&u.push({ind:D,mode:h,doc:m})}if(d===re){let m=p.type===W?p.flatContents:p.negate?Qe(p.contents):p.contents;m&&u.push({ind:D,mode:h,doc:m})}break}case se:l.push({ind:D,mode:h,doc:p.contents});break;case ce:l.length>0&&u.push({ind:D,mode:h,doc:Ne});break;case $:switch(h){case re:if(p.hard)s=!0;else{p.soft||(o.push(" "),i+=1);break}case V:if(l.length>0){u.push({ind:D,mode:h,doc:p},...l.reverse()),l.length=0;break}p.literal?D.root?(o.push(a,D.root.value),i=D.root.length):(o.push(a),i=0):(i-=pt(o),o.push(a+D.value),i=D.length);break}break;case le:u.push({ind:D,mode:h,doc:p.contents});break;case ee:break;default:throw new Ae(p)}u.length===0&&l.length>0&&(u.push(...l.reverse()),l.length=0)}let f=o.indexOf(ir);if(f!==-1){let D=o.indexOf(ir,f+1),h=o.slice(0,f).join(""),p=o.slice(f+1,D).join(""),d=o.slice(D+1).join("");return{formatted:h+p+d,cursorNodeStart:h.length,cursorNodeText:p}}return{formatted:o.join("")}}var dt=class extends Error{name="UnexpectedNodeError";constructor(r,n,t="type"){super(`Unexpected ${n} node ${t}: ${JSON.stringify(r[t])}.`),this.node=r}},ri=dt;async function Cl(e,r){if(e.lang==="yaml"){let n=e.value.trim(),t=n?await r(n,{parser:"yaml"}):"";return qe([e.startDelimiter,O,t,t?O:"",e.endDelimiter])}}var ti=Cl;var bl=e=>e.split(/[/\\]/).pop();function ni(e,r){if(!r)return;let n=bl(r).toLowerCase();return e.find(t=>{var a,i;return((a=t.extensions)==null?void 0:a.some(u=>n.endsWith(u)))||((i=t.filenames)==null?void 0:i.some(u=>u.toLowerCase()===n))})}function xl(e,r){if(r)return e.find(({name:n})=>n.toLowerCase()===r)??e.find(({aliases:n})=>n==null?void 0:n.includes(r))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${r}`))}function yl(e,r){let n=e.plugins.flatMap(a=>a.languages??[]),t=xl(n,r.language)??ni(n,r.physicalFile)??ni(n,r.file)??(r.physicalFile,void 0);return t==null?void 0:t.parsers[0]}var ii=yl;var kl=new Proxy(()=>{},{get:()=>kl});function Te(e){return e.position.start.offset}function Se(e){return e.position.end.offset}var ui="(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4dbf\\u4e00-\\u9fff\\ua700-\\ua707\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879\\ud880-\\ud883\\ud885-\\ud887][\\udc00-\\udfff]|\\ud81b[\\udfe3]|\\ud82b[\\udff0-\\udff3\\udff5-\\udffb\\udffd-\\udffe]|\\ud82c[\\udc00-\\udd22\\udd32\\udd50-\\udd52\\udd55\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\udedf\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf39\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d]|\\ud884[\\udc00-\\udf4a\\udf50-\\udfff]|\\ud888[\\udc00-\\udfaf])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",ai=new RegExp("[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",""),ur="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061d-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1b7d-\\u1b7e\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u2e52-\\u2e5d\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udead\\udf55-\\udf59\\udf86-\\udf89]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5a-\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udeb9\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udd44-\\udd46\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2\\udf00-\\udf09]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udf43-\\udf4f\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud80b[\\udff1-\\udff2]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]";var mt=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),_r=new Set([...mt,"tableCell","paragraph","heading"]),ht=new RegExp(ur),Pe="non-cjk",De="cj-letter",Ce="k-letter",ar="cjk-punctuation";function Lr(e){let r=[],n=e.split(/([\t\n ]+)/);for(let[a,i]of n.entries()){if(a%2===1){r.push({type:"whitespace",value:/\n/.test(i)?`
`:" "});continue}if((a===0||a===n.length-1)&&i==="")continue;let u=i.split(new RegExp(`(${ui})`));for(let[o,s]of u.entries())if(!((o===0||o===u.length-1)&&s==="")){if(o%2===0){s!==""&&t({type:"word",value:s,kind:Pe,hasLeadingPunctuation:ht.test(s[0]),hasTrailingPunctuation:ht.test(U(!1,s,-1))});continue}t(ht.test(s)?{type:"word",value:s,kind:ar,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:ai.test(s)?Ce:De,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function t(a){let i=U(!1,r,-1);(i==null?void 0:i.type)==="word"&&!u(Pe,ar)&&![i.value,a.value].some(o=>/\u3000/.test(o))&&r.push({type:"whitespace",value:""}),r.push(a);function u(o,s){return i.kind===o&&a.kind===s||i.kind===s&&a.kind===o}}}function Re(e,r){let[,n,t,a]=r.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:t,leadingSpaces:a}}function oi(e,r){if(!e.ordered||e.children.length<2)return!1;let n=Number(Re(e.children[0],r.originalText).numberText),t=Number(Re(e.children[1],r.originalText).numberText);if(n===0&&e.children.length>2){let a=Number(Re(e.children[2],r.originalText).numberText);return t===1&&a===1}return t===1}function Or(e,r){let{value:n}=e;return e.position.end.offset===r.length&&n.endsWith(`
`)&&r.endsWith(`
`)?n.slice(0,-1):n}function be(e,r){return function n(t,a,i){let u={...r(t,a,i)};return u.children&&(u.children=u.children.map((o,s)=>n(o,s,[u,...i]))),u}(e,null,[])}function gt(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[r]=e.children;return Te(e)===Te(r)&&Se(e)===Se(r)}function wl(e,r){let{node:n}=e;if(n.type==="code"&&n.lang!==null){let t=ii(r,{language:n.lang});if(t)return async a=>{let i=r.__inJsTemplate?"~":"`",u=i.repeat(Math.max(3,wr(n.value,i)+1)),o={parser:t};n.lang==="ts"||n.lang==="typescript"?o.filepath="dummy.ts":n.lang==="tsx"&&(o.filepath="dummy.tsx");let s=await a(Or(n,r.originalText),o);return qe([u,n.lang,n.meta?" "+n.meta:"",O,Ee(s),O,u])}}switch(n.type){case"front-matter":return t=>ti(n,t);case"import":case"export":return t=>t(n.value,{parser:"babel"});case"jsx":return t=>t(`<$>${n.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var si=wl;var Al=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Bl(e){let r=e.match(Al);if(!r)return{content:e};let{startDelimiter:n,language:t,value:a="",endDelimiter:i}=r.groups,u=t.trim()||"yaml";if(n==="+++"&&(u="toml"),u!=="yaml"&&n!==i)return{content:e};let[o]=r;return{frontMatter:{type:"front-matter",lang:u,value:a,startDelimiter:n,endDelimiter:i,raw:o.replace(/\n$/,"")},content:R(!1,o,/[^\n]/g," ")+e.slice(o.length)}}var or=Bl;var ci=["format","prettier"];function vt(e){let r=`@(${ci.join("|")})`,n=new RegExp([`<!--\\s*${r}\\s*-->`,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${r}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),t=e.match(n);return(t==null?void 0:t.index)===0}var li=e=>vt(or(e).content.trimStart()),fi=e=>{let r=or(e),n=`<!-- @${ci[0]} -->`;return r.frontMatter?`${r.frontMatter.raw}

${n}

${r.content}`:`${n}

${r.content}`};var ql=/^.$/su;function Tl(e,r){return e=Sl(e,r),e=_l(e),e=Ol(e,r),e=Il(e,r),e=Ll(e),e}function Sl(e,r){return be(e,n=>n.type!=="text"||n.value==="*"||n.value==="_"||!ql.test(n.value)||n.position.end.offset-n.position.start.offset===n.value.length?n:{...n,value:r.originalText.slice(n.position.start.offset,n.position.end.offset)})}function Pl(e,r,n){return be(e,t=>{if(!t.children)return t;let a=t.children.reduce((i,u)=>{let o=U(!1,i,-1);return o&&r(o,u)?i.splice(-1,1,n(o,u)):i.push(u),i},[]);return{...t,children:a}})}function _l(e){return Pl(e,(r,n)=>r.type==="text"&&n.type==="text",(r,n)=>({type:"text",value:r.value+n.value,position:{start:r.position.start,end:n.position.end}}))}function Ll(e){return be(e,(r,n,[t])=>{if(r.type!=="text")return r;let{value:a}=r;return t.type==="paragraph"&&(n===0&&(a=a.trimStart()),n===t.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:r.position,children:Lr(a)}})}function Ol(e,r){return be(e,(n,t,a)=>{if(n.type==="code"){let i=/^\n?(?: {4,}|\t)/.test(r.originalText.slice(n.position.start.offset,n.position.end.offset));if(n.isIndented=i,i)for(let u=0;u<a.length;u++){let o=a[u];if(o.hasIndentedCodeblock)break;o.type==="list"&&(o.hasIndentedCodeblock=!0)}}return n})}function Il(e,r){return be(e,(a,i,u)=>{if(a.type==="list"&&a.children.length>0){for(let o=0;o<u.length;o++){let s=u[o];if(s.type==="list"&&!s.isAligned)return a.isAligned=!1,a}a.isAligned=t(a)}return a});function n(a){return a.children.length===0?-1:a.children[0].position.start.column-1}function t(a){if(!a.ordered)return!0;let[i,u]=a.children;if(Re(i,r.originalText).leadingSpaces.length>1)return!0;let s=n(i);if(s===-1)return!1;if(a.children.length===1)return s%r.tabWidth===0;let l=n(u);return s!==l?!1:s%r.tabWidth===0?!0:Re(u,r.originalText).leadingSpaces.length>1}}var Di=Tl;var di=Ie(kr(),1);function Nl(e){return(e==null?void 0:e.type)==="front-matter"}var pi=Nl;var Rl=new Set(["position","raw"]);function hi(e,r,n){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text"||(e.type==="inlineCode"&&(r.value=R(!1,e.value,`
`," ")),e.type==="wikiLink"&&(r.value=R(!1,e.value.trim(),/[\t\n]+/g," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,di.default)(e.label)),(e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=R(!1,e.title,/\\(?=["')])/g,"")),(n==null?void 0:n.type)==="root"&&n.children.length>0&&(n.children[0]===e||pi(n.children[0])&&n.children[1]===e)&&e.type==="html"&&vt(e.value)))return null}hi.ignoredProperties=Rl;var mi=hi;var sr=null;function cr(e){if(sr!==null&&typeof sr.property){let r=sr;return sr=cr.prototype=null,r}return sr=cr.prototype=e??Object.create(null),new cr}var zl=10;for(let e=0;e<=zl;e++)cr();function Ft(e){return cr(e)}function Ml(e,r="type"){Ft(e);function n(t){let a=t[r],i=e[a];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:t});return i}return n}var gi=Ml;var Ul={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},vi=Ul;var Yl=gi(vi),Fi=Yl;var Vl=new Set(["heading","tableCell","link","wikiLink"]),jl=new Set(`$(\xA3\xA5\xB7'"\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5[{\u2035\uFE34\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE4F\u3018\uFF5F\xAB`),$l=new Set(`!%),.:;?]}\xA2\xB0\xB7'"\u2020\u2021\u203A\u2103\u2236\u3001\u3002\u3003\u3006\u3015\u3017\u301E\uFE5A\uFE5C\uFF01\uFF02\uFF05\uFF07\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFF5E\u2013\u2014\u2022\u3009\u300B\u300D\uFE30\uFE31\uFE32\uFE33\uFE50\uFE51\uFE52\uFE53\uFE54\uFE55\uFE56\uFE58\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE57\uFF5C\uFF64\u300F\u3011\u3019\u301F\uFF60\xBB\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\u2010\u30A0\u301C\uFF5E\u203C\u2047\u2048\u2049\u30FB`),Ei=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Gl({parent:e}){if(e.usesCJSpaces===void 0){let r={" ":0,"":0},{children:n}=e;for(let t=1;t<n.length-1;++t){let a=n[t];if(a.type==="whitespace"&&(a.value===" "||a.value==="")){let i=n[t-1].kind,u=n[t+1].kind;(i===De&&u===Pe||i===Pe&&u===De)&&++r[a.value]}}e.usesCJSpaces=r[" "]>r[""]}return e.usesCJSpaces}function Hl(e,r){if(r)return!0;let{previous:n,next:t}=e;if(!n||!t)return!0;let a=n.kind,i=t.kind;return bi(a)&&bi(i)||a===Ce&&i===De||i===Ce&&a===De?!0:a===ar||i===ar||a===De&&i===De?!1:Ei.has(t.value[0])||Ei.has(U(!1,n.value,-1))?!0:n.hasTrailingPunctuation||t.hasLeadingPunctuation?!1:Gl(e)}function Ci(e){return e===Pe||e===De||e===Ce}function bi(e){return e===Pe||e===Ce}function Wl(e,r,n,t,a){if(n!=="always"||e.hasAncestor(s=>Vl.has(s.type)))return!1;if(t)return r!=="";if(r===" ")return!0;let{previous:i,next:u}=e;return!(r===""&&((i==null?void 0:i.kind)===Ce&&Ci(u==null?void 0:u.kind)||(u==null?void 0:u.kind)===Ce&&Ci(i==null?void 0:i.kind))||!a&&(u&&$l.has(u.value[0])||i&&jl.has(U(!1,i.value,-1))))}function Et(e,r,n,t){if(n==="preserve"&&r===`
`)return O;let a=r===" "||r===`
`&&Hl(e,t);return Wl(e,r,n,t,a)?a?Sr:rr:a?" ":""}var Kl=new Set(["listItem","definition","footnoteDefinition"]);function Jl(e,r,n){var a,i,u;let{node:t}=e;if(nf(e))return Lr(r.originalText.slice(t.position.start.offset,t.position.end.offset)).map(o=>o.type==="word"?o.value:Et(e,o.value,r.proseWrap,!0));switch(t.type){case"front-matter":return r.originalText.slice(t.position.start.offset,t.position.end.offset);case"root":return t.children.length===0?"":[Xn(ef(e,r,n)),O];case"paragraph":return Y(e,r,n,{postprocessor:Tr});case"sentence":return Y(e,r,n);case"word":{let o=R(!1,R(!1,t.value,"*","\\*"),new RegExp([`(^|${ur})(_+)`,`(_+)(${ur}|$)`].join("|"),"g"),(c,f,D,h,p)=>R(!1,D?`${f}${D}`:`${h}${p}`,"_","\\_")),s=(c,f,D)=>c.type==="sentence"&&D===0,l=(c,f,D)=>gt(c.children[D-1]);return o!==t.value&&(e.match(void 0,s,l)||e.match(void 0,s,(c,f,D)=>c.type==="emphasis"&&D===0,l))&&(o=o.replace(/^(\\?[*_])+/,c=>R(!1,c,"\\",""))),o}case"whitespace":{let{next:o}=e,s=o&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":r.proseWrap;return Et(e,t.value,s)}case"emphasis":{let o;if(gt(t.children[0]))o=r.originalText[t.position.start.offset];else{let{previous:s,next:l}=e;o=(s==null?void 0:s.type)==="sentence"&&((a=U(!1,s.children,-1))==null?void 0:a.type)==="word"&&!U(!1,s.children,-1).hasTrailingPunctuation||(l==null?void 0:l.type)==="sentence"&&((i=l.children[0])==null?void 0:i.type)==="word"&&!l.children[0].hasLeadingPunctuation||e.hasAncestor(f=>f.type==="emphasis")?"*":"_"}return[o,Y(e,r,n),o]}case"strong":return["**",Y(e,r,n),"**"];case"delete":return["~~",Y(e,r,n),"~~"];case"inlineCode":{let o=r.proseWrap==="preserve"?t.value:R(!1,t.value,`
`," "),s=Nn(o,"`"),l="`".repeat(s||1),c=o.startsWith("`")||o.endsWith("`")||/^[\n ]/.test(o)&&/[\n ]$/.test(o)&&/[^\n ]/.test(o)?" ":"";return[l,c,o,c,l]}case"wikiLink":{let o="";return r.proseWrap==="preserve"?o=t.value:o=R(!1,t.value,/[\t\n]+/g," "),["[[",o,"]]"]}case"link":switch(r.originalText[t.position.start.offset]){case"<":{let o="mailto:";return["<",t.url.startsWith(o)&&r.originalText.slice(t.position.start.offset+1,t.position.start.offset+1+o.length)!==o?t.url.slice(o.length):t.url,">"]}case"[":return["[",Y(e,r,n),"](",Ct(t.url,")"),Ir(t.title,r),")"];default:return r.originalText.slice(t.position.start.offset,t.position.end.offset)}case"image":return["![",t.alt||"","](",Ct(t.url,")"),Ir(t.title,r),")"];case"blockquote":return["> ",Fe("> ",Y(e,r,n))];case"heading":return["#".repeat(t.depth)+" ",Y(e,r,n)];case"code":{if(t.isIndented){let l=" ".repeat(4);return Fe(l,[l,Ee(t.value,O)])}let o=r.__inJsTemplate?"~":"`",s=o.repeat(Math.max(3,wr(t.value,o)+1));return[s,t.lang||"",t.meta?" "+t.meta:"",O,Ee(Or(t,r.originalText),O),O,s]}case"html":{let{parent:o,isLast:s}=e,l=o.type==="root"&&s?t.value.trimEnd():t.value,c=/^<!--.*-->$/s.test(l);return Ee(l,c?O:qe(tr))}case"list":{let o=yi(t,e.parent),s=oi(t,r);return Y(e,r,n,{processor(l){let c=D(),f=l.node;if(f.children.length===2&&f.children[1].type==="html"&&f.children[0].position.start.column!==f.children[1].position.start.column)return[c,xi(l,r,n,c)];return[c,Fe(" ".repeat(c.length),xi(l,r,n,c))];function D(){let h=t.ordered?(l.isFirst?t.start:s?1:t.start+l.index)+(o%2===0?". ":") "):o%2===0?"- ":"* ";return t.isAligned||t.hasIndentedCodeblock?Xl(h,r):h}}})}case"thematicBreak":{let{ancestors:o}=e,s=o.findIndex(c=>c.type==="list");return s===-1?"---":yi(o[s],o[s+1])%2===0?"***":"---"}case"linkReference":return["[",Y(e,r,n),"]",t.referenceType==="full"?bt(t):t.referenceType==="collapsed"?"[]":""];case"imageReference":switch(t.referenceType){case"full":return["![",t.alt||"","]",bt(t)];default:return["![",t.alt,"]",t.referenceType==="collapsed"?"[]":""]}case"definition":{let o=r.proseWrap==="always"?Sr:" ";return Ze([bt(t),":",Qe([o,Ct(t.url),t.title===null?"":[o,Ir(t.title,r,!1)]])])}case"footnote":return["[^",Y(e,r,n),"]"];case"footnoteReference":return Bi(t);case"footnoteDefinition":{let o=t.children.length===1&&t.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&t.children[0].position.start.line===t.children[0].position.end.line);return[Bi(t),": ",o?Y(e,r,n):Ze([Fe(" ".repeat(4),Y(e,r,n,{processor:({isFirst:s})=>s?Ze([rr,n()]):n()})),((u=e.next)==null?void 0:u.type)==="footnoteDefinition"?rr:""])]}case"table":return Zl(e,r,n);case"tableCell":return Y(e,r,n);case"break":return/\s/.test(r.originalText[t.position.start.offset])?["  ",qe(tr)]:["\\",O];case"liquidNode":return Ee(t.value,O);case"import":case"export":case"jsx":return t.value;case"esComment":return["{/* ",t.value," */}"];case"math":return["$$",O,t.value?[Ee(t.value,O),O]:"","$$"];case"inlineMath":return r.originalText.slice(Te(t),Se(t));case"tableRow":case"listItem":case"text":default:throw new ri(t,"Markdown")}}function xi(e,r,n,t){let{node:a}=e,i=a.checked===null?"":a.checked?"[x] ":"[ ] ";return[i,Y(e,r,n,{processor({node:u,isFirst:o}){if(o&&u.type!=="list")return Fe(" ".repeat(i.length),n());let s=" ".repeat(uf(r.tabWidth-t.length,0,3));return[s,Fe(s,n())]}})]}function Xl(e,r){let n=t();return e+" ".repeat(n>=4?0:n);function t(){let a=e.length%r.tabWidth;return a===0?0:r.tabWidth-a}}function yi(e,r){return Ql(e,r,n=>n.ordered===e.ordered)}function Ql(e,r,n){let t=-1;for(let a of r.children)if(a.type===e.type&&n(a)?t++:t=-1,a===e)return t}function Zl(e,r,n){let{node:t}=e,a=[],i=e.map(()=>e.map(({index:f})=>{let D=ei(n(),r).formatted,h=Xe(D);return a[f]=Math.max(a[f]||3,h),{text:D,width:h}},"children"),"children"),u=s(!1);if(r.proseWrap!=="never")return[er,u];let o=s(!0);return[er,Ze($n(o,u))];function s(f){let D=[c(i[0],f),l(f)];return i.length>1&&D.push(nr(Ne,i.slice(1).map(h=>c(h,f)))),nr(Ne,D)}function l(f){return`| ${a.map((h,p)=>{let d=t.align[p],m=d==="center"||d==="left"?":":"-",g=d==="center"||d==="right"?":":"-",x=f?"-":"-".repeat(h-2);return`${m}${x}${g}`}).join(" | ")} |`}function c(f,D){return`| ${f.map(({text:p,width:d},m)=>{if(D)return p;let g=a[m]-d,x=t.align[m],F=0;x==="right"?F=g:x==="center"&&(F=Math.floor(g/2));let B=g-F;return`${" ".repeat(F)}${p}${" ".repeat(B)}`}).join(" | ")} |`}}function ef(e,r,n){let t=[],a=null,{children:i}=e.node;for(let[u,o]of i.entries())switch(xt(o)){case"start":a===null&&(a={index:u,offset:o.position.end.offset});break;case"end":a!==null&&(t.push({start:a,end:{index:u,offset:o.position.start.offset}}),a=null);break;default:break}return Y(e,r,n,{processor({index:u}){if(t.length>0){let o=t[0];if(u===o.start.index)return[ki(i[o.start.index]),r.originalText.slice(o.start.offset,o.end.offset),ki(i[o.end.index])];if(o.start.index<u&&u<o.end.index)return!1;if(u===o.end.index)return t.shift(),!1}return n()}})}function Y(e,r,n,t={}){let{postprocessor:a=o=>o,processor:i=()=>n()}=t,u=[];return e.each(()=>{let o=i(e);o!==!1&&(u.length>0&&rf(e)&&(u.push(O),(tf(e,r)||Ai(e))&&u.push(O),Ai(e)&&u.push(O)),u.push(o))},"children"),a(u)}function ki(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 xt(e){let r;if(e.type==="html")r=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let n;e.type==="esComment"?n=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(n=e.children[0]),n&&(r=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return r?r[1]||"next":!1}function rf({node:e,parent:r}){let n=mt.has(e.type),t=e.type==="html"&&_r.has(r.type);return!n&&!t}function wi(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===`
`)}function tf({node:e,previous:r,parent:n},t){if(wi(r,t))return!0;let u=r.type===e.type&&Kl.has(e.type),o=n.type==="listItem"&&!wi(n,t),s=xt(r)==="next",l=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,c=e.type==="html"&&n.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(u||o||s||l||c)}function Ai({node:e,previous:r}){let n=r.type==="list",t=e.type==="code"&&e.isIndented;return n&&t}function nf(e){let r=e.findAncestor(n=>n.type==="linkReference"||n.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}function Ct(e,r=[]){let n=[" ",...Array.isArray(r)?r:[r]];return new RegExp(n.map(t=>`\\${t}`).join("|")).test(e)?`<${e}>`:e}function Ir(e,r,n=!0){if(!e)return"";if(n)return" "+Ir(e,r,!1);if(e=R(!1,e,/\\(?=["')])/g,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let t=Un(e,r.singleQuote);return e=R(!1,e,"\\","\\\\"),e=R(!1,e,t,`\\${t}`),`${t}${e}${t}`}function uf(e,r,n){return e<r?r:e>n?n:e}function af(e){return e.index>0&&xt(e.previous)==="next"}function bt(e){return`[${(0,qi.default)(e.label)}]`}function Bi(e){return`[^${e.label}]`}var of={preprocess:Di,print:Jl,embed:si,massageAstNode:mi,hasPrettierIgnore:af,insertPragma:fi,getVisitorKeys:Fi},Ti=of;var Pn={};On(Pn,{markdown:()=>xg,mdx:()=>yg,remark:()=>xg});var Gc=Ie(ks(),1),Hc=Ie(vc(),1),Wc=Ie(Pc(),1),Kc=Ie(Lc(),1);var hg=/^import\s/,mg=/^export\s/,Oc="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Ic=/<!---->|<!---?[^>-](?:-?[^-])*-->/,gg=/^{\s*\/\*(.*)\*\/\s*}/,vg=`

`,Nc=e=>hg.test(e),Sn=e=>mg.test(e),Rc=(e,r)=>{let n=r.indexOf(vg),t=r.slice(0,n);if(Sn(t)||Nc(t))return e(t)({type:Sn(t)?"export":"import",value:t})},zc=(e,r)=>{let n=gg.exec(r);if(n)return e(n[0])({type:"esComment",value:n[1].trim()})};Rc.locator=e=>Sn(e)||Nc(e)?-1:1;zc.locator=(e,r)=>e.indexOf("{",r);var Mc=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:n,inlineTokenizers:t,inlineMethods:a}=e.prototype;r.esSyntax=Rc,t.esComment=zc,n.splice(n.indexOf("paragraph"),0,"esSyntax"),a.splice(a.indexOf("text"),0,"esComment")};function Fg(){return e=>be(e,(r,n,[t])=>r.type!=="html"||Ic.test(r.value)||_r.has(t.type)?r:{...r,type:"jsx"})}var Uc=Fg;var Eg=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(n,t){let a=or(t);if(a.frontMatter)return n(a.frontMatter.raw)(a.frontMatter)}r.onlyAtStart=!0},Yc=Eg;var Cg=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=n;function n(t,a){let i=a.match(/^({%.*?%}|{{.*?}})/s);if(i)return t(i[0])({type:"liquidNode",value:i[0]})}n.locator=function(t,a){return t.indexOf("{",a)}},Vc=Cg;var bg=function(){let e="wikiLink",r=/^\[\[(?<linkContents>.+?)]]/s,n=this.Parser.prototype,t=n.inlineMethods;t.splice(t.indexOf("link"),0,e),n.inlineTokenizers.wikiLink=a;function a(i,u){let o=r.exec(u);if(o){let s=o.groups.linkContents.trim();return i(o[0])({type:e,value:s})}}a.locator=function(i,u){return i.indexOf("[",u)}},jc=bg;function Jc({isMDX:e}){return r=>{let n=(0,Hc.default)().use(Gc.default,{commonmark:!0,...e&&{blocks:[Oc]}}).use(Kc.default).use(Yc).use(Wc.default).use(e?Mc:$c).use(Vc).use(e?Uc:$c).use(jc);return n.run(n.parse(r))}}function $c(){}var Xc={astFormat:"mdast",hasPragma:li,locStart:Te,locEnd:Se},xg={...Xc,parse:Jc({isMDX:!1})},yg={...Xc,parse:Jc({isMDX:!0})};var Qc=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];var _n={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var kg={proseWrap:_n.proseWrap,singleQuote:_n.singleQuote},Zc=kg;var wg={mdast:Ti};var YE=Ln;export{YE as default,Qc as languages,Zc as options,Pn as parsers,wg as printers};
