webhook-action/node_modules/prettier/esm/parser-markdown.mjs

77 lines
165 KiB
JavaScript
Raw Normal View History

2022-11-10 10:43:16 +00:00
"use strict";var H=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ue=H((N2,Au)=>{var ur=function(e){return e&&e.Math==Math&&e};Au.exports=ur(typeof globalThis=="object"&&globalThis)||ur(typeof window=="object"&&window)||ur(typeof self=="object"&&self)||ur(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var Ae=H((L2,xu)=>{xu.exports=function(e){try{return!!e()}catch{return!0}}});var _e=H((R2,bu)=>{var ra=Ae();bu.exports=!ra(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var tr=H((j2,yu)=>{var ua=Ae();yu.exports=!ua(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var Oe=H((P2,wu)=>{var ta=tr(),nr=Function.prototype.call;wu.exports=ta?nr.bind(nr):function(){return nr.apply(nr,arguments)}});var _u=H(qu=>{"use strict";var Bu={}.propertyIsEnumerable,ku=Object.getOwnPropertyDescriptor,na=ku&&!Bu.call({1:2},1);qu.f=na?function(r){var u=ku(this,r);return!!u&&u.enumerable}:Bu});var ir=H((z2,Ou)=>{Ou.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var ve=H((G2,Tu)=>{var Iu=tr(),Su=Function.prototype,ia=Su.bind,wr=Su.call,aa=Iu&&ia.bind(wr,wr);Tu.exports=Iu?function(e){return e&&aa(e)}:function(e){return e&&function(){return wr.apply(e,arguments)}}});var ar=H((U2,Lu)=>{var Nu=ve(),oa=Nu({}.toString),sa=Nu("".slice);Lu.exports=function(e){return sa(oa(e),8,-1)}});var ju=H((V2,Ru)=>{var ca=ue(),la=ve(),Da=Ae(),fa=ar(),Br=ca.Object,pa=la("".split);Ru.exports=Da(function(){return!Br("z").propertyIsEnumerable(0)})?function(e){return fa(e)=="String"?pa(e,""):Br(e)}:Br});var kr=H(($2,Pu)=>{var da=ue(),ha=da.TypeError;Pu.exports=function(e){if(e==null)throw ha("Can't call method on "+e);return e}});var or=H((H2,Mu)=>{var va=ju(),ma=kr();Mu.exports=function(e){return va(ma(e))}});var me=H((X2,zu)=>{zu.exports=function(e){return typeof e=="function"}});var Ie=H((W2,Gu)=>{var Ea=me();Gu.exports=function(e){return typeof e=="object"?e!==null:Ea(e)}});var He=H((K2,Uu)=>{var qr=ue(),Ca=me(),ga=function(e){return Ca(e)?e:void 0};Uu.exports=function(e,r){return arguments.length<2?ga(qr[e]):qr[e]&&qr[e][r]}});var _r=H((Y2,Vu)=>{var Fa=ve();Vu.exports=Fa({}.isPrototypeOf)});var Hu=H((J2,$u)=>{var Aa=He();$u.exports=Aa("navigator","userAgent")||""});var Qu=H((Z2,Zu)=>{var Ju=ue(),Or=Hu(),Xu=Ju.process,Wu=Ju.Deno,Ku=Xu&&Xu.versions||Wu&&Wu.version,Yu=Ku&&Ku.v8,Ee,sr;Yu&&(Ee=Yu.split("."),sr=Ee[0]>0&&Ee[0]<4?1:+(Ee[0]+Ee[1]));!sr&&Or&&(Ee=Or.match(/Edge\/(\d+)/),(!Ee||Ee[1]>=74)&&(Ee=Or.match(/Chrome\/(\d+)/),Ee&&(sr=+Ee[1])));Zu.exports=sr});var Ir=H((Q2,rt)=>{var et=Qu(),xa=Ae();rt.exports=!!Object.getOwnPropertySymbols&&!xa(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&et&&et<41})});var Sr=H((ef,ut)=>{var ba=Ir();ut.exports=ba&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Tr=H((rf,tt)=>{var ya=ue(),wa=He(),Ba=me(),ka=_r(),qa=Sr(),_a=ya.Object;tt.exports=qa?function(e){return typeof e=="symbol"}:function(e){var r=wa("Symbol");return Ba(r)&&ka(r.prototype,_a(e))}});var cr=H((uf,nt)=>{var Oa=ue(),Ia=Oa.String;nt.exports=function(e){try{return Ia(e)}catch{return"Object"}}});var Xe=H((tf,it)=>{var Sa=ue(),Ta=me(),Na=cr(),La=Sa.TypeError;it.exports=function(e){if(Ta(e))return e;throw La(Na(e)+" is not a function")}});var lr=H((nf,at)=>{var Ra=Xe();at.exports=function(e,r){var u=e[r];return u==null?void 0:Ra(u)}});var st=H((af,ot)=>{var ja=ue(),Nr=Oe(),Lr=me(),Rr=Ie(),Pa=ja.TypeError;ot.exports=function(e,r){var u,t;if(r==="string"&&Lr(u=e.toString)&&!Rr(t=Nr(u,e))||Lr(u=e.valueOf)&&!Rr(t=Nr(u,e))||r!=="string"&&Lr(u=e.toString)&&!Rr(t=Nr(u,e)))return t;throw Pa("Can't convert object to primitive value")}});var lt=H((of,ct)=>{ct.exports=!1});var Dr=H((sf,ft)=>{var Dt=ue(),Ma=Object.defineProperty;ft.exports=function(e,r){try{Ma(Dt,e,{value:r,configurable:!0,writable:!0})}catch{Dt[e]=r}return r}});var fr=H((cf,dt)=>{var za=ue(),Ga=Dr(),pt="__core-js_shared__",Ua=za[pt]||Ga(pt,{});dt.exports=Ua});var jr=H((lf,vt)=>{var Va=
`,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;)F++,j=$,$=x.indexOf(`
`,$+1);j===-1?E+=x.length:E=x.length-j,F in l&&(j!==-1?E+=l[F]:E<=l[F]&&(E=l[F]+1))}function w(){var x=[],j=F+1;return function(){for(var $=F+1;j<$;)x.push((l[j]||0)+1),j++;return x}}function q(){var x={line:F,column:E};return x.offset=a.toOffset(x),x}function L(x){this.start=x,this.end=q()}function B(x){i.slice(0,x.length)!==x&&a.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),q())}function O(){var x=q();return j;function j($,U){var X=$.position,R=X?X.start:x,J=[],z=X&&X.end.line,M=x.line;if($.position=new L(R),X&&U&&X.indent){if(J=X.indent,z<M){for(;++z<M;)J.push((l[z]||0)+1);J.push(x.column)}U=J.concat(U)}return $.position.indent=U||[],$}}function T(x,j){var $=j?j.children:p,U=$[$.length-1],X;return U&&x.type===U.type&&(x.type==="text"||x.type==="blockquote")&&t(U)&&t(x)&&(X=x.type==="text"?o:n,x=X.call(a,U,x)),x!==U&&$.push(x),a.atStart&&p.length!==0&&a.exitStart(),x}function P(x){var j=w(),$=O(),U=q();return B(x),X.reset=R,R.test=J,X.test=J,i=i.slice(x.length),C(x),j=j(),X;function X(z,M){return $(T($(z),M),j)}function R(){var z=X.apply(null,arguments);return F=U.line,E=U.column,i=x+i,z}function J(){var z=$({});return F=U.line,E=U.column,i=x+i,z.position}}}}function t(s){var c,i;return s.type!=="text"||!s.position?!0:(c=s.position.start,i=s.position.end,c.line!==i.line||i.column-c.column===s.value.length)}function o(s,c){return s.value+=c.value,s}function n(s,c){return this.options.commonmark||this.options.gfm?c:(s.children=s.children.concat(c.children),s)}}}),zl=I({"node_modules/markdown-escapes/index.js"(e,r){"use strict";S(),r.exports=n;var u=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],t=u.concat(["~","|"]),o=t.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);n.default=u,n.gfm=t,n.commonmark=o;function n(s){var c=s||{};return c.commonmark?o:c.gfm?t:u}}}),Gl=I({"node_modules/remark-parse/lib/block-elements.js"(e,r){"use strict";S(),r.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"]}}),Ti=I({"node_modules/remark-parse/lib/defaults.js"(e,r){"use strict";S(),r.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Gl()}}}),Ul=I({"node_modules/remark-parse/lib/set-options.js"(e,r){"use strict";S();var u=Me(),t=zl(),o=Ti();r.exports=n;function n(s){var c=this,i=c.options,D,a;if(s==null)s={};else if(typeof s=="object")s=u(s);else throw new Error("Invalid value `"+s+"` for setting `options`");for(D in o){if(a=s[D],a==null&&(a=i[D]),D!=="blocks"&&typeof a!="boolean"||D==="blocks"&&typeof a!="object")throw new Error("Invalid value `"+a+"` for setting `options."+D+"`");s[D]=a}return c.options=s,c.escape=t(s),c}}}),Vl=I({"node_modules/unist-util-is/convert.js"(e,r){"use strict";S(),r.exports=u;function u(c){if(c==null)return s;if(typeof c=="string")return n(c);if(typeof c=="object")return"length"in c?o(c):t(c);if(typeof c=="function")return c;throw new Error("Expected function, string, or object as test")}function t(c){return i;function i(D){var a;for(a in c)if(D[a]!==c[a])return!1;return!0}}function o(c){for(var i=[],D=-1;++D<c.length;)i[D]=u(c[D]);return a;function a(){for(var l=-1;++l<i.length;)if(i[l].apply(this,arguments))return!0;return!1}}function n(c){return i;function i(D){return Boolean(D&&D.type===c)}}function s(){return!0}}}),$l=I({"node_modules/unist-util-visit-parents/color.browser.js"(e,r){S(),r.exports=u;function u(t){return t}}}),Hl=I({"node_modules/unist-util-visit-parents/index.js"(e,r){"use strict";S(),r.exports=c;var u=Vl(),t=$l(),o=!0,n="skip",s=!1;c.CONTINUE=o,c.SKIP=n,c.EXIT=s;function c(D,a,l,p){var d,g;typeof a=="function"&&typeof l!="function"&&(p=l,l=a,a=null),g=u(a),d=p?-1:1,F(D,null,[])();function F(E,A,f){var b=typeof E=="object"&&E!==null?E:{},v;return typeof b.type=="string"&&(v=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0,h.displayName="node ("+t(b.type+(v?"<"+v+">":""))+")"),h;function h(){var m=f.concat(E),C=[],w,q;if((!a||g(E,A,f[f.length-1]||null))&&(C=i(l(E,f)),C[0]===s))return C;if(E.children&&C[0]!==n)for(q=(p?E.children.length:-1)+d;q>-1&&q<E.children.length;){if(w=F(E.children[q],q,m)(),w[0]===s)return w;q=typeof w[1]=="number"?w[1]:q+d}return C}}}function i(D){return D!==null&&typeof D=="object"&&"length"in D?D:typeof D=="number"?[o,D]:[D]}}}),Xl=I({"node_modules/unist-util-visit/index.js"(e,r){"use strict";S(),r.exports=s;var u=Hl(),t=u.CONTINUE,o=u.SKIP,n=u.EXIT;s.CONTINUE=t,s.SKIP=o,s.EXIT=n;function s(c,i,D,a){typeof i=="function"&&typeof D!="function"&&(a=D,D=i,i=null),u(c,i,l,a);function l(p,d){var g=d[d.length-1],F=g?g.children.indexOf(p):null;return D(p,F,g)}}}}),Wl=I({"node_modules/unist-util-remove-position/index.js"(e,r){"use strict";S();var u=Xl();r.exports=t;function t(s,c){return u(s,c?o:n),s}function o(s){delete s.position}function n(s){s.position=void 0}}}),Kl=I({"node_modules/remark-parse/lib/parse.js"(e,r){"use strict";S();var u=Me(),t=Wl();r.exports=s;var o=`
`,n=/\r\n|\r/g;function s(){var c=this,i=String(c.file),D={line:1,column:1,offset:0},a=u(D),l;return i=i.replace(n,o),i.charCodeAt(0)===65279&&(i=i.slice(1),a.column++,a.offset++),l={type:"root",children:c.tokenizeBlock(i,a),position:{start:D,end:c.eof||u(D)}},c.options.position||t(l,!0),l}}}),Yl=I({"node_modules/remark-parse/lib/tokenize/blank-line.js"(e,r){"use strict";S();var u=/^[ \t]*(\n|$)/;r.exports=t;function t(o,n,s){for(var c,i="",D=0,a=n.length;D<a&&(c=u.exec(n.slice(D)),c!=null);)D+=c[0].length,i+=c[0];if(i!==""){if(s)return!0;o(i)}}}}),du=I({"node_modules/repeat-string/index.js"(e,r){"use strict";S();var u="",t;r.exports=o;function o(n,s){if(typeof n!="string")throw new TypeError("expected a string");if(s===1)return n;if(s===2)return n+n;var c=n.length*s;if(t!==n||typeof t>"u")t=n,u="";else if(u.length>=c)return u.substr(0,c);for(;c>u.length&&s>1;)s&1&&(u+=n),s>>=1,n+=n;return u+=n,u=u.substr(0,c),u}}}),Ni=I({"node_modules/trim-trailing-lines/index.js"(e,r){"use strict";S(),r.exports=u;function u(t){return String(t).replace(/\n+$/,"")}}}),Jl=I({"node_modules/remark-parse/lib/tokenize/code-indented.js"(e,r){"use strict";S();var u=du(),t=Ni();r.exports=D;var o=`
`,n=" ",s=" ",c=4,i=u(s,c);function D(a,l,p){for(var d=-1,g=l.length,F="",E="",A="",f="",b,v,h;++d<g;)if(b=l.charAt(d),h)if(h=!1,F+=A,E+=f,A="",f="",b===o)A=b,f=b;else for(F+=b,E+=b;++d<g;){if(b=l.charAt(d),!b||b===o){f=b,A=b;break}F+=b,E+=b}else if(b===s&&l.charAt(d+1)===b&&l.charAt(d+2)===b&&l.charAt(d+3)===b)A+=i,d+=3,h=!0;else if(b===n)A+=b,h=!0;else{for(v="";b===n||b===s;)v+=b,b=l.charAt(++d);if(b!==o)break;A+=v+b,f+=b}if(E)return p?!0:a(F)({type:"code",lang:null,meta:null,value:t(E)})}}}),Zl=I({"node_modules/remark-parse/lib/tokenize/code-fenced.js"(e,r){"use strict";S(),r.exports=D;var u=`
`,t=" ",o=" ",n="~",s="`",c=3,i=4;function D(a,l,p){var d=this,g=d.options.gfm,F=l.length+1,E=0,A="",f,b,v,h,m,C,w,q,L,B,O,T,P;if(!!g){for(;E<F&&(v=l.charAt(E),!(v!==o&&v!==t));)A+=v,E++;if(T=E,v=l.charAt(E),!(v!==n&&v!==s)){for(E++,b=v,f=1,A+=v;E<F&&(v=l.charAt(E),v===b);)A+=v,f++,E++;if(!(f<c)){for(;E<F&&(v=l.charAt(E),!(v!==o&&v!==t));)A+=v,E++;for(h="",w="";E<F&&(v=l.charAt(E),!(v===u||b===s&&v===b));)v===o||v===t?w+=v:(h+=w+v,w=""),E++;if(v=l.charAt(E),!(v&&v!==u)){if(p)return!0;P=a.now(),P.column+=A.length,P.offset+=A.length,A+=h,h=d.decode.raw(d.unescape(h),P),w&&(A+=w),w="",B="",O="",q="",L="";for(var x=!0;E<F;){if(v=l.charAt(E),q+=B,L+=O,B="",O="",v!==u){q+=v,O+=v,E++;continue}for(x?(A+=v,x=!1):(B+=v,O+=v),w="",E++;E<F&&(v=l.charAt(E),v===o);)w+=v,E++;if(B+=w,O+=w.slice(T),!(w.length>=i)){for(w="";E<F&&(v=l.charAt(E),v===b);)w+=v,E++;if(B+=w,O+=w,!(w.length<f)){for(w="";E<F&&(v=l.charAt(E),!(v!==o&&v!==t));)B+=v,O+=v,E++;if(!v||v===u)break}}}for(A+=q+B,E=-1,F=h.length;++E<F;)if(v=h.charAt(E),v===o||v===t)m||(m=h.slice(0,E));else if(m){C=h.slice(E);break}return a(A)({type:"code",lang:m||h||null,meta:C||null,value:L})}}}}}}}),Ge=I({"node_modules/trim/index.js"(e,r){S(),e=r.exports=u;function u(t){return t.replace(/^\s*|\s*$/g,"")}e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}}}),hu=I({"node_modules/remark-parse/lib/util/interrupt.js"(e,r){"use strict";S(),r.exports=u;function u(t,o,n,s){for(var c=t.length,i=-1,D,a;++i<c;)if(D=t[i],a=D[1]||{},!(a.pedantic!==void 0&&a.pedantic!==n.options.pedantic)&&!(a.commonmark!==void 0&&a.commonmark!==n.options.commonmark)&&o[D[0]].apply(n,s))return!0;return!1}}}),Ql=I({"node_modules/remark-parse/lib/tokenize/blockquote.js"(e,r){"use strict";S();var u=Ge(),t=hu();r.exports=i;var o=`
`,n=" ",s=" ",c=">";function i(D,a,l){for(var p=this,d=p.offset,g=p.blockTokenizers,F=p.interruptBlockquote,E=D.now(),A=E.line,f=a.length,b=[],v=[],h=[],m,C=0,w,q,L,B,O,T,P,x;C<f&&(w=a.charAt(C),!(w!==s&&w!==n));)C++;if(a.charAt(C)===c){if(l)return!0;for(C=0;C<f;){for(L=a.indexOf(o,C),T=C,P=!1,L===-1&&(L=f);C<f&&(w=a.charAt(C),!(w!==s&&w!==n));)C++;if(a.charAt(C)===c?(C++,P=!0,a.charAt(C)===s&&C++):C=T,B=a.slice(C,L),!P&&!u(B)){C=T;break}if(!P&&(q=a.slice(C),t(F,g,p,[D,q,!0])))break;O=T===C?B:a.slice(T,L),h.push(C-T),b.push(O),v.push(B),C=L+1}for(C=-1,f=h.length,m=D(b.join(o));++C<f;)d[A]=(d[A]||0)+h[C],A++;return x=p.enterBlock(),v=p.tokenizeBlock(v.join(o),E),x(),m({type:"blockquote",children:v})}}}}),eD=I({"node_modules/remark-parse/lib/tokenize/heading-atx.js"(e,r){"use strict";S(),r.exports=c;var u=`
`,t=" ",o=" ",n="#",s=6;function c(i,D,a){for(var l=this,p=l.options.pedantic,d=D.length+1,g=-1,F=i.now(),E="",A="",f,b,v;++g<d;){if(f=D.charAt(g),f!==o&&f!==t){g--;break}E+=f}for(v=0;++g<=d;){if(f=D.charAt(g),f!==n){g--;break}E+=f,v++}if(!(v>s)&&!(!v||!p&&D.charAt(g+1)===n)){for(d=D.length+1,b="";++g<d;){if(f=D.charAt(g),f!==o&&f!==t){g--;break}b+=f}if(!(!p&&b.length===0&&f&&f!==u)){if(a)return!0;for(E+=b,b="",A="";++g<d&&(f=D.charAt(g),!(!f||f===u));){if(f!==o&&f!==t&&f!==n){A+=b+f,b="";continue}for(;f===o||f===t;)b+=f,f=D.charAt(++g);if(!p&&A&&!b&&f===n){A+=f;continue}for(;f===n;)b+=f,f=D.charAt(++g);for(;f===o||f===t;)b+=f,f=D.charAt(++g);g--}return F.column+=E.length,F.offset+=E.length,E+=A+b,i(E)({type:"heading",depth:v,children:l.tokenizeInline(A,F)})}}}}}),rD=I({"node_modules/remark-parse/lib/tokenize/thematic-break.js"(e,r){"use strict";S(),r.exports=D;var u=" ",t=`
`,o=" ",n="*",s="-",c="_",i=3;function D(a,l,p){for(var d=-1,g=l.length+1,F="",E,A,f,b;++d<g&&(E=l.charAt(d),!(E!==u&&E!==o));)F+=E;if(!(E!==n&&E!==s&&E!==c))for(A=E,F+=E,f=1,b="";++d<g;)if(E=l.charAt(d),E===A)f++,F+=b+A,b="";else if(E===o)b+=E;else return f>=i&&(!E||E===t)?(F+=b,p?!0:a(F)({type:"thematicBreak"})):void 0}}}),Li=I({"node_modules/remark-parse/lib/util/get-indentation.js"(e,r){"use strict";S(),r.exports=s;var u=" ",t=" ",o=1,n=4;function s(c){for(var i=0,D=0,a=c.charAt(i),l={},p,d=0;a===u||a===t;){for(p=a===u?n:o,D+=p,p>1&&(D=Math.floor(D/p)*p);d<D;)l[++d]=i;a=c.charAt(++i)}return{indent:D,stops:l}}}}),uD=I({"node_modules/remark-parse/lib/util/remove-indentation.js"(e,r){"use strict";S();var u=Ge(),t=du(),o=Li();r.exports=i;var n=`
`,s=" ",c="!";function i(D,a){var l=D.split(n),p=l.length+1,d=1/0,g=[],F,E,A;for(l.unshift(t(s,a)+c);p--;)if(E=o(l[p]),g[p]=E.stops,u(l[p]).length!==0)if(E.indent)E.indent>0&&E.indent<d&&(d=E.indent);else{d=1/0;break}if(d!==1/0)for(p=l.length;p--;){for(A=g[p],F=d;F&&!(F in A);)F--;l[p]=l[p].slice(A[F]+1)}return l.shift(),l.join(n)}}}),tD=I({"node_modules/remark-parse/lib/tokenize/list.js"(e,r){"use strict";S();var u=Ge(),t=du(),o=ze(),n=Li(),s=uD(),c=hu();r.exports=w;var i="*",D="_",a="+",l="-",p=".",d=" ",g=`
`,F=" ",E=")",A="x",f=4,b=/\n\n(?!\s*$)/,v=/^\[([ X\tx])][ \t]/,h=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,m=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,C=/^( {1,4}|\t)?/gm;function w(O,T,P){for(var x=this,j=x.options.commonmark,$=x.options.pedantic,U=x.blockTokenizers,X=x.interruptList,R=0,J=T.length,z=null,M,G,k,y,_,N,V,W,K,ee,Y,te,De,le,ne,Z,Q,fe,be,pe=!1,he,oe,de,ie;R<J&&(y=T.charAt(R),!(y!==F&&y!==d));)R++;if(y=T.charAt(R),y===i||y===a||y===l)_=y,k=!1;else{for(k=!0,G="";R<J&&(y=T.charAt(R),!!o(y));)G+=y,R++;if(y=T.charAt(R),!G||!(y===p||j&&y===E)||P&&G!=="1")return;z=parseInt(G,10),_=y}if(y=T.charAt(++R),!(y!==d&&y!==F&&($||y!==g&&y!==""))){if(P)return!0;for(R=0,le=[],ne=[],Z=[];R<J;){for(N=T.indexOf(g,R),V=R,W=!1,ie=!1,N===-1&&(N=J),M=0;R<J;){if(y=T.charAt(R),y===F)M+=f-M%f;else if(y===d)M++;else break;R++}if(Q&&M>=Q.indent&&(ie=!0),y=T.charAt(R),K=null,!ie){if(y===i||y===a||y===l)K=y,R++,M++;else{for(G="";R<J&&(y=T.charAt(R),!!o(y));)G+=y,R++;y=T.charAt(R),R++,G&&(y===p||j&&y===E)&&(K=y,M+=G.length+1)}if(K)if(y=T.charAt(R),y===F)M+=f-M%f,R++;else if(y===d){for(de=R+f;R<de&&T.charAt(R)===d;)R++,M++;R===de&&T.charAt(R)===d&&(R-=f-1,M-=f-1)}else y!==g&&y!==""&&(K=null)}if(K){if(!$&&_!==K)break;W=!0}else!j&&!ie&&T.charAt(V)===d?ie=!0:j&&Q&&(ie=M>=Q.indent||M>f),W=!1,R=V;if(Y=T.slice(V,N),ee=V===R?Y:T.slice(R,N),(K===i||K===D||K===l)&&U.thematicBreak.call(x,O,Y,!0))break;if(te=De,De=!W&&!u(ee).length,ie&&Q)Q.value=Q.value.concat(Z,Y),ne=ne.concat(Z,Y),Z=[];else if(W)Z.length!==0&&(pe=!0,Q.value.push(""),Q.trail=Z.concat()),Q={value:[Y],indent:M,trail:[]},le.push(Q),ne=ne.concat(Z,Y),Z=[];else if(De){if(te&&!j)break;Z.push(Y)}else{if(te||c(X,U,x,[O,Y,!0]))break;Q.value=Q.value.concat(Z,Y),ne=ne.concat(Z,Y),Z=[]}R=N+1}for(he=O(ne.join(g)).reset({type:"list",ordered:k,start:z,spread:pe,children:[]}),fe=x.enterList(),be=x.enterBlock(),R=-1,J=le.length;++R<J;)Q=le[R].value.join(g),oe=O.now(),O(Q)(q(x,Q,oe),he),Q=le[R].trail.join(g),R!==J-1&&(Q+=g),O(Q);return fe(),be(),he}}function q(O,T,P){var x=O.offset,j=O.options.pedantic?L:B,$=null,U,X;return T=j.apply(null,arguments),O.options.gfm&&(U=T.match(v),U&&(X=U[0].length,$=U[1].toLowerCase()===A,x[P.line]+=X,T=T.slice(X))),{type:"listItem",spread:b.test(T),checked:$,children:O.tokenizeBlock(T,P)}}function L(O,T,P){var x=O.offset,j=P.line;return T=T.replace(m,$),j=P.line,T.replace(C,$);function $(U){return x[j]=(x[j]||0)+U.length,j++,""}}function B(O,T,P){var x=O.offset,j=P.line,$,U,X,R,J,z,M;for(T=T.replace(h,G),R=T.split(g),J=s(T,n($).indent).split(g),J[0]=X,x[j]=(x[j]||0)+U.length,j++,z=0,M=R.length;++z<M;)x[j]=(x[j]||0)+R[z].length-J[z].length,j++;return J.join(g);function G(k,y,_,N,V){return U=y+_+N,X=V,Number(_)<10&&U.length%2===1&&(_=d+_),$=y+t(d,_.length)+N,$+X}}}}),nD=I({"node_modules/remark-parse/lib/tokenize/heading-setext.js"(e,r){"use strict";S(),r.exports=a;var u=`
`,t=" ",o=" ",n="=",s="-",c=3,i=1,D=2;function a(l,p,d){for(var g=this,F=l.now(),E=p.length,A=-1,f="",b,v,h,m,C;++A<E;){if(h=p.charAt(A),h!==o||A>=c){A--;break}f+=h}for(b="",v="";++A<E;){if(h=p.charAt(A),h===u){A--;break}h===o||h===t?v+=h:(b+=v+h,v="")}if(F.column+=f.length,F.offset+=f.length,f+=b+v,h=p.charAt(++A),m=p.charAt(++A),!(h!==u||m!==n&&m!==s)){for(f+=h,v=m,C=m===n?i:D;++A<E;){if(h=p.charAt(A),h!==m){if(h!==u)return;A--;break}v+=h}return d?!0:l(f+v)({type:"heading",depth:C,children:g.tokenizeInline(b,F)})}}}}),Ri=I({"node_modules/remark-parse/lib/util/html.js"(e){"use strict";S();var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",u="[^\"'=<>`\\u0000-\\u0020]+",t="'[^']*'",o='"[^"]*"',n="(?:"+u+"|"+t+"|"+o+")",s="(?:\\s+"+r+"(?:\\s*=\\s*"+n+")?)",c="<[A-Za-z][A-Za-z0-9\\-]*"+s+"*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",D="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",a="<[?].*?[?]>",l="<![A-Za-z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";e.openCloseTag=new RegExp("^(?:"+c+"|"+i+")"),e.tag=new RegExp("^(?:"+c+"|"+i+"|"+D+"|"+a+"|"+l+"|"+p+")")}}),iD=I({"node_modules/remark-parse/lib/tokenize/html-block.js"(e,r){"use strict";S();var u=Ri().openCloseTag;r.exports=b;var t=" ",o=" ",n=`
`,s="<",c=/^<(script|pre|style)(?=(\s|>|$))/i,i=/<\/(script|pre|style)>/i,D=/^<!--/,a=/-->/,l=/^<\?/,p=/\?>/,d=/^<![A-Za-z]/,g=/>/,F=/^<!\[CDATA\[/,E=/]]>/,A=/^$/,f=new RegExp(u.source+"\\s*$");function b(v,h,m){for(var C=this,w=C.options.blocks.join("|"),q=new RegExp("^</?("+w+")(?=(\\s|/?>|$))","i"),L=h.length,B=0,O,T,P,x,j,$,U,X=[[c,i,!0],[D,a,!0],[l,p,!0],[d,g,!0],[F,E,!0],[q,A,!0],[f,A,!1]];B<L&&(x=h.charAt(B),!(x!==t&&x!==o));)B++;if(h.charAt(B)===s){for(O=h.indexOf(n,B+1),O=O===-1?L:O,T=h.slice(B,O),P=-1,j=X.length;++P<j;)if(X[P][0].test(T)){$=X[P];break}if(!!$){if(m)return $[2];if(B=O,!$[1].test(T))for(;B<L;){if(O=h.indexOf(n,B+1),O=O===-1?L:O,T=h.slice(B+1,O),$[1].test(T)){T&&(B=O);break}B=O}return U=h.slice(0,B),v(U)({type:"html",value:U})}}}}}),xe=I({"node_modules/is-whitespace-character/index.js"(e,r){"use strict";S(),r.exports=o;var u=String.fromCharCode,t=/\s/;function o(n){return t.test(typeof n=="number"?u(n):n.charAt(0))}}}),aD=I({"node_modules/collapse-white-space/index.js"(e,r){"use strict";S(),r.exports=u;function u(t){return String(t).replace(/\s+/g," ")}}}),ji=I({"node_modules/remark-parse/lib/util/normalize.js"(e,r){"use strict";S();var u=aD();r.exports=t;function t(o){return u(o).toLowerCase()}}}),oD=I({"node_modules/remark-parse/lib/tokenize/definition.js"(e,r){"use strict";S();var u=xe(),t=ji();r.exports=A;var o='"',n="'",s="\\",c=`
`,i=" ",D=" ",a="[",l="]",p="(",d=")",g=":",F="<",E=">";function A(v,h,m){for(var C=this,w=C.options.commonmark,q=0,L=h.length,B="",O,T,P,x,j,$,U,X;q<L&&(x=h.charAt(q),!(x!==D&&x!==i));)B+=x,q++;if(x=h.charAt(q),x===a){for(q++,B+=x,P="";q<L&&(x=h.charAt(q),x!==l);)x===s&&(P+=x,q++,x=h.charAt(q)),P+=x,q++;if(!(!P||h.charAt(q)!==l||h.charAt(q+1)!==g)){for($=P,B+=P+l+g,q=B.length,P="";q<L&&(x=h.charAt(q),!(x!==i&&x!==D&&x!==c));)B+=x,q++;if(x=h.charAt(q),P="",O=B,x===F){for(q++;q<L&&(x=h.charAt(q),!!f(x));)P+=x,q++;if(x=h.charAt(q),x===f.delimiter)B+=F+P+x,q++;else{if(w)return;q-=P.length+1,P=""}}if(!P){for(;q<L&&(x=h.charAt(q),!!b(x));)P+=x,q++;B+=P}if(!!P){for(U=P,P="";q<L&&(x=h.charAt(q),!(x!==i&&x!==D&&x!==c));)P+=x,q++;if(x=h.charAt(q),j=null,x===o?j=o:x===n?j=n:x===p&&(j=d),!j)P="",q=B.length;else if(P){for(B+=P+x,q=B.length,P="";q<L&&(x=h.charAt(q),x!==j);){if(x===c){if(q++,x=h.charAt(q),x===c||x===j)return;P+=c}P+=x,q++}if(x=h.charAt(q),x!==j)return;T=B,B+=P+x,q++,X=P,P=""}else return;for(;q<L&&(x=h.charAt(q),!(x!==i&&x!==D));)B+=x,q++;if(x=h.charAt(q),!x||x===c)return m?!0:(O=v(O).test().end,U=C.decode.raw(C.unescape(U),O,{nonTerminated:!1}),X&&(T=v(T).test().end,X=C.decode.raw(C.unescape(X),T)),v(B)({type:"definition",identifier:t($),label:$,title:X||null,url:U}))}}}}function f(v){return v!==E&&v!==a&&v!==l}f.delimiter=E;function b(v){return v!==a&&v!==l&&!u(v)}}}),sD=I({"node_modules/remark-parse/lib/tokenize/table.js"(e,r){"use strict";S();var u=xe();r.exports=F;var t=" ",o=`
`,n=" ",s="-",c=":",i="\\",D="|",a=1,l=2,p="left",d="center",g="right";function F(E,A,f){var b=this,v,h,m,C,w,q,L,B,O,T,P,x,j,$,U,X,R,J,z,M,G,k;if(!!b.options.gfm){for(v=0,X=0,q=A.length+1,L=[];v<q;){if(M=A.indexOf(o,v),G=A.indexOf(D,v+1),M===-1&&(M=A.length),G===-1||G>M){if(X<l)return;break}L.push(A.slice(v,M)),X++,v=M+1}for(C=L.join(o),h=L.splice(1,1)[0]||[],v=0,q=h.length,X--,m=!1,P=[];v<q;){if(O=h.charAt(v),O===D){if(T=null,m===!1){if(k===!1)return}else P.push(m),m=!1;k=!1}else if(O===s)T=!0,m=m||null;else if(O===c)m===p?m=d:T&&m===null?m=g:m=p;else if(!u(O))return;v++}if(m!==!1&&P.push(m),!(P.length<a)){if(f)return!0;for(U=-1,J=[],z=E(C).reset({type:"table",align:P,children:J});++U<X;){for(R=L[U],w={type:"tableRow",children:[]},U&&E(o),E(R).reset(w,z),q=R.length+1,v=0,B="",x="",j=!0;v<q;){if(O=R.charAt(v),O===t||O===n){x?B+=O:E(O),v++;continue}O===""||O===D?j?E(O):((x||O)&&!j&&(C=x,B.length>1&&(O?(C+=B.slice(0,-1),B=B.charAt(B.length-1)):(C+=B,B="")),$=E.now(),E(C)({type:"tableCell",children:b.tokenizeInline(x,$)},w)),E(B+O),B="",x=""):(B&&(x+=B,B=""),x+=O,O===i&&v!==q-2&&(x+=R.charAt(v+1),v++)),j=!1,v++}U||E(o+h)}return z}}}}}),cD=I({"node_modules/remark-parse/lib/tokenize/paragraph.js"(e,r){"use strict";S();var u=Ge(),t=Ni(),o=hu();r.exports=D;var n=" ",s=`
`,c=" ",i=4;function D(a,l,p){for(var d=this,g=d.options,F=g.commonmark,E=d.blockTokenizers,A=d.interruptParagraph,f=l.indexOf(s),b=l.length,v,h,m,C,w;f<b;){if(f===-1){f=b;break}if(l.charAt(f+1)===s)break;if(F){for(C=0,v=f+1;v<b;){if(m=l.charAt(v),m===n){C=i;break}else if(m===c)C++;else break;v++}if(C>=i&&m!==s){f=l.indexOf(s,f+1);continue}}if(h=l.slice(f+1),o(A,E,d,[a,h,!0]))break;if(v=f,f=l.indexOf(s,f+1),f!==-1&&u(l.slice(v,f))===""){f=v;break}}return h=l.slice(0,f),p?!0:(w=a.now(),h=t(h),a(h)({type:"paragraph",children:d.tokenizeInline(h,w)}))}}}),lD=I({"node_modules/remark-parse/lib/locate/escape.js"(e,r){"use strict";S(),r.exports=u;function u(t,o){return t.indexOf("\\",o)}}}),DD=I({"node_modules/remark-parse/lib/tokenize/escape.js"(e,r){"use strict";S();var u=lD();r.exports=n,n.locator=u;var t=`
`,o="\\";function n(s,c,i){var D=this,a,l;if(c.charAt(0)===o&&(a=c.charAt(1),D.escape.indexOf(a)!==-1))return i?!0:(a===t?l={type:"break"}:l={type:"text",value:a},s(o+a)(l))}}}),Pi=I({"node_modules/remark-parse/lib/locate/tag.js"(e,r){"use strict";S(),r.exports=u;function u(t,o){return t.indexOf("<",o)}}}),fD=I({"node_modules/remark-parse/lib/tokenize/auto-link.js"(e,r){"use strict";S();var u=xe(),t=xr(),o=Pi();r.exports=l,l.locator=o,l.notInLink=!0;var n="<",s=">",c="@",i="/",D="mailto:",a=D.length;function l(p,d,g){var F=this,E="",A=d.length,f=0,b="",v=!1,h="",m,C,w,q,L;if(d.charAt(0)===n){for(f++,E=n;f<A&&(m=d.charAt(f),!(u(m)||m===s||m===c||m===":"&&d.charAt(f+1)===i));)b+=m,f++;if(!!b){if(h+=b,b="",m=d.charAt(f),h+=m,f++,m===c)v=!0;else{if(m!==":"||d.charAt(f+1)!==i)return;h+=i,f++}for(;f<A&&(m=d.charAt(f),!(u(m)||m===s));)b+=m,f++;if(m=d.charAt(f),!(!b||m!==s))return g?!0:(h+=b,w=h,E+=h+m,C=p.now(),C.column++,C.offset++,v&&(h.slice(0,a).toLowerCase()===D?(w=w.slice(a),C.column+=a,C.offset+=a):h=D+h),q=F.inlineTokenizers,F.inlineTokenizers={text:q.text},L=F.enterLink(),w=F.tokenizeInline(w,C),F.inlineTokenizers=q,L(),p(E)({type:"link",title:null,url:t(h,{nonTerminated:!1}),children:w}))}}}}}),pD=I({"node_modules/ccount/index.js"(e,r){"use strict";S(),r.exports=u;function u(t,o){var n=String(t),s=0,c;if(typeof o!="string")throw new Error("Expected character");for(c=n.indexOf(o);c!==-1;)s++,c=n.indexOf(o,c+o.length);return s}}}),dD=I({"node_modules/remark-parse/lib/locate/url.js"(e,r){"use strict";S(),r.exports=t;var u=["www.","http://","https://"];function t(o,n){var s=-1,c,i,D;if(!this.options.gfm)return s;for(i=u.length,c=-1;++c<i;)D=o.indexOf(u[c],n),D!==-1&&(s===-1||D<s)&&(s=D);return s}}}),hD=I({"node_modules/remark-parse/lib/tokenize/url.js"(e,r){"use strict";S();var u=pD(),t=xr(),o=ze(),n=Qe(),s=xe(),c=dD();r.exports=C,C.locator=c,C.notInLink=!0;var i=33,D=38,a=41,l=42,p=44,d=45,g=46,F=58,E=59,A=63,f=60,b=95,v=126,h="(",m=")";function C(w,q,L){var B=this,O=B.options.gfm,T=B.inlineTokenizers,P=q.length,x=-1,j=!1,$,U,X,R,J,z,M,G,k,y,_,N,V,W;if(!!O){if(q.slice(0,4)==="www.")j=!0,R=4;else if(q.slice(0,7).toLowerCase()==="http://")R=7;else if(q.slice(0,8).toLowerCase()==="https://")R=8;else return;for(x=R-1,X=R,$=[];R<P;){if(M=q.charCodeAt(R),M===g){if(x===R-1)break;$.push(R),x=R,R++;continue}if(o(M)||n(M)||M===d||M===b){R++;continue}break}if(M===g&&($.pop(),R--),$[0]!==void 0&&(U=$.length<2?X:$[$.length-2]+1,q.slice(U,R).indexOf("_")===-1)){if(L)return!0;for(G=R,J=R;R<P&&(M=q.charCodeAt(R),!(s(M)||M===f));)R++,M===i||M===l||M===p||M===g||M===F||M===A||M===b||M===v||(G=R);if(R=G,q.charCodeAt(R-1)===a)for(z=q.slice(J,R),k=u(z,h),y=u(z,m);y>k;)R=J+z.lastIndexOf(m),z=q.slice(J,R),y--;if(q.charCodeAt(R-1)===E&&(R--,n(q.charCodeAt(R-1)))){for(G=R-2;n(q.charCodeAt(G));)G--;q.charCodeAt(G)===D&&(R=G)}return _=q.slice(0,R),V=t(_,{nonTerminated:!1}),j&&(V="http://"+V),W=B.enterLink(),B.inlineTokenizers={text:T.text},N=B.tokenizeInline(_,w.now()),B.inlineTokenizers=T,W(),w(_)({type:"link",title:null,url:V,children:N})}}}}}),vD=I({"node_modules/remark-parse/lib/locate/email.js"(e,r){"use strict";S();var u=ze(),t=Qe(),o=43,n=45,s=46,c=95;r.exports=i;function i(a,l){var p=this,d,g;if(!this.options.gfm||(d=a.indexOf("@",l),d===-1))return-1;if(g=d,g===l||!D(a.charCodeAt(g-1)))return i.call(p,a,d+1);for(;g>l&&D(a.charCodeAt(g-1));)g--;return g}function D(a){return u(a)||t(a)||a===o||a===n||a===s||a===c}}}),mD=I({"node_modules/remark-parse/lib/tokenize/email.js"(e,r){"use strict";S();var u=xr(),t=ze(),o=Qe(),n=vD();r.exports=l,l.locator=n,l.notInLink=!0;var s=43,c=45,i=46,D=64,a=95;function l(p,d,g){var F=this,E=F.options.gfm,A=F.inlineTokenizers,f=0,b=d.length,v=-1,h,m,C,w;if(!!E){for(h=d.charCodeAt(f);t(h)||o(h)||h===s||h===c||h===i||h===a;)h=d.charCodeAt(++f);if(f!==0&&h===D){for(f++;f<b;){if(h=d.charCodeAt(f),t(h)||o(h)||h===c||h===i||h===a){f++,v===-1&&h===i&&(v=f);continue}break}if(!(v===-1||v===f||h===c||h===a))return h===i&&f--,m=d.slice(0,f),g?!0:(w=F.enterLink(),F.inlineTokenizers={text:A.text},C=F.tokenizeInline(m,p.now
`,n="!",s='"',c="'",i="(",D=")",a="<",l=">",p="[",d="\\",g="]",F="`";function E(A,f,b){var v=this,h="",m=0,C=f.charAt(0),w=v.options.pedantic,q=v.options.commonmark,L=v.options.gfm,B,O,T,P,x,j,$,U,X,R,J,z,M,G,k,y,_,N;if(C===n&&(U=!0,h=C,C=f.charAt(++m)),C===p&&!(!U&&v.inLink)){for(h+=C,G="",m++,J=f.length,y=A.now(),M=0,y.column+=m,y.offset+=m;m<J;){if(C=f.charAt(m),j=C,C===F){for(O=1;f.charAt(m+1)===F;)j+=C,m++,O++;T?O>=T&&(T=0):T=O}else if(C===d)m++,j+=f.charAt(m);else if((!T||L)&&C===p)M++;else if((!T||L)&&C===g)if(M)M--;else{if(f.charAt(m+1)!==i)return;j+=i,B=!0,m++;break}G+=j,j="",m++}if(!!B){for(X=G,h+=G+j,m++;m<J&&(C=f.charAt(m),!!u(C));)h+=C,m++;if(C=f.charAt(m),G="",P=h,C===a){for(m++,P+=a;m<J&&(C=f.charAt(m),C!==l);){if(q&&C===o)return;G+=C,m++}if(f.charAt(m)!==l)return;h+=a+G+l,k=G,m++}else{for(C=null,j="";m<J&&(C=f.charAt(m),!(j&&(C===s||C===c||q&&C===i)));){if(u(C)){if(!w)break;j+=C}else{if(C===i)M++;else if(C===D){if(M===0)break;M--}G+=j,j="",C===d&&(G+=d,C=f.charAt(++m)),G+=C}m++}h+=G,k=G,m=h.length}for(G="";m<J&&(C=f.charAt(m),!!u(C));)G+=C,m++;if(C=f.charAt(m),h+=G,G&&(C===s||C===c||q&&C===i))if(m++,h+=C,G="",R=C===i?D:C,x=h,q){for(;m<J&&(C=f.charAt(m),C!==R);)C===d&&(G+=d,C=f.charAt(++m)),m++,G+=C;if(C=f.charAt(m),C!==R)return;for(z=G,h+=G+C,m++;m<J&&(C=f.charAt(m),!!u(C));)h+=C,m++}else for(j="";m<J;){if(C=f.charAt(m),C===R)$&&(G+=R+j,j=""),$=!0;else if(!$)G+=C;else if(C===D){h+=G+R+j,z=G;break}else u(C)?j+=C:(G+=R+j+C,j="",$=!1);m++}if(f.charAt(m)===D)return b?!0:(h+=D,k=v.decode.raw(v.unescape(k),A(P).test().end,{nonTerminated:!1}),z&&(x=A(x).test().end,z=v.decode.raw(v.unescape(z),x)),N={type:U?"image":"link",title:z||null,url:k},U?N.alt=v.decode.raw(v.unescape(X),y)||null:(_=v.enterLink(),N.children=v.tokenizeInline(X,y),_()),A(h)(N))}}}}}),gD=I({"node_modules/remark-parse/lib/tokenize/reference.js"(e,r){"use strict";S();var u=xe(),t=Mi(),o=ji();r.exports=g,g.locator=t;var n="link",s="image",c="shortcut",i="collapsed",D="full",a="!",l="[",p="\\",d="]";function g(F,E,A){var f=this,b=f.options.commonmark,v=E.charAt(0),h=0,m=E.length,C="",w="",q=n,L=c,B,O,T,P,x,j,$,U;if(v===a&&(q=s,w=v,v=E.charAt(++h)),v===l){for(h++,w+=v,j="",U=0;h<m;){if(v=E.charAt(h),v===l)$=!0,U++;else if(v===d){if(!U)break;U--}v===p&&(j+=p,v=E.charAt(++h)),j+=v,h++}if(C=j,B=j,v=E.charAt(h),v===d){if(h++,C+=v,j="",!b)for(;h<m&&(v=E.charAt(h),!!u(v));)j+=v,h++;if(v=E.charAt(h),v===l){for(O="",j+=v,h++;h<m&&(v=E.charAt(h),!(v===l||v===d));)v===p&&(O+=p,v=E.charAt(++h)),O+=v,h++;v=E.charAt(h),v===d?(L=O?D:i,j+=O+v,h++):O="",C+=j,j=""}else{if(!B)return;O=B}if(!(L!==D&&$))return C=w+C,q===n&&f.inLink?null:A?!0:(T=F.now(),T.column+=w.length,T.offset+=w.length,O=L===D?O:B,P={type:q+"Reference",identifier:o(O),label:O,referenceType:L},q===n?(x=f.enterLink(),P.children=f.tokenizeInline(B,T),x()):P.alt=f.decode.raw(f.unescape(B),T)||null,F(C)(P))}}}}}),FD=I({"node_modules/remark-parse/lib/locate/strong.js"(e,r){"use strict";S(),r.exports=u;function u(t,o){var n=t.indexOf("**",o),s=t.indexOf("__",o);return s===-1?n:n===-1||s<n?s:n}}}),AD=I({"node_modules/remark-parse/lib/tokenize/strong.js"(e,r){"use strict";S();var u=Ge(),t=xe(),o=FD();r.exports=i,i.locator=o;var n="\\",s="*",c="_";function i(D,a,l){var p=this,d=0,g=a.charAt(d),F,E,A,f,b,v,h;if(!(g!==s&&g!==c||a.charAt(++d)!==g)&&(E=p.options.pedantic,A=g,b=A+A,v=a.length,d++,f="",g="",!(E&&t(a.charAt(d)))))for(;d<v;){if(h=g,g=a.charAt(d),g===A&&a.charAt(d+1)===A&&(!E||!t(h))&&(g=a.charAt(d+2),g!==A))return u(f)?l?!0:(F=D.now(),F.column+=2,F.offset+=2,D(b+f+b)({type:"strong",children:p.tokenizeInline(f,F)})):void 0;!E&&g===n&&(f+=g,g=a.charAt(++d)),f+=g,d++}}}}),xD=I({"node_modules/is-word-character/index.js"(e,r){"use strict";S(),r.exports=o;var u=String.fromCharCode,t=/\w/;function o(n){return t.test(typeof n=="number"?u(n):n.charAt(0))}}}),bD=I({"node_modules/remark-parse/lib/locate/emphasis.js"(e,r){"use strict";S(),r.exports=u;function u(t,o){var n=t.indexOf("*",o),s=t.indexOf("_",o);return s===-1?n:n===-1||s<n?s:n}}}),yD=I({"node_modules/remark-parse/lib/tokenize/emphasis.js"(e,r){"us
`,o);n>o&&t.charAt(n-1)===" ";)n--;return n}}}),OD=I({"node_modules/remark-parse/lib/tokenize/break.js"(e,r){"use strict";S();var u=_D();r.exports=s,s.locator=u;var t=" ",o=`
`,n=2;function s(c,i,D){for(var a=i.length,l=-1,p="",d;++l<a;){if(d=i.charAt(l),d===o)return l<n?void 0:D?!0:(p+=d,c(p)({type:"break"}));if(d!==t)return;p+=d}}}}),ID=I({"node_modules/remark-parse/lib/tokenize/text.js"(e,r){"use strict";S(),r.exports=u;function u(t,o,n){var s=this,c,i,D,a,l,p,d,g,F,E;if(n)return!0;for(c=s.inlineMethods,a=c.length,i=s.inlineTokenizers,D=-1,F=o.length;++D<a;)g=c[D],!(g==="text"||!i[g])&&(d=i[g].locator,d||t.file.fail("Missing locator: `"+g+"`"),p=d.call(s,o,1),p!==-1&&p<F&&(F=p));l=o.slice(0,F),E=t.now(),s.decode(l,E,A);function A(f,b,v){t(v||f)({type:"text",value:f})}}}}),SD=I({"node_modules/remark-parse/lib/parser.js"(e,r){"use strict";S();var u=Me(),t=_l(),o=Ol(),n=Il(),s=Pl(),c=Ml();r.exports=i;function i(l,p){this.file=p,this.offset={},this.options=u(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=o(p).toOffset,this.unescape=n(this,"escape"),this.decode=s(this)}var D=i.prototype;D.setOptions=Ul(),D.parse=Kl(),D.options=Ti(),D.exitStart=t("atStart",!0),D.enterList=t("inList",!1),D.enterLink=t("inLink",!1),D.enterBlock=t("inBlock",!1),D.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],D.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],D.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}]],D.blockTokenizers={blankLine:Yl(),indentedCode:Jl(),fencedCode:Zl(),blockquote:Ql(),atxHeading:eD(),thematicBreak:rD(),list:tD(),setextHeading:nD(),html:iD(),definition:oD(),table:sD(),paragraph:cD()},D.inlineTokenizers={escape:DD(),autoLink:fD(),url:hD(),email:mD(),html:ED(),link:CD(),reference:gD(),strong:AD(),emphasis:yD(),deletion:BD(),code:qD(),break:OD(),text:ID()},D.blockMethods=a(D.blockTokenizers),D.inlineMethods=a(D.inlineTokenizers),D.tokenizeBlock=c("block"),D.tokenizeInline=c("inline"),D.tokenizeFactory=c;function a(l){var p=[],d;for(d in l)p.push(d);return p}}}),TD=I({"node_modules/remark-parse/index.js"(e,r){"use strict";S();var u=ql(),t=Me(),o=SD();r.exports=n,n.Parser=o;function n(s){var c=this.data("settings"),i=u(o);i.prototype.options=t(i.prototype.options,c,s),this.Parser=i}}}),ND=I({"node_modules/bail/index.js"(e,r){"use strict";S(),r.exports=u;function u(t){if(t)throw t}}}),zi=I({"node_modules/is-buffer/index.js"(e,r){S(),r.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}}}),LD=I({"node_modules/extend/index.js"(e,r){"use strict";S();var u=Object.prototype.hasOwnProperty,t=Object.prototype.toString,o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=function(l){return typeof Array.isArray=="function"?Array.isArray(l):t.call(l)==="[object Array]"},c=function(l){if(!l||t.call(l)!=="[object Object]")return!1;var p=u.call(l,"constructor"),d=l.constructor&&l.constructor.prototype&&u.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!p&&!d)return!1;var g;for(g in l);return typeof g>"u"||u.call(l,g)},i=function(l,p){o&&p.name==="__proto__"?o(l,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):l[p.name]=p.newValue},D=function(l,p){if(p==="__proto__")if(u.call(l,p)){if(n)return n(l,p).value}else return;return l[p]};r.exports=function a(){var l,p,d,g,F,E,A=arguments[0],f=1,b=arguments.length,v=!1;for(typeof A=="boolean"&&(v=A,A=arguments[1]||{},f=2),(A==null||typeof A!="object"&&typeof A!="function")&&(A={});f<b;++f)if(l=arguments[f],l!=null)for(p in l)d=D(A,p),g=D(l,p),A!==g&&(v&&g&&(c(g)||(F=s(g)))?(F?(F=!1,E=d&&s(d)?d:[]):E=d&&c(d)?d:{},i(A,{name:p,newValue:a(v,E,g)})):typeof g<"u"&&i(A,{name:p,newValue:g}));return A}}}),RD=I({"node_modules/is-plain-obj/index.js"(e,r){"use strict";S(),r.exports=u=>{
`,c="$",i=2,D=["math","math-display"];function a(){let d=this.Parser,g=this.Compiler;u.isRemarkParser(d)&&l(d),u.isRemarkCompiler(g)&&p(g)}function l(d){let g=d.prototype,F=g.blockMethods,E=g.interruptParagraph,A=g.interruptList,f=g.interruptBlockquote;g.blockTokenizers.math=b,F.splice(F.indexOf("fencedCode")+1,0,"math"),E.splice(E.indexOf("fencedCode")+1,0,["math"]),A.splice(A.indexOf("fencedCode")+1,0,["math"]),f.splice(f.indexOf("fencedCode")+1,0,["math"]);function b(v,h,m){var C=h.length,w=0;let q,L,B,O,T,P,x,j,$,U,X;for(;w<C&&h.charCodeAt(w)===o;)w++;for(T=w;w<C&&h.charCodeAt(w)===n;)w++;if(P=w-T,!(P<i)){for(;w<C&&h.charCodeAt(w)===o;)w++;for(x=w;w<C;){if(q=h.charCodeAt(w),q===n)return;if(q===t)break;w++}if(h.charCodeAt(w)===t){if(m)return!0;for(L=[],x!==w&&L.push(h.slice(x,w)),w++,B=h.indexOf(s,w+1),B=B===-1?C:B;w<C;){for(j=!1,U=w,X=B,O=B,$=0;O>U&&h.charCodeAt(O-1)===o;)O--;for(;O>U&&h.charCodeAt(O-1)===n;)$++,O--;for(P<=$&&h.indexOf(c,U)===O&&(j=!0,X=O);U<=X&&U-w<T&&h.charCodeAt(U)===o;)U++;if(j)for(;X>U&&h.charCodeAt(X-1)===o;)X--;if((!j||U!==X)&&L.push(h.slice(U,X)),j)break;w=B+1,B=h.indexOf(s,w+1),B=B===-1?C:B}return L=L.join(`
`),v(h.slice(0,B))({type:"math",value:L,data:{hName:"div",hProperties:{className:D.concat()},hChildren:[{type:"text",value:L}]}})}}}}function p(d){let g=d.prototype;g.visitors.math=F;function F(E){return`$$
`+E.value+`
$$`}}}}),YD=I({"node_modules/remark-math/index.js"(e,r){S();var u=WD(),t=KD();r.exports=o;function o(n){var s=n||{};t.call(this,s),u.call(this,s)}}}),JD=I({"node_modules/remark-footnotes/index.js"(e,r){"use strict";S(),r.exports=g;var u=9,t=10,o=32,n=33,s=58,c=91,i=92,D=93,a=94,l=96,p=4,d=1024;function g(h){var m=this.Parser,C=this.Compiler;F(m)&&A(m,h),E(C)&&f(C)}function F(h){return Boolean(h&&h.prototype&&h.prototype.blockTokenizers)}function E(h){return Boolean(h&&h.prototype&&h.prototype.visitors)}function A(h,m){for(var C=m||{},w=h.prototype,q=w.blockTokenizers,L=w.inlineTokenizers,B=w.blockMethods,O=w.inlineMethods,T=q.definition,P=L.reference,x=[],j=-1,$=B.length,U;++j<$;)U=B[j],!(U==="newline"||U==="indentedCode"||U==="paragraph"||U==="footnoteDefinition")&&x.push([U]);x.push(["footnoteDefinition"]),C.inlineNotes&&(b(O,"reference","inlineNote"),L.inlineNote=J),b(B,"definition","footnoteDefinition"),b(O,"reference","footnoteCall"),q.definition=M,q.footnoteDefinition=X,L.footnoteCall=R,L.reference=z,w.interruptFootnoteDefinition=x,z.locator=P.locator,R.locator=G,J.locator=k;function X(y,_,N){for(var V=this,W=V.interruptFootnoteDefinition,K=V.offset,ee=_.length+1,Y=0,te=[],De,le,ne,Z,Q,fe,be,pe,he,oe,de,ie,re;Y<ee&&(Z=_.charCodeAt(Y),!(Z!==u&&Z!==o));)Y++;if(_.charCodeAt(Y++)===c&&_.charCodeAt(Y++)===a){for(le=Y;Y<ee;){if(Z=_.charCodeAt(Y),Z!==Z||Z===t||Z===u||Z===o)return;if(Z===D){ne=Y,Y++;break}Y++}if(!(ne===void 0||le===ne||_.charCodeAt(Y++)!==s)){if(N)return!0;for(De=_.slice(le,ne),Q=y.now(),he=0,oe=0,de=Y,ie=[];Y<ee;){if(Z=_.charCodeAt(Y),Z!==Z||Z===t)re={start:he,contentStart:de||Y,contentEnd:Y,end:Y},ie.push(re),Z===t&&(he=Y+1,oe=0,de=void 0,re.end=he);else if(oe!==void 0)if(Z===o||Z===u)oe+=Z===o?1:p-oe%p,oe>p&&(oe=void 0,de=Y);else{if(oe<p&&re&&(re.contentStart===re.contentEnd||v(W,q,V,[y,_.slice(Y,d),!0])))break;oe=void 0,de=Y}Y++}for(Y=-1,ee=ie.length;ee>0&&(re=ie[ee-1],re.contentStart===re.contentEnd);)ee--;for(fe=y(_.slice(0,re.contentEnd));++Y<ee;)re=ie[Y],K[Q.line+Y]=(K[Q.line+Y]||0)+(re.contentStart-re.start),te.push(_.slice(re.contentStart,re.end));return be=V.enterBlock(),pe=V.tokenizeBlock(te.join(""),Q),be(),fe({type:"footnoteDefinition",identifier:De.toLowerCase(),label:De,children:pe})}}}function R(y,_,N){var V=_.length+1,W=0,K,ee,Y,te;if(_.charCodeAt(W++)===c&&_.charCodeAt(W++)===a){for(ee=W;W<V;){if(te=_.charCodeAt(W),te!==te||te===t||te===u||te===o)return;if(te===D){Y=W,W++;break}W++}if(!(Y===void 0||ee===Y))return N?!0:(K=_.slice(ee,Y),y(_.slice(0,W))({type:"footnoteReference",identifier:K.toLowerCase(),label:K}))}}function J(y,_,N){var V=this,W=_.length+1,K=0,ee=0,Y,te,De,le,ne,Z,Q;if(_.charCodeAt(K++)===a&&_.charCodeAt(K++)===c){for(De=K;K<W;){if(te=_.charCodeAt(K),te!==te)return;if(Z===void 0)if(te===i)K+=2;else if(te===c)ee++,K++;else if(te===D)if(ee===0){le=K,K++;break}else ee--,K++;else if(te===l){for(ne=K,Z=1;_.charCodeAt(ne+Z)===l;)Z++;K+=Z}else K++;else if(te===l){for(ne=K,Q=1;_.charCodeAt(ne+Q)===l;)Q++;K+=Q,Z===Q&&(Z=void 0),Q=void 0}else K++}if(le!==void 0)return N?!0:(Y=y.now(),Y.column+=2,Y.offset+=2,y(_.slice(0,K))({type:"footnote",children:V.tokenizeInline(_.slice(De,le),Y)}))}}function z(y,_,N){var V=0;if(_.charCodeAt(V)===n&&V++,_.charCodeAt(V)===c&&_.charCodeAt(V+1)!==a)return P.call(this,y,_,N)}function M(y,_,N){for(var V=0,W=_.charCodeAt(V);W===o||W===u;)W=_.charCodeAt(++V);if(W===c&&_.charCodeAt(V+1)!==a)return T.call(this,y,_,N)}function G(y,_){return y.indexOf("[",_)}function k(y,_){return y.indexOf("^[",_)}}function f(h){var m=h.prototype.visitors,C=" ";m.footnote=w,m.footnoteReference=q,m.footnoteDefinition=L;function w(B){return"^["+this.all(B).join("")+"]"}function q(B){return"[^"+(B.label||B.identifier)+"]"}function L(B){for(var O=this.all(B).join(`
`).split(`
`),T=0,P=O.length,x;++T<P;)x=O[T],x!==""&&(O[T]=C+x);return"[^"+(B.label||B.identifier)+"]: "+O.join(`
`)}}function b(h,m,C){h.splice(h.indexOf(m),0,C)}function v(h,m,C,w){for(var q=h.length,L=-1;++L<q;)if(m[h[L][0]].apply(C,w))return!0;return!1}}}),Ui=I({"src/utils/front-matter/parse.js"(e,r){"use strict";S();var u=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function t(o){let n=o.match(u);if(!n)return{content:o};let{startDelimiter:s,language:c,value:i="",endDelimiter:D}=n.groups,a=c.trim()||"yaml";if(s==="+++"&&(a="toml"),a!=="yaml"&&s!==D)return{content:o};let[l]=n;return{frontMatter:{type:"front-matter",lang:a,value:i,startDelimiter:s,endDelimiter:D,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+o.slice(l.length)}}r.exports=t}}),ZD=I({"src/language-markdown/pragma.js"(e,r){"use strict";S();var u=Ui(),t=["format","prettier"];function o(n){let s="@(".concat(t.join("|"),")"),c=new RegExp(["<!--\\s*".concat(s,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(s,"\\s*\\*\\/\\s*}"),`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*`.concat(s,`[^\\S
]*($|
)[\\s\\S]*
.*-->`)].join("|"),"m"),i=n.match(c);return(i==null?void 0:i.index)===0}r.exports={startWithPragma:o,hasPragma:n=>o(u(n).content.trimStart()),insertPragma:n=>{let s=u(n),c="<!-- @".concat(t[0]," -->");return s.frontMatter?"".concat(s.frontMatter.raw,`
`).concat(c,`
`).concat(s.content):"".concat(c,`
`).concat(s.content)}}}}),Vi=I({"src/language-markdown/loc.js"(e,r){"use strict";S();function u(o){return o.position.start.offset}function t(o){return o.position.end.offset}r.exports={locStart:u,locEnd:t}}}),$i=I({"src/language-markdown/mdx.js"(e,r){"use strict";S();var u=/^import\s/,t=/^export\s/,o="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",n=/<!---->|<!---?[^>-](?:-?[^-])*-->/,s=/^{\s*\/\*(.*)\*\/\s*}/,c=`
`,i=d=>u.test(d),D=d=>t.test(d),a=(d,g)=>{let F=g.indexOf(c),E=g.slice(0,F);if(D(E)||i(E))return d(E)({type:D(E)?"export":"import",value:E})},l=(d,g)=>{let F=s.exec(g);if(F)return d(F[0])({type:"esComment",value:F[1].trim()})};a.locator=d=>D(d)||i(d)?-1:1,l.locator=(d,g)=>d.indexOf("{",g);function p(){let{Parser:d}=this,{blockTokenizers:g,blockMethods:F,inlineTokenizers:E,inlineMethods:A}=d.prototype;g.esSyntax=a,E.esComment=l,F.splice(F.indexOf("paragraph"),0,"esSyntax"),A.splice(A.indexOf("text"),0,"esComment")}r.exports={esSyntax:p,BLOCKS_REGEX:o,COMMENT_REGEX:n}}}),Hi={};Oi(Hi,{default:()=>QD});function QD(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var e2=Pe({"node_modules/escape-string-regexp/index.js"(){S()}}),r2=I({"src/utils/get-last.js"(e,r){"use strict";S();var u=t=>t[t.length-1];r.exports=u}}),Xi=I({"node_modules/semver/internal/debug.js"(e,r){S();var u=typeof Ze=="object"&&Ze.env&&Ze.env.NODE_DEBUG&&/\bsemver\b/i.test(Ze.env.NODE_DEBUG)?function(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return console.error("SEMVER",...o)}:()=>{};r.exports=u}}),Wi=I({"node_modules/semver/internal/constants.js"(e,r){S();var u="2.0.0",t=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,n=16;r.exports={SEMVER_SPEC_VERSION:u,MAX_LENGTH:t,MAX_SAFE_INTEGER:o,MAX_SAFE_COMPONENT_LENGTH:n}}}),u2=I({"node_modules/semver/internal/re.js"(e,r){S();var{MAX_SAFE_COMPONENT_LENGTH:u}=Wi(),t=Xi();e=r.exports={};var o=e.re=[],n=e.src=[],s=e.t={},c=0,i=(D,a,l)=>{let p=c++;t(D,p,a),s[D]=p,n[p]=a,o[p]=new RegExp(a,l?"g":void 0)};i("NUMERICIDENTIFIER","0|[1-9]\\d*"),i("NUMERICIDENTIFIERLOOSE","[0-9]+"),i("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),i("MAINVERSION","(".concat(n[s.NUMERICIDENTIFIER],")\\.(").concat(n[s.NUMERICIDENTIFIER],")\\.(").concat(n[s.NUMERICIDENTIFIER],")")),i("MAINVERSIONLOOSE","(".concat(n[s.NUMERICIDENTIFIERLOOSE],")\\.(").concat(n[s.NUMERICIDENTIFIERLOOSE],")\\.(").concat(n[s.NUMERICIDENTIFIERLOOSE],")")),i("PRERELEASEIDENTIFIER","(?:".concat(n[s.NUMERICIDENTIFIER],"|").concat(n[s.NONNUMERICIDENTIFIER],")")),i("PRERELEASEIDENTIFIERLOOSE","(?:".concat(n[s.NUMERICIDENTIFIERLOOSE],"|").concat(n[s.NONNUMERICIDENTIFIER],")")),i("PRERELEASE","(?:-(".concat(n[s.PRERELEASEIDENTIFIER],"(?:\\.").concat(n[s.PRERELEASEIDENTIFIER],")*))")),i("PRERELEASELOOSE","(?:-?(".concat(n[s.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(n[s.PRERELEASEIDENTIFIERLOOSE],")*))")),i("BUILDIDENTIFIER","[0-9A-Za-z-]+"),i("BUILD","(?:\\+(".concat(n[s.BUILDIDENTIFIER],"(?:\\.").concat(n[s.BUILDIDENTIFIER],")*))")),i("FULLPLAIN","v?".concat(n[s.MAINVERSION]).concat(n[s.PRERELEASE],"?").concat(n[s.BUILD],"?")),i("FULL","^".concat(n[s.FULLPLAIN],"$")),i("LOOSEPLAIN","[v=\\s]*".concat(n[s.MAINVERSIONLOOSE]).concat(n[s.PRERELEASELOOSE],"?").concat(n[s.BUILD],"?")),i("LOOSE","^".concat(n[s.LOOSEPLAIN],"$")),i("GTLT","((?:<|>)?=?)"),i("XRANGEIDENTIFIERLOOSE","".concat(n[s.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),i("XRANGEIDENTIFIER","".concat(n[s.NUMERICIDENTIFIER],"|x|X|\\*")),i("XRANGEPLAIN","[v=\\s]*(".concat(n[s.XRANGEIDENTIFIER],")(?:\\.(").concat(n[s.XRANGEIDENTIFIER],")(?:\\.(").concat(n[s.XRANGEIDENTIFIER],")(?:").concat(n[s.PRERELEASE],")?").concat(n[s.BUILD],"?)?)?")),i("XRANGEPLAINLOOSE","[v=\\s]*(".concat(n[s.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(n[s.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(n[s.XRANGEIDENTIFIERLOOSE],")(?:").concat(n[s.PRERELEASELOOSE],")?").concat(n[s.BUILD],"?)?)?")),i("XRANGE","^".concat(n[s.GTLT],"\\s*").concat(n[s.XRANGEPLAIN],"$")),i("XRANGELOOSE","^".concat(n[s.GTLT],"\\s*").concat(n[s.XRANGEPLAINLOOSE],"$")),i("COERCE","(^|[^\\d])(\\d{1,".concat(u,"})(?:\\.(\\d{1,").concat(u,"}))?(?:\\.(\\d{1,").concat(u,"}))?(?:$|[^\\d])")),i("COERCERTL",n[s.COERCE],!0),i("LONETILDE","(?:~>?)"),i("TILDETRIM","(\\s*)".concat(n[s.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",i("TILDE","^".concat(n[s.LONETILDE]).concat(n[s.XRANGEPLAIN],"$")),i("TILDELOOSE","^".concat(n[s.LONETILDE]).concat(n[s.XRANGEPLAINLOOSE],"$"))
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`]))),cliCategory:o},endOfLine:{since:"1.15.0",category:i,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:u(bi||(bi=je([`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`])))}]},filepath:{since:"1.4.0",category:D,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:s,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:D,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:s},parser:{since:"0.0.10",category:i,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:l=>typeof l=="string"||typeof l=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:i,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:l=>typeof l=="string"||typeof l=="object",cliName:"plugin",cliCategory:t},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:i,description:u(yi||(yi=je([`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`]))),exception:l=>typeof l=="string"||typeof l=="object",cliName:"plugin-search-dir",cliCategory:t},printWidth:{since:"0.0.0",category:i,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:D,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u(wi||(wi=je([`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`]))),cliCategory:o},rangeStart:{since:"1.4.0",category:D,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u(Bi||(Bi=je([`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`]))),cliCategory:o},requirePragma:{since:"1.7.0",category:D,type:"boolean",default:!1,description:u(ki||(ki=je([`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`]))),cliCategory:s},tabWidth:{type:"int",category:i,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:i,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:i,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};r.exports={CATEGORY_CONFIG:t,CATEGORY_EDITOR:o,CATEGORY_FORMAT:n,CATEGORY_OTHER:s,CATEGORY_OUTPUT:c,CATEGORY_GLOBAL:i,CATEGORY_SPECIAL:D,options:a}}}),f2=I({"src/main/support.js"(e,r){"use strict";S();var u={compare:vu(),lt:a2(),gte:o2()},t=s2(),o=c2().version,n=D2().options;function s(){let{plugins:i=[],showUnreleased:D=!1,showDeprecated:a=!1,showInternal:l=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=o.split("-",1)[0],d=i.flatMap(f=>f.languages||[]).filter(F),g=t(Object.assign({},...i.map(f=>{let{options:b}=f;return b}),n),"name").filter(f=>F(f)&&E(f)).sort((f,b)=>f.name===b.name?0:f.name<b.name?-1:1).map(A).map(f=>{f=Object.assign({},f),Array.isArray(f.default)&&(f.default=f.default.length===1?f.default[0].value:f.default.filter(F).sort((v,h)=>u.compare(h.since,v.since))[0].value),Array.isArray(f.choices)&&(f.choices=f.choices.filter(v=>F(v)&&E(v)),f.name==="parser"&&c(f,d,i));let b=Object.fromEntries(i.filter(v=>v.defaultOptions&&v.defaultOptions[f.name]!==void 0).map(v=>[v.name,v.defaultOptions[f.name]]));return Object.assign(Object.assign({},f),{},{pluginDefaults:b})});return{languages:d,options:g};function F(f){return D||!("since"in f)||f.since&&u.gte(p,f.since)}function E(f){return a||!("deprecated"in f)||f.deprecated&&u.lt(p,f.deprecated)}function A(f){if(l)return f;let{cliName:b,cliCategory:v,cliDescription:h}=f;return Fl(f,gl)}}function c(i,D,a){let l=new Set(i.choices.map(p=>p.value));for(let p of D)if(p.parsers){for(let d of p.parsers)if(!l.has(d)){l.add(d);let g=a.find(E=>E.parsers&&E.parsers[d]),F=p.name;g&&g.name&&(F+=" (plugin: ".concat(g.name,")")),i.choices.push({value:d,description:F})}}}r.exports={getSupportInfo:s}}}),p2=I({"src/utils/is-non-empty-array.js"(e,r){"use strict";S();function u(t){return Array.isArray(t)&&t.length>0}r.exports=u}});function d2(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?void 0:"g")}var h2=Pe({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){S()}});function v2(e){if(typeof e!="string")throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(d2(),"")}var m2=Pe({"node_modules/strip-ansi/index.js"(){S(),h2()}});function E2(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var C2=Pe({"node_modules/is-fullwidth-code-point/index.js"(){S()}}),g2=I({"node_modules/emoji-regex/index.js"(e,r){"use strict";S(),r.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[
`)return o-2;if(c===`
`||c==="\r"||c==="\u2028"||c==="\u2029")return o-1}else{if(c==="\r"&&t.charAt(o+1)===`
`)return o+2;if(c===`
`||c==="\r"||c==="\u2028"||c==="\u2029")return o+1}return o}r.exports=u}}),b2=I({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,r){"use strict";S();var u=Ji(),t=Qi(),o=Zi(),{skipSpaces:n}=mu();function s(c,i){let D=null,a=i;for(;a!==D;)D=a,a=n(c,a),a=u(c,a),a=o(c,a),a=t(c,a);return a}r.exports=s}}),y2=I({"src/common/util.js"(e,r){"use strict";S();var{default:u}=(e2(),Si(Hi)),t=r2(),{getSupportInfo:o}=f2(),n=p2(),s=x2(),{skipWhitespace:c,skipSpaces:i,skipToLineEnd:D,skipEverythingButNewLine:a}=mu(),l=Ji(),p=Zi(),d=Qi(),g=b2(),F=k=>k[k.length-2];function E(k){return(y,_,N)=>{let V=N&&N.backwards;if(_===!1)return!1;let{length:W}=y,K=_;for(;K>=0&&K<W;){let ee=y.charAt(K);if(k instanceof RegExp){if(!k.test(ee))return K}else if(!k.includes(ee))return K;V?K--:K++}return K===-1||K===W?K:!1}}function A(k,y){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=i(k,_.backwards?y-1:y,_),V=d(k,N,_);return N!==V}function f(k,y,_){for(let N=y;N<_;++N)if(k.charAt(N)===`
`)return!0;return!1}function b(k,y,_){let N=_(y)-1;N=i(k,N,{backwards:!0}),N=d(k,N,{backwards:!0}),N=i(k,N,{backwards:!0});let V=d(k,N,{backwards:!0});return N!==V}function v(k,y){let _=null,N=y;for(;N!==_;)_=N,N=D(k,N),N=l(k,N),N=i(k,N);return N=p(k,N),N=d(k,N),N!==!1&&A(k,N)}function h(k,y,_){return v(k,_(y))}function m(k,y,_){return g(k,_(y))}function C(k,y,_){return k.charAt(m(k,y,_))}function w(k,y){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i(k,_.backwards?y-1:y,_)!==y}function q(k,y){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,N=0;for(let V=_;V<k.length;++V)k[V]===" "?N=N+y-N%y:N++;return N}function L(k,y){let _=k.lastIndexOf(`
`);return _===-1?0:q(k.slice(_+1).match(/^[\t ]*/)[0],y)}function B(k,y){let _={quote:'"',regex:/"/g,escaped:"&quot;"},N={quote:"'",regex:/'/g,escaped:"&apos;"},V=y==="'"?N:_,W=V===N?_:N,K=V;if(k.includes(V.quote)||k.includes(W.quote)){let ee=(k.match(V.regex)||[]).length,Y=(k.match(W.regex)||[]).length;K=ee>Y?W:V}return K}function O(k,y){let _=k.slice(1,-1),N=y.parser==="json"||y.parser==="json5"&&y.quoteProps==="preserve"&&!y.singleQuote?'"':y.__isInHtmlAttribute?"'":B(_,y.singleQuote?"'":'"').quote;return T(_,N,!(y.parser==="css"||y.parser==="less"||y.parser==="scss"||y.__embeddedInHtml))}function T(k,y,_){let N=y==='"'?"'":'"',V=/\\(.)|(["'])/gs,W=k.replace(V,(K,ee,Y)=>ee===N?ee:Y===y?"\\"+Y:Y||(_&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(ee)?ee:"\\"+ee));return y+W+y}function P(k){return k.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function x(k,y){let _=k.match(new RegExp("(".concat(u(y),")+"),"g"));return _===null?0:_.reduce((N,V)=>Math.max(N,V.length/y.length),0)}function j(k,y){let _=k.match(new RegExp("(".concat(u(y),")+"),"g"));if(_===null)return 0;let N=new Map,V=0;for(let W of _){let K=W.length/y.length;N.set(K,!0),K>V&&(V=K)}for(let W=1;W<V;W++)if(!N.get(W))return W;return V+1}function $(k,y){(k.comments||(k.comments=[])).push(y),y.printed=!1,y.nodeDescription=G(k)}function U(k,y){y.leading=!0,y.trailing=!1,$(k,y)}function X(k,y,_){y.leading=!1,y.trailing=!1,_&&(y.marker=_),$(k,y)}function R(k,y){y.leading=!1,y.trailing=!0,$(k,y)}function J(k,y){let{languages:_}=o({plugins:y.plugins}),N=_.find(V=>{let{name:W}=V;return W.toLowerCase()===k})||_.find(V=>{let{aliases:W}=V;return Array.isArray(W)&&W.includes(k)})||_.find(V=>{let{extensions:W}=V;return Array.isArray(W)&&W.includes(".".concat(k))});return N&&N.parsers[0]}function z(k){return k&&k.type==="front-matter"}function M(k){let y=new WeakMap;return function(_){return y.has(_)||y.set(_,Symbol(k)),y.get(_)}}function G(k){let y=k.type||k.kind||"(unknown type)",_=String(k.name||k.id&&(typeof k.id=="object"?k.id.name:k.id)||k.key&&(typeof k.key=="object"?k.key.name:k.key)||k.value&&(typeof k.value=="object"?"":String(k.value))||k.operator||"");return _.length>20&&(_=_.slice(0,19)+"\u2026"),y+(_?" "+_:"")}r.exports={inferParserByLanguage:J,getStringWidth:s,getMaxContinuousCount:x,getMinNotPresentContinuousCount:j,getPenultimate:F,getLast:t,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:g,getNextNonSpaceNonCommentCharacterIndex:m,getNextNonSpaceNonCommentCharacter:C,skip:E,skipWhitespace:c,skipSpaces:i,skipToLineEnd:D,skipEverythingButNewLine:a,skipInlineComment:l,skipTrailingComment:p,skipNewline:d,isNextLineEmptyAfterIndex:v,isNextLineEmpty:h,isPreviousLineEmpty:b,hasNewline:A,hasNewlineInRange:f,hasSpaces:w,getAlignmentSize:q,getIndentSize:L,getPreferredQuote:B,printString:O,printNumber:P,makeString:T,addLeadingComment:U,addDanglingComment:X,addTrailingComment:R,isFrontMatterNode:z,isNonEmptyArray:n,createGroupIdMapper:M}}}),w2=I({"src/language-markdown/constants.evaluate.js"(e,r){r.exports={cjkPattern:"(?:[\\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-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\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][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\
(`).concat(n,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[B,O]of q.entries()){if(B%2===1){w.push({type:"whitespace",value:/\n/.test(O)?`
`:" "});continue}if((B===0||B===q.length-1)&&O==="")continue;let T=O.split(new RegExp("(".concat(n,")")));for(let[P,x]of T.entries())if(!((P===0||P===T.length-1)&&x==="")){if(P%2===0){x!==""&&L({type:"word",value:x,kind:v,hasLeadingPunctuation:l.test(x[0]),hasTrailingPunctuation:l.test(u(x))});continue}L(l.test(x)?{type:"word",value:x,kind:C,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:x,kind:a.test(x)?m:h,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return w;function L(B){let O=u(w);O&&O.type==="word"&&(O.kind===v&&B.kind===h&&!O.hasTrailingPunctuation||O.kind===h&&B.kind===v&&!B.hasLeadingPunctuation?w.push({type:"whitespace",value:" "}):!T(v,C)&&![O.value,B.value].some(P=>/\u3000/.test(P))&&w.push({type:"whitespace",value:""})),w.push(B);function T(P,x){return O.kind===P&&B.kind===x||O.kind===x&&B.kind===P}}}function d(f,b){let[,v,h,m]=b.slice(f.position.start.offset,f.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:v,marker:h,leadingSpaces:m}}function g(f,b){if(!f.ordered||f.children.length<2)return!1;let v=Number(d(f.children[0],b.originalText).numberText),h=Number(d(f.children[1],b.originalText).numberText);if(v===0&&f.children.length>2){let m=Number(d(f.children[2],b.originalText).numberText);return h===1&&m===1}return h===1}function F(f,b){let{value:v}=f;return f.position.end.offset===b.length&&v.endsWith(`
`)&&b.endsWith(`
`)?v.slice(0,-1):v}function E(f,b){return function v(h,m,C){let w=Object.assign({},b(h,m,C));return w.children&&(w.children=w.children.map((q,L)=>v(q,L,[w,...C]))),w}(f,null,[])}function A(f){if((f==null?void 0:f.type)!=="link"||f.children.length!==1)return!1;let[b]=f.children;return t(f)===t(b)&&o(f)===o(b)}r.exports={mapAst:E,splitText:p,punctuationPattern:c,getFencedCodeBlockValue:F,getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:g,INLINE_NODE_TYPES:i,INLINE_NODE_WRAPPER_TYPES:D,isAutolink:A}}}),k2=I({"src/language-markdown/unified-plugins/html-to-jsx.js"(e,r){"use strict";S();var u=$i(),{mapAst:t,INLINE_NODE_WRAPPER_TYPES:o}=B2();function n(){return s=>t(s,(c,i,D)=>{let[a]=D;return c.type!=="html"||u.COMMENT_REGEX.test(c.value)||o.includes(a.type)?c:Object.assign(Object.assign({},c),{},{type:"jsx"})})}r.exports=n}}),q2=I({"src/language-markdown/unified-plugins/front-matter.js"(e,r){"use strict";S();var u=Ui();function t(){let o=this.Parser.prototype;o.blockMethods=["frontMatter",...o.blockMethods],o.blockTokenizers.frontMatter=n;function n(s,c){let i=u(c);if(i.frontMatter)return s(i.frontMatter.raw)(i.frontMatter)}n.onlyAtStart=!0}r.exports=t}}),_2=I({"src/language-markdown/unified-plugins/liquid.js"(e,r){"use strict";S();function u(){let t=this.Parser.prototype,o=t.inlineMethods;o.splice(o.indexOf("text"),0,"liquid"),t.inlineTokenizers.liquid=n;function n(s,c){let i=c.match(/^({%.*?%}|{{.*?}})/s);if(i)return s(i[0])({type:"liquidNode",value:i[0]})}n.locator=function(s,c){return s.indexOf("{",c)}}r.exports=u}}),O2=I({"src/language-markdown/unified-plugins/wiki-link.js"(e,r){"use strict";S();function u(){let t="wikiLink",o=/^\[\[(?<linkContents>.+?)]]/s,n=this.Parser.prototype,s=n.inlineMethods;s.splice(s.indexOf("link"),0,t),n.inlineTokenizers.wikiLink=c;function c(i,D){let a=o.exec(D);if(a){let l=a.groups.linkContents.trim();return i(a[0])({type:t,value:l})}}c.locator=function(i,D){return i.indexOf("[",D)}}r.exports=u}}),I2=I({"src/language-markdown/unified-plugins/loose-items.js"(e,r){"use strict";S();function u(){let t=this.Parser.prototype,o=t.blockTokenizers.list;function n(s,c,i){return c.type==="listItem"&&(c.loose=c.spread||s.charAt(s.length-1)===`
`,c.loose&&(i.loose=!0)),c}t.blockTokenizers.list=function(c,i,D){function a(l){let p=c(l);function d(g,F){return p(n(l,g,F),F)}return d.reset=function(g,F){return p.reset(n(l,g,F),F)},d}return a.now=c.now,o.call(this,a,i,D)}}r.exports=u}}),S2=I({"src/language-markdown/parser-markdown.js"(e,r){S();var u=TD(),t=XD(),o=YD(),n=JD(),s=ZD(),{locStart:c,locEnd:i}=Vi(),D=$i(),a=k2(),l=q2(),p=_2(),d=O2(),g=I2();function F(v){let{isMDX:h}=v;return m=>{let C=t().use(u,Object.assign({commonmark:!0},h&&{blocks:[D.BLOCKS_REGEX]})).use(n).use(l).use(o).use(h?D.esSyntax:E).use(p).use(h?a:E).use(d).use(g);return C.runSync(C.parse(m))}}function E(v){return v}var A={astFormat:"mdast",hasPragma:s.hasPragma,locStart:c,locEnd:i},f=Object.assign(Object.assign({},A),{},{parse:F({isMDX:!1})}),b=Object.assign(Object.assign({},A),{},{parse:F({isMDX:!0})});r.exports={parsers:{remark:f,markdown:f,mdx:b}}}}),op=S2();export{op as default};