prettier 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin-prettier.js +2 -2
- package/doc.js +2 -2
- package/esm/parser-babel.mjs +1 -1
- package/esm/parser-espree.mjs +1 -1
- package/esm/parser-flow.mjs +1 -1
- package/esm/parser-html.mjs +1 -1
- package/esm/parser-markdown.mjs +1 -1
- package/esm/parser-meriyah.mjs +1 -1
- package/esm/parser-postcss.mjs +1 -1
- package/esm/parser-typescript.mjs +1 -1
- package/esm/standalone.mjs +2 -2
- package/index.js +4 -4
- package/package.json +1 -1
- package/parser-babel.js +1 -1
- package/parser-espree.js +1 -1
- package/parser-flow.js +1 -1
- package/parser-html.js +1 -1
- package/parser-markdown.js +1 -1
- package/parser-meriyah.js +1 -1
- package/parser-postcss.js +1 -1
- package/parser-typescript.js +1 -1
- package/standalone.js +2 -2
package/esm/parser-markdown.mjs
CHANGED
|
@@ -16,4 +16,4 @@ var e=function(){for(var e={},r=0;r<arguments.length;r++){var n=arguments[r];for
|
|
|
16
16
|
*
|
|
17
17
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
18
18
|
* @license MIT
|
|
19
|
-
*/function hn(e){var t,r,n;if(e){if("string"==typeof e||ln(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof hn))return new hn(e);for(this.data={},this.messages=[],this.history=[],this.cwd=rn.cwd(),r=-1,n=dn.length;++r<n;)t=dn[r],Dn.call(e,t)&&(this[t]=e[t]);for(t in e)-1===dn.indexOf(t)&&(this[t]=e[t])}function gn(e,t){if(-1!==e.indexOf(cn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+cn.sep+"`")}function mn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function En(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}pn.toString=function(e){var t=this.contents||"";return ln(t)?t.toString(e):String(t)},Object.defineProperty(pn,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){mn(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(pn,"dirname",{get:function(){return"string"==typeof this.path?cn.dirname(this.path):void 0},set:function(e){En(this.path,"dirname"),this.path=cn.join(e||"",this.basename)}}),Object.defineProperty(pn,"basename",{get:function(){return"string"==typeof this.path?cn.basename(this.path):void 0},set:function(e){mn(e,"basename"),gn(e,"basename"),this.path=cn.join(this.dirname||"",e)}}),Object.defineProperty(pn,"extname",{get:function(){return"string"==typeof this.path?cn.extname(this.path):void 0},set:function(e){var t=e||"";if(gn(t,"extname"),En(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=sn(this.path,t)}}),Object.defineProperty(pn,"stem",{get:function(){return"string"==typeof this.path?cn.basename(this.path,this.extname):void 0},set:function(e){mn(e,"stem"),gn(e,"stem"),this.path=cn.join(this.dirname||"",e+(this.extname||""))}});var Cn=fn,bn=fn.prototype;bn.message=function(e,t,r){var n=this.path,u=new Or(e,t,r);n&&(u.name=n+":"+u.name,u.file=n);return u.fatal=!1,this.messages.push(u),u},bn.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},bn.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e};var vn=function e(){var t=[],r=br(),n={},u=!1,i=-1;return o.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(On("data",u),n[e]=t,o):An.call(n,e)&&n[e]||null;if(e)return On("data",u),n=e,o;return n},o.freeze=a,o.attachers=t,o.use=function(e){var r;if(On("use",u),null==e);else if("function"==typeof e)l.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?s(e):i(e)}r&&(n.settings=gr(n.settings||{},r));return o;function i(e){s(e.plugins),e.settings&&(r=gr(r||{},e.settings))}function a(e){if("function"==typeof e)l(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l.apply(null,e):i(e)}}function s(e){var t,r;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,r=-1;++r<t;)a(e[r])}}function l(e,r){var n=c(e);n?(mr(n[1])&&mr(r)&&(r=gr(n[1],r)),n[1]=r):t.push(Fn.call(arguments))}},o.parse=function(e){var t,r=Cn(e);if(a(),kn("parse",t=o.Parser),wn(t,"parse"))return new t(String(r),r).parse();return t(String(r),r)},o.stringify=function(e,t){var r,n=Cn(t);if(a(),xn("stringify",r=o.Compiler),Ln(e),wn(r,"compile"))return new r(e,n).compile();return r(e,n)},o.run=s,o.runSync=function(e,t){var r,n=!1;return s(e,t,u),Bn("runSync","run",n),r;function u(e,t){n=!0,ar(e),r=t}},o.process=l,o.processSync=f,o;function o(){for(var r=e(),u=t.length,i=-1;++i<u;)r.use.apply(null,t[i]);return r.data(gr(!0,{},n)),r}function a(){var e,n,a,c;if(u)return o;for(;++i<t.length;)n=(e=t[i])[0],null,!1!==(a=e[1])&&(!0===a&&(e[1]=void 0),"function"==typeof(c=n.apply(o,e.slice(1)))&&r.use(c));return u=!0,i=1/0,o}function c(e){for(var r,n=t.length,u=-1;++u<n;)if((r=t[u])[0]===e)return r}function s(e,t,n){if(Ln(e),a(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(u);function u(u,i){r.run(e,Cn(t),(function(t,r,o){r=r||e,t?i(t):u?u(r):n(null,r,o)}))}u(null,n)}function l(e,t){if(a(),kn("process",o.Parser),xn("process",o.Compiler),!t)return new Promise(r);function r(r,n){var u=Cn(e);yn.run(o,{file:u},(function(e){e?n(e):r?r(u):t(null,u)}))}r(null,t)}function f(e){var t,r=!1;return a(),kn("processSync",o.Parser),xn("processSync",o.Compiler),l(t=Cn(e),(function(e){r=!0,ar(e)})),Bn("processSync","process",r),t}}().freeze(),Fn=[].slice,An={}.hasOwnProperty,yn=br().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,r){e.run(t.tree,t.file,(function(e,n,u){e?r(e):(t.tree=n,t.file=u,r())}))})).use((function(e,t){var r=e.stringify(t.tree,t.file),n=t.file;null==r||("string"==typeof r||(u=r,null!=u&&null!=u.constructor&&"function"==typeof u.constructor.isBuffer&&u.constructor.isBuffer(u))?n.contents=r:n.result=r);var u}));function wn(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function kn(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function xn(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function On(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function Ln(e){if(!e||"string"!=typeof e.type)throw new Error("Expected node, got `"+e+"`")}function Bn(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}var Tn={isRemarkParser:function(e){return Boolean(e&&e.prototype&&e.prototype.blockTokenizers)},isRemarkCompiler:function(e){return Boolean(e&&e.prototype&&e.prototype.visitors)}},Nn=function(e){const t=this.Parser,r=this.Compiler;Tn.isRemarkParser(t)&&function(e,t){const r=e.prototype,n=r.inlineMethods;function u(e,t){return e.indexOf("$",t)}function i(e,r,n){const u=r.length;let i,o,a,c,s,l,f,D=!1,p=!1,d=0;if(92===r.charCodeAt(d)&&(p=!0,d++),36===r.charCodeAt(d)){if(d++,p)return!!n||e(r.slice(0,d))({type:"text",value:"$"});if(36===r.charCodeAt(d)&&(D=!0,d++),a=r.charCodeAt(d),32!==a&&9!==a){for(c=d;d<u;){if(o=a,a=r.charCodeAt(d+1),36===o){if(i=r.charCodeAt(d-1),32!==i&&9!==i&&(a!=a||a<48||a>57)&&(!D||36===a)){s=d-1,d++,D&&d++,l=d;break}}else 92===o&&(d++,a=r.charCodeAt(d+1));d++}if(void 0!==l)return!!n||(f=r.slice(c,s+1),e(r.slice(0,l))({type:"inlineMath",value:f,data:{hName:"span",hProperties:{className:Sn.concat(D&&t.inlineMathDouble?["math-display"]:[])},hChildren:[{type:"text",value:f}]}}))}}}i.locator=u,r.inlineTokenizers.math=i,n.splice(n.indexOf("text"),0,"math")}(t,e);Tn.isRemarkCompiler(r)&&function(e){function t(e){let t="$";return(e.data&&e.data.hProperties&&e.data.hProperties.className||[]).includes("math-display")&&(t="$$"),t+e.value+t}e.prototype.visitors.inlineMath=t}(r)};const Sn=["math","math-inline"];var In=function(){const e=this.Parser,t=this.Compiler;Tn.isRemarkParser(e)&&function(e){const t=e.prototype,r=t.blockMethods,n=t.interruptParagraph,u=t.interruptList,i=t.interruptBlockquote;function o(e,t,r){var n=t.length,u=0;let i,o,a,c,s,l,f,D,p,d,h;for(;u<n&&32===t.charCodeAt(u);)u++;for(s=u;u<n&&36===t.charCodeAt(u);)u++;if(l=u-s,!(l<2)){for(;u<n&&32===t.charCodeAt(u);)u++;for(f=u;u<n;){if(i=t.charCodeAt(u),36===i)return;if(10===i)break;u++}if(10===t.charCodeAt(u)){if(r)return!0;for(o=[],f!==u&&o.push(t.slice(f,u)),u++,a=t.indexOf("\n",u+1),a=-1===a?n:a;u<n;){for(D=!1,d=u,h=a,c=a,p=0;c>d&&32===t.charCodeAt(c-1);)c--;for(;c>d&&36===t.charCodeAt(c-1);)p++,c--;for(l<=p&&t.indexOf("$",d)===c&&(D=!0,h=c);d<=h&&d-u<s&&32===t.charCodeAt(d);)d++;if(D)for(;h>d&&32===t.charCodeAt(h-1);)h--;if(D&&d===h||o.push(t.slice(d,h)),D)break;u=a+1,a=t.indexOf("\n",u+1),a=-1===a?n:a}return o=o.join("\n"),e(t.slice(0,a))({type:"math",value:o,data:{hName:"div",hProperties:{className:Rn.concat()},hChildren:[{type:"text",value:o}]}})}}}t.blockTokenizers.math=o,r.splice(r.indexOf("fencedCode")+1,0,"math"),n.splice(n.indexOf("fencedCode")+1,0,["math"]),u.splice(u.indexOf("fencedCode")+1,0,["math"]),i.splice(i.indexOf("fencedCode")+1,0,["math"])}(e);Tn.isRemarkCompiler(t)&&function(e){function t(e){return"$$\n"+e.value+"\n$$"}e.prototype.visitors.math=t}(t)};const Rn=["math","math-display"];var qn=function(e){var t=e||{};In.call(this,t),Nn.call(this,t)};var Pn=function(e){var t=this.Parser,r=this.Compiler;(function(e){return Boolean(e&&e.prototype&&e.prototype.blockTokenizers)})(t)&&function(e,t){var r,n=t||{},u=e.prototype,i=u.blockTokenizers,o=u.inlineTokenizers,a=u.blockMethods,c=u.inlineMethods,s=i.definition,l=o.reference,f=[],D=-1,p=a.length;for(;++D<p;)"newline"!==(r=a[D])&&"indentedCode"!==r&&"paragraph"!==r&&"footnoteDefinition"!==r&&f.push([r]);f.push(["footnoteDefinition"]),n.inlineNotes&&(jn(c,"reference","inlineNote"),o.inlineNote=g);function d(e,t,r){for(var n,u,o,a,c,s,l,f,D,p,d,h,g,m=this,E=m.interruptFootnoteDefinition,C=m.offset,b=t.length+1,v=0,F=[];v<b&&(9===(a=t.charCodeAt(v))||32===a);)v++;if(91===t.charCodeAt(v++)&&94===t.charCodeAt(v++)){for(u=v;v<b;){if((a=t.charCodeAt(v))!=a||10===a||9===a||32===a)return;if(93===a){o=v,v++;break}v++}if(void 0!==o&&u!==o&&58===t.charCodeAt(v++)){if(r)return!0;for(n=t.slice(u,o),c=e.now(),D=0,p=0,d=v,h=[];v<b;){if((a=t.charCodeAt(v))!=a||10===a)g={start:D,contentStart:d||v,contentEnd:v,end:v},h.push(g),10===a&&(D=v+1,p=0,d=void 0,g.end=D);else if(void 0!==p)if(32===a||9===a)(p+=32===a?1:4-p%4)>4&&(p=void 0,d=v);else{if(p<4&&g&&(g.contentStart===g.contentEnd||Gn(E,i,m,[e,t.slice(v,1024),!0])))break;p=void 0,d=v}v++}for(v=-1,b=h.length;b>0&&(g=h[b-1]).contentStart===g.contentEnd;)b--;for(s=e(t.slice(0,g.contentEnd));++v<b;)g=h[v],C[c.line+v]=(C[c.line+v]||0)+(g.contentStart-g.start),F.push(t.slice(g.contentStart,g.end));return l=m.enterBlock(),f=m.tokenizeBlock(F.join(""),c),l(),s({type:"footnoteDefinition",identifier:n.toLowerCase(),label:n,children:f})}}}function h(e,t,r){var n,u,i,o,a=t.length+1,c=0;if(91===t.charCodeAt(c++)&&94===t.charCodeAt(c++)){for(u=c;c<a;){if((o=t.charCodeAt(c))!=o||10===o||9===o||32===o)return;if(93===o){i=c,c++;break}c++}if(void 0!==i&&u!==i)return!!r||(n=t.slice(u,i),e(t.slice(0,c))({type:"footnoteReference",identifier:n.toLowerCase(),label:n}))}}function g(e,t,r){var n,u,i,o,a,c,s,l=this,f=t.length+1,D=0,p=0;if(94===t.charCodeAt(D++)&&91===t.charCodeAt(D++)){for(i=D;D<f;){if((u=t.charCodeAt(D))!=u)return;if(void 0===c)if(92===u)D+=2;else if(91===u)p++,D++;else if(93===u){if(0===p){o=D,D++;break}p--,D++}else if(96===u){for(a=D,c=1;96===t.charCodeAt(a+c);)c++;D+=c}else D++;else if(96===u){for(a=D,s=1;96===t.charCodeAt(a+s);)s++;D+=s,c===s&&(c=void 0),s=void 0}else D++}if(void 0!==o)return!!r||((n=e.now()).column+=2,n.offset+=2,e(t.slice(0,D))({type:"footnote",children:l.tokenizeInline(t.slice(i,o),n)}))}}function m(e,t,r){var n=0;if(33===t.charCodeAt(n)&&n++,91===t.charCodeAt(n)&&94!==t.charCodeAt(n+1))return l.call(this,e,t,r)}function E(e,t,r){for(var n=0,u=t.charCodeAt(n);32===u||9===u;)u=t.charCodeAt(++n);if(91===u&&94!==t.charCodeAt(n+1))return s.call(this,e,t,r)}function C(e,t){return e.indexOf("[",t)}function b(e,t){return e.indexOf("^[",t)}jn(a,"definition","footnoteDefinition"),jn(c,"reference","footnoteCall"),i.definition=E,i.footnoteDefinition=d,o.footnoteCall=h,o.reference=m,u.interruptFootnoteDefinition=f,m.locator=l.locator,h.locator=C,g.locator=b}(t,e);(function(e){return Boolean(e&&e.prototype&&e.prototype.visitors)})(r)&&function(e){var t=e.prototype.visitors,r=" ";function n(e){return"^["+this.all(e).join("")+"]"}function u(e){return"[^"+(e.label||e.identifier)+"]"}function i(e){for(var t,n=this.all(e).join("\n\n").split("\n"),u=0,i=n.length;++u<i;)""!==(t=n[u])&&(n[u]=r+t);return"[^"+(e.label||e.identifier)+"]: "+n.join("\n")}t.footnote=n,t.footnoteReference=u,t.footnoteDefinition=i}(r)};function jn(e,t,r){e.splice(e.indexOf(t),0,r)}function Gn(e,t,r,n){for(var u=e.length,i=-1;++i<u;)if(t[e[i][0]].apply(r,n))return!0;return!1}var zn=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Un(e){return{type:"concat",parts:e}}function Mn(e){return{type:"indent",contents:e}}function Vn(e,t){return{type:"align",contents:t,n:e}}function _n(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}const $n={type:"break-parent"},Hn=Un([{type:"line",hard:!0},$n]),Xn=Un([{type:"line",hard:!0,literal:!0},$n]);var Wn={concat:Un,join:function(e,t){const r=[];for(let n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return Un(r)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Hn,literalline:Xn,group:_n,conditionalGroup:function(e,t){return _n(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:$n,ifBreak:function(e,t,r){return{type:"if-break",breakContents:e,flatContents:t,groupId:(r=r||{}).groupId}},trim:{type:"trim"},indent:Mn,align:Vn,addAlignmentToDoc:function(e,t,r){let n=e;if(t>0){for(let e=0;e<Math.floor(t/r);++e)n=Mn(n);n=Vn(t%r,n),n=Vn(-1/0,n)}return n},markAsRoot:function(e){return Vn({type:"root"},e)},dedentToRoot:function(e){return Vn(-1/0,e)},dedent:function(e){return Vn(-1,e)}},Yn=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const Zn=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||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));var Jn=Zn,Kn=Zn;Jn.default=Kn;const Qn=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=Yn(e);let t=0;for(let r=0;r<e.length;r++){const n=e.codePointAt(r);n<=31||n>=127&&n<=159||(n>=768&&n<=879||(n>65535&&r++,t+=Jn(n)?2:1))}return t};var eu=Qn,tu=Qn;eu.default=tu;function ru(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var nu="object"==typeof rn&&rn.env&&rn.env.NODE_DEBUG&&/\bsemver\b/i.test(rn.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var uu={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},iu=r((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r}=uu,n=(t=e.exports={}).re=[],u=t.src=[],i=t.t={};let o=0;const a=(e,t,r)=>{const a=o++;nu(a,t),i[e]=a,u[a]=t,n[a]=new RegExp(t,r?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(u[i.NUMERICIDENTIFIER],")\\.")+"(".concat(u[i.NUMERICIDENTIFIER],")\\.")+"(".concat(u[i.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(u[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[i.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(u[i.NUMERICIDENTIFIER],"|").concat(u[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[i.NUMERICIDENTIFIERLOOSE],"|").concat(u[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(u[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[i.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(u[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[i.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(u[i.BUILDIDENTIFIER],"(?:\\.").concat(u[i.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(u[i.MAINVERSION]).concat(u[i.PRERELEASE],"?").concat(u[i.BUILD],"?")),a("FULL","^".concat(u[i.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(u[i.MAINVERSIONLOOSE]).concat(u[i.PRERELEASELOOSE],"?").concat(u[i.BUILD],"?")),a("LOOSE","^".concat(u[i.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(u[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(u[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:".concat(u[i.PRERELEASE],")?").concat(u[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[i.PRERELEASELOOSE],")?").concat(u[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(u[i.GTLT],"\\s*").concat(u[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(u[i.GTLT],"\\s*").concat(u[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",u[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(u[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(u[i.LONETILDE]).concat(u[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(u[i.LONETILDE]).concat(u[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(u[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(u[i.LONECARET]).concat(u[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(u[i.LONECARET]).concat(u[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(u[i.GTLT],"\\s*(").concat(u[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(u[i.GTLT],"\\s*(").concat(u[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(u[i.GTLT],"\\s*(").concat(u[i.LOOSEPLAIN],"|").concat(u[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(u[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(u[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const ou=/^[0-9]+$/,au=(e,t)=>{const r=ou.test(e),n=ou.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1};var cu={compareIdentifiers:au,rcompareIdentifiers:(e,t)=>au(t,e)};const{MAX_LENGTH:su,MAX_SAFE_INTEGER:lu}=uu,{re:fu,t:Du}=iu,{compareIdentifiers:pu}=cu;class du{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof du){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>su)throw new TypeError("version is longer than ".concat(su," characters"));nu("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?fu[Du.LOOSE]:fu[Du.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>lu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>lu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>lu||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<lu)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(nu("SemVer.compare",this.version,this.options,e),!(e instanceof du)){if("string"==typeof e&&e===this.version)return 0;e=new du(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof du||(e=new du(e,this.options)),pu(this.major,e.major)||pu(this.minor,e.minor)||pu(this.patch,e.patch)}comparePre(e){if(e instanceof du||(e=new du(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],n=e.prerelease[t];if(nu("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return pu(r,n)}while(++t)}compareBuild(e){e instanceof du||(e=new du(e,this.options));let t=0;do{const r=this.build[t],n=e.build[t];if(nu("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return pu(r,n)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var hu=du;var gu=(e,t,r)=>new hu(e,r).compare(new hu(t,r));var mu=(e,t,r)=>gu(e,t,r)<0;var Eu=(e,t,r)=>gu(e,t,r)>=0,Cu="2.2.0",bu=r((function(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return"undefined"!=typeof WeakMap?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.prototype.hasOwnProperty,i=function(e,t){return u.call(e,t)};function o(e,t){for(var r in t)i(t,r)&&(e[r]=t[r]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,s=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,f=/^[ \t]*[\r\n][ \t\r\n]*$/;function D(e,t,r){var n=0,u=e[0].match(l);u&&(n=u[1].length);var i=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,s=r.trimLeadingNewline,f=r.trimTrailingNewline,D="string"==typeof o,p=e.length;return e.map((function(e,t){return e=e.replace(i,"$1"),0===t&&s&&(e=e.replace(a,"")),t===p-1&&f&&(e=e.replace(c,"")),D&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function p(e,t){for(var r="",n=0,u=e.length;n<u;n++)r+=e[n],n<u-1&&(r+=t[n]);return r}function d(e){return i(e,"raw")&&i(e,"length")}var h=function e(t){var r=n(),u=n();return o((function n(i){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];if(d(i)){var l=i,g=(a[0]===n||a[0]===h)&&f.test(l[0])&&s.test(l[1]),m=g?u:r,E=m.get(l);if(E||(E=D(l,g,t),m.set(l,E)),0===a.length)return E[0];var C=p(E,g?a.slice(1):a);return C}return e(o(o({},t),i||{}))}),{string:function(e){return D([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=h,t.default=h;try{e.exports=h,Object.defineProperty(h,"__esModule",{value:!0}),h.default=h,h.outdent=h}catch(e){}}));function vu(){const e=ru(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]);return vu=function(){return e},e}function Fu(){const e=ru(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return Fu=function(){return e},e}function Au(){const e=ru(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return Au=function(){return e},e}function yu(){const e=ru(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]);return yu=function(){return e},e}function wu(){const e=ru(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "]);return wu=function(){return e},e}function ku(){const e=ru(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]);return ku=function(){return e},e}const{outdent:xu}=bu,Ou={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:xu(ku()),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",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:xu(wu())}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,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:"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:null,description:"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:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:xu(yu()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:xu(Au()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:xu(Fu()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:xu(vu()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",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."}]}};const Lu={compare:gu,lt:mu,gte:Eu},Bu=Cu,Tu={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:Ou}.options;var Nu={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:r=!1,showInternal:n=!1}={}){const u=Bu.split("-",1)[0],i=e.reduce(((e,t)=>e.concat(t.languages||[])),[]).filter(s),o=(a=Object.assign({},...e.map((({options:e})=>e)),Tu),c="name",Object.entries(a).map((([e,t])=>Object.assign({[c]:e},t)))).filter((e=>s(e)&&l(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(n)return e;return function(e,t){if(null==e)return{};var r,n,u={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(u[r]=e[r]);return u}(e,["cliName","cliCategory","cliDescription"])})).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(s).sort(((e,t)=>Lu.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>s(e)&&l(e))),"parser"===t.name&&function(e,t,r){const n=new Set(e.choices.map((e=>e.value)));for(const u of t)if(u.parsers)for(const t of u.parsers)if(!n.has(t)){n.add(t);const i=r.find((e=>e.parsers&&e.parsers[t]));let o=u.name;i&&i.name&&(o+=" (plugin: ".concat(i.name,")")),e.choices.push({value:t,description:o})}}(t,i,e));const r=e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).reduce(((e,r)=>(e[r.name]=r.defaultOptions[t.name],e)),{});return Object.assign({},t,{pluginDefaults:r})}));var a,c;return{languages:i,options:o};function s(e){return t||!("since"in e)||e.since&&Lu.gte(u,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&Lu.lt(u,e.deprecated)}}};const{getSupportInfo:Su}=Nu,Iu=/[^\x20-\x7F]/;function Ru(e){return(t,r,n)=>{const u=n&&n.backwards;if(!1===r)return!1;const{length:i}=t;let o=r;for(;o>=0&&o<i;){const r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;u?o--:o++}return(-1===o||o===i)&&o}}const qu=Ru(/\s/),Pu=Ru(" \t"),ju=Ru(",; \t"),Gu=Ru(/[^\n\r]/);function zu(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}function Uu(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Gu(e,t):t)}function Mu(e,t,r){const n=r&&r.backwards;if(!1===t)return!1;const u=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===u)return t-2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t-1}else{if("\r"===u&&"\n"===e.charAt(t+1))return t+2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t+1}return t}function Vu(e,t,r){const n=Pu(e,(r=r||{}).backwards?t-1:t,r);return n!==Mu(e,n,r)}function _u(e,t){let r=null,n=t;for(;n!==r;)r=n,n=ju(e,n),n=zu(e,n),n=Pu(e,n);return n=Uu(e,n),n=Mu(e,n),!1!==n&&Vu(e,n)}function $u(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Pu(e,n),n=zu(e,n),n=Uu(e,n),n=Mu(e,n);return n}function Hu(e,t,r){return $u(e,r(t))}function Xu(e,t,r){let n=0;for(let u=r=r||0;u<e.length;++u)"\t"===e[u]?n=n+t-n%t:n++;return n}function Wu(e,t){const r=e.slice(1,-1),n={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},i="'"===t?u:n,o=i===u?n:u;let a=i.quote;if(r.includes(i.quote)||r.includes(o.quote)){a=(r.match(i.regex)||[]).length>(r.match(o.regex)||[]).length?o.quote:i.quote}return a}function Yu(e,t,r){const n='"'===t?"'":'"',u=e.replace(/\\([\S\s])|(["'])/g,((e,u,i)=>u===n?u:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u)));return t+u+t}function Zu(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Ju={inferParserByLanguage:function(e,t){const{languages:r}=Su({plugins:t.plugins}),n=r.find((({name:t})=>t.toLowerCase()===e))||r.find((({aliases:t})=>Array.isArray(t)&&t.includes(e)))||r.find((({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e))));return n&&n.parsers[0]},replaceEndOfLineWith:function(e,t){const r=[];for(const n of e.split("\n"))0!==r.length&&r.push(t),r.push(n);return r},getStringWidth:function(e){return e?Iu.test(e)?eu(e):e.length:0},getMaxContinuousCount:function(e,t){const r=e.match(new RegExp("(".concat(zn(t),")+"),"g"));return null===r?0:r.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const r=e.match(new RegExp("(".concat(zn(t),")+"),"g"));if(null===r)return 0;const n=new Map;let u=0;for(const e of r){const r=e.length/t.length;n.set(r,!0),r>u&&(u=r)}for(let e=1;e<u;e++)if(!n.get(e))return e;return u+1},getPenultimate:e=>e[e.length-2],getLast:e=>e[e.length-1],getNextNonSpaceNonCommentCharacterIndexWithStartIndex:$u,getNextNonSpaceNonCommentCharacterIndex:Hu,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(Hu(e,t,r))},skip:Ru,skipWhitespace:qu,skipSpaces:Pu,skipToLineEnd:ju,skipEverythingButNewLine:Gu,skipInlineComment:zu,skipTrailingComment:Uu,skipNewline:Mu,isNextLineEmptyAfterIndex:_u,isNextLineEmpty:function(e,t,r){return _u(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=Pu(e,n,{backwards:!0}),n=Mu(e,n,{backwards:!0}),n=Pu(e,n,{backwards:!0}),n!==Mu(e,n,{backwards:!0})},hasNewline:Vu,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t,r){return Pu(e,(r=r||{}).backwards?t-1:t,r)!==t},getAlignmentSize:Xu,getIndentSize:function(e,t){const r=e.lastIndexOf("\n");return-1===r?0:Xu(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:Wu,printString:function(e,t,r){const n=e.slice(1,-1),u=!n.includes('"')&&!n.includes("'"),i="json"===t.parser?'"':t.__isInHtmlAttribute?"'":Wu(e,t.singleQuote?"'":'"');return r?u?i+n+i:e:Yu(n,i,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},isNodeIgnoreComment:function(e){return"prettier-ignore"===e.value.trim()},makeString:Yu,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Zu(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Zu(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Zu(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}};var Ku={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;if("\n"===t)r=/\n/g;else if("\r"===t)r=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));r=/\r\n/g}const n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:Qu}=Ju,{convertEndOfLineToChars:ei}=Ku,{concat:ti,fill:ri,cursor:ni}=Wn;let ui;function ii(e,t){return ai(e,{type:"indent"},t)}function oi(e,t,r){if(t===-1/0)return e.root||{value:"",length:0,queue:[]};if(t<0)return ai(e,{type:"dedent"},r);if(!t)return e;if("root"===t.type)return Object.assign({},e,{root:e});return ai(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r)}function ai(e,t,r){const n="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let u="",i=0,o=0,a=0;for(const e of n)switch(e.type){case"indent":l(),r.useTabs?c(1):s(r.tabWidth);break;case"stringAlign":l(),u+=e.n,i+=e.n.length;break;case"numberAlign":o+=1,a+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return f(),Object.assign({},e,{value:u,length:i,queue:n});function c(e){u+="\t".repeat(e),i+=r.tabWidth*e}function s(e){u+=" ".repeat(e),i+=e}function l(){r.useTabs?function(){o>0&&c(o);D()}():f()}function f(){a>0&&s(a),D()}function D(){o=0,a=0}}function ci(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const r=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-r.length,e[e.length-1]=r}return t}function si(e,t,r,n,u){let i=t.length;const o=[e],a=[];for(;r>=0;){if(0===o.length){if(0===i)return!0;o.push(t[i-1]),i--;continue}const[e,c,s]=o.pop();if("string"==typeof s)a.push(s),r-=Qu(s);else switch(s.type){case"concat":for(let t=s.parts.length-1;t>=0;t--)o.push([e,c,s.parts[t]]);break;case"indent":o.push([ii(e,n),c,s.contents]);break;case"align":o.push([oi(e,s.n,n),c,s.contents]);break;case"trim":r+=ci(a);break;case"group":if(u&&s.break)return!1;o.push([e,s.break?1:c,s.contents]),s.id&&(ui[s.id]=o[o.length-1][1]);break;case"fill":for(let t=s.parts.length-1;t>=0;t--)o.push([e,c,s.parts[t]]);break;case"if-break":{const t=s.groupId?ui[s.groupId]:c;1===t&&s.breakContents&&o.push([e,c,s.breakContents]),2===t&&s.flatContents&&o.push([e,c,s.flatContents]);break}case"line":switch(c){case 2:if(!s.hard){s.soft||(a.push(" "),r-=1);break}return!0;case 1:return!0}}}return!1}var li={printDocToString:function(e,t){ui={};const r=t.printWidth,n=ei(t.endOfLine);let u=0;const i=[[{value:"",length:0,queue:[]},1,e]],o=[];let a=!1,c=[];for(;0!==i.length;){const[e,s,l]=i.pop();if("string"==typeof l){const e="\n"!==n&&l.includes("\n")?l.replace(/\n/g,n):l;o.push(e),u+=Qu(e)}else switch(l.type){case"cursor":o.push(ni.placeholder);break;case"concat":for(let t=l.parts.length-1;t>=0;t--)i.push([e,s,l.parts[t]]);break;case"indent":i.push([ii(e,t),s,l.contents]);break;case"align":i.push([oi(e,l.n,t),s,l.contents]);break;case"trim":u-=ci(o);break;case"group":switch(s){case 2:if(!a){i.push([e,l.break?1:2,l.contents]);break}case 1:{a=!1;const n=[e,2,l.contents],o=r-u;if(!l.break&&si(n,i,o,t))i.push(n);else if(l.expandedStates){const r=l.expandedStates[l.expandedStates.length-1];if(l.break){i.push([e,1,r]);break}for(let n=1;n<l.expandedStates.length+1;n++){if(n>=l.expandedStates.length){i.push([e,1,r]);break}{const r=[e,2,l.expandedStates[n]];if(si(r,i,o,t)){i.push(r);break}}}}else i.push([e,1,l.contents]);break}}l.id&&(ui[l.id]=i[i.length-1][1]);break;case"fill":{const n=r-u,{parts:o}=l;if(0===o.length)break;const[a,c]=o,f=[e,2,a],D=[e,1,a],p=si(f,[],n,t,!0);if(1===o.length){p?i.push(f):i.push(D);break}const d=[e,2,c],h=[e,1,c];if(2===o.length){p?(i.push(d),i.push(f)):(i.push(h),i.push(D));break}o.splice(0,2);const g=[e,s,ri(o)],m=o[0];si([e,2,ti([a,c,m])],[],n,t,!0)?(i.push(g),i.push(d),i.push(f)):p?(i.push(g),i.push(h),i.push(f)):(i.push(g),i.push(h),i.push(D));break}case"if-break":{const t=l.groupId?ui[l.groupId]:s;1===t&&l.breakContents&&i.push([e,s,l.breakContents]),2===t&&l.flatContents&&i.push([e,s,l.flatContents]);break}case"line-suffix":c.push([e,s,l.contents]);break;case"line-suffix-boundary":c.length>0&&i.push([e,s,{type:"line",hard:!0}]);break;case"line":switch(s){case 2:if(!l.hard){l.soft||(o.push(" "),u+=1);break}a=!0;case 1:if(c.length){i.push([e,s,l]),i.push(...c.reverse()),c=[];break}l.literal?e.root?(o.push(n,e.root.value),u=e.root.length):(o.push(n),u=0):(u-=ci(o),o.push(n+e.value),u=e.length)}}0===i.length&&c.length&&(i.push(...c.reverse()),c=[])}const s=o.indexOf(ni.placeholder);if(-1!==s){const e=o.indexOf(ni.placeholder,s+1),t=o.slice(0,s).join(""),r=o.slice(s+1,e).join("");return{formatted:t+r+o.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:o.join("")}}};const{literalline:fi,concat:Di}=Wn,pi={};function di(e,t,r,n){const u=[e];for(;0!==u.length;){const e=u.pop();if(e!==pi){if(r&&u.push(e,pi),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)u.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&u.push(e.flatContents),e.breakContents&&u.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)u.push(e.expandedStates[t]);else u.push(e.contents);else e.contents&&u.push(e.contents)}else r(u.pop())}}function hi(e,t){if("concat"===e.type||"fill"===e.type){const r=e.parts.map((e=>hi(e,t)));return t(Object.assign({},e,{parts:r}))}if("if-break"===e.type){const r=e.breakContents&&hi(e.breakContents,t),n=e.flatContents&&hi(e.flatContents,t);return t(Object.assign({},e,{breakContents:r,flatContents:n}))}if(e.contents){const r=hi(e.contents,t);return t(Object.assign({},e,{contents:r}))}return t(e)}function gi(e,t,r){let n=r,u=!1;return di(e,(function(e){const r=t(e);if(void 0!==r&&(u=!0,n=r),u)return!1})),n}function mi(e){return"string"!=typeof e&&("line"===e.type||void 0)}function Ei(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function Ci(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function bi(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function vi(e){const t=[],r=e.filter(Boolean);for(;0!==r.length;){const e=r.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:r.unshift(...e.parts))}return t}function Fi(e){if("concat"===e.type){const t=[];for(let r=0;r<e.parts.length;++r){const n=e.parts[r];if("string"!=typeof n&&"concat"===n.type)t.push(...Fi(n).parts);else{const e=Fi(n);""!==e&&t.push(e)}}return Object.assign({},e,{parts:t})}return"if-break"===e.type?Object.assign({},e,{breakContents:null!=e.breakContents?Fi(e.breakContents):null,flatContents:null!=e.flatContents?Fi(e.flatContents):null}):"group"===e.type?Object.assign({},e,{contents:Fi(e.contents),expandedStates:e.expandedStates?e.expandedStates.map(Fi):e.expandedStates}):e.contents?Object.assign({},e,{contents:Fi(e.contents)}):e}function Ai(e){if("string"==typeof e)return JSON.stringify(e);if("line"===e.type)return e.literal?"literalline":e.hard?"hardline":e.soft?"softline":"line";if("break-parent"===e.type)return"breakParent";if("trim"===e.type)return"trim";if("concat"===e.type)return"["+e.parts.map(Ai).join(", ")+"]";if("indent"===e.type)return"indent("+Ai(e.contents)+")";if("align"===e.type)return e.n===-1/0?"dedentToRoot("+Ai(e.contents)+")":e.n<0?"dedent("+Ai(e.contents)+")":"root"===e.n.type?"markAsRoot("+Ai(e.contents)+")":"align("+JSON.stringify(e.n)+", "+Ai(e.contents)+")";if("if-break"===e.type)return"ifBreak("+Ai(e.breakContents)+(e.flatContents?", "+Ai(e.flatContents):"")+")";if("group"===e.type)return e.expandedStates?"conditionalGroup(["+e.expandedStates.map(Ai).join(",")+"])":(e.break?"wrappedGroup":"group")+"("+Ai(e.contents)+")";if("fill"===e.type)return"fill("+e.parts.map(Ai).join(", ")+")";if("line-suffix"===e.type)return"lineSuffix("+Ai(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";throw new Error("Unknown doc type "+e.type)}var yi={builders:Wn,printer:li,utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return gi(e,Ei,!1)},isLineNext:function(e){return gi(e,mi,!1)},traverseDoc:di,findInDoc:gi,mapDoc:hi,propagateBreaks:function(e){const t=new Set,r=[];di(e,(function(e){if("break-parent"===e.type&&Ci(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){r.pop().break&&Ci(r)}}),!0)},removeLines:function(e){return hi(e,bi)},stripTrailingHardline:function e(t,r=!1){if("concat"===t.type&&0!==t.parts.length){const n=r?function(e){let t,{parts:r}=e;for(let n=e.parts.length;n>0&&!t;n--)t=r[n-1];return"group"===t.type&&(r=t.contents.parts),r}(t):t.parts,u=n[n.length-1];if("concat"===u.type)return 2===u.parts.length&&u.parts[0].hard&&"break-parent"===u.parts[1].type?{type:"concat",parts:n.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(u))}}return t},normalizeParts:vi,normalizeDoc:function(e){return hi(e,(e=>e.parts?Object.assign({},e,{parts:vi(e.parts)}):e))},replaceNewlinesWithLiterallines:function(e){return hi(e,(e=>"string"==typeof e&&e.includes("\n")?Di(e.split(/(\n)/g).map(((e,t)=>t%2==0?e:fi))):e))}},debug:{printDocToDebug:e=>Ai(Fi(e))}};const{builders:{hardline:wi,concat:ki,markAsRoot:xi}}=yi,Oi={"---":"yaml","+++":"toml"};var Li={parse:function(e){const t=Object.keys(Oi).map(zn).join("|"),r=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===r)return{frontMatter:null,content:e};const[n,u,i,o]=r;let a=Oi[u];return"toml"!==a&&i&&i.trim()&&(a=i.trim()),{frontMatter:{type:"front-matter",lang:a,value:o,raw:n.replace(/\n$/,"")},content:n.replace(/[^\n]/g," ")+e.slice(n.length)}},print:function(e,t){if("yaml"===e.lang){const r=e.value.trim(),n=r?t(r,{parser:"yaml"},{stripTrailingHardline:!0}):"";return xi(ki(["---",wi,n,n?wi:"","---"]))}}};const{parse:Bi}=Li,Ti=["format","prettier"];function Ni(e){const t="@(".concat(Ti.join("|"),")"),r=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),n=e.match(r);return n&&0===n.index}var Si={startWithPragma:Ni,hasPragma:e=>Ni(Bi(e).content.trimStart()),insertPragma:e=>{const t=Bi(e),r="\x3c!-- @".concat(Ti[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(r,"\n\n").concat(t.content):"".concat(r,"\n\n").concat(t.content)}};var Ii={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:Ri}=Ju,{locStart:qi,locEnd:Pi}=Ii,{cjkPattern:ji,kPattern:Gi,punctuationPattern:zi}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\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]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\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]",punctuationPattern:"[\\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\\u061e-\\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\\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\\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[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},Ui=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Mi=Ui.concat(["tableCell","paragraph","heading"]),Vi=new RegExp(Gi),_i=new RegExp(zi);function $i(e,t){const[,r,n,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:u}}var Hi={mapAst:function(e,t){return function e(r,n,u){u=u||[];const i=Object.assign({},t(r,n,u));return i.children&&(i.children=i.children.map(((t,r)=>e(t,r,[i].concat(u))))),i}(e,null,null)},splitText:function(e,t){const r="non-cjk",n="cj-letter",u="cjk-punctuation",i=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(ji,")\n(").concat(ji,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach(((e,t,a)=>{t%2!=1?(0!==t&&t!==a.length-1||""!==e)&&e.split(new RegExp("(".concat(ji,")"))).forEach(((e,t,i)=>{(0!==t&&t!==i.length-1||""!==e)&&(t%2!=0?o(_i.test(e)?{type:"word",value:e,kind:u,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:Vi.test(e)?"k-letter":n,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&o({type:"word",value:e,kind:r,hasLeadingPunctuation:_i.test(e[0]),hasTrailingPunctuation:_i.test(Ri(e))}))})):i.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})})),i;function o(e){const t=Ri(i);var o,a;t&&"word"===t.type&&(t.kind===r&&e.kind===n&&!t.hasTrailingPunctuation||t.kind===n&&e.kind===r&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(o=r,a=u,t.kind===o&&e.kind===a||t.kind===a&&e.kind===o||[t.value,e.value].some((e=>/\u3000/.test(e)))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:zi,getFencedCodeBlockValue:function(e,t){const{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:$i,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const r=Number($i(e.children[0],t.originalText).numberText),n=Number($i(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){const r=Number($i(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:Ui,INLINE_NODE_WRAPPER_TYPES:Mi,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&qi(e)===qi(t)&&Pi(e)===Pi(t)}};const Xi=/^import\s/,Wi=/^export\s/,Yi=e=>Xi.test(e),Zi=e=>Wi.test(e),Ji=(e,t)=>{const r=t.indexOf("\n\n"),n=t.slice(0,r);if(Zi(n)||Yi(n))return e(n)({type:Zi(n)?"export":"import",value:n})};Ji.locator=e=>Zi(e)||Yi(e)?-1:1;var Ki={esSyntax:function(){const{Parser:e}=this,t=e.prototype.blockTokenizers,r=e.prototype.blockMethods;t.esSyntax=Ji,r.splice(r.indexOf("paragraph"),0,"esSyntax")},BLOCKS_REGEX:"[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",COMMENT_REGEX:"\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e"};const{parse:Qi}=Li,{locStart:eo,locEnd:to}=Ii,{mapAst:ro,INLINE_NODE_WRAPPER_TYPES:no}=Hi;function uo({isMDX:e}){return t=>{const r=vn().use(ir,Object.assign({commonmark:!0},e&&{blocks:[Ki.BLOCKS_REGEX]})).use(Pn).use(ao).use(qn).use(e?Ki.esSyntax:io).use(co).use(e?oo:io).use(so).use(lo);return r.runSync(r.parse(t))}}function io(e){return e}function oo(){return e=>ro(e,((e,t,[r])=>"html"!==e.type||e.value.match(Ki.COMMENT_REGEX)||no.includes(r.type)?e:Object.assign({},e,{type:"jsx"})))}function ao(){const e=this.Parser.prototype;function t(e,t){const r=Qi(t);if(r.frontMatter)return e(r.frontMatter.raw)(r.frontMatter)}e.blockMethods=["frontMatter"].concat(e.blockMethods),e.blockTokenizers.frontMatter=t,t.onlyAtStart=!0}function co(){const e=this.Parser.prototype,t=e.inlineMethods;function r(e,t){const r=t.match(/^({%[\S\s]*?%}|{{[\S\s]*?}})/);if(r)return e(r[0])({type:"liquidNode",value:r[0]})}t.splice(t.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=r,r.locator=function(e,t){return e.indexOf("{",t)}}function so(){const e="wikiLink",t=/^\[\[(?<linkContents>.+?)]]/s,r=this.Parser.prototype,n=r.inlineMethods;function u(r,n){const u=t.exec(n);if(u){const t=u.groups.linkContents.trim();return r(u[0])({type:e,value:t})}}n.splice(n.indexOf("link"),0,e),r.inlineTokenizers.wikiLink=u,u.locator=function(e,t){return e.indexOf("[",t)}}function lo(){const e=this.Parser.prototype,t=e.blockTokenizers.list;function r(e,t,r){return"listItem"===t.type&&(t.loose=t.spread||"\n"===e.charAt(e.length-1),t.loose&&(r.loose=!0)),t}e.blockTokenizers.list=function(e,n,u){function i(t){const n=e(t);function u(e,u){return n(r(t,e,u),u)}return u.reset=function(e,u){return n.reset(r(t,e,u),u)},u}return i.now=e.now,t.call(this,i,n,u)}}const fo={astFormat:"mdast",hasPragma:Si.hasPragma,locStart:eo,locEnd:to},Do=Object.assign({},fo,{parse:uo({isMDX:!1})});var po={parsers:{remark:Do,markdown:Do,mdx:Object.assign({},fo,{parse:uo({isMDX:!0})})}};export default po;
|
|
19
|
+
*/function hn(e){var t,r,n;if(e){if("string"==typeof e||ln(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof hn))return new hn(e);for(this.data={},this.messages=[],this.history=[],this.cwd=rn.cwd(),r=-1,n=dn.length;++r<n;)t=dn[r],Dn.call(e,t)&&(this[t]=e[t]);for(t in e)-1===dn.indexOf(t)&&(this[t]=e[t])}function gn(e,t){if(-1!==e.indexOf(cn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+cn.sep+"`")}function mn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function En(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}pn.toString=function(e){var t=this.contents||"";return ln(t)?t.toString(e):String(t)},Object.defineProperty(pn,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){mn(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(pn,"dirname",{get:function(){return"string"==typeof this.path?cn.dirname(this.path):void 0},set:function(e){En(this.path,"dirname"),this.path=cn.join(e||"",this.basename)}}),Object.defineProperty(pn,"basename",{get:function(){return"string"==typeof this.path?cn.basename(this.path):void 0},set:function(e){mn(e,"basename"),gn(e,"basename"),this.path=cn.join(this.dirname||"",e)}}),Object.defineProperty(pn,"extname",{get:function(){return"string"==typeof this.path?cn.extname(this.path):void 0},set:function(e){var t=e||"";if(gn(t,"extname"),En(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=sn(this.path,t)}}),Object.defineProperty(pn,"stem",{get:function(){return"string"==typeof this.path?cn.basename(this.path,this.extname):void 0},set:function(e){mn(e,"stem"),gn(e,"stem"),this.path=cn.join(this.dirname||"",e+(this.extname||""))}});var Cn=fn,bn=fn.prototype;bn.message=function(e,t,r){var n=this.path,u=new Or(e,t,r);n&&(u.name=n+":"+u.name,u.file=n);return u.fatal=!1,this.messages.push(u),u},bn.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},bn.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e};var vn=function e(){var t=[],r=br(),n={},u=!1,i=-1;return o.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(On("data",u),n[e]=t,o):An.call(n,e)&&n[e]||null;if(e)return On("data",u),n=e,o;return n},o.freeze=a,o.attachers=t,o.use=function(e){var r;if(On("use",u),null==e);else if("function"==typeof e)l.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?s(e):i(e)}r&&(n.settings=gr(n.settings||{},r));return o;function i(e){s(e.plugins),e.settings&&(r=gr(r||{},e.settings))}function a(e){if("function"==typeof e)l(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l.apply(null,e):i(e)}}function s(e){var t,r;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,r=-1;++r<t;)a(e[r])}}function l(e,r){var n=c(e);n?(mr(n[1])&&mr(r)&&(r=gr(n[1],r)),n[1]=r):t.push(Fn.call(arguments))}},o.parse=function(e){var t,r=Cn(e);if(a(),kn("parse",t=o.Parser),wn(t,"parse"))return new t(String(r),r).parse();return t(String(r),r)},o.stringify=function(e,t){var r,n=Cn(t);if(a(),xn("stringify",r=o.Compiler),Ln(e),wn(r,"compile"))return new r(e,n).compile();return r(e,n)},o.run=s,o.runSync=function(e,t){var r,n=!1;return s(e,t,u),Bn("runSync","run",n),r;function u(e,t){n=!0,ar(e),r=t}},o.process=l,o.processSync=f,o;function o(){for(var r=e(),u=t.length,i=-1;++i<u;)r.use.apply(null,t[i]);return r.data(gr(!0,{},n)),r}function a(){var e,n,a,c;if(u)return o;for(;++i<t.length;)n=(e=t[i])[0],null,!1!==(a=e[1])&&(!0===a&&(e[1]=void 0),"function"==typeof(c=n.apply(o,e.slice(1)))&&r.use(c));return u=!0,i=1/0,o}function c(e){for(var r,n=t.length,u=-1;++u<n;)if((r=t[u])[0]===e)return r}function s(e,t,n){if(Ln(e),a(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(u);function u(u,i){r.run(e,Cn(t),(function(t,r,o){r=r||e,t?i(t):u?u(r):n(null,r,o)}))}u(null,n)}function l(e,t){if(a(),kn("process",o.Parser),xn("process",o.Compiler),!t)return new Promise(r);function r(r,n){var u=Cn(e);yn.run(o,{file:u},(function(e){e?n(e):r?r(u):t(null,u)}))}r(null,t)}function f(e){var t,r=!1;return a(),kn("processSync",o.Parser),xn("processSync",o.Compiler),l(t=Cn(e),(function(e){r=!0,ar(e)})),Bn("processSync","process",r),t}}().freeze(),Fn=[].slice,An={}.hasOwnProperty,yn=br().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,r){e.run(t.tree,t.file,(function(e,n,u){e?r(e):(t.tree=n,t.file=u,r())}))})).use((function(e,t){var r=e.stringify(t.tree,t.file),n=t.file;null==r||("string"==typeof r||(u=r,null!=u&&null!=u.constructor&&"function"==typeof u.constructor.isBuffer&&u.constructor.isBuffer(u))?n.contents=r:n.result=r);var u}));function wn(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function kn(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function xn(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function On(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function Ln(e){if(!e||"string"!=typeof e.type)throw new Error("Expected node, got `"+e+"`")}function Bn(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}var Tn={isRemarkParser:function(e){return Boolean(e&&e.prototype&&e.prototype.blockTokenizers)},isRemarkCompiler:function(e){return Boolean(e&&e.prototype&&e.prototype.visitors)}},Nn=function(e){const t=this.Parser,r=this.Compiler;Tn.isRemarkParser(t)&&function(e,t){const r=e.prototype,n=r.inlineMethods;function u(e,t){return e.indexOf("$",t)}function i(e,r,n){const u=r.length;let i,o,a,c,s,l,f,D=!1,p=!1,d=0;if(92===r.charCodeAt(d)&&(p=!0,d++),36===r.charCodeAt(d)){if(d++,p)return!!n||e(r.slice(0,d))({type:"text",value:"$"});if(36===r.charCodeAt(d)&&(D=!0,d++),a=r.charCodeAt(d),32!==a&&9!==a){for(c=d;d<u;){if(o=a,a=r.charCodeAt(d+1),36===o){if(i=r.charCodeAt(d-1),32!==i&&9!==i&&(a!=a||a<48||a>57)&&(!D||36===a)){s=d-1,d++,D&&d++,l=d;break}}else 92===o&&(d++,a=r.charCodeAt(d+1));d++}if(void 0!==l)return!!n||(f=r.slice(c,s+1),e(r.slice(0,l))({type:"inlineMath",value:f,data:{hName:"span",hProperties:{className:Sn.concat(D&&t.inlineMathDouble?["math-display"]:[])},hChildren:[{type:"text",value:f}]}}))}}}i.locator=u,r.inlineTokenizers.math=i,n.splice(n.indexOf("text"),0,"math")}(t,e);Tn.isRemarkCompiler(r)&&function(e){function t(e){let t="$";return(e.data&&e.data.hProperties&&e.data.hProperties.className||[]).includes("math-display")&&(t="$$"),t+e.value+t}e.prototype.visitors.inlineMath=t}(r)};const Sn=["math","math-inline"];var In=function(){const e=this.Parser,t=this.Compiler;Tn.isRemarkParser(e)&&function(e){const t=e.prototype,r=t.blockMethods,n=t.interruptParagraph,u=t.interruptList,i=t.interruptBlockquote;function o(e,t,r){var n=t.length,u=0;let i,o,a,c,s,l,f,D,p,d,h;for(;u<n&&32===t.charCodeAt(u);)u++;for(s=u;u<n&&36===t.charCodeAt(u);)u++;if(l=u-s,!(l<2)){for(;u<n&&32===t.charCodeAt(u);)u++;for(f=u;u<n;){if(i=t.charCodeAt(u),36===i)return;if(10===i)break;u++}if(10===t.charCodeAt(u)){if(r)return!0;for(o=[],f!==u&&o.push(t.slice(f,u)),u++,a=t.indexOf("\n",u+1),a=-1===a?n:a;u<n;){for(D=!1,d=u,h=a,c=a,p=0;c>d&&32===t.charCodeAt(c-1);)c--;for(;c>d&&36===t.charCodeAt(c-1);)p++,c--;for(l<=p&&t.indexOf("$",d)===c&&(D=!0,h=c);d<=h&&d-u<s&&32===t.charCodeAt(d);)d++;if(D)for(;h>d&&32===t.charCodeAt(h-1);)h--;if(D&&d===h||o.push(t.slice(d,h)),D)break;u=a+1,a=t.indexOf("\n",u+1),a=-1===a?n:a}return o=o.join("\n"),e(t.slice(0,a))({type:"math",value:o,data:{hName:"div",hProperties:{className:Rn.concat()},hChildren:[{type:"text",value:o}]}})}}}t.blockTokenizers.math=o,r.splice(r.indexOf("fencedCode")+1,0,"math"),n.splice(n.indexOf("fencedCode")+1,0,["math"]),u.splice(u.indexOf("fencedCode")+1,0,["math"]),i.splice(i.indexOf("fencedCode")+1,0,["math"])}(e);Tn.isRemarkCompiler(t)&&function(e){function t(e){return"$$\n"+e.value+"\n$$"}e.prototype.visitors.math=t}(t)};const Rn=["math","math-display"];var qn=function(e){var t=e||{};In.call(this,t),Nn.call(this,t)};var Pn=function(e){var t=this.Parser,r=this.Compiler;(function(e){return Boolean(e&&e.prototype&&e.prototype.blockTokenizers)})(t)&&function(e,t){var r,n=t||{},u=e.prototype,i=u.blockTokenizers,o=u.inlineTokenizers,a=u.blockMethods,c=u.inlineMethods,s=i.definition,l=o.reference,f=[],D=-1,p=a.length;for(;++D<p;)"newline"!==(r=a[D])&&"indentedCode"!==r&&"paragraph"!==r&&"footnoteDefinition"!==r&&f.push([r]);f.push(["footnoteDefinition"]),n.inlineNotes&&(jn(c,"reference","inlineNote"),o.inlineNote=g);function d(e,t,r){for(var n,u,o,a,c,s,l,f,D,p,d,h,g,m=this,E=m.interruptFootnoteDefinition,C=m.offset,b=t.length+1,v=0,F=[];v<b&&(9===(a=t.charCodeAt(v))||32===a);)v++;if(91===t.charCodeAt(v++)&&94===t.charCodeAt(v++)){for(u=v;v<b;){if((a=t.charCodeAt(v))!=a||10===a||9===a||32===a)return;if(93===a){o=v,v++;break}v++}if(void 0!==o&&u!==o&&58===t.charCodeAt(v++)){if(r)return!0;for(n=t.slice(u,o),c=e.now(),D=0,p=0,d=v,h=[];v<b;){if((a=t.charCodeAt(v))!=a||10===a)g={start:D,contentStart:d||v,contentEnd:v,end:v},h.push(g),10===a&&(D=v+1,p=0,d=void 0,g.end=D);else if(void 0!==p)if(32===a||9===a)(p+=32===a?1:4-p%4)>4&&(p=void 0,d=v);else{if(p<4&&g&&(g.contentStart===g.contentEnd||Gn(E,i,m,[e,t.slice(v,1024),!0])))break;p=void 0,d=v}v++}for(v=-1,b=h.length;b>0&&(g=h[b-1]).contentStart===g.contentEnd;)b--;for(s=e(t.slice(0,g.contentEnd));++v<b;)g=h[v],C[c.line+v]=(C[c.line+v]||0)+(g.contentStart-g.start),F.push(t.slice(g.contentStart,g.end));return l=m.enterBlock(),f=m.tokenizeBlock(F.join(""),c),l(),s({type:"footnoteDefinition",identifier:n.toLowerCase(),label:n,children:f})}}}function h(e,t,r){var n,u,i,o,a=t.length+1,c=0;if(91===t.charCodeAt(c++)&&94===t.charCodeAt(c++)){for(u=c;c<a;){if((o=t.charCodeAt(c))!=o||10===o||9===o||32===o)return;if(93===o){i=c,c++;break}c++}if(void 0!==i&&u!==i)return!!r||(n=t.slice(u,i),e(t.slice(0,c))({type:"footnoteReference",identifier:n.toLowerCase(),label:n}))}}function g(e,t,r){var n,u,i,o,a,c,s,l=this,f=t.length+1,D=0,p=0;if(94===t.charCodeAt(D++)&&91===t.charCodeAt(D++)){for(i=D;D<f;){if((u=t.charCodeAt(D))!=u)return;if(void 0===c)if(92===u)D+=2;else if(91===u)p++,D++;else if(93===u){if(0===p){o=D,D++;break}p--,D++}else if(96===u){for(a=D,c=1;96===t.charCodeAt(a+c);)c++;D+=c}else D++;else if(96===u){for(a=D,s=1;96===t.charCodeAt(a+s);)s++;D+=s,c===s&&(c=void 0),s=void 0}else D++}if(void 0!==o)return!!r||((n=e.now()).column+=2,n.offset+=2,e(t.slice(0,D))({type:"footnote",children:l.tokenizeInline(t.slice(i,o),n)}))}}function m(e,t,r){var n=0;if(33===t.charCodeAt(n)&&n++,91===t.charCodeAt(n)&&94!==t.charCodeAt(n+1))return l.call(this,e,t,r)}function E(e,t,r){for(var n=0,u=t.charCodeAt(n);32===u||9===u;)u=t.charCodeAt(++n);if(91===u&&94!==t.charCodeAt(n+1))return s.call(this,e,t,r)}function C(e,t){return e.indexOf("[",t)}function b(e,t){return e.indexOf("^[",t)}jn(a,"definition","footnoteDefinition"),jn(c,"reference","footnoteCall"),i.definition=E,i.footnoteDefinition=d,o.footnoteCall=h,o.reference=m,u.interruptFootnoteDefinition=f,m.locator=l.locator,h.locator=C,g.locator=b}(t,e);(function(e){return Boolean(e&&e.prototype&&e.prototype.visitors)})(r)&&function(e){var t=e.prototype.visitors,r=" ";function n(e){return"^["+this.all(e).join("")+"]"}function u(e){return"[^"+(e.label||e.identifier)+"]"}function i(e){for(var t,n=this.all(e).join("\n\n").split("\n"),u=0,i=n.length;++u<i;)""!==(t=n[u])&&(n[u]=r+t);return"[^"+(e.label||e.identifier)+"]: "+n.join("\n")}t.footnote=n,t.footnoteReference=u,t.footnoteDefinition=i}(r)};function jn(e,t,r){e.splice(e.indexOf(t),0,r)}function Gn(e,t,r,n){for(var u=e.length,i=-1;++i<u;)if(t[e[i][0]].apply(r,n))return!0;return!1}var zn=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Un(e){return{type:"concat",parts:e}}function Mn(e){return{type:"indent",contents:e}}function Vn(e,t){return{type:"align",contents:t,n:e}}function _n(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}const $n={type:"break-parent"},Hn=Un([{type:"line",hard:!0},$n]),Xn=Un([{type:"line",hard:!0,literal:!0},$n]);var Wn={concat:Un,join:function(e,t){const r=[];for(let n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return Un(r)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Hn,literalline:Xn,group:_n,conditionalGroup:function(e,t){return _n(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:$n,ifBreak:function(e,t,r){return{type:"if-break",breakContents:e,flatContents:t,groupId:(r=r||{}).groupId}},trim:{type:"trim"},indent:Mn,align:Vn,addAlignmentToDoc:function(e,t,r){let n=e;if(t>0){for(let e=0;e<Math.floor(t/r);++e)n=Mn(n);n=Vn(t%r,n),n=Vn(-1/0,n)}return n},markAsRoot:function(e){return Vn({type:"root"},e)},dedentToRoot:function(e){return Vn(-1/0,e)},dedent:function(e){return Vn(-1,e)}},Yn=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const Zn=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||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));var Jn=Zn,Kn=Zn;Jn.default=Kn;const Qn=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=Yn(e);let t=0;for(let r=0;r<e.length;r++){const n=e.codePointAt(r);n<=31||n>=127&&n<=159||(n>=768&&n<=879||(n>65535&&r++,t+=Jn(n)?2:1))}return t};var eu=Qn,tu=Qn;eu.default=tu;function ru(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var nu="object"==typeof rn&&rn.env&&rn.env.NODE_DEBUG&&/\bsemver\b/i.test(rn.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var uu={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},iu=r((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r}=uu,n=(t=e.exports={}).re=[],u=t.src=[],i=t.t={};let o=0;const a=(e,t,r)=>{const a=o++;nu(a,t),i[e]=a,u[a]=t,n[a]=new RegExp(t,r?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(u[i.NUMERICIDENTIFIER],")\\.")+"(".concat(u[i.NUMERICIDENTIFIER],")\\.")+"(".concat(u[i.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(u[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[i.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(u[i.NUMERICIDENTIFIER],"|").concat(u[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[i.NUMERICIDENTIFIERLOOSE],"|").concat(u[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(u[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[i.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(u[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[i.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(u[i.BUILDIDENTIFIER],"(?:\\.").concat(u[i.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(u[i.MAINVERSION]).concat(u[i.PRERELEASE],"?").concat(u[i.BUILD],"?")),a("FULL","^".concat(u[i.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(u[i.MAINVERSIONLOOSE]).concat(u[i.PRERELEASELOOSE],"?").concat(u[i.BUILD],"?")),a("LOOSE","^".concat(u[i.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(u[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(u[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:".concat(u[i.PRERELEASE],")?").concat(u[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[i.PRERELEASELOOSE],")?").concat(u[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(u[i.GTLT],"\\s*").concat(u[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(u[i.GTLT],"\\s*").concat(u[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",u[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(u[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(u[i.LONETILDE]).concat(u[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(u[i.LONETILDE]).concat(u[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(u[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(u[i.LONECARET]).concat(u[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(u[i.LONECARET]).concat(u[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(u[i.GTLT],"\\s*(").concat(u[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(u[i.GTLT],"\\s*(").concat(u[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(u[i.GTLT],"\\s*(").concat(u[i.LOOSEPLAIN],"|").concat(u[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(u[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(u[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const ou=/^[0-9]+$/,au=(e,t)=>{const r=ou.test(e),n=ou.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1};var cu={compareIdentifiers:au,rcompareIdentifiers:(e,t)=>au(t,e)};const{MAX_LENGTH:su,MAX_SAFE_INTEGER:lu}=uu,{re:fu,t:Du}=iu,{compareIdentifiers:pu}=cu;class du{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof du){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>su)throw new TypeError("version is longer than ".concat(su," characters"));nu("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?fu[Du.LOOSE]:fu[Du.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>lu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>lu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>lu||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<lu)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(nu("SemVer.compare",this.version,this.options,e),!(e instanceof du)){if("string"==typeof e&&e===this.version)return 0;e=new du(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof du||(e=new du(e,this.options)),pu(this.major,e.major)||pu(this.minor,e.minor)||pu(this.patch,e.patch)}comparePre(e){if(e instanceof du||(e=new du(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],n=e.prerelease[t];if(nu("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return pu(r,n)}while(++t)}compareBuild(e){e instanceof du||(e=new du(e,this.options));let t=0;do{const r=this.build[t],n=e.build[t];if(nu("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return pu(r,n)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var hu=du;var gu=(e,t,r)=>new hu(e,r).compare(new hu(t,r));var mu=(e,t,r)=>gu(e,t,r)<0;var Eu=(e,t,r)=>gu(e,t,r)>=0,Cu="2.2.1",bu=r((function(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return"undefined"!=typeof WeakMap?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.prototype.hasOwnProperty,i=function(e,t){return u.call(e,t)};function o(e,t){for(var r in t)i(t,r)&&(e[r]=t[r]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,s=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,f=/^[ \t]*[\r\n][ \t\r\n]*$/;function D(e,t,r){var n=0,u=e[0].match(l);u&&(n=u[1].length);var i=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,s=r.trimLeadingNewline,f=r.trimTrailingNewline,D="string"==typeof o,p=e.length;return e.map((function(e,t){return e=e.replace(i,"$1"),0===t&&s&&(e=e.replace(a,"")),t===p-1&&f&&(e=e.replace(c,"")),D&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function p(e,t){for(var r="",n=0,u=e.length;n<u;n++)r+=e[n],n<u-1&&(r+=t[n]);return r}function d(e){return i(e,"raw")&&i(e,"length")}var h=function e(t){var r=n(),u=n();return o((function n(i){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];if(d(i)){var l=i,g=(a[0]===n||a[0]===h)&&f.test(l[0])&&s.test(l[1]),m=g?u:r,E=m.get(l);if(E||(E=D(l,g,t),m.set(l,E)),0===a.length)return E[0];var C=p(E,g?a.slice(1):a);return C}return e(o(o({},t),i||{}))}),{string:function(e){return D([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=h,t.default=h;try{e.exports=h,Object.defineProperty(h,"__esModule",{value:!0}),h.default=h,h.outdent=h}catch(e){}}));function vu(){const e=ru(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]);return vu=function(){return e},e}function Fu(){const e=ru(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return Fu=function(){return e},e}function Au(){const e=ru(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return Au=function(){return e},e}function yu(){const e=ru(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]);return yu=function(){return e},e}function wu(){const e=ru(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "]);return wu=function(){return e},e}function ku(){const e=ru(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]);return ku=function(){return e},e}const{outdent:xu}=bu,Ou={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:xu(ku()),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",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:xu(wu())}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,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:"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:null,description:"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:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:xu(yu()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:xu(Au()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:xu(Fu()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:xu(vu()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",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."}]}};const Lu={compare:gu,lt:mu,gte:Eu},Bu=Cu,Tu={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:Ou}.options;var Nu={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:r=!1,showInternal:n=!1}={}){const u=Bu.split("-",1)[0],i=e.reduce(((e,t)=>e.concat(t.languages||[])),[]).filter(s),o=(a=Object.assign({},...e.map((({options:e})=>e)),Tu),c="name",Object.entries(a).map((([e,t])=>Object.assign({[c]:e},t)))).filter((e=>s(e)&&l(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(n)return e;return function(e,t){if(null==e)return{};var r,n,u={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(u[r]=e[r]);return u}(e,["cliName","cliCategory","cliDescription"])})).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(s).sort(((e,t)=>Lu.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>s(e)&&l(e))),"parser"===t.name&&function(e,t,r){const n=new Set(e.choices.map((e=>e.value)));for(const u of t)if(u.parsers)for(const t of u.parsers)if(!n.has(t)){n.add(t);const i=r.find((e=>e.parsers&&e.parsers[t]));let o=u.name;i&&i.name&&(o+=" (plugin: ".concat(i.name,")")),e.choices.push({value:t,description:o})}}(t,i,e));const r=e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).reduce(((e,r)=>(e[r.name]=r.defaultOptions[t.name],e)),{});return Object.assign({},t,{pluginDefaults:r})}));var a,c;return{languages:i,options:o};function s(e){return t||!("since"in e)||e.since&&Lu.gte(u,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&Lu.lt(u,e.deprecated)}}};const{getSupportInfo:Su}=Nu,Iu=/[^\x20-\x7F]/;function Ru(e){return(t,r,n)=>{const u=n&&n.backwards;if(!1===r)return!1;const{length:i}=t;let o=r;for(;o>=0&&o<i;){const r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;u?o--:o++}return(-1===o||o===i)&&o}}const qu=Ru(/\s/),Pu=Ru(" \t"),ju=Ru(",; \t"),Gu=Ru(/[^\n\r]/);function zu(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}function Uu(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Gu(e,t):t)}function Mu(e,t,r){const n=r&&r.backwards;if(!1===t)return!1;const u=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===u)return t-2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t-1}else{if("\r"===u&&"\n"===e.charAt(t+1))return t+2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t+1}return t}function Vu(e,t,r){const n=Pu(e,(r=r||{}).backwards?t-1:t,r);return n!==Mu(e,n,r)}function _u(e,t){let r=null,n=t;for(;n!==r;)r=n,n=ju(e,n),n=zu(e,n),n=Pu(e,n);return n=Uu(e,n),n=Mu(e,n),!1!==n&&Vu(e,n)}function $u(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Pu(e,n),n=zu(e,n),n=Uu(e,n),n=Mu(e,n);return n}function Hu(e,t,r){return $u(e,r(t))}function Xu(e,t,r){let n=0;for(let u=r=r||0;u<e.length;++u)"\t"===e[u]?n=n+t-n%t:n++;return n}function Wu(e,t){const r=e.slice(1,-1),n={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},i="'"===t?u:n,o=i===u?n:u;let a=i.quote;if(r.includes(i.quote)||r.includes(o.quote)){a=(r.match(i.regex)||[]).length>(r.match(o.regex)||[]).length?o.quote:i.quote}return a}function Yu(e,t,r){const n='"'===t?"'":'"',u=e.replace(/\\([\S\s])|(["'])/g,((e,u,i)=>u===n?u:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u)));return t+u+t}function Zu(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Ju={inferParserByLanguage:function(e,t){const{languages:r}=Su({plugins:t.plugins}),n=r.find((({name:t})=>t.toLowerCase()===e))||r.find((({aliases:t})=>Array.isArray(t)&&t.includes(e)))||r.find((({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e))));return n&&n.parsers[0]},replaceEndOfLineWith:function(e,t){const r=[];for(const n of e.split("\n"))0!==r.length&&r.push(t),r.push(n);return r},getStringWidth:function(e){return e?Iu.test(e)?eu(e):e.length:0},getMaxContinuousCount:function(e,t){const r=e.match(new RegExp("(".concat(zn(t),")+"),"g"));return null===r?0:r.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const r=e.match(new RegExp("(".concat(zn(t),")+"),"g"));if(null===r)return 0;const n=new Map;let u=0;for(const e of r){const r=e.length/t.length;n.set(r,!0),r>u&&(u=r)}for(let e=1;e<u;e++)if(!n.get(e))return e;return u+1},getPenultimate:e=>e[e.length-2],getLast:e=>e[e.length-1],getNextNonSpaceNonCommentCharacterIndexWithStartIndex:$u,getNextNonSpaceNonCommentCharacterIndex:Hu,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(Hu(e,t,r))},skip:Ru,skipWhitespace:qu,skipSpaces:Pu,skipToLineEnd:ju,skipEverythingButNewLine:Gu,skipInlineComment:zu,skipTrailingComment:Uu,skipNewline:Mu,isNextLineEmptyAfterIndex:_u,isNextLineEmpty:function(e,t,r){return _u(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=Pu(e,n,{backwards:!0}),n=Mu(e,n,{backwards:!0}),n=Pu(e,n,{backwards:!0}),n!==Mu(e,n,{backwards:!0})},hasNewline:Vu,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t,r){return Pu(e,(r=r||{}).backwards?t-1:t,r)!==t},getAlignmentSize:Xu,getIndentSize:function(e,t){const r=e.lastIndexOf("\n");return-1===r?0:Xu(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:Wu,printString:function(e,t,r){const n=e.slice(1,-1),u=!n.includes('"')&&!n.includes("'"),i="json"===t.parser?'"':t.__isInHtmlAttribute?"'":Wu(e,t.singleQuote?"'":'"');return r?u?i+n+i:e:Yu(n,i,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},isNodeIgnoreComment:function(e){return"prettier-ignore"===e.value.trim()},makeString:Yu,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Zu(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Zu(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Zu(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}};var Ku={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;if("\n"===t)r=/\n/g;else if("\r"===t)r=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));r=/\r\n/g}const n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:Qu}=Ju,{convertEndOfLineToChars:ei}=Ku,{concat:ti,fill:ri,cursor:ni}=Wn;let ui;function ii(e,t){return ai(e,{type:"indent"},t)}function oi(e,t,r){if(t===-1/0)return e.root||{value:"",length:0,queue:[]};if(t<0)return ai(e,{type:"dedent"},r);if(!t)return e;if("root"===t.type)return Object.assign({},e,{root:e});return ai(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r)}function ai(e,t,r){const n="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let u="",i=0,o=0,a=0;for(const e of n)switch(e.type){case"indent":l(),r.useTabs?c(1):s(r.tabWidth);break;case"stringAlign":l(),u+=e.n,i+=e.n.length;break;case"numberAlign":o+=1,a+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return f(),Object.assign({},e,{value:u,length:i,queue:n});function c(e){u+="\t".repeat(e),i+=r.tabWidth*e}function s(e){u+=" ".repeat(e),i+=e}function l(){r.useTabs?function(){o>0&&c(o);D()}():f()}function f(){a>0&&s(a),D()}function D(){o=0,a=0}}function ci(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const r=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-r.length,e[e.length-1]=r}return t}function si(e,t,r,n,u){let i=t.length;const o=[e],a=[];for(;r>=0;){if(0===o.length){if(0===i)return!0;o.push(t[i-1]),i--;continue}const[e,c,s]=o.pop();if("string"==typeof s)a.push(s),r-=Qu(s);else switch(s.type){case"concat":for(let t=s.parts.length-1;t>=0;t--)o.push([e,c,s.parts[t]]);break;case"indent":o.push([ii(e,n),c,s.contents]);break;case"align":o.push([oi(e,s.n,n),c,s.contents]);break;case"trim":r+=ci(a);break;case"group":if(u&&s.break)return!1;o.push([e,s.break?1:c,s.contents]),s.id&&(ui[s.id]=o[o.length-1][1]);break;case"fill":for(let t=s.parts.length-1;t>=0;t--)o.push([e,c,s.parts[t]]);break;case"if-break":{const t=s.groupId?ui[s.groupId]:c;1===t&&s.breakContents&&o.push([e,c,s.breakContents]),2===t&&s.flatContents&&o.push([e,c,s.flatContents]);break}case"line":switch(c){case 2:if(!s.hard){s.soft||(a.push(" "),r-=1);break}return!0;case 1:return!0}}}return!1}var li={printDocToString:function(e,t){ui={};const r=t.printWidth,n=ei(t.endOfLine);let u=0;const i=[[{value:"",length:0,queue:[]},1,e]],o=[];let a=!1,c=[];for(;0!==i.length;){const[e,s,l]=i.pop();if("string"==typeof l){const e="\n"!==n&&l.includes("\n")?l.replace(/\n/g,n):l;o.push(e),u+=Qu(e)}else switch(l.type){case"cursor":o.push(ni.placeholder);break;case"concat":for(let t=l.parts.length-1;t>=0;t--)i.push([e,s,l.parts[t]]);break;case"indent":i.push([ii(e,t),s,l.contents]);break;case"align":i.push([oi(e,l.n,t),s,l.contents]);break;case"trim":u-=ci(o);break;case"group":switch(s){case 2:if(!a){i.push([e,l.break?1:2,l.contents]);break}case 1:{a=!1;const n=[e,2,l.contents],o=r-u;if(!l.break&&si(n,i,o,t))i.push(n);else if(l.expandedStates){const r=l.expandedStates[l.expandedStates.length-1];if(l.break){i.push([e,1,r]);break}for(let n=1;n<l.expandedStates.length+1;n++){if(n>=l.expandedStates.length){i.push([e,1,r]);break}{const r=[e,2,l.expandedStates[n]];if(si(r,i,o,t)){i.push(r);break}}}}else i.push([e,1,l.contents]);break}}l.id&&(ui[l.id]=i[i.length-1][1]);break;case"fill":{const n=r-u,{parts:o}=l;if(0===o.length)break;const[a,c]=o,f=[e,2,a],D=[e,1,a],p=si(f,[],n,t,!0);if(1===o.length){p?i.push(f):i.push(D);break}const d=[e,2,c],h=[e,1,c];if(2===o.length){p?(i.push(d),i.push(f)):(i.push(h),i.push(D));break}o.splice(0,2);const g=[e,s,ri(o)],m=o[0];si([e,2,ti([a,c,m])],[],n,t,!0)?(i.push(g),i.push(d),i.push(f)):p?(i.push(g),i.push(h),i.push(f)):(i.push(g),i.push(h),i.push(D));break}case"if-break":{const t=l.groupId?ui[l.groupId]:s;1===t&&l.breakContents&&i.push([e,s,l.breakContents]),2===t&&l.flatContents&&i.push([e,s,l.flatContents]);break}case"line-suffix":c.push([e,s,l.contents]);break;case"line-suffix-boundary":c.length>0&&i.push([e,s,{type:"line",hard:!0}]);break;case"line":switch(s){case 2:if(!l.hard){l.soft||(o.push(" "),u+=1);break}a=!0;case 1:if(c.length){i.push([e,s,l]),i.push(...c.reverse()),c=[];break}l.literal?e.root?(o.push(n,e.root.value),u=e.root.length):(o.push(n),u=0):(u-=ci(o),o.push(n+e.value),u=e.length)}}0===i.length&&c.length&&(i.push(...c.reverse()),c=[])}const s=o.indexOf(ni.placeholder);if(-1!==s){const e=o.indexOf(ni.placeholder,s+1),t=o.slice(0,s).join(""),r=o.slice(s+1,e).join("");return{formatted:t+r+o.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:o.join("")}}};const{literalline:fi,concat:Di}=Wn,pi={};function di(e,t,r,n){const u=[e];for(;0!==u.length;){const e=u.pop();if(e!==pi){if(r&&u.push(e,pi),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)u.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&u.push(e.flatContents),e.breakContents&&u.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)u.push(e.expandedStates[t]);else u.push(e.contents);else e.contents&&u.push(e.contents)}else r(u.pop())}}function hi(e,t){if("concat"===e.type||"fill"===e.type){const r=e.parts.map((e=>hi(e,t)));return t(Object.assign({},e,{parts:r}))}if("if-break"===e.type){const r=e.breakContents&&hi(e.breakContents,t),n=e.flatContents&&hi(e.flatContents,t);return t(Object.assign({},e,{breakContents:r,flatContents:n}))}if(e.contents){const r=hi(e.contents,t);return t(Object.assign({},e,{contents:r}))}return t(e)}function gi(e,t,r){let n=r,u=!1;return di(e,(function(e){const r=t(e);if(void 0!==r&&(u=!0,n=r),u)return!1})),n}function mi(e){return"string"!=typeof e&&("line"===e.type||void 0)}function Ei(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function Ci(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function bi(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function vi(e){const t=[],r=e.filter(Boolean);for(;0!==r.length;){const e=r.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:r.unshift(...e.parts))}return t}function Fi(e){if("concat"===e.type){const t=[];for(let r=0;r<e.parts.length;++r){const n=e.parts[r];if("string"!=typeof n&&"concat"===n.type)t.push(...Fi(n).parts);else{const e=Fi(n);""!==e&&t.push(e)}}return Object.assign({},e,{parts:t})}return"if-break"===e.type?Object.assign({},e,{breakContents:null!=e.breakContents?Fi(e.breakContents):null,flatContents:null!=e.flatContents?Fi(e.flatContents):null}):"group"===e.type?Object.assign({},e,{contents:Fi(e.contents),expandedStates:e.expandedStates?e.expandedStates.map(Fi):e.expandedStates}):e.contents?Object.assign({},e,{contents:Fi(e.contents)}):e}function Ai(e){if("string"==typeof e)return JSON.stringify(e);if("line"===e.type)return e.literal?"literalline":e.hard?"hardline":e.soft?"softline":"line";if("break-parent"===e.type)return"breakParent";if("trim"===e.type)return"trim";if("concat"===e.type)return"["+e.parts.map(Ai).join(", ")+"]";if("indent"===e.type)return"indent("+Ai(e.contents)+")";if("align"===e.type)return e.n===-1/0?"dedentToRoot("+Ai(e.contents)+")":e.n<0?"dedent("+Ai(e.contents)+")":"root"===e.n.type?"markAsRoot("+Ai(e.contents)+")":"align("+JSON.stringify(e.n)+", "+Ai(e.contents)+")";if("if-break"===e.type)return"ifBreak("+Ai(e.breakContents)+(e.flatContents?", "+Ai(e.flatContents):"")+")";if("group"===e.type)return e.expandedStates?"conditionalGroup(["+e.expandedStates.map(Ai).join(",")+"])":(e.break?"wrappedGroup":"group")+"("+Ai(e.contents)+")";if("fill"===e.type)return"fill("+e.parts.map(Ai).join(", ")+")";if("line-suffix"===e.type)return"lineSuffix("+Ai(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";throw new Error("Unknown doc type "+e.type)}var yi={builders:Wn,printer:li,utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return gi(e,Ei,!1)},isLineNext:function(e){return gi(e,mi,!1)},traverseDoc:di,findInDoc:gi,mapDoc:hi,propagateBreaks:function(e){const t=new Set,r=[];di(e,(function(e){if("break-parent"===e.type&&Ci(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){r.pop().break&&Ci(r)}}),!0)},removeLines:function(e){return hi(e,bi)},stripTrailingHardline:function e(t,r=!1){if("concat"===t.type&&0!==t.parts.length){const n=r?function(e){let t,{parts:r}=e;for(let n=e.parts.length;n>0&&!t;n--)t=r[n-1];return"group"===t.type&&(r=t.contents.parts),r}(t):t.parts,u=n[n.length-1];if("concat"===u.type)return 2===u.parts.length&&u.parts[0].hard&&"break-parent"===u.parts[1].type?{type:"concat",parts:n.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(u))}}return t},normalizeParts:vi,normalizeDoc:function(e){return hi(e,(e=>e.parts?Object.assign({},e,{parts:vi(e.parts)}):e))},replaceNewlinesWithLiterallines:function(e){return hi(e,(e=>"string"==typeof e&&e.includes("\n")?Di(e.split(/(\n)/g).map(((e,t)=>t%2==0?e:fi))):e))}},debug:{printDocToDebug:e=>Ai(Fi(e))}};const{builders:{hardline:wi,concat:ki,markAsRoot:xi}}=yi,Oi={"---":"yaml","+++":"toml"};var Li={parse:function(e){const t=Object.keys(Oi).map(zn).join("|"),r=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===r)return{frontMatter:null,content:e};const[n,u,i,o]=r;let a=Oi[u];return"toml"!==a&&i&&i.trim()&&(a=i.trim()),{frontMatter:{type:"front-matter",lang:a,value:o,raw:n.replace(/\n$/,"")},content:n.replace(/[^\n]/g," ")+e.slice(n.length)}},print:function(e,t){if("yaml"===e.lang){const r=e.value.trim(),n=r?t(r,{parser:"yaml"},{stripTrailingHardline:!0}):"";return xi(ki(["---",wi,n,n?wi:"","---"]))}}};const{parse:Bi}=Li,Ti=["format","prettier"];function Ni(e){const t="@(".concat(Ti.join("|"),")"),r=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),n=e.match(r);return n&&0===n.index}var Si={startWithPragma:Ni,hasPragma:e=>Ni(Bi(e).content.trimStart()),insertPragma:e=>{const t=Bi(e),r="\x3c!-- @".concat(Ti[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(r,"\n\n").concat(t.content):"".concat(r,"\n\n").concat(t.content)}};var Ii={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:Ri}=Ju,{locStart:qi,locEnd:Pi}=Ii,{cjkPattern:ji,kPattern:Gi,punctuationPattern:zi}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\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]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\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]",punctuationPattern:"[\\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\\u061e-\\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\\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\\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[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},Ui=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Mi=Ui.concat(["tableCell","paragraph","heading"]),Vi=new RegExp(Gi),_i=new RegExp(zi);function $i(e,t){const[,r,n,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:u}}var Hi={mapAst:function(e,t){return function e(r,n,u){u=u||[];const i=Object.assign({},t(r,n,u));return i.children&&(i.children=i.children.map(((t,r)=>e(t,r,[i].concat(u))))),i}(e,null,null)},splitText:function(e,t){const r="non-cjk",n="cj-letter",u="cjk-punctuation",i=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(ji,")\n(").concat(ji,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach(((e,t,a)=>{t%2!=1?(0!==t&&t!==a.length-1||""!==e)&&e.split(new RegExp("(".concat(ji,")"))).forEach(((e,t,i)=>{(0!==t&&t!==i.length-1||""!==e)&&(t%2!=0?o(_i.test(e)?{type:"word",value:e,kind:u,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:Vi.test(e)?"k-letter":n,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&o({type:"word",value:e,kind:r,hasLeadingPunctuation:_i.test(e[0]),hasTrailingPunctuation:_i.test(Ri(e))}))})):i.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})})),i;function o(e){const t=Ri(i);var o,a;t&&"word"===t.type&&(t.kind===r&&e.kind===n&&!t.hasTrailingPunctuation||t.kind===n&&e.kind===r&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(o=r,a=u,t.kind===o&&e.kind===a||t.kind===a&&e.kind===o||[t.value,e.value].some((e=>/\u3000/.test(e)))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:zi,getFencedCodeBlockValue:function(e,t){const{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:$i,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const r=Number($i(e.children[0],t.originalText).numberText),n=Number($i(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){const r=Number($i(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:Ui,INLINE_NODE_WRAPPER_TYPES:Mi,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&qi(e)===qi(t)&&Pi(e)===Pi(t)}};const Xi=/^import\s/,Wi=/^export\s/,Yi=e=>Xi.test(e),Zi=e=>Wi.test(e),Ji=(e,t)=>{const r=t.indexOf("\n\n"),n=t.slice(0,r);if(Zi(n)||Yi(n))return e(n)({type:Zi(n)?"export":"import",value:n})};Ji.locator=e=>Zi(e)||Yi(e)?-1:1;var Ki={esSyntax:function(){const{Parser:e}=this,t=e.prototype.blockTokenizers,r=e.prototype.blockMethods;t.esSyntax=Ji,r.splice(r.indexOf("paragraph"),0,"esSyntax")},BLOCKS_REGEX:"[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",COMMENT_REGEX:"\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e"};const{parse:Qi}=Li,{locStart:eo,locEnd:to}=Ii,{mapAst:ro,INLINE_NODE_WRAPPER_TYPES:no}=Hi;function uo({isMDX:e}){return t=>{const r=vn().use(ir,Object.assign({commonmark:!0},e&&{blocks:[Ki.BLOCKS_REGEX]})).use(Pn).use(ao).use(qn).use(e?Ki.esSyntax:io).use(co).use(e?oo:io).use(so).use(lo);return r.runSync(r.parse(t))}}function io(e){return e}function oo(){return e=>ro(e,((e,t,[r])=>"html"!==e.type||e.value.match(Ki.COMMENT_REGEX)||no.includes(r.type)?e:Object.assign({},e,{type:"jsx"})))}function ao(){const e=this.Parser.prototype;function t(e,t){const r=Qi(t);if(r.frontMatter)return e(r.frontMatter.raw)(r.frontMatter)}e.blockMethods=["frontMatter"].concat(e.blockMethods),e.blockTokenizers.frontMatter=t,t.onlyAtStart=!0}function co(){const e=this.Parser.prototype,t=e.inlineMethods;function r(e,t){const r=t.match(/^({%[\S\s]*?%}|{{[\S\s]*?}})/);if(r)return e(r[0])({type:"liquidNode",value:r[0]})}t.splice(t.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=r,r.locator=function(e,t){return e.indexOf("{",t)}}function so(){const e="wikiLink",t=/^\[\[(?<linkContents>.+?)]]/s,r=this.Parser.prototype,n=r.inlineMethods;function u(r,n){const u=t.exec(n);if(u){const t=u.groups.linkContents.trim();return r(u[0])({type:e,value:t})}}n.splice(n.indexOf("link"),0,e),r.inlineTokenizers.wikiLink=u,u.locator=function(e,t){return e.indexOf("[",t)}}function lo(){const e=this.Parser.prototype,t=e.blockTokenizers.list;function r(e,t,r){return"listItem"===t.type&&(t.loose=t.spread||"\n"===e.charAt(e.length-1),t.loose&&(r.loose=!0)),t}e.blockTokenizers.list=function(e,n,u){function i(t){const n=e(t);function u(e,u){return n(r(t,e,u),u)}return u.reset=function(e,u){return n.reset(r(t,e,u),u)},u}return i.now=e.now,t.call(this,i,n,u)}}const fo={astFormat:"mdast",hasPragma:Si.hasPragma,locStart:eo,locEnd:to},Do=Object.assign({},fo,{parse:uo({isMDX:!1})});var po={parsers:{remark:Do,markdown:Do,mdx:Object.assign({},fo,{parse:uo({isMDX:!0})})}};export default po;
|