*
* Copyright (c) 2015, 2017, Jon Schlinkert.
* Released under the MIT License.
*/
-e.exports=function(e){if(typeof e==="string"&&e.charAt(0)==="\ufeff"){return e.slice(1)}return e}},6204:(e,t,r)=>{var i=r(3328);function StyleToObject(e,t){var r=null;if(!e||typeof e!=="string"){return r}var n;var s=i(e);var a=typeof t==="function";var o;var l;for(var c=0,p=s.length;c{e.exports=trimLines;var t=/[ \t]*\n+[ \t]*/g;var r="\n";function trimLines(e){return String(e).replace(t,r)}},3199:e=>{e.exports=trimTrailingLines;function trimTrailingLines(e){return String(e).replace(/\n+$/,"")}},4065:(e,t)=>{t=e.exports=trim;function trim(e){return e.replace(/^\s*|\s*$/g,"")}t.left=function(e){return e.replace(/^\s*/,"")};t.right=function(e){return e.replace(/\s*$/,"")}},3604:(e,t,r)=>{var i=r(3458);e.exports=trough;trough.wrap=i;var n=[].slice;function trough(){var e=[];var t={};t.run=run;t.use=use;return t;function run(){var t=-1;var r=n.call(arguments,0,-1);var s=arguments[arguments.length-1];if(typeof s!=="function"){throw new Error("Expected function as last argument, not "+s)}next.apply(null,[null].concat(r));function next(a){var o=e[++t];var l=n.call(arguments,0);var c=l.slice(1);var p=r.length;var f=-1;if(a){s(a);return}while(++f
{var t=[].slice;e.exports=wrap;function wrap(e,r){var i;return wrapped;function wrapped(){var r=t.call(arguments,0);var n=e.length>r.length;var s;if(n){r.push(done)}try{s=e.apply(null,r)}catch(e){if(n&&i){throw e}return done(e)}if(!n){if(s&&typeof s.then==="function"){s.then(then,done)}else if(s instanceof Error){done(s)}else{then(s)}}}function done(){if(!i){i=true;r.apply(null,arguments)}}function then(e){done(null,e)}}},6623:(e,t,r)=>{var i=r(1208);var n=r(4124);e.exports=unherit;function unherit(e){var t;var r;var s;n(Of,e);n(From,Of);t=Of.prototype;for(r in t){s=t[r];if(s&&typeof s==="object"){t[r]="concat"in s?s.concat():i(s)}}return Of;function From(t){return e.apply(this,t)}function Of(){if(!(this instanceof Of)){return new From(arguments)}return e.apply(this,arguments)}}},5075:(e,t,r)=>{var i=r(8171);var n=r(7240);var s=r(4860);var a=r(3604);var o=r(864);e.exports=unified().freeze();var l=[].slice;var c={}.hasOwnProperty;var p=a().use(pipelineParse).use(pipelineRun).use(pipelineStringify);function pipelineParse(e,t){t.tree=e.parse(t.file)}function pipelineRun(e,t,r){e.run(t.tree,t.file,done);function done(e,i,n){if(e){r(e)}else{t.tree=i;t.file=n;r()}}}function pipelineStringify(e,t){t.file.contents=e.stringify(t.tree,t.file)}function unified(){var e=[];var t=a();var r={};var f=false;var d=-1;processor.data=data;processor.freeze=freeze;processor.attachers=e;processor.use=use;processor.parse=parse;processor.stringify=stringify;processor.run=run;processor.runSync=runSync;processor.process=process;processor.processSync=processSync;return processor;function processor(){var t=unified();var n=e.length;var s=-1;while(++s{var i=r(7426);e.exports=u;function u(e,t,r){var n;if((r===null||r===undefined)&&(typeof t!=="object"||Array.isArray(t))){r=t;t={}}n=i({type:String(e)},t);if(Array.isArray(r)){n.children=r}else if(r!==null&&r!==undefined){n.value=String(r)}return n}},5084:e=>{e.exports=generated;function generated(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}},1133:e=>{var t=factory("start");var r=factory("end");e.exports=position;position.start=t;position.end=r;function position(e){return{start:t(e),end:r(e)}}function factory(e){point.displayName=e;return point;function point(t){var r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:isNaN(r.offset)?null:r.offset}}}},7970:(e,t,r)=>{var i=r(5259);e.exports=removePosition;function removePosition(e,t){i(e,t?hard:soft);return e}function hard(e){delete e.position}function soft(e){e.position=undefined}},7362:e=>{e.exports=convert;function convert(e){if(typeof e==="string"){return typeFactory(e)}if(e===null||e===undefined){return ok}if(typeof e==="object"){return("length"in e?anyFactory:matchesFactory)(e)}if(typeof e==="function"){return e}throw new Error("Expected function, string, or object as test")}function convertAll(e){var t=[];var r=e.length;var i=-1;while(++i{e.exports=visitParents;var i=r(7362);var n=true;var s="skip";var a=false;visitParents.CONTINUE=n;visitParents.SKIP=s;visitParents.EXIT=a;function visitParents(e,t,r,n){var o;if(typeof t==="function"&&typeof r!=="function"){n=r;r=t;t=null}o=i(t);one(e,null,[]);function one(e,i,n){var l=[];var c;if(!t||o(e,i,n[n.length-1]||null)){l=toResult(r(e,n));if(l[0]===a){return l}}if(e.children&&l[0]!==s){c=toResult(all(e.children,n.concat(e)));return c[0]===a?c:l}return l}function all(e,t){var r=-1;var i=n?-1:1;var s=(n?e.length:r)+i;var o;while(s>r&&s{e.exports=visit;var i=r(4571);var n=i.CONTINUE;var s=i.SKIP;var a=i.EXIT;visit.CONTINUE=n;visit.SKIP=s;visit.EXIT=a;function visit(e,t,r,n){if(typeof t==="function"&&typeof r!=="function"){n=r;r=t;t=null}i(e,t,overload,n);function overload(e,t){var i=t[t.length-1];var n=i?i.children.indexOf(e):null;return r(e,n,i)}}},9906:e=>{e.exports=color;function color(e){return"[33m"+e+"[39m"}},3246:(e,t,r)=>{e.exports=visitParents;var i=r(4048);var n=r(9906);var s=true;var a="skip";var o=false;visitParents.CONTINUE=s;visitParents.SKIP=a;visitParents.EXIT=o;function visitParents(e,t,r,s){var l;var c;if(typeof t==="function"&&typeof r!=="function"){s=r;r=t;t=null}c=i(t);l=s?-1:1;factory(e,null,[])();function factory(e,i,p){var f=typeof e==="object"&&e!==null?e:{};var d;if(typeof f.type==="string"){d=typeof f.tagName==="string"?f.tagName:typeof f.name==="string"?f.name:undefined;visit.displayName="node ("+n(f.type+(d?"<"+d+">":""))+")"}return visit;function visit(){var n=p.concat(e);var f=[];var d;var m;if(!t||c(e,i,p[p.length-1]||null)){f=toResult(r(e,p));if(f[0]===o){return f}}if(e.children&&f[0]!==a){m=(s?e.children.length:-1)+l;while(m>-1&&m{e.exports=convert;function convert(e){if(e==null){return ok}if(typeof e==="string"){return typeFactory(e)}if(typeof e==="object"){return"length"in e?anyFactory(e):allFactory(e)}if(typeof e==="function"){return e}throw new Error("Expected function, string, or object as test")}function allFactory(e){return all;function all(t){var r;for(r in e){if(t[r]!==e[r])return false}return true}}function anyFactory(e){var t=[];var r=-1;while(++r{e.exports=visit;var i=r(3246);var n=i.CONTINUE;var s=i.SKIP;var a=i.EXIT;visit.CONTINUE=n;visit.SKIP=s;visit.EXIT=a;function visit(e,t,r,n){if(typeof t==="function"&&typeof r!=="function"){n=r;r=t;t=null}i(e,t,overload,n);function overload(e,t){var i=t[t.length-1];var n=i?i.children.indexOf(e):null;return r(e,n,i)}}},2403:e=>{e.exports=factory;function factory(e){var t=indices(String(e));return{toPosition:offsetToPositionFactory(t),toOffset:positionToOffsetFactory(t)}}function offsetToPositionFactory(e){return offsetToPosition;function offsetToPosition(t){var r=-1;var i=e.length;if(t<0){return{}}while(++rt){return{line:r+1,column:t-(e[r-1]||0)+1,offset:t}}}return{}}}function positionToOffsetFactory(e){return positionToOffset;function positionToOffset(t){var r=t&&t.line;var i=t&&t.column;if(!isNaN(r)&&!isNaN(i)&&r-1 in e){return(e[r-2]||0)+i-1||0}return-1}}function indices(e){var t=[];var r=e.indexOf("\n");while(r!==-1){t.push(r+1);r=e.indexOf("\n",r+1)}t.push(e.length+1);return t}},4860:(e,t,r)=>{e.exports=r(77)},9523:(e,t,r)=>{var i=r(9239);var n=r(6070);var s=r(5625);e.exports=VFile;var a={}.hasOwnProperty;var o=["history","path","basename","stem","extname","dirname"];VFile.prototype.toString=toString;Object.defineProperty(VFile.prototype,"path",{get:getPath,set:setPath});Object.defineProperty(VFile.prototype,"dirname",{get:getDirname,set:setDirname});Object.defineProperty(VFile.prototype,"basename",{get:getBasename,set:setBasename});Object.defineProperty(VFile.prototype,"extname",{get:getExtname,set:setExtname});Object.defineProperty(VFile.prototype,"stem",{get:getStem,set:setStem});function VFile(e){var t;var r;if(!e){e={}}else if(typeof e==="string"||s(e)){e={contents:e}}else if("message"in e&&"messages"in e){return e}if(!(this instanceof VFile)){return new VFile(e)}this.data={};this.messages=[];this.history=[];this.cwd=n.cwd();r=-1;while(++r-1){throw new Error("`extname` cannot contain multiple dots")}}this.path=i.join(this.dirname,this.stem+(e||""))}function getStem(){return typeof this.path==="string"?i.basename(this.path,this.extname):undefined}function setStem(e){assertNonEmpty(e,"stem");assertPart(e,"stem");this.path=i.join(this.dirname||"",e+(this.extname||""))}function toString(e){return(this.contents||"").toString(e)}function assertPart(e,t){if(e&&e.indexOf(i.sep)>-1){throw new Error("`"+t+"` cannot be a path: did not expect `"+i.sep+"`")}}function assertNonEmpty(e,t){if(!e){throw new Error("`"+t+"` cannot be empty")}}function assertPath(e,t){if(!e){throw new Error("Setting `"+t+"` requires `path` to be set too")}}},77:(e,t,r)=>{var i=r(4686);var n=r(9523);e.exports=n;n.prototype.message=message;n.prototype.info=info;n.prototype.fail=fail;function message(e,t,r){var n=new i(e,t,r);if(this.path){n.name=this.path+":"+n.name;n.file=this.path}n.fatal=false;this.messages.push(n);return n}function fail(){var e=this.message.apply(this,arguments);e.fatal=true;throw e}function info(){var e=this.message.apply(this,arguments);e.fatal=null;return e}},9239:(e,t,r)=>{e.exports=r(1017)},6070:e=>{e.exports=process},2310:e=>{var t={}.hasOwnProperty;e.exports=stringify;function stringify(e){if(!e||typeof e!=="object"){return""}if(t.call(e,"position")||t.call(e,"type")){return position(e.position)}if(t.call(e,"start")||t.call(e,"end")){return position(e)}if(t.call(e,"line")||t.call(e,"column")){return point(e)}return""}function point(e){if(!e||typeof e!=="object"){e={}}return index(e.line)+":"+index(e.column)}function position(e){if(!e||typeof e!=="object"){e={}}return point(e.start)+"-"+point(e.end)}function index(e){return e&&typeof e==="number"?e:1}},4686:(e,t,r)=>{var i=r(2310);e.exports=VMessage;function VMessagePrototype(){}VMessagePrototype.prototype=Error.prototype;VMessage.prototype=new VMessagePrototype;var n=VMessage.prototype;n.file="";n.name="";n.reason="";n.message="";n.stack="";n.fatal=null;n.column=null;n.line=null;function VMessage(e,t,r){var n;var s;var a;if(typeof t==="string"){r=t;t=null}n=parseOrigin(r);s=i(t)||"1:1";a={start:{line:null,column:null},end:{line:null,column:null}};if(t&&t.position){t=t.position}if(t){if(t.start){a=t;t=t.start}else{a.start=t}}if(e.stack){this.stack=e.stack;e=e.message}this.message=e;this.name=s;this.reason=e;this.line=t?t.line:null;this.column=t?t.column:null;this.location=a;this.source=n[0];this.ruleId=n[1]}function parseOrigin(e){var t=[null,null];var r;if(typeof e==="string"){r=e.indexOf(":");if(r===-1){t[1]=e}else{t[0]=e.slice(0,r);t[1]=e.slice(r+1)}}return t}},1208:e=>{e.exports=extend;var t=Object.prototype.hasOwnProperty;function extend(){var e={};for(var r=0;r{e.exports=factory;var t=Function.prototype;var r={}.hasOwnProperty;function factory(e,i){var n=i||{};function one(i){var n=one.invalid;var s=one.handlers;if(i&&r.call(i,e)){n=r.call(s,i[e])?s[i[e]]:one.unknown}return(n||t).apply(this,arguments)}one.handlers=n.handlers||{};one.invalid=n.invalid;one.unknown=n.unknown;return one}},7147:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs")},3292:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs/promises")},1017:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("path")},3837:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("util")},730:(e,t,r)=>{r.r(t);r.d(t,{default:()=>remarkMdx});var i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];var n=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];var s="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";var a="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var o={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var l="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var c={5:l,"5module":l+" export import",6:l+" const class extends export import super"};var p=/^in(stanceof)?$/;var f=new RegExp("["+a+"]");var d=new RegExp("["+a+s+"]");function isInAstralSet(e,t){var r=65536;for(var i=0;ie){return false}r+=t[i+1];if(r>=e){return true}}return false}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&f.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,n)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&d.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,n)||isInAstralSet(e,i)}var m=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new m(e,{beforeExpr:true,binop:t})}var g={beforeExpr:true},v={startsExpr:true};var E={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return E[e]=new m(e,t)}var T={num:new m("num",v),regexp:new m("regexp",v),string:new m("string",v),name:new m("name",v),privateId:new m("privateId",v),eof:new m("eof"),bracketL:new m("[",{beforeExpr:true,startsExpr:true}),bracketR:new m("]"),braceL:new m("{",{beforeExpr:true,startsExpr:true}),braceR:new m("}"),parenL:new m("(",{beforeExpr:true,startsExpr:true}),parenR:new m(")"),comma:new m(",",g),semi:new m(";",g),colon:new m(":",g),dot:new m("."),question:new m("?",g),questionDot:new m("?."),arrow:new m("=>",g),template:new m("template"),invalidTemplate:new m("invalidTemplate"),ellipsis:new m("...",g),backQuote:new m("`",v),dollarBraceL:new m("${",{beforeExpr:true,startsExpr:true}),eq:new m("=",{beforeExpr:true,isAssign:true}),assign:new m("_=",{beforeExpr:true,isAssign:true}),incDec:new m("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new m("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop(">/<=/>=",7),bitShift:binop("<>>/>>>",8),plusMin:new m("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new m("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",g),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",g),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",g),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",v),_if:kw("if"),_return:kw("return",g),_switch:kw("switch"),_throw:kw("throw",g),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",v),_super:kw("super",v),_class:kw("class",v),_extends:kw("extends",g),_export:kw("export"),_import:kw("import",v),_null:kw("null",v),_true:kw("true",v),_false:kw("false",v),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var x=/\r\n?|\n|\u2028|\u2029/;var A=new RegExp(x.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,r){if(r===void 0)r=e.length;for(var i=t;i>10)+55296,(e&1023)+56320)}var I=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var D=function Position(e,t){this.line=e;this.column=t};D.prototype.offset=function offset(e){return new D(this.line,this.column+e)};var L=function SourceLocation(e,t,r){this.start=t;this.end=r;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var r=1,i=0;;){var n=nextLineBreak(e,i,t);if(n<0){return new D(r,t-i)}++r;i=n}}var O={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,checkPrivateFields:true,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var P=false;function getOptions(e){var t={};for(var r in O){t[r]=e&&S(e,r)?e[r]:O[r]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!P&&typeof console==="object"&&console.warn){P=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(!e||e.allowHashBang==null){t.allowHashBang=t.ecmaVersion>=14}if(w(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}if(w(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(r,i,n,s,a,o){var l={type:r?"Block":"Line",value:i,start:n,end:s};if(e.locations){l.loc=new L(this,a,o)}if(e.ranges){l.range=[n,s]}t.push(l)}}var R=1,F=2,M=4,B=8,H=16,U=32,V=64,q=128,G=256,j=R|F|G;function functionFlags(e,t){return F|(e?M:0)|(t?B:0)}var K=0,z=1,W=2,J=3,Y=4,Q=5;var X=function Parser(e,t,r){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(c[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var i="";if(e.allowReserved!==true){i=o[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){i+=" await"}}this.reservedWords=wordsRegexp(i);var n=(i?i+" ":"")+o.strict;this.reservedWordsStrict=wordsRegexp(n);this.reservedWordsStrictBind=wordsRegexp(n+" "+o.strictBind);this.input=String(t);this.containsEsc=false;if(r){this.pos=r;this.lineStart=this.input.lastIndexOf("\n",r-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(x).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=T.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(R);this.regexpState=null;this.privateNameStack=[]};var Z={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};X.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Z.inFunction.get=function(){return(this.currentVarScope().flags&F)>0};Z.inGenerator.get=function(){return(this.currentVarScope().flags&B)>0&&!this.currentVarScope().inClassFieldInit};Z.inAsync.get=function(){return(this.currentVarScope().flags&M)>0&&!this.currentVarScope().inClassFieldInit};Z.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&G){return false}if(t.flags&F){return(t.flags&M)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Z.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var r=e.inClassFieldInit;return(t&V)>0||r||this.options.allowSuperOutsideMethod};Z.allowDirectSuper.get=function(){return(this.currentThisScope().flags&q)>0};Z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Z.allowNewDotTarget.get=function(){var e=this.currentThisScope();var t=e.flags;var r=e.inClassFieldInit;return(t&(F|G))>0||r};Z.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&G)>0};X.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var r=this;for(var i=0;i=,?^&]/.test(n)||n==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length;C.lastIndex=e;e+=C.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};$.eat=function(e){if(this.type===e){this.next();return true}else{return false}};$.isContextual=function(e){return this.type===T.name&&this.value===e&&!this.containsEsc};$.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};$.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};$.canInsertSemicolon=function(){return this.type===T.eof||this.type===T.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))};$.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};$.semicolon=function(){if(!this.eat(T.semi)&&!this.insertSemicolon()){this.unexpected()}};$.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};$.expect=function(e){this.eat(e)||this.unexpected()};$.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};var te=function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var r=t?e.parenthesizedAssign:e.parenthesizedBind;if(r>-1){this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};$.checkExpressionErrors=function(e,t){if(!e){return false}var r=e.shorthandAssign;var i=e.doubleProto;if(!t){return r>=0||i>=0}if(r>=0){this.raise(r,"Shorthand property assignments are valid only in destructuring patterns")}if(i>=0){this.raiseRecoverable(i,"Redefinition of __proto__ property")}};$.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&i<56320){return true}if(isIdentifierStart(i,true)){var n=r+1;while(isIdentifierChar(i=this.input.charCodeAt(n),true)){++n}if(i===92||i>55295&&i<56320){return true}var s=this.input.slice(r,n);if(!p.test(s)){return true}}return false};re.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}C.lastIndex=this.pos;var e=C.exec(this.input);var t=this.pos+e[0].length,r;return!x.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};re.parseStatement=function(e,t,r){var i=this.type,n=this.startNode(),s;if(this.isLet(e)){i=T._var;s="let"}switch(i){case T._break:case T._continue:return this.parseBreakContinueStatement(n,i.keyword);case T._debugger:return this.parseDebuggerStatement(n);case T._do:return this.parseDoStatement(n);case T._for:return this.parseForStatement(n);case T._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(n,false,!e);case T._class:if(e){this.unexpected()}return this.parseClass(n,true);case T._if:return this.parseIfStatement(n);case T._return:return this.parseReturnStatement(n);case T._switch:return this.parseSwitchStatement(n);case T._throw:return this.parseThrowStatement(n);case T._try:return this.parseTryStatement(n);case T._const:case T._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(n,s);case T._while:return this.parseWhileStatement(n);case T._with:return this.parseWithStatement(n);case T.braceL:return this.parseBlock(true,n);case T.semi:return this.parseEmptyStatement(n);case T._export:case T._import:if(this.options.ecmaVersion>10&&i===T._import){C.lastIndex=this.pos;var a=C.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(n,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return i===T._import?this.parseImport(n):this.parseExport(n,r);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(n,true,!e)}var c=this.value,p=this.parseExpression();if(i===T.name&&p.type==="Identifier"&&this.eat(T.colon)){return this.parseLabeledStatement(n,c,p,e)}else{return this.parseExpressionStatement(n,p)}}};re.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next();if(this.eat(T.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==T.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var i=0;for(;i=6){this.eat(T.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};re.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ie);this.enterScope(0);this.expect(T.parenL);if(this.type===T.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var r=this.isLet();if(this.type===T._var||this.type===T._const||r){var i=this.startNode(),n=r?"let":this.value;this.next();this.parseVar(i,true,n);this.finishNode(i,"VariableDeclaration");if((this.type===T._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===T._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,i)}if(t>-1){this.unexpected(t)}return this.parseFor(e,i)}var s=this.isContextual("let"),a=false;var o=this.containsEsc;var l=new te;var c=this.start;var p=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(true,l);if(this.type===T._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(t>-1){if(this.type===T._in){this.unexpected(t)}e.await=true}else if(a&&this.options.ecmaVersion>=8){if(p.start===c&&!o&&p.type==="Identifier"&&p.name==="async"){this.unexpected()}else if(this.options.ecmaVersion>=9){e.await=false}}if(s&&a){this.raise(p.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(p,false,l);this.checkLValPattern(p);return this.parseForIn(e,p)}else{this.checkExpressionErrors(l,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,p)};re.parseFunctionStatement=function(e,t,r){this.next();return this.parseFunction(e,ae|(r?0:oe),false,t)};re.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(T._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};re.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(T.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};re.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(T.braceL);this.labels.push(ne);this.enterScope(0);var t;for(var r=false;this.type!==T.braceR;){if(this.type===T._case||this.type===T._default){var i=this.type===T._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(i){t.test=this.parseExpression()}else{if(r){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}r=true;t.test=null}this.expect(T.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};re.parseThrowStatement=function(e){this.next();if(x.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var se=[];re.parseCatchClauseParam=function(){var e=this.parseBindingAtom();var t=e.type==="Identifier";this.enterScope(t?U:0);this.checkLValPattern(e,t?Y:W);this.expect(T.parenR);return e};re.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===T._catch){var t=this.startNode();this.next();if(this.eat(T.parenL)){t.param=this.parseCatchClauseParam()}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(T._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};re.parseVarStatement=function(e,t,r){this.next();this.parseVar(e,false,t,r);this.semicolon();return this.finishNode(e,"VariableDeclaration")};re.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(ie);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};re.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};re.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};re.parseLabeledStatement=function(e,t,r,i){for(var n=0,s=this.labels;n=0;l--){var c=this.labels[l];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label");this.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")};re.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};re.parseBlock=function(e,t,r){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(T.braceL);if(e){this.enterScope(0)}while(this.type!==T.braceR){var i=this.parseStatement(null);t.body.push(i)}if(r){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};re.parseFor=function(e,t){e.init=t;this.expect(T.semi);e.test=this.type===T.semi?null:this.parseExpression();this.expect(T.semi);e.update=this.type===T.parenR?null:this.parseExpression();this.expect(T.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};re.parseForIn=function(e,t){var r=this.type===T._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssign();this.expect(T.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")};re.parseVar=function(e,t,r,i){e.declarations=[];e.kind=r;for(;;){var n=this.startNode();this.parseVarId(n,r);if(this.eat(T.eq)){n.init=this.parseMaybeAssign(t)}else if(!i&&r==="const"&&!(this.type===T._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(!i&&n.id.type!=="Identifier"&&!(t&&(this.type===T._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{n.init=null}e.declarations.push(this.finishNode(n,"VariableDeclarator"));if(!this.eat(T.comma)){break}}return e};re.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?z:W,false)};var ae=1,oe=2,le=4;re.parseFunction=function(e,t,r,i,n){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i){if(this.type===T.star&&t&oe){this.unexpected()}e.generator=this.eat(T.star)}if(this.options.ecmaVersion>=8){e.async=!!i}if(t&ae){e.id=t&le&&this.type!==T.name?null:this.parseIdent();if(e.id&&!(t&oe)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?z:W:J)}}var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&ae)){e.id=this.type===T.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,r,false,n);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&ae?"FunctionDeclaration":"FunctionExpression")};re.parseFunctionParams=function(e){this.expect(T.parenL);e.params=this.parseBindingList(T.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};re.parseClass=function(e,t){this.next();var r=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var i=this.enterClassBody();var n=this.startNode();var s=false;n.body=[];this.expect(T.braceL);while(this.type!==T.braceR){var a=this.parseClassElement(e.superClass!==null);if(a){n.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(s){this.raiseRecoverable(a.start,"Duplicate constructor in the same class")}s=true}else if(a.key&&a.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(i,a)){this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared")}}}this.strict=r;this.next();e.body=this.finishNode(n,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};re.parseClassElement=function(e){if(this.eat(T.semi)){return null}var t=this.options.ecmaVersion;var r=this.startNode();var i="";var n=false;var s=false;var a="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(T.braceL)){this.parseClassStaticBlock(r);return r}if(this.isClassElementNameStart()||this.type===T.star){o=true}else{i="static"}}r.static=o;if(!i&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===T.star)&&!this.canInsertSemicolon()){s=true}else{i="async"}}if(!i&&(t>=9||!s)&&this.eat(T.star)){n=true}if(!i&&!s&&!n){var l=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){a=l}else{i=l}}}if(i){r.computed=false;r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);r.key.name=i;this.finishNode(r.key,"Identifier")}else{this.parseClassElementName(r)}if(t<13||this.type===T.parenL||a!=="method"||n||s){var c=!r.static&&checkKeyName(r,"constructor");var p=c&&e;if(c&&a!=="method"){this.raise(r.key.start,"Constructor can't have get/set modifier")}r.kind=c?"constructor":a;this.parseClassMethod(r,n,s,p)}else{this.parseClassField(r)}return r};re.isClassElementNameStart=function(){return this.type===T.name||this.type===T.privateId||this.type===T.num||this.type===T.string||this.type===T.bracketL||this.type.keyword};re.parseClassElementName=function(e){if(this.type===T.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};re.parseClassMethod=function(e,t,r,i){var n=e.key;if(e.kind==="constructor"){if(t){this.raise(n.start,"Constructor can't be a generator")}if(r){this.raise(n.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(n.start,"Classes may not have a static property named prototype")}var s=e.value=this.parseMethod(t,r,i);if(e.kind==="get"&&s.params.length!==0){this.raiseRecoverable(s.start,"getter should have no params")}if(e.kind==="set"&&s.params.length!==1){this.raiseRecoverable(s.start,"setter should have exactly one param")}if(e.kind==="set"&&s.params[0].type==="RestElement"){this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};re.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(T.eq)){var t=this.currentThisScope();var r=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=r}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};re.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(G|V);while(this.type!==T.braceR){var r=this.parseStatement(null);e.body.push(r)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};re.parseClassId=function(e,t){if(this.type===T.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,W,false)}}else{if(t===true){this.unexpected()}e.id=null}};re.parseClassSuper=function(e){e.superClass=this.eat(T._extends)?this.parseExprSubscripts(null,false):null};re.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};re.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var r=e.used;if(!this.options.checkPrivateFields){return}var i=this.privateNameStack.length;var n=i===0?null:this.privateNameStack[i-1];for(var s=0;s=11){if(this.eatContextual("as")){e.exported=this.parseModuleExportName();this.checkExport(t,e.exported,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==T.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")};re.parseExport=function(e,t){this.next();if(this.eat(T.star)){return this.parseExportAllDeclaration(e,t)}if(this.eat(T._default)){this.checkExport(t,"default",this.lastTokStart);e.declaration=this.parseExportDefaultDeclaration();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseExportDeclaration(e);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==T.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var r=0,i=e.specifiers;r=13&&this.type===T.string){var e=this.parseLiteral(this.value);if(I.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};re.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ue=X.prototype;ue.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(r){this.checkPatternErrors(r,true)}for(var i=0,n=e.properties;i=6){switch(this.type){case T.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(T.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case T.braceL:return this.parseObj(true)}}return this.parseIdent()};ue.parseBindingList=function(e,t,r,i){var n=[],s=true;while(!this.eat(e)){if(s){s=false}else{this.expect(T.comma)}if(t&&this.type===T.comma){n.push(null)}else if(r&&this.afterTrailingComma(e)){break}else if(this.type===T.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a);n.push(a);if(this.type===T.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{n.push(this.parseAssignableListItem(i))}}return n};ue.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(t);return t};ue.parseBindingListItem=function(e){return e};ue.parseMaybeDefault=function(e,t,r){r=r||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(T.eq)){return r}var i=this.startNodeAt(e,t);i.left=r;i.right=this.parseMaybeAssign();return this.finishNode(i,"AssignmentPattern")};ue.checkLValSimple=function(e,t,r){if(t===void 0)t=K;var i=t!==K;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(i){if(t===W&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(r){if(S(r,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}r[e.name]=true}if(t!==Q){this.declareName(e.name,t,e.start)}}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(i){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(i){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}};ue.checkLValPattern=function(e,t,r){if(t===void 0)t=K;switch(e.type){case"ObjectPattern":for(var i=0,n=e.properties;i=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};pe.updateContext=function(e){var t,r=this.type;if(r.keyword&&e===T.dot){this.exprAllowed=false}else if(t=r.updateContext){t.call(this,e)}else{this.exprAllowed=r.beforeExpr}};pe.overrideContext=function(e){if(this.curContext()!==e){this.context[this.context.length-1]=e}};T.parenR.updateContext=T.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===he.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};T.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?he.b_stat:he.b_expr);this.exprAllowed=true};T.dollarBraceL.updateContext=function(){this.context.push(he.b_tmpl);this.exprAllowed=true};T.parenL.updateContext=function(e){var t=e===T._if||e===T._for||e===T._with||e===T._while;this.context.push(t?he.p_stat:he.p_expr);this.exprAllowed=true};T.incDec.updateContext=function(){};T._function.updateContext=T._class.updateContext=function(e){if(e.beforeExpr&&e!==T._else&&!(e===T.semi&&this.curContext()!==he.p_stat)&&!(e===T._return&&x.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===T.colon||e===T.braceL)&&this.curContext()===he.b_stat)){this.context.push(he.f_expr)}else{this.context.push(he.f_stat)}this.exprAllowed=false};T.colon.updateContext=function(){if(this.curContext().token==="function"){this.context.pop()}this.exprAllowed=true};T.backQuote.updateContext=function(){if(this.curContext()===he.q_tmpl){this.context.pop()}else{this.context.push(he.q_tmpl)}this.exprAllowed=false};T.star.updateContext=function(e){if(e===T._function){var t=this.context.length-1;if(this.context[t]===he.f_expr){this.context[t]=he.f_expr_gen}else{this.context[t]=he.f_gen}}this.exprAllowed=true};T.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==T.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var fe=X.prototype;fe.checkPropClash=function(e,t,r){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var i=e.key;var n;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(n==="__proto__"&&s==="init"){if(t.proto){if(r){if(r.doubleProto<0){r.doubleProto=i.start}}else{this.raiseRecoverable(i.start,"Redefinition of __proto__ property")}}t.proto=true}return}n="$"+n;var a=t[n];if(a){var o;if(s==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[s]}if(o){this.raiseRecoverable(i.start,"Redefinition of property")}}else{a=t[n]={init:false,get:false,set:false}}a[s]=true};fe.parseExpression=function(e,t){var r=this.start,i=this.startLoc;var n=this.parseMaybeAssign(e,t);if(this.type===T.comma){var s=this.startNodeAt(r,i);s.expressions=[n];while(this.eat(T.comma)){s.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(s,"SequenceExpression")}return n};fe.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var i=false,n=-1,s=-1,a=-1;if(t){n=t.parenthesizedAssign;s=t.trailingComma;a=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new te;i=true}var o=this.start,l=this.startLoc;if(this.type===T.parenL||this.type===T.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var c=this.parseMaybeConditional(e,t);if(r){c=r.call(this,c,o,l)}if(this.type.isAssign){var p=this.startNodeAt(o,l);p.operator=this.value;if(this.type===T.eq){c=this.toAssignable(c,false,t)}if(!i){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.start){t.shorthandAssign=-1}if(this.type===T.eq){this.checkLValPattern(c)}else{this.checkLValSimple(c)}p.left=c;this.next();p.right=this.parseMaybeAssign(e);if(a>-1){t.doubleProto=a}return this.finishNode(p,"AssignmentExpression")}else{if(i){this.checkExpressionErrors(t,true)}}if(n>-1){t.parenthesizedAssign=n}if(s>-1){t.trailingComma=s}return c};fe.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc;var n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return n}if(this.eat(T.question)){var s=this.startNodeAt(r,i);s.test=n;s.consequent=this.parseMaybeAssign();this.expect(T.colon);s.alternate=this.parseMaybeAssign(e);return this.finishNode(s,"ConditionalExpression")}return n};fe.parseExprOps=function(e,t){var r=this.start,i=this.startLoc;var n=this.parseMaybeUnary(t,false,false,e);if(this.checkExpressionErrors(t)){return n}return n.start===r&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,r,i,-1,e)};fe.parseExprOp=function(e,t,r,i,n){var s=this.type.binop;if(s!=null&&(!n||this.type!==T._in)){if(s>i){var a=this.type===T.logicalOR||this.type===T.logicalAND;var o=this.type===T.coalesce;if(o){s=T.logicalAND.binop}var l=this.value;this.next();var c=this.start,p=this.startLoc;var f=this.parseExprOp(this.parseMaybeUnary(null,false,false,n),c,p,s,n);var d=this.buildBinary(t,r,e,f,l,a||o);if(a&&this.type===T.coalesce||o&&(this.type===T.logicalOR||this.type===T.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(d,t,r,i,n)}}return e};fe.buildBinary=function(e,t,r,i,n,s){if(i.type==="PrivateIdentifier"){this.raise(i.start,"Private identifier can only be left side of binary expression")}var a=this.startNodeAt(e,t);a.left=r;a.operator=n;a.right=i;return this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};fe.parseMaybeUnary=function(e,t,r,i){var n=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait){a=this.parseAwait(i);t=true}else if(this.type.prefix){var o=this.startNode(),l=this.type===T.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,l,i);this.checkExpressionErrors(e,true);if(l){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&isLocalVariableAccess(o.argument)){this.raiseRecoverable(o.start,"Deleting local variable in strict mode")}else if(o.operator==="delete"&&isPrivateFieldAccess(o.argument)){this.raiseRecoverable(o.start,"Private fields can not be deleted")}else{t=true}a=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===T.privateId){if((i||this.privateNameStack.length===0)&&this.options.checkPrivateFields){this.unexpected()}a=this.parsePrivateIdent();if(this.type!==T._in){this.unexpected()}}else{a=this.parseExprSubscripts(e,i);if(this.checkExpressionErrors(e)){return a}while(this.type.postfix&&!this.canInsertSemicolon()){var c=this.startNodeAt(n,s);c.operator=this.value;c.prefix=false;c.argument=a;this.checkLValSimple(a);this.next();a=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(T.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(n,s,a,this.parseMaybeUnary(null,false,false,i),"**",false)}}else{return a}};function isLocalVariableAccess(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&isLocalVariableAccess(e.expression)}function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)||e.type==="ParenthesizedExpression"&&isPrivateFieldAccess(e.expression)}fe.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc;var n=this.parseExprAtom(e,t);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return n}var s=this.parseSubscripts(n,r,i,false,t);if(e&&s.type==="MemberExpression"){if(e.parenthesizedAssign>=s.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=s.start){e.parenthesizedBind=-1}if(e.trailingComma>=s.start){e.trailingComma=-1}}return s};fe.parseSubscripts=function(e,t,r,i,n){var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start;var a=false;while(true){var o=this.parseSubscript(e,t,r,i,s,a,n);if(o.optional){a=true}if(o===e||o.type==="ArrowFunctionExpression"){if(a){var l=this.startNodeAt(t,r);l.expression=o;o=this.finishNode(l,"ChainExpression")}return o}e=o}};fe.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(T.arrow)};fe.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,true,i)};fe.parseSubscript=function(e,t,r,i,n,s,a){var o=this.options.ecmaVersion>=11;var l=o&&this.eat(T.questionDot);if(i&&l){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var c=this.eat(T.bracketL);if(c||l&&this.type!==T.parenL&&this.type!==T.backQuote||this.eat(T.dot)){var p=this.startNodeAt(t,r);p.object=e;if(c){p.property=this.parseExpression();this.expect(T.bracketR)}else if(this.type===T.privateId&&e.type!=="Super"){p.property=this.parsePrivateIdent()}else{p.property=this.parseIdent(this.options.allowReserved!=="never")}p.computed=!!c;if(o){p.optional=l}e=this.finishNode(p,"MemberExpression")}else if(!i&&this.eat(T.parenL)){var f=new te,d=this.yieldPos,m=this.awaitPos,g=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var v=this.parseExprList(T.parenR,this.options.ecmaVersion>=8,false,f);if(n&&!l&&this.shouldParseAsyncArrow()){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=d;this.awaitPos=m;this.awaitIdentPos=g;return this.parseSubscriptAsyncArrow(t,r,v,a)}this.checkExpressionErrors(f,true);this.yieldPos=d||this.yieldPos;this.awaitPos=m||this.awaitPos;this.awaitIdentPos=g||this.awaitIdentPos;var E=this.startNodeAt(t,r);E.callee=e;E.arguments=v;if(o){E.optional=l}e=this.finishNode(E,"CallExpression")}else if(this.type===T.backQuote){if(l||s){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var x=this.startNodeAt(t,r);x.tag=e;x.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(x,"TaggedTemplateExpression")}return e};fe.parseExprAtom=function(e,t,r){if(this.type===T.slash){this.readRegexp()}var i,n=this.potentialArrowAt===this.start;switch(this.type){case T._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}i=this.startNode();this.next();if(this.type===T.parenL&&!this.allowDirectSuper){this.raise(i.start,"super() call outside constructor of a subclass")}if(this.type!==T.dot&&this.type!==T.bracketL&&this.type!==T.parenL){this.unexpected()}return this.finishNode(i,"Super");case T._this:i=this.startNode();this.next();return this.finishNode(i,"ThisExpression");case T.name:var s=this.start,a=this.startLoc,o=this.containsEsc;var l=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!o&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(T._function)){this.overrideContext(he.f_expr);return this.parseFunction(this.startNodeAt(s,a),0,false,true,t)}if(n&&!this.canInsertSemicolon()){if(this.eat(T.arrow)){return this.parseArrowExpression(this.startNodeAt(s,a),[l],false,t)}if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===T.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){l=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(T.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(s,a),[l],true,t)}}return l;case T.regexp:var c=this.value;i=this.parseLiteral(c.value);i.regex={pattern:c.pattern,flags:c.flags};return i;case T.num:case T.string:return this.parseLiteral(this.value);case T._null:case T._true:case T._false:i=this.startNode();i.value=this.type===T._null?null:this.type===T._true;i.raw=this.type.keyword;this.next();return this.finishNode(i,"Literal");case T.parenL:var p=this.start,f=this.parseParenAndDistinguishExpression(n,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(f)){e.parenthesizedAssign=p}if(e.parenthesizedBind<0){e.parenthesizedBind=p}}return f;case T.bracketL:i=this.startNode();this.next();i.elements=this.parseExprList(T.bracketR,true,true,e);return this.finishNode(i,"ArrayExpression");case T.braceL:this.overrideContext(he.b_expr);return this.parseObj(false,e);case T._function:i=this.startNode();this.next();return this.parseFunction(i,0);case T._class:return this.parseClass(this.startNode(),false);case T._new:return this.parseNew();case T.backQuote:return this.parseTemplate();case T._import:if(this.options.ecmaVersion>=11){return this.parseExprImport(r)}else{return this.unexpected()}default:return this.parseExprAtomDefault()}};fe.parseExprAtomDefault=function(){this.unexpected()};fe.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}this.next();if(this.type===T.parenL&&!e){return this.parseDynamicImport(t)}else if(this.type===T.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);r.name="import";t.meta=this.finishNode(r,"Identifier");return this.parseImportMeta(t)}else{this.unexpected()}};fe.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(T.parenR)){var t=this.start;if(this.eat(T.comma)&&this.eat(T.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};fe.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};fe.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};fe.parseParenExpression=function(){this.expect(T.parenL);var e=this.parseExpression();this.expect(T.parenR);return e};fe.shouldParseArrow=function(e){return!this.canInsertSemicolon()};fe.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var l=[],c=true,p=false;var f=new te,d=this.yieldPos,m=this.awaitPos,g;this.yieldPos=0;this.awaitPos=0;while(this.type!==T.parenR){c?c=false:this.expect(T.comma);if(s&&this.afterTrailingComma(T.parenR,true)){p=true;break}else if(this.type===T.ellipsis){g=this.start;l.push(this.parseParenItem(this.parseRestBinding()));if(this.type===T.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}break}else{l.push(this.parseMaybeAssign(false,f,this.parseParenItem))}}var v=this.lastTokEnd,E=this.lastTokEndLoc;this.expect(T.parenR);if(e&&this.shouldParseArrow(l)&&this.eat(T.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=d;this.awaitPos=m;return this.parseParenArrowList(r,i,l,t)}if(!l.length||p){this.unexpected(this.lastTokStart)}if(g){this.unexpected(g)}this.checkExpressionErrors(f,true);this.yieldPos=d||this.yieldPos;this.awaitPos=m||this.awaitPos;if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNodeAt(n,"SequenceExpression",v,E)}else{n=l[0]}}else{n=this.parseParenExpression()}if(this.options.preserveParens){var x=this.startNodeAt(r,i);x.expression=n;return this.finishNode(x,"ParenthesizedExpression")}else{return n}};fe.parseParenItem=function(e){return e};fe.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,false,i)};var de=[];fe.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();this.next();if(this.options.ecmaVersion>=6&&this.type===T.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new";e.meta=this.finishNode(t,"Identifier");this.next();var r=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(r){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc;e.callee=this.parseSubscripts(this.parseExprAtom(null,false,true),i,n,true,false);if(this.eat(T.parenL)){e.arguments=this.parseExprList(T.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=de}return this.finishNode(e,"NewExpression")};fe.parseTemplateElement=function(e){var t=e.isTagged;var r=this.startNode();if(this.type===T.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}r.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}}else{r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();r.tail=this.type===T.backQuote;return this.finishNode(r,"TemplateElement")};fe.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var r=this.startNode();this.next();r.expressions=[];var i=this.parseTemplateElement({isTagged:t});r.quasis=[i];while(!i.tail){if(this.type===T.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(T.dollarBraceL);r.expressions.push(this.parseExpression());this.expect(T.braceR);r.quasis.push(i=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(r,"TemplateLiteral")};fe.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===T.name||this.type===T.num||this.type===T.string||this.type===T.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===T.star)&&!x.test(this.input.slice(this.lastTokEnd,this.start))};fe.parseObj=function(e,t){var r=this.startNode(),i=true,n={};r.properties=[];this.next();while(!this.eat(T.braceR)){if(!i){this.expect(T.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(T.braceR)){break}}else{i=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,n,t)}r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};fe.parseProperty=function(e,t){var r=this.startNode(),i,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(T.ellipsis)){if(e){r.argument=this.parseIdent(false);if(this.type===T.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}return this.finishNode(r,"RestElement")}r.argument=this.parseMaybeAssign(false,t);if(this.type===T.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(r,"SpreadElement")}if(this.options.ecmaVersion>=6){r.method=false;r.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){i=this.eat(T.star)}}var o=this.containsEsc;this.parsePropertyName(r);if(!e&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)){n=true;i=this.options.ecmaVersion>=9&&this.eat(T.star);this.parsePropertyName(r)}else{n=false}this.parsePropertyValue(r,e,i,n,s,a,t,o);return this.finishNode(r,"Property")};fe.parseGetterSetter=function(e){e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var r=e.value.start;if(e.kind==="get"){this.raiseRecoverable(r,"getter should have no params")}else{this.raiseRecoverable(r,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}};fe.parsePropertyValue=function(e,t,r,i,n,s,a,o){if((r||i)&&this.type===T.colon){this.unexpected()}if(this.eat(T.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===T.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(r,i)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==T.comma&&this.type!==T.braceR&&this.type!==T.eq)){if(r||i){this.unexpected()}this.parseGetterSetter(e)}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(r||i){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n}e.kind="init";if(t){e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))}else if(this.type===T.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};fe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(T.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(T.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===T.num||this.type===T.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};fe.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};fe.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(i);if(this.options.ecmaVersion>=6){i.generator=e}if(this.options.ecmaVersion>=8){i.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,i.generator)|V|(r?q:0));this.expect(T.parenL);i.params=this.parseBindingList(T.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(i,false,true,false);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(i,"FunctionExpression")};fe.parseArrowExpression=function(e,t,r,i){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(r,false)|H);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!r}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false,i);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};fe.parseFunctionBody=function(e,t,r,i){var n=t&&this.type!==T.braceL;var s=this.strict,a=false;if(n){e.body=this.parseMaybeAssign(i);e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var l=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,Q)}e.body=this.parseBlock(false,undefined,a&&!s);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=l}this.exitScope()};fe.isSimpleParamList=function(e){for(var t=0,r=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1;n.lexical.push(e);if(this.inModule&&n.flags&R){delete this.undefinedExports[e]}}else if(t===Y){var s=this.currentScope();s.lexical.push(e)}else if(t===J){var a=this.currentScope();if(this.treatFunctionsAsVar){i=a.lexical.indexOf(e)>-1}else{i=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&U&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=true;break}l.var.push(e);if(this.inModule&&l.flags&R){delete this.undefinedExports[e]}if(l.flags&j){break}}}if(i){this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")}};ge.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};ge.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ge.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&j){return t}}};ge.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&j&&!(t.flags&H)){return t}}};var Ee=function Node(e,t,r){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new L(e,r)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var Te=X.prototype;Te.startNode=function(){return new Ee(this,this.start,this.startLoc)};Te.startNodeAt=function(e,t){return new Ee(this,e,t)};function finishNodeAt(e,t,r,i){e.type=t;e.end=r;if(this.options.locations){e.loc.end=i}if(this.options.ranges){e.range[1]=r}return e}Te.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Te.finishNodeAt=function(e,t,r,i){return finishNodeAt.call(this,e,t,r,i)};Te.copyNode=function(e){var t=new Ee(this,e.start,this.startLoc);for(var r in e){t[r]=e[r]}return t};var xe="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Ae=xe+" Extended_Pictographic";var ye=Ae;var Ce=ye+" EBase EComp EMod EPres ExtPict";var _e=Ce;var be=_e;var ke={9:xe,10:Ae,11:ye,12:Ce,13:_e,14:be};var Se="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";var we={9:"",10:"",11:"",12:"",13:"",14:Se};var Ne="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ie="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var De=Ie+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Le=De+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Oe=Le+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Pe=Oe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Re=Pe+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz";var Fe={9:Ie,10:De,11:Le,12:Oe,13:Pe,14:Re};var Me={};function buildUnicodeData(e){var t=Me[e]={binary:wordsRegexp(ke[e]+" "+Ne),binaryOfStrings:wordsRegexp(we[e]),nonBinary:{General_Category:wordsRegexp(Ne),Script:wordsRegexp(Fe[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Be=0,He=[9,10,11,12,13,14];Be=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":"");this.unicodeProperties=Me[e.options.ecmaVersion>=14?14:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchV=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=Object.create(null);this.backReferenceNames=[];this.branchID=null};Ge.prototype.reset=function reset(e,t,r){var i=r.indexOf("v")!==-1;var n=r.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=r;if(i&&this.parser.options.ecmaVersion>=15){this.switchU=true;this.switchV=true;this.switchN=true}else{this.switchU=n&&this.parser.options.ecmaVersion>=6;this.switchV=false;this.switchN=n&&this.parser.options.ecmaVersion>=9}};Ge.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Ge.prototype.at=function at(e,t){if(t===void 0)t=false;var r=this.source;var i=r.length;if(e>=i){return-1}var n=r.charCodeAt(e);if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=i){return n}var s=r.charCodeAt(e+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n};Ge.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var r=this.source;var i=r.length;if(e>=i){return i}var n=r.charCodeAt(e),s;if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=i||(s=r.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};Ge.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Ge.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Ge.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Ge.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};Ge.prototype.eatChars=function eatChars(e,t){if(t===void 0)t=false;var r=this.pos;for(var i=0,n=e;i-1){this.raise(e.start,"Duplicate regular expression flag")}if(a==="u"){i=true}if(a==="v"){n=true}}if(this.options.ecmaVersion>=15&&i&&n){this.raise(e.start,"Invalid regular expression flag")}};function hasProp(e){for(var t in e){return true}return false}Ve.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&hasProp(e.groupNames)){e.switchN=true;this.regexp_pattern(e)}};Ve.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames=Object.create(null);e.backReferenceNames.length=0;e.branchID=null;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,r=e.backReferenceNames;t=16;if(t){e.branchID=new qe(e.branchID,null)}this.regexp_alternative(e);while(e.eat(124)){if(t){e.branchID=e.branchID.sibling()}this.regexp_alternative(e)}if(t){e.branchID=e.branchID.parent}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};Ve.regexp_alternative=function(e){while(e.pos=9){r=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!r;return true}}e.pos=t;return false};Ve.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Ve.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Ve.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)){i=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){n=e.lastIntValue}if(e.eat(125)){if(n!==-1&&n=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Ve.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Ve.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Ve.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Ve.regexp_eatPatternCharacters=function(e){var t=e.pos;var r=0;while((r=e.current())!==-1&&!isSyntaxCharacter(r)){e.advance()}return e.pos!==t};Ve.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Ve.regexp_groupSpecifier=function(e){if(e.eat(63)){if(!this.regexp_eatGroupName(e)){e.raise("Invalid group")}var t=this.options.ecmaVersion>=16;var r=e.groupNames[e.lastStringValue];if(r){if(t){for(var i=0,n=r;i=11;var i=e.current(r);e.advance(r);if(i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){i=e.lastIntValue}if(isRegExpIdentifierStart(i)){e.lastIntValue=i;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Ve.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var i=e.current(r);e.advance(r);if(i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){i=e.lastIntValue}if(isRegExpIdentifierPart(i)){e.lastIntValue=i;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Ve.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Ve.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU){if(r>e.maxBackReference){e.maxBackReference=r}return true}if(r<=e.numCapturingParens){return true}e.pos=t}return false};Ve.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Ve.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Ve.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Ve.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Ve.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Ve.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Ve.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var r=e.pos;var i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(i&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(n-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=n}return true}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(i){e.raise("Invalid unicode escape")}e.pos=r}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Ve.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Ve.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};var je=0;var Ke=1;var ze=2;Ve.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return Ke}var r=false;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1;e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125)){if(r&&i===ze){e.raise("Invalid property name")}return i}e.raise("Invalid property name")}return je};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Ve.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,r,i);return Ke}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n)}return je};Ve.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){if(!S(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(r)){e.raise("Invalid property value")}};Ve.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t)){return Ke}if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)){return ze}e.raise("Invalid property name")};Ve.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Ve.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Ve.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Ve.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94);var r=this.regexp_classContents(e);if(!e.eat(93)){e.raise("Unterminated character class")}if(t&&r===ze){e.raise("Negated character class may contain strings")}return true}return false};Ve.regexp_classContents=function(e){if(e.current()===93){return Ke}if(e.switchV){return this.regexp_classSetExpression(e)}this.regexp_nonEmptyClassRanges(e);return Ke};Ve.regexp_nonEmptyClassRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;if(e.switchU&&(t===-1||r===-1)){e.raise("Invalid character class")}if(t!==-1&&r!==-1&&t>r){e.raise("Range out of order in character class")}}}};Ve.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var r=e.current();if(r===99||isOctalDigit(r)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var i=e.current();if(i!==93){e.lastIntValue=i;e.advance();return true}return false};Ve.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Ve.regexp_classSetExpression=function(e){var t=Ke,r;if(this.regexp_eatClassSetRange(e));else if(r=this.regexp_eatClassSetOperand(e)){if(r===ze){t=ze}var i=e.pos;while(e.eatChars([38,38])){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){if(r!==ze){t=Ke}continue}e.raise("Invalid character in character class")}if(i!==e.pos){return t}while(e.eatChars([45,45])){if(this.regexp_eatClassSetOperand(e)){continue}e.raise("Invalid character in character class")}if(i!==e.pos){return t}}else{e.raise("Invalid character in character class")}for(;;){if(this.regexp_eatClassSetRange(e)){continue}r=this.regexp_eatClassSetOperand(e);if(!r){return t}if(r===ze){t=ze}}};Ve.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(r!==-1&&i!==-1&&r>i){e.raise("Range out of order in character class")}return true}e.pos=t}return false};Ve.regexp_eatClassSetOperand=function(e){if(this.regexp_eatClassSetCharacter(e)){return Ke}return this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};Ve.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94);var i=this.regexp_classContents(e);if(e.eat(93)){if(r&&i===ze){e.raise("Negated character class may contain strings")}return i}e.pos=t}if(e.eat(92)){var n=this.regexp_eatCharacterClassEscape(e);if(n){return n}e.pos=t}return null};Ve.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125)){return r}}else{e.raise("Invalid escape")}e.pos=t}return null};Ve.regexp_classStringDisjunctionContents=function(e){var t=this.regexp_classString(e);while(e.eat(124)){if(this.regexp_classString(e)===ze){t=ze}}return t};Ve.regexp_classString=function(e){var t=0;while(this.regexp_eatClassSetCharacter(e)){t++}return t===1?Ke:ze};Ve.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)){return true}if(e.eat(98)){e.lastIntValue=8;return true}e.pos=t;return false}var r=e.current();if(r<0||r===e.lookahead()&&isClassSetReservedDoublePunctuatorCharacter(r)){return false}if(isClassSetSyntaxCharacter(r)){return false}e.advance();e.lastIntValue=r;return true};function isClassSetReservedDoublePunctuatorCharacter(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function isClassSetSyntaxCharacter(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}Ve.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();if(isClassSetReservedPunctuator(t)){e.lastIntValue=t;e.advance();return true}return false};function isClassSetReservedPunctuator(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}Ve.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Ve.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Ve.regexp_eatDecimalDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isDecimalDigit(r=e.current())){e.lastIntValue=10*e.lastIntValue+(r-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Ve.regexp_eatHexDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isHexDigit(r=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Ve.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+r*8+e.lastIntValue}else{e.lastIntValue=t*8+r}}else{e.lastIntValue=t}return true}return false};Ve.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Ve.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length){return this.finishToken(T.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Je.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Je.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Je.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=r+2;if(this.options.locations){for(var i=void 0,n=t;(i=nextLineBreak(this.input,n,this.pos))>-1;){++this.curLine;n=this.lineStart=i}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())}};Je.skipLineComment=function(e){var t=this.pos;var r=this.options.onComment&&this.curPosition();var i=this.input.charCodeAt(this.pos+=e);while(this.pos8&&e<14||e>=5760&&y.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Je.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var r=this.type;this.type=e;this.value=t;this.updateContext(r)};Je.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(T.ellipsis)}else{++this.pos;return this.finishToken(T.dot)}};Je.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(T.assign,2)}return this.finishOp(T.slash,1)};Je.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;var i=e===42?T.star:T.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++r;i=T.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(T.assign,r+1)}return this.finishOp(i,r)};Je.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(T.assign,3)}}return this.finishOp(e===124?T.logicalOR:T.logicalAND,2)}if(t===61){return this.finishOp(T.assign,2)}return this.finishOp(e===124?T.bitwiseOR:T.bitwiseAND,1)};Je.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(T.assign,2)}return this.finishOp(T.bitwiseXOR,1)};Je.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||x.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(T.incDec,2)}if(t===61){return this.finishOp(T.assign,2)}return this.finishOp(T.plusMin,1)};Je.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;if(t===e){r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+r)===61){return this.finishOp(T.assign,r+1)}return this.finishOp(T.bitShift,r)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){r=2}return this.finishOp(T.relational,r)};Je.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(T.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(T.arrow)}return this.finishOp(e===61?T.eq:T.prefix,1)};Je.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57){return this.finishOp(T.questionDot,2)}}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(T.assign,3)}}return this.finishOp(T.coalesce,2)}}return this.finishOp(T.question,1)};Je.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(T.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};Je.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(T.parenL);case 41:++this.pos;return this.finishToken(T.parenR);case 59:++this.pos;return this.finishToken(T.semi);case 44:++this.pos;return this.finishToken(T.comma);case 91:++this.pos;return this.finishToken(T.bracketL);case 93:++this.pos;return this.finishToken(T.bracketR);case 123:++this.pos;return this.finishToken(T.braceL);case 125:++this.pos;return this.finishToken(T.braceR);case 58:++this.pos;return this.finishToken(T.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(T.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(T.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};Je.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,r)};Je.readRegexp=function(){var e,t,r=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(r,"Unterminated regular expression")}var i=this.input.charAt(this.pos);if(x.test(i)){this.raise(r,"Unterminated regular expression")}if(!e){if(i==="["){t=true}else if(i==="]"&&t){t=false}else if(i==="/"&&!t){break}e=i==="\\"}else{e=false}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new Ge(this));o.reset(r,n,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(n,a)}catch(e){}return this.finishToken(T.regexp,{pattern:n,flags:a,value:l})};Je.readInt=function(e,t,r){var i=this.options.ecmaVersion>=12&&t===undefined;var n=r&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var l=0,c=t==null?Infinity:t;l=97){f=p-97+10}else if(p>=65){f=p-65+10}else if(p>=48&&p<=57){f=p-48}else{f=Infinity}if(f>=e){break}o=p;a=a*e+f}if(i&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Je.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);if(r==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){r=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(T.num,r)};Je.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(r&&this.strict){this.raise(t,"Invalid number")}var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var n=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(T.num,n)}if(r&&/[89]/.test(this.input.slice(t,this.pos))){r=false}if(i===46&&!r){++this.pos;this.readInt(10);i=this.input.charCodeAt(this.pos)}if((i===69||i===101)&&!r){i=this.input.charCodeAt(++this.pos);if(i===43||i===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),r);return this.finishToken(T.num,s)};Je.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(r,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};Je.readString=function(e){var t="",r=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var i=this.input.charCodeAt(this.pos);if(i===e){break}if(i===92){t+=this.input.slice(r,this.pos);t+=this.readEscapedChar(false);r=this.pos}else if(i===8232||i===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(i)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(r,this.pos++);return this.finishToken(T.string,t)};var Ye={};Je.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ye){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Je.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ye}else{this.raise(e,t)}};Je.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===T.template||this.type===T.invalidTemplate)){if(r===36){this.pos+=2;return this.finishToken(T.dollarBraceL)}else{++this.pos;return this.finishToken(T.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(T.template,e)}if(r===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.pos);++this.pos;switch(r){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Je.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(i,8);if(n>255){i=i.slice(0,-1);n=parseInt(i,8)}this.pos+=i.length-1;t=this.input.charCodeAt(this.pos);if((i!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(isNewLine(t)){if(this.options.locations){this.lineStart=this.pos;++this.curLine}return""}return String.fromCharCode(t)}};Je.readHexChar=function(e){var t=this.pos;var r=this.readInt(16,e);if(r===null){this.invalidStringToken(t,"Bad character escape sequence")}return r};Je.readWord1=function(){this.containsEsc=false;var e="",t=true,r=this.pos;var i=this.options.ecmaVersion>=6;while(this.pos-1&&n0)}function stringifyPosition(e){if(!e||typeof e!=="object"){return""}if("position"in e||"type"in e){return position(e.position)}if("start"in e||"end"in e){return position(e)}if("line"in e||"column"in e){return point(e)}return""}function point(e){return index(e&&e.line)+":"+index(e&&e.column)}function position(e){return point(e&&e.start)+"-"+point(e&&e.end)}function index(e){return e&&typeof e==="number"?e:1}class VFileMessage extends Error{constructor(e,t,r){const i=[null,null];let n={start:{line:null,column:null},end:{line:null,column:null}};super();if(typeof t==="string"){r=t;t=undefined}if(typeof r==="string"){const e=r.indexOf(":");if(e===-1){i[1]=r}else{i[0]=r.slice(0,e);i[1]=r.slice(e+1)}}if(t){if("type"in t||"position"in t){if(t.position){n=t.position}}else if("start"in t||"end"in t){n=t}else if("line"in t||"column"in t){n.start=t}}this.name=stringifyPosition(t)||"1:1";this.message=typeof e==="object"?e.message:e;this.stack="";if(typeof e==="object"&&e.stack){this.stack=e.stack}this.reason=this.message;this.fatal;this.line=n.start.line;this.column=n.start.column;this.position=n;this.source=i[0];this.ruleId=i[1];this.file;this.actual;this.expected;this.url;this.note}}VFileMessage.prototype.file="";VFileMessage.prototype.name="";VFileMessage.prototype.reason="";VFileMessage.prototype.message="";VFileMessage.prototype.stack="";VFileMessage.prototype.fatal=null;VFileMessage.prototype.column=null;VFileMessage.prototype.line=null;VFileMessage.prototype.source=null;VFileMessage.prototype.ruleId=null;VFileMessage.prototype.position=null;function eventsToAcorn(e,t){const r=t.prefix||"";const i=t.suffix||"";const n=Object.assign({},t.acornOptions);const s=[];const a=[];const o=n.onComment;const l=n.onToken;let c=false;let p;let f;const d=Object.assign({},n,{onComment:s,preserveParens:true});if(l){d.onToken=a}const m=collect(e,["lineEnding","expressionChunk","mdxFlowExpressionChunk","mdxTextExpressionChunk","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttributeValueExpressionValue","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttributeValueExpressionValue","mdxjsEsmData"]);const g=m.value;const v=r+g+i;const E=t.expression&µmark_util_events_to_acorn_empty(g);if(E&&!t.allowEmpty){throw new VFileMessage("Unexpected empty expression",parseOffsetToUnistPoint(0),"micromark-extension-mdx-expression:unexpected-empty-expression")}try{p=t.expression&&!E?t.acorn.parseExpressionAt(v,0,d):t.acorn.parse(v,d)}catch(e){const t=e;const i=parseOffsetToUnistPoint(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,"");t.pos=i.offset;t.loc={line:i.line,column:i.column-1};f=t;c=t.raisedAt>=r.length+g.length||t.message==="Unterminated comment"}if(p&&t.expression&&!E){if(micromark_util_events_to_acorn_empty(v.slice(p.end,v.length-i.length))){p={type:"Program",start:0,end:r.length+g.length,body:[{type:"ExpressionStatement",expression:p,start:0,end:r.length+g.length}],sourceType:"module",comments:[]}}else{const e=parseOffsetToUnistPoint(p.end);const t=new Error("Unexpected content after expression");t.pos=e.offset;t.loc={line:e.line,column:e.column-1};f=t;p=undefined}}if(p){p.comments=s;visit(p,((e,t,r,i)=>{let n=i[i.length-1];let s=t;if(e.type==="ParenthesizedExpression"&&n&&s){if(typeof r==="number"){n=n[s];s=r}n[s]=e.expression}fixPosition(e)}));if(Array.isArray(o)){o.push(...s)}else if(typeof o==="function"){for(const e of s){o(e.type==="Block",e.value,e.start,e.end,e.loc.start,e.loc.end)}}for(const e of a){if(e.end<=r.length||e.start-r.length>=g.length){continue}fixPosition(e);if(Array.isArray(l)){l.push(e)}else{l(e)}}}return{estree:p,error:f,swallow:c};function fixPosition(e){const t=parseOffsetToUnistPoint(e.start);const r=parseOffsetToUnistPoint(e.end);e.start=t.offset;e.end=r.offset;e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:r.line,column:r.column-1,offset:r.offset}};e.range=[e.start,e.end]}function parseOffsetToUnistPoint(e){let i=e-r.length;if(i<0){i=0}else if(i>g.length){i=g.length}let n=relativeToPoint(m.stops,i);if(!n){n={line:t.start.line,column:t.start.column,offset:t.start.offset}}return n}}function micromark_util_events_to_acorn_empty(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function collect(e,t){const r={value:"",stops:[]};let i=-1;while(++i0&&e[0]===-1){e.shift()}const t=serializeChunks(e);r.stops.push([r.value.length,n[1].start]);r.value+=t;r.stops.push([r.value.length,n[1].end])}}return r}function relativeToPoint(e,t){let r=0;while(r-1?e:undefined}function factoryMdxExpression(e,t,r,i,n,s,a,o,l,c,p){const f=this;const d=this.events.length+3;let m=0;let g;let v;return start;function start(t){e.enter(r);e.enter(i);e.consume(t);e.exit(i);g=f.now();return before}function before(p){if(p===null){throw v||new VFileMessage("Unexpected end of file in expression, expected a corresponding closing brace for `{`",f.now(),"micromark-extension-mdx-expression:unexpected-eof")}if(markdownLineEnding(p)){e.enter("lineEnding");e.consume(p);e.exit("lineEnding");return eolAfter}if(p===125&&m===0){const m=s?mdxExpressionParse.call(f,s,a,d,g,c||false,l||false):{type:"ok",estree:undefined};if(m.type==="ok"){e.enter(i);e.consume(p);e.exit(i);const n=e.exit(r);if(o&&m.estree){Object.assign(n,{estree:m.estree})}return t}v=m.message;e.enter(n);e.consume(p);return inside}e.enter(n);return inside(p)}function inside(t){if(t===125&&m===0||t===null||markdownLineEnding(t)){e.exit(n);return before(t)}if(t===123&&!s){m+=1}else if(t===125){m-=1}e.consume(t);return inside}function eolAfter(e){const t=f.now();if(t.line!==g.line&&!p&&f.parser.lazy[t.line]){throw new VFileMessage("Unexpected end of file in expression, expected a corresponding closing brace for `{`",f.now(),"micromark-extension-mdx-expression:unexpected-eof")}return before(e)}}function mdxExpressionParse(e,t,r,i,n,s){const a=eventsToAcorn(this.events.slice(r),{acorn:e,acornOptions:t,start:i,expression:true,allowEmpty:n,prefix:s?"({":"",suffix:s?"})":""});const o=a.estree;if(s&&o){const e=o.body[0];if(e.type!=="ExpressionStatement"||e.expression.type!=="ObjectExpression"){throw new VFileMessage("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",positionFromEstree(e).start,"micromark-extension-mdx-expression:non-spread")}else if(e.expression.properties[1]){throw new VFileMessage("Unexpected extra content in spread: only a single spread is supported",positionFromEstree(e.expression.properties[1]).start,"micromark-extension-mdx-expression:spread-extra")}else if(e.expression.properties[0]&&e.expression.properties[0].type!=="SpreadElement"){throw new VFileMessage("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",positionFromEstree(e.expression.properties[0]).start,"micromark-extension-mdx-expression:non-spread")}}if(a.error){return{type:"nok",message:new VFileMessage("Could not parse expression with acorn: "+a.error.message,{line:a.error.loc.line,column:a.error.loc.column+1,offset:a.error.pos},"micromark-extension-mdx-expression:acorn")}}return{type:"ok",estree:o}}function factorySpace(e,t,r,i){const n=i?i-1:Number.POSITIVE_INFINITY;let s=0;return start;function start(i){if(markdownSpace(i)){e.enter(r);return prefix(i)}return t(i)}function prefix(i){if(markdownSpace(i)&&s++0}function factoryTag(e,t,r,i,n,s,a,o,l,c,p,f,d,m,g,v,E,T,x,A,y,C,_,b,k,S,w,N,I,D,L,O){const P=this;let R;let F;return start;function start(t){e.enter(o);e.enter(l);e.consume(t);e.exit(l);return startAfter}function startAfter(e){if(markdownLineEndingOrSpace(e)){return r(e)}R=nameBefore;return esWhitespaceStart(e)}function nameBefore(t){if(t===47){e.enter(c);e.consume(t);e.exit(c);R=closingTagNameBefore;return esWhitespaceStart}if(t===62){return tagEnd(t)}if(t!==null&&lib_start(t)){e.enter(f);e.enter(d);e.consume(t);return primaryName}crash(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(t===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function closingTagNameBefore(t){if(t===62){return tagEnd(t)}if(t!==null&&lib_start(t)){e.enter(f);e.enter(d);e.consume(t);return primaryName}crash(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(t===42||t===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function primaryName(t){if(t===45||t!==null&&lib_cont(t)){e.consume(t);return primaryName}if(t===46||t===47||t===58||t===62||t===123||markdownLineEndingOrSpace(t)||ot(t)){e.exit(d);R=primaryNameAfter;return esWhitespaceStart(t)}crash(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(t===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function primaryNameAfter(t){if(t===46){e.enter(m);e.consume(t);e.exit(m);R=memberNameBefore;return esWhitespaceStart}if(t===58){e.enter(v);e.consume(t);e.exit(v);R=localNameBefore;return esWhitespaceStart}if(t===47||t===62||t===123||t!==null&&lib_start(t)){e.exit(f);return attributeBefore(t)}crash(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function memberNameBefore(t){if(t!==null&&lib_start(t)){e.enter(g);e.consume(t);return memberName}crash(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function memberName(t){if(t===45||t!==null&&lib_cont(t)){e.consume(t);return memberName}if(t===46||t===47||t===62||t===123||markdownLineEndingOrSpace(t)||ot(t)){e.exit(g);R=memberNameAfter;return esWhitespaceStart(t)}crash(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(t===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function memberNameAfter(t){if(t===46){e.enter(m);e.consume(t);e.exit(m);R=memberNameBefore;return esWhitespaceStart}if(t===47||t===62||t===123||t!==null&&lib_start(t)){e.exit(f);return attributeBefore(t)}crash(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function localNameBefore(t){if(t!==null&&lib_start(t)){e.enter(E);e.consume(t);return localName}crash(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(t===43||t!==null&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function localName(t){if(t===45||t!==null&&lib_cont(t)){e.consume(t);return localName}if(t===47||t===62||t===123||markdownLineEndingOrSpace(t)||ot(t)){e.exit(E);R=localNameAfter;return esWhitespaceStart(t)}crash(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function localNameAfter(t){if(t===47||t===62||t===123||t!==null&&lib_start(t)){e.exit(f);return attributeBefore(t)}crash(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function attributeBefore(t){if(t===47){e.enter(p);e.consume(t);e.exit(p);R=selfClosing;return esWhitespaceStart}if(t===62){return tagEnd(t)}if(t===123){return factoryMdxExpression.call(P,e,attributeExpressionAfter,T,x,A,i,n,s,true,false,a)(t)}if(t!==null&&lib_start(t)){e.enter(y);e.enter(C);e.enter(_);e.consume(t);return attributePrimaryName}crash(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function attributeExpressionAfter(e){R=attributeBefore;return esWhitespaceStart(e)}function attributePrimaryName(t){if(t===45||t!==null&&lib_cont(t)){e.consume(t);return attributePrimaryName}if(t===47||t===58||t===61||t===62||t===123||markdownLineEndingOrSpace(t)||ot(t)){e.exit(_);R=attributePrimaryNameAfter;return esWhitespaceStart(t)}crash(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function attributePrimaryNameAfter(t){if(t===58){e.enter(b);e.consume(t);e.exit(b);R=attributeLocalNameBefore;return esWhitespaceStart}if(t===61){e.exit(C);e.enter(S);e.consume(t);e.exit(S);R=attributeValueBefore;return esWhitespaceStart}if(t===47||t===62||t===123||markdownLineEndingOrSpace(t)||ot(t)||t!==null&&lib_start(t)){e.exit(C);e.exit(y);R=attributeBefore;return esWhitespaceStart(t)}crash(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function attributeLocalNameBefore(t){if(t!==null&&lib_start(t)){e.enter(k);e.consume(t);return attributeLocalName}crash(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function attributeLocalName(t){if(t===45||t!==null&&lib_cont(t)){e.consume(t);return attributeLocalName}if(t===47||t===61||t===62||t===123||markdownLineEndingOrSpace(t)||ot(t)){e.exit(k);e.exit(C);R=attributeLocalNameAfter;return esWhitespaceStart(t)}crash(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function attributeLocalNameAfter(t){if(t===61){e.enter(S);e.consume(t);e.exit(S);R=attributeValueBefore;return esWhitespaceStart}if(t===47||t===62||t===123||t!==null&&lib_start(t)){e.exit(y);return attributeBefore(t)}crash(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function attributeValueBefore(t){if(t===34||t===39){e.enter(w);e.enter(N);e.consume(t);e.exit(N);F=t;return attributeValueQuotedStart}if(t===123){return factoryMdxExpression.call(P,e,attributeValueExpressionAfter,D,L,O,i,n,s,false,false,a)(t)}crash(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(t===60?" (note: to use an element or fragment as a prop value in MDX, use `{}`)":""))}function attributeValueExpressionAfter(t){e.exit(y);R=attributeBefore;return esWhitespaceStart(t)}function attributeValueQuotedStart(t){if(t===null){crash(t,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(F)+"`")}if(t===F){e.enter(N);e.consume(t);e.exit(N);e.exit(w);e.exit(y);F=undefined;R=attributeBefore;return esWhitespaceStart}if(markdownLineEnding(t)){R=attributeValueQuotedStart;return esWhitespaceStart(t)}e.enter(I);return attributeValueQuoted(t)}function attributeValueQuoted(t){if(t===null||t===F||markdownLineEnding(t)){e.exit(I);return attributeValueQuotedStart(t)}e.consume(t);return attributeValueQuoted}function selfClosing(e){if(e===62){return tagEnd(e)}crash(e,"after self-closing slash","`>` to end the tag"+(e===42||e===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function tagEnd(r){e.enter(l);e.consume(r);e.exit(l);e.exit(o);return t}function esWhitespaceStart(t){if(markdownLineEnding(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return esWhitespaceEolAfter}if(markdownSpace(t)||ot(t)){e.enter("esWhitespace");return esWhitespaceInside(t)}return R(t)}function esWhitespaceInside(t){if(markdownLineEnding(t)){e.exit("esWhitespace");return esWhitespaceStart(t)}if(markdownSpace(t)||ot(t)){e.consume(t);return esWhitespaceInside}e.exit("esWhitespace");return R(t)}function esWhitespaceEolAfter(e){if(!a&&P.parser.lazy[P.now().line]){throw new VFileMessage("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",P.now(),"micromark-extension-mdx-jsx:unexpected-eof")}return esWhitespaceStart(e)}function crash(e,t,r){throw new VFileMessage("Unexpected "+(e===null?"end of file":"character `"+(e===96?"` ` `":String.fromCodePoint(e))+"` ("+serializeCharCode(e)+")")+" "+t+", expected "+r,P.now(),"micromark-extension-mdx-jsx:unexpected-"+(e===null?"eof":"character"))}}function serializeCharCode(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function jsxText(e,t,r){return{tokenize:tokenizeJsxText};function tokenizeJsxText(i,n,s){return factoryTag.call(this,i,n,s,e,t,r,true,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}function jsxFlow(e,t,r){return{tokenize:tokenizeJsxFlow,concrete:true};function tokenizeJsxFlow(i,n,s){const a=this;return start;function start(e){return before(e)}function before(n){return factoryTag.call(a,i,after,s,e,t,r,false,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(n)}function after(e){return markdownSpace(e)?factorySpace(i,end,"whitespace")(e):end(e)}function end(e){return e===60?start(e):e===null||markdownLineEnding(e)?n(e):s(e)}}}function mdxJsx(e){const t=e||{};const r=t.acorn;let i;if(r){if(!r.parse||!r.parseExpressionAt){throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`")}i=Object.assign({ecmaVersion:2020,sourceType:"module"},t.acornOptions,{locations:true})}else if(t.acornOptions||t.addResult){throw new Error("Expected an `acorn` instance passed in as `options.acorn`")}return{flow:{[60]:jsxFlow(r||undefined,i,t.addResult||false)},text:{[60]:jsxText(r||undefined,i,t.addResult||false)}}}const dt={disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}};const mt={tokenize:tokenizeBlankLine,partial:true};function tokenizeBlankLine(e,t,r){return start;function start(t){return markdownSpace(t)?factorySpace(e,after,"linePrefix")(t):after(t)}function after(e){return e===null||markdownLineEnding(e)?t(e):r(e)}}const gt={tokenize:tokenizeNextBlank,partial:true};const vt=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function mdxjsEsm(e){const t={tokenize:tokenizeExportImport,concrete:true};if(!e||!e.acorn||!e.acorn.parse){throw new Error("Expected an `acorn` instance passed in as `options.acorn`")}const r=e.acorn;const i=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions);return{flow:{[101]:t,[105]:t}};function tokenizeExportImport(t,n,s){const a=this;const o=a.parser.definedModuleSpecifiers||(a.parser.definedModuleSpecifiers=[]);const l=this.events.length+1;let c="";return a.interrupt?s:start;function start(e){if(a.now().column>1)return s(e);t.enter("mdxjsEsm");t.enter("mdxjsEsmData");t.consume(e);c+=String.fromCharCode(e);return word}function word(e){if($e(e)){t.consume(e);c+=String.fromCharCode(e);return word}if((c==="import"||c==="export")&&e===32){t.consume(e);return inside}return s(e)}function inside(e){if(e===null||markdownLineEnding(e)){t.exit("mdxjsEsmData");return lineStart(e)}t.consume(e);return inside}function lineStart(e){if(e===null){return atEnd(e)}if(markdownLineEnding(e)){return t.check(gt,atEnd,continuationStart)(e)}t.enter("mdxjsEsmData");return inside(e)}function continuationStart(e){t.enter("lineEnding");t.consume(e);t.exit("lineEnding");return lineStart}function atEnd(s){const c=eventsToAcorn(a.events.slice(l),{acorn:r,acornOptions:i,prefix:o.length>0?"var "+o.join(",")+"\n":""});if(c.error){if(s!==null&&c.swallow){return continuationStart(s)}throw new VFileMessage("Could not parse import/exports with acorn: "+String(c.error),{line:c.error.loc.line,column:c.error.loc.column+1,offset:c.error.pos},"micromark-extension-mdxjs-esm:acorn")}if(o.length>0){const e=c.estree.body.shift()}let p=-1;while(++pn?0:n+t}else{t=t>n?n:t}r=r>0?r:0;if(i.length<1e4){a=Array.from(i);a.unshift(t,r);e.splice(...a)}else{if(r)e.splice(t,r);while(s0){splice(e,e.length,0,t);return e}return t}const Et={}.hasOwnProperty;function combineExtensions(e){const t={};let r=-1;while(++r=48&&t<=57}function isHexadecimal(e){const t=typeof e==="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function isAlphabetical(e){const t=typeof e==="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function isAlphanumerical(e){return isAlphabetical(e)||isDecimal(e)}const Ct={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};const _t={}.hasOwnProperty;function decodeNamedCharacterReference(e){return _t.call(Ct,e)?Ct[e]:false}const bt=String.fromCharCode;const kt=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function parseEntities(e,t={}){const r=typeof t.additional==="string"?t.additional.charCodeAt(0):t.additional;const i=[];let n=0;let s=-1;let a="";let o;let l;if(t.position){if("start"in t.position||"indent"in t.position){l=t.position.indent;o=t.position.start}else{o=t.position}}let c=(o?o.line:0)||1;let p=(o?o.column:0)||1;let f=now();let d;n--;while(++n<=e.length){if(d===10){p=(l?l[s]:0)||1}d=e.charCodeAt(n);if(d===38){const s=e.charCodeAt(n+1);if(s===9||s===10||s===12||s===32||s===38||s===60||Number.isNaN(s)||r&&s===r){a+=bt(d);p++;continue}const o=n+1;let l=o;let c=o;let m;if(s===35){c=++l;const t=e.charCodeAt(c);if(t===88||t===120){m="hexadecimal";c=++l}else{m="decimal"}}else{m="named"}let g="";let v="";let E="";const T=m==="named"?isAlphanumerical:m==="decimal"?isDecimal:isHexadecimal;c--;while(++c<=e.length){const t=e.charCodeAt(c);if(!T(t)){break}E+=bt(t);if(m==="named"&&At.includes(E)){g=E;v=decodeNamedCharacterReference(E)}}let x=e.charCodeAt(c)===59;if(x){c++;const e=m==="named"?decodeNamedCharacterReference(E):false;if(e){g=E;v=e}}let A=1+c-o;let y="";if(!x&&t.nonTerminated===false){}else if(!E){if(m!=="named"){warning(4,A)}}else if(m==="named"){if(x&&!v){warning(5,1)}else{if(g!==E){c=l+g.length;A=1+c-l;x=false}if(!x){const r=g?1:3;if(t.attribute){const t=e.charCodeAt(c);if(t===61){warning(r,A);v=""}else if(isAlphanumerical(t)){v=""}else{warning(r,A)}}else{warning(r,A)}}}y=v}else{if(!x){warning(2,A)}let e=Number.parseInt(E,m==="hexadecimal"?16:10);if(prohibited(e)){warning(7,A);y=bt(65533)}else if(e in yt){warning(6,A);y=yt[e]}else{let t="";if(disallowed(e)){warning(6,A)}if(e>65535){e-=65536;t+=bt(e>>>(10&1023)|55296);e=56320|e&1023}y=t+bt(e)}}if(y){flush();f=now();n=c-1;p+=c-o+1;i.push(y);const r=now();r.offset++;if(t.reference){t.reference.call(t.referenceContext,y,{start:f,end:r},e.slice(o-1,c))}f=r}else{E=e.slice(o-1,c);a+=E;p+=E.length;n=c-1}}else{if(d===10){c++;s++;p=0}if(Number.isNaN(d)){flush()}else{a+=bt(d);p++}}}return i.join("");function now(){return{line:c,column:p,offset:n+((o?o.offset:0)||0)}}function warning(e,r){let i;if(t.warning){i=now();i.column+=r;i.offset+=r;t.warning.call(t.warningContext,kt[e],i,e)}}function flush(){if(a){i.push(a);if(t.text){t.text.call(t.textContext,a,{start:f,end:now()})}a=""}}}function prohibited(e){return e>=55296&&e<=57343||e>1114111}function disallowed(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const St=/["&'<>`]/g;const wt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;const Nt=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;const It=/[|\\{}()[\]^$+*?.]/g;const Dt=new WeakMap;function core_core(e,t){e=e.replace(t.subset?charactersToExpressionCached(t.subset):St,basic);if(t.subset||t.escapeOnly){return e}return e.replace(wt,surrogate).replace(Nt,basic);function surrogate(e,r,i){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,i.charCodeAt(r+2),t)}function basic(e,r,i){return t.format(e.charCodeAt(0),i.charCodeAt(r+1),t)}}function charactersToExpressionCached(e){let t=Dt.get(e);if(!t){t=charactersToExpression(e);Dt.set(e,t)}return t}function charactersToExpression(e){const t=[];let r=-1;while(++r0&&(o==="\r"||o==="\n")&&c.type==="html"){s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," ");o=" ";l=t.createTracker(r);l.move(s.join(""))}s.push(l.move(t.handle(c,e,t,{...l.current(),before:o,after:p})));o=s[s.length-1].slice(-1)}i.pop();return s.join("")}const Lt=/\r?\n|\r/g;function indentLines(e,t){const r=[];let i=0;let n=0;let s;while(s=Lt.exec(e)){one(e.slice(i,s.index));r.push(s[0]);i=s.index+s[0].length;n++}one(e.slice(i));return r.join("");function one(e){r.push(t(e,n,!e))}}function track(e){const t=e||{};const r=t.now||{};let i=t.lineShift||0;let n=r.line||1;let s=r.column||1;return{move:move,current:current,shift:shift};function current(){return{now:{line:n,column:s},lineShift:i}}function shift(e){i+=e}function move(e){const t=e||"";const r=t.split(/\r?\n|\r/g);const a=r[r.length-1];n+=r.length-1;s=r.length===1?s+a.length:1+a.length+i;return t}}const Ot=" ";function mdxJsxFromMarkdown(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:enterMdxJsxTag,mdxJsxFlowTagClosingMarker:enterMdxJsxTagClosingMarker,mdxJsxFlowTagAttribute:enterMdxJsxTagAttribute,mdxJsxFlowTagExpressionAttribute:enterMdxJsxTagExpressionAttribute,mdxJsxFlowTagAttributeValueLiteral:buffer,mdxJsxFlowTagAttributeValueExpression:buffer,mdxJsxFlowTagSelfClosingMarker:enterMdxJsxTagSelfClosingMarker,mdxJsxTextTag:enterMdxJsxTag,mdxJsxTextTagClosingMarker:enterMdxJsxTagClosingMarker,mdxJsxTextTagAttribute:enterMdxJsxTagAttribute,mdxJsxTextTagExpressionAttribute:enterMdxJsxTagExpressionAttribute,mdxJsxTextTagAttributeValueLiteral:buffer,mdxJsxTextTagAttributeValueExpression:buffer,mdxJsxTextTagSelfClosingMarker:enterMdxJsxTagSelfClosingMarker},exit:{mdxJsxFlowTagClosingMarker:exitMdxJsxTagClosingMarker,mdxJsxFlowTagNamePrimary:exitMdxJsxTagNamePrimary,mdxJsxFlowTagNameMember:exitMdxJsxTagNameMember,mdxJsxFlowTagNameLocal:exitMdxJsxTagNameLocal,mdxJsxFlowTagExpressionAttribute:exitMdxJsxTagExpressionAttribute,mdxJsxFlowTagExpressionAttributeValue:data,mdxJsxFlowTagAttributeNamePrimary:exitMdxJsxTagAttributeNamePrimary,mdxJsxFlowTagAttributeNameLocal:exitMdxJsxTagAttributeNameLocal,mdxJsxFlowTagAttributeValueLiteral:exitMdxJsxTagAttributeValueLiteral,mdxJsxFlowTagAttributeValueLiteralValue:data,mdxJsxFlowTagAttributeValueExpression:exitMdxJsxTagAttributeValueExpression,mdxJsxFlowTagAttributeValueExpressionValue:data,mdxJsxFlowTagSelfClosingMarker:exitMdxJsxTagSelfClosingMarker,mdxJsxFlowTag:exitMdxJsxTag,mdxJsxTextTagClosingMarker:exitMdxJsxTagClosingMarker,mdxJsxTextTagNamePrimary:exitMdxJsxTagNamePrimary,mdxJsxTextTagNameMember:exitMdxJsxTagNameMember,mdxJsxTextTagNameLocal:exitMdxJsxTagNameLocal,mdxJsxTextTagExpressionAttribute:exitMdxJsxTagExpressionAttribute,mdxJsxTextTagExpressionAttributeValue:data,mdxJsxTextTagAttributeNamePrimary:exitMdxJsxTagAttributeNamePrimary,mdxJsxTextTagAttributeNameLocal:exitMdxJsxTagAttributeNameLocal,mdxJsxTextTagAttributeValueLiteral:exitMdxJsxTagAttributeValueLiteral,mdxJsxTextTagAttributeValueLiteralValue:data,mdxJsxTextTagAttributeValueExpression:exitMdxJsxTagAttributeValueExpression,mdxJsxTextTagAttributeValueExpressionValue:data,mdxJsxTextTagSelfClosingMarker:exitMdxJsxTagSelfClosingMarker,mdxJsxTextTag:exitMdxJsxTag}};function buffer(){this.buffer()}function data(e){this.config.enter.data.call(this,e);this.config.exit.data.call(this,e)}function enterMdxJsxTag(e){const t={name:undefined,attributes:[],close:false,selfClosing:false,start:e.start,end:e.end};if(!this.getData("mdxJsxTagStack"))this.setData("mdxJsxTagStack",[]);this.setData("mdxJsxTag",t);this.buffer()}function enterMdxJsxTagClosingMarker(e){const t=this.getData("mdxJsxTagStack");if(t.length===0){throw new VFileMessage("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}}function enterMdxJsxTagAnyAttribute(e){const t=this.getData("mdxJsxTag");if(t.close){throw new VFileMessage("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}}function enterMdxJsxTagSelfClosingMarker(e){const t=this.getData("mdxJsxTag");if(t.close){throw new VFileMessage("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}}function exitMdxJsxTagClosingMarker(){const e=this.getData("mdxJsxTag");e.close=true}function exitMdxJsxTagNamePrimary(e){const t=this.getData("mdxJsxTag");t.name=this.sliceSerialize(e)}function exitMdxJsxTagNameMember(e){const t=this.getData("mdxJsxTag");t.name+="."+this.sliceSerialize(e)}function exitMdxJsxTagNameLocal(e){const t=this.getData("mdxJsxTag");t.name+=":"+this.sliceSerialize(e)}function enterMdxJsxTagAttribute(e){const t=this.getData("mdxJsxTag");enterMdxJsxTagAnyAttribute.call(this,e);t.attributes.push({type:"mdxJsxAttribute",name:"",value:null})}function enterMdxJsxTagExpressionAttribute(e){const t=this.getData("mdxJsxTag");enterMdxJsxTagAnyAttribute.call(this,e);t.attributes.push({type:"mdxJsxExpressionAttribute",value:""});this.buffer()}function exitMdxJsxTagExpressionAttribute(e){const t=this.getData("mdxJsxTag");const r=t.attributes[t.attributes.length-1];const i=e.estree;r.value=this.resume();if(i){r.data={estree:i}}}function exitMdxJsxTagAttributeNamePrimary(e){const t=this.getData("mdxJsxTag");const r=t.attributes[t.attributes.length-1];r.name=this.sliceSerialize(e)}function exitMdxJsxTagAttributeNameLocal(e){const t=this.getData("mdxJsxTag");const r=t.attributes[t.attributes.length-1];r.name+=":"+this.sliceSerialize(e)}function exitMdxJsxTagAttributeValueLiteral(){const e=this.getData("mdxJsxTag");e.attributes[e.attributes.length-1].value=parseEntities(this.resume(),{nonTerminated:false})}function exitMdxJsxTagAttributeValueExpression(e){const t=this.getData("mdxJsxTag");const r=t.attributes[t.attributes.length-1];const i={type:"mdxJsxAttributeValueExpression",value:this.resume()};const n=e.estree;if(n){i.data={estree:n}}r.value=i}function exitMdxJsxTagSelfClosingMarker(){const e=this.getData("mdxJsxTag");e.selfClosing=true}function exitMdxJsxTag(e){const t=this.getData("mdxJsxTag");const r=this.getData("mdxJsxTagStack");const i=r[r.length-1];if(t.close&&i.name!==t.name){throw new VFileMessage("Unexpected closing tag `"+serializeAbbreviatedTag(t)+"`, expected corresponding closing tag for `"+serializeAbbreviatedTag(i)+"` ("+stringifyPosition(i)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}this.resume();if(t.close){r.pop()}else{this.enter({type:e.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,onErrorRightIsTag)}if(t.selfClosing||t.close){this.exit(e,onErrorLeftIsTag)}else{r.push(t)}}function onErrorRightIsTag(e,t){const r=this.getData("mdxJsxTag");const i=e?" before the end of `"+e.type+"`":"";const n=e?{start:e.start,end:e.end}:undefined;throw new VFileMessage("Expected a closing tag for `"+serializeAbbreviatedTag(r)+"` ("+stringifyPosition({start:t.start,end:t.end})+")"+i,n,"mdast-util-mdx-jsx:end-tag-mismatch")}function onErrorLeftIsTag(e,t){const r=this.getData("mdxJsxTag");throw new VFileMessage("Expected the closing tag `"+serializeAbbreviatedTag(r)+"` either after the end of `"+t.type+"` ("+stringifyPosition(t.end)+") or another opening tag after the start of `"+t.type+"` ("+stringifyPosition(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function serializeAbbreviatedTag(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}function mdxJsxToMarkdown(e){const t=e||{};const r=t.quote||'"';const i=t.quoteSmart||false;const n=t.tightSelfClosing||false;const s=t.printWidth||Number.POSITIVE_INFINITY;const a=r==='"'?"'":'"';if(r!=='"'&&r!=="'"){throw new Error("Cannot serialize attribute values with `"+r+"` for `options.quote`, expected `\"`, or `'`")}mdxElement.peek=peekElement;return{handlers:{mdxJsxFlowElement:mdxElement,mdxJsxTextElement:mdxElement},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:true,character:"<"}],fences:true,resourceLink:true};function mdxElement(e,t,o,l){const c=e.type==="mdxJsxFlowElement";const p=e.name?!e.children||e.children.length===0:false;const f=inferDepth(o);const d=createIndent(f);const m=track(l);const g=track(l);const v=[];const E=(c?d:"")+"<"+(e.name||"");const T=o.enter(e.type);m.move(E);g.move(E);if(e.attributes&&e.attributes.length>0){if(!e.name){throw new Error("Cannot serialize fragment w/ attributes")}let t=-1;while(++tccount(e,a)?a:r;o=t+stringifyEntitiesLight(e,{subset:[t]})+t}s=t+(o?"=":"")+o}v.push(s)}}let x=false;const A=v.join(" ");if(c&&(/\r?\n|\r/.test(A)||m.current().now.column+A.length+(p?n?2:3:1)>s)){x=true}let y=m;let C=E;if(x){y=g;let e=-1;while(++e");if(e.children&&e.children.length>0){if(e.type==="mdxJsxTextElement"){C+=y.move(containerPhrasing(e,o,{...y.current(),before:">",after:"<"}))}else{y.shift(2);C+=y.move("\n");C+=y.move(containerFlow(e,o,y.current()));C+=y.move("\n")}}if(!p){C+=y.move((c?d:"")+""+(e.name||"")+">")}T();return C}}function containerFlow(e,t,r){const i=t.indexStack;const n=e.children;const s=t.createTracker(r);const a=createIndent(inferDepth(t));const o=[];let l=-1;i.push(-1);while(++l{e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},6947:e=>{e.exports=JSON.parse('["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]')},9878:e=>{e.exports=JSON.parse('["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]')},1922:e=>{e.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},4138:e=>{e.exports=JSON.parse('{"AEli":"Æ","AElig":"Æ","AM":"&","AMP":"&","Aacut":"Á","Aacute":"Á","Abreve":"Ă","Acir":"Â","Acirc":"Â","Acy":"А","Afr":"𝔄","Agrav":"À","Agrave":"À","Alpha":"Α","Amacr":"Ā","And":"⩓","Aogon":"Ą","Aopf":"𝔸","ApplyFunction":"","Arin":"Å","Aring":"Å","Ascr":"𝒜","Assign":"≔","Atild":"Ã","Atilde":"Ã","Aum":"Ä","Auml":"Ä","Backslash":"∖","Barv":"⫧","Barwed":"⌆","Bcy":"Б","Because":"∵","Bernoullis":"ℬ","Beta":"Β","Bfr":"𝔅","Bopf":"𝔹","Breve":"˘","Bscr":"ℬ","Bumpeq":"≎","CHcy":"Ч","COP":"©","COPY":"©","Cacute":"Ć","Cap":"⋒","CapitalDifferentialD":"ⅅ","Cayleys":"ℭ","Ccaron":"Č","Ccedi":"Ç","Ccedil":"Ç","Ccirc":"Ĉ","Cconint":"∰","Cdot":"Ċ","Cedilla":"¸","CenterDot":"·","Cfr":"ℭ","Chi":"Χ","CircleDot":"⊙","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","Colon":"∷","Colone":"⩴","Congruent":"≡","Conint":"∯","ContourIntegral":"∮","Copf":"ℂ","Coproduct":"∐","CounterClockwiseContourIntegral":"∳","Cross":"⨯","Cscr":"𝒞","Cup":"⋓","CupCap":"≍","DD":"ⅅ","DDotrahd":"⤑","DJcy":"Ђ","DScy":"Ѕ","DZcy":"Џ","Dagger":"‡","Darr":"↡","Dashv":"⫤","Dcaron":"Ď","Dcy":"Д","Del":"∇","Delta":"Δ","Dfr":"𝔇","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","Diamond":"⋄","DifferentialD":"ⅆ","Dopf":"𝔻","Dot":"¨","DotDot":"⃜","DotEqual":"≐","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrow":"↓","DownArrowBar":"⤓","DownArrowUpArrow":"⇵","DownBreve":"̑","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVector":"↽","DownLeftVectorBar":"⥖","DownRightTeeVector":"⥟","DownRightVector":"⇁","DownRightVectorBar":"⥗","DownTee":"⊤","DownTeeArrow":"↧","Downarrow":"⇓","Dscr":"𝒟","Dstrok":"Đ","ENG":"Ŋ","ET":"Ð","ETH":"Ð","Eacut":"É","Eacute":"É","Ecaron":"Ě","Ecir":"Ê","Ecirc":"Ê","Ecy":"Э","Edot":"Ė","Efr":"𝔈","Egrav":"È","Egrave":"È","Element":"∈","Emacr":"Ē","EmptySmallSquare":"◻","EmptyVerySmallSquare":"▫","Eogon":"Ę","Eopf":"𝔼","Epsilon":"Ε","Equal":"⩵","EqualTilde":"≂","Equilibrium":"⇌","Escr":"ℰ","Esim":"⩳","Eta":"Η","Eum":"Ë","Euml":"Ë","Exists":"∃","ExponentialE":"ⅇ","Fcy":"Ф","Ffr":"𝔉","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","Fopf":"𝔽","ForAll":"∀","Fouriertrf":"ℱ","Fscr":"ℱ","GJcy":"Ѓ","G":">","GT":">","Gamma":"Γ","Gammad":"Ϝ","Gbreve":"Ğ","Gcedil":"Ģ","Gcirc":"Ĝ","Gcy":"Г","Gdot":"Ġ","Gfr":"𝔊","Gg":"⋙","Gopf":"𝔾","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","Gt":"≫","HARDcy":"Ъ","Hacek":"ˇ","Hat":"^","Hcirc":"Ĥ","Hfr":"ℌ","HilbertSpace":"ℋ","Hopf":"ℍ","HorizontalLine":"─","Hscr":"ℋ","Hstrok":"Ħ","HumpDownHump":"≎","HumpEqual":"≏","IEcy":"Е","IJlig":"IJ","IOcy":"Ё","Iacut":"Í","Iacute":"Í","Icir":"Î","Icirc":"Î","Icy":"И","Idot":"İ","Ifr":"ℑ","Igrav":"Ì","Igrave":"Ì","Im":"ℑ","Imacr":"Ī","ImaginaryI":"ⅈ","Implies":"⇒","Int":"∬","Integral":"∫","Intersection":"⋂","InvisibleComma":"","InvisibleTimes":"","Iogon":"Į","Iopf":"𝕀","Iota":"Ι","Iscr":"ℐ","Itilde":"Ĩ","Iukcy":"І","Ium":"Ï","Iuml":"Ï","Jcirc":"Ĵ","Jcy":"Й","Jfr":"𝔍","Jopf":"𝕁","Jscr":"𝒥","Jsercy":"Ј","Jukcy":"Є","KHcy":"Х","KJcy":"Ќ","Kappa":"Κ","Kcedil":"Ķ","Kcy":"К","Kfr":"𝔎","Kopf":"𝕂","Kscr":"𝒦","LJcy":"Љ","L":"<","LT":"<","Lacute":"Ĺ","Lambda":"Λ","Lang":"⟪","Laplacetrf":"ℒ","Larr":"↞","Lcaron":"Ľ","Lcedil":"Ļ","Lcy":"Л","LeftAngleBracket":"⟨","LeftArrow":"←","LeftArrowBar":"⇤","LeftArrowRightArrow":"⇆","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVector":"⇃","LeftDownVectorBar":"⥙","LeftFloor":"⌊","LeftRightArrow":"↔","LeftRightVector":"⥎","LeftTee":"⊣","LeftTeeArrow":"↤","LeftTeeVector":"⥚","LeftTriangle":"⊲","LeftTriangleBar":"⧏","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVector":"↿","LeftUpVectorBar":"⥘","LeftVector":"↼","LeftVectorBar":"⥒","Leftarrow":"⇐","Leftrightarrow":"⇔","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","LessLess":"⪡","LessSlantEqual":"⩽","LessTilde":"≲","Lfr":"𝔏","Ll":"⋘","Lleftarrow":"⇚","Lmidot":"Ŀ","LongLeftArrow":"⟵","LongLeftRightArrow":"⟷","LongRightArrow":"⟶","Longleftarrow":"⟸","Longleftrightarrow":"⟺","Longrightarrow":"⟹","Lopf":"𝕃","LowerLeftArrow":"↙","LowerRightArrow":"↘","Lscr":"ℒ","Lsh":"↰","Lstrok":"Ł","Lt":"≪","Map":"⤅","Mcy":"М","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","MinusPlus":"∓","Mopf":"𝕄","Mscr":"ℳ","Mu":"Μ","NJcy":"Њ","Nacute":"Ń","Ncaron":"Ň","Ncedil":"Ņ","Ncy":"Н","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","Nfr":"𝔑","NoBreak":"","NonBreakingSpace":" ","Nopf":"ℕ","Not":"⫬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","NotLeftTriangle":"⋪","NotLeftTriangleBar":"⧏̸","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangle":"⋫","NotRightTriangleBar":"⧐̸","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","Nscr":"𝒩","Ntild":"Ñ","Ntilde":"Ñ","Nu":"Ν","OElig":"Œ","Oacut":"Ó","Oacute":"Ó","Ocir":"Ô","Ocirc":"Ô","Ocy":"О","Odblac":"Ő","Ofr":"𝔒","Ograv":"Ò","Ograve":"Ò","Omacr":"Ō","Omega":"Ω","Omicron":"Ο","Oopf":"𝕆","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","Or":"⩔","Oscr":"𝒪","Oslas":"Ø","Oslash":"Ø","Otild":"Õ","Otilde":"Õ","Otimes":"⨷","Oum":"Ö","Ouml":"Ö","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","PartialD":"∂","Pcy":"П","Pfr":"𝔓","Phi":"Φ","Pi":"Π","PlusMinus":"±","Poincareplane":"ℌ","Popf":"ℙ","Pr":"⪻","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","Prime":"″","Product":"∏","Proportion":"∷","Proportional":"∝","Pscr":"𝒫","Psi":"Ψ","QUO":"\\"","QUOT":"\\"","Qfr":"𝔔","Qopf":"ℚ","Qscr":"𝒬","RBarr":"⤐","RE":"®","REG":"®","Racute":"Ŕ","Rang":"⟫","Rarr":"↠","Rarrtl":"⤖","Rcaron":"Ř","Rcedil":"Ŗ","Rcy":"Р","Re":"ℜ","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","Rfr":"ℜ","Rho":"Ρ","RightAngleBracket":"⟩","RightArrow":"→","RightArrowBar":"⇥","RightArrowLeftArrow":"⇄","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVector":"⇂","RightDownVectorBar":"⥕","RightFloor":"⌋","RightTee":"⊢","RightTeeArrow":"↦","RightTeeVector":"⥛","RightTriangle":"⊳","RightTriangleBar":"⧐","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVector":"↾","RightUpVectorBar":"⥔","RightVector":"⇀","RightVectorBar":"⥓","Rightarrow":"⇒","Ropf":"ℝ","RoundImplies":"⥰","Rrightarrow":"⇛","Rscr":"ℛ","Rsh":"↱","RuleDelayed":"⧴","SHCHcy":"Щ","SHcy":"Ш","SOFTcy":"Ь","Sacute":"Ś","Sc":"⪼","Scaron":"Š","Scedil":"Ş","Scirc":"Ŝ","Scy":"С","Sfr":"𝔖","ShortDownArrow":"↓","ShortLeftArrow":"←","ShortRightArrow":"→","ShortUpArrow":"↑","Sigma":"Σ","SmallCircle":"∘","Sopf":"𝕊","Sqrt":"√","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","Sscr":"𝒮","Star":"⋆","Sub":"⋐","Subset":"⋐","SubsetEqual":"⊆","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","SuchThat":"∋","Sum":"∑","Sup":"⋑","Superset":"⊃","SupersetEqual":"⊇","Supset":"⋑","THOR":"Þ","THORN":"Þ","TRADE":"™","TSHcy":"Ћ","TScy":"Ц","Tab":"\\t","Tau":"Τ","Tcaron":"Ť","Tcedil":"Ţ","Tcy":"Т","Tfr":"𝔗","Therefore":"∴","Theta":"Θ","ThickSpace":" ","ThinSpace":" ","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","Topf":"𝕋","TripleDot":"⃛","Tscr":"𝒯","Tstrok":"Ŧ","Uacut":"Ú","Uacute":"Ú","Uarr":"↟","Uarrocir":"⥉","Ubrcy":"Ў","Ubreve":"Ŭ","Ucir":"Û","Ucirc":"Û","Ucy":"У","Udblac":"Ű","Ufr":"𝔘","Ugrav":"Ù","Ugrave":"Ù","Umacr":"Ū","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","Uopf":"𝕌","UpArrow":"↑","UpArrowBar":"⤒","UpArrowDownArrow":"⇅","UpDownArrow":"↕","UpEquilibrium":"⥮","UpTee":"⊥","UpTeeArrow":"↥","Uparrow":"⇑","Updownarrow":"⇕","UpperLeftArrow":"↖","UpperRightArrow":"↗","Upsi":"ϒ","Upsilon":"Υ","Uring":"Ů","Uscr":"𝒰","Utilde":"Ũ","Uum":"Ü","Uuml":"Ü","VDash":"⊫","Vbar":"⫫","Vcy":"В","Vdash":"⊩","Vdashl":"⫦","Vee":"⋁","Verbar":"‖","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","Vopf":"𝕍","Vscr":"𝒱","Vvdash":"⊪","Wcirc":"Ŵ","Wedge":"⋀","Wfr":"𝔚","Wopf":"𝕎","Wscr":"𝒲","Xfr":"𝔛","Xi":"Ξ","Xopf":"𝕏","Xscr":"𝒳","YAcy":"Я","YIcy":"Ї","YUcy":"Ю","Yacut":"Ý","Yacute":"Ý","Ycirc":"Ŷ","Ycy":"Ы","Yfr":"𝔜","Yopf":"𝕐","Yscr":"𝒴","Yuml":"Ÿ","ZHcy":"Ж","Zacute":"Ź","Zcaron":"Ž","Zcy":"З","Zdot":"Ż","ZeroWidthSpace":"","Zeta":"Ζ","Zfr":"ℨ","Zopf":"ℤ","Zscr":"𝒵","aacut":"á","aacute":"á","abreve":"ă","ac":"∾","acE":"∾̳","acd":"∿","acir":"â","acirc":"â","acut":"´","acute":"´","acy":"а","aeli":"æ","aelig":"æ","af":"","afr":"𝔞","agrav":"à","agrave":"à","alefsym":"ℵ","aleph":"ℵ","alpha":"α","amacr":"ā","amalg":"⨿","am":"&","amp":"&","and":"∧","andand":"⩕","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsd":"∡","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","aogon":"ą","aopf":"𝕒","ap":"≈","apE":"⩰","apacir":"⩯","ape":"≊","apid":"≋","apos":"\'","approx":"≈","approxeq":"≊","arin":"å","aring":"å","ascr":"𝒶","ast":"*","asymp":"≈","asympeq":"≍","atild":"ã","atilde":"ã","aum":"ä","auml":"ä","awconint":"∳","awint":"⨑","bNot":"⫭","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","barvee":"⊽","barwed":"⌅","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","beta":"β","beth":"ℶ","between":"≬","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bnot":"⌐","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxDL":"╗","boxDR":"╔","boxDl":"╖","boxDr":"╓","boxH":"═","boxHD":"╦","boxHU":"╩","boxHd":"╤","boxHu":"╧","boxUL":"╝","boxUR":"╚","boxUl":"╜","boxUr":"╙","boxV":"║","boxVH":"╬","boxVL":"╣","boxVR":"╠","boxVh":"╫","boxVl":"╢","boxVr":"╟","boxbox":"⧉","boxdL":"╕","boxdR":"╒","boxdl":"┐","boxdr":"┌","boxh":"─","boxhD":"╥","boxhU":"╨","boxhd":"┬","boxhu":"┴","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxuL":"╛","boxuR":"╘","boxul":"┘","boxur":"└","boxv":"│","boxvH":"╪","boxvL":"╡","boxvR":"╞","boxvh":"┼","boxvl":"┤","boxvr":"├","bprime":"‵","breve":"˘","brvba":"¦","brvbar":"¦","bscr":"𝒷","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsol":"\\\\","bsolb":"⧅","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","bumpeq":"≏","cacute":"ć","cap":"∩","capand":"⩄","capbrcup":"⩉","capcap":"⩋","capcup":"⩇","capdot":"⩀","caps":"∩︀","caret":"⁁","caron":"ˇ","ccaps":"⩍","ccaron":"č","ccedi":"ç","ccedil":"ç","ccirc":"ĉ","ccups":"⩌","ccupssm":"⩐","cdot":"ċ","cedi":"¸","cedil":"¸","cemptyv":"⦲","cen":"¢","cent":"¢","centerdot":"·","cfr":"𝔠","chcy":"ч","check":"✓","checkmark":"✓","chi":"χ","cir":"○","cirE":"⧃","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledR":"®","circledS":"Ⓢ","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","clubs":"♣","clubsuit":"♣","colon":":","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","conint":"∮","copf":"𝕔","coprod":"∐","cop":"©","copy":"©","copysr":"℗","crarr":"↵","cross":"✗","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cup":"∪","cupbrcap":"⩈","cupcap":"⩆","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curre":"¤","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dArr":"⇓","dHar":"⥥","dagger":"†","daleth":"ℸ","darr":"↓","dash":"‐","dashv":"⊣","dbkarow":"⤏","dblac":"˝","dcaron":"ď","dcy":"д","dd":"ⅆ","ddagger":"‡","ddarr":"⇊","ddotseq":"⩷","de":"°","deg":"°","delta":"δ","demptyv":"⦱","dfisht":"⥿","dfr":"𝔡","dharl":"⇃","dharr":"⇂","diam":"⋄","diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","digamma":"ϝ","disin":"⋲","div":"÷","divid":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","dopf":"𝕕","dot":"˙","doteq":"≐","doteqdot":"≑","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","downarrow":"↓","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","dscr":"𝒹","dscy":"ѕ","dsol":"⧶","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","dzcy":"џ","dzigrarr":"⟿","eDDot":"⩷","eDot":"≑","eacut":"é","eacute":"é","easter":"⩮","ecaron":"ě","ecir":"ê","ecirc":"ê","ecolon":"≕","ecy":"э","edot":"ė","ee":"ⅇ","efDot":"≒","efr":"𝔢","eg":"⪚","egrav":"è","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","emacr":"ē","empty":"∅","emptyset":"∅","emptyv":"∅","emsp13":" ","emsp14":" ","emsp":" ","eng":"ŋ","ensp":" ","eogon":"ę","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","equals":"=","equest":"≟","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erDot":"≓","erarr":"⥱","escr":"ℯ","esdot":"≐","esim":"≂","eta":"η","et":"ð","eth":"ð","eum":"ë","euml":"ë","euro":"€","excl":"!","exist":"∃","expectation":"ℰ","exponentiale":"ⅇ","fallingdotseq":"≒","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","ffr":"𝔣","filig":"fi","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","fopf":"𝕗","forall":"∀","fork":"⋔","forkv":"⫙","fpartint":"⨍","frac1":"¼","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac3":"¾","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","gE":"≧","gEl":"⪌","gacute":"ǵ","gamma":"γ","gammad":"ϝ","gap":"⪆","gbreve":"ğ","gcirc":"ĝ","gcy":"г","gdot":"ġ","ge":"≥","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","ges":"⩾","gescc":"⪩","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","gfr":"𝔤","gg":"≫","ggg":"⋙","gimel":"ℷ","gjcy":"ѓ","gl":"≷","glE":"⪒","gla":"⪥","glj":"⪤","gnE":"≩","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gneq":"⪈","gneqq":"≩","gnsim":"⋧","gopf":"𝕘","grave":"`","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","g":">","gt":">","gtcc":"⪧","gtcir":"⩺","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","hArr":"⇔","hairsp":" ","half":"½","hamilt":"ℋ","hardcy":"ъ","harr":"↔","harrcir":"⥈","harrw":"↭","hbar":"ℏ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","horbar":"―","hscr":"𝒽","hslash":"ℏ","hstrok":"ħ","hybull":"⁃","hyphen":"‐","iacut":"í","iacute":"í","ic":"","icir":"î","icirc":"î","icy":"и","iecy":"е","iexc":"¡","iexcl":"¡","iff":"⇔","ifr":"𝔦","igrav":"ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","ijlig":"ij","imacr":"ī","image":"ℑ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","imof":"⊷","imped":"Ƶ","in":"∈","incare":"℅","infin":"∞","infintie":"⧝","inodot":"ı","int":"∫","intcal":"⊺","integers":"ℤ","intercal":"⊺","intlarhk":"⨗","intprod":"⨼","iocy":"ё","iogon":"į","iopf":"𝕚","iota":"ι","iprod":"⨼","iques":"¿","iquest":"¿","iscr":"𝒾","isin":"∈","isinE":"⋹","isindot":"⋵","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","itilde":"ĩ","iukcy":"і","ium":"ï","iuml":"ï","jcirc":"ĵ","jcy":"й","jfr":"𝔧","jmath":"ȷ","jopf":"𝕛","jscr":"𝒿","jsercy":"ј","jukcy":"є","kappa":"κ","kappav":"ϰ","kcedil":"ķ","kcy":"к","kfr":"𝔨","kgreen":"ĸ","khcy":"х","kjcy":"ќ","kopf":"𝕜","kscr":"𝓀","lAarr":"⇚","lArr":"⇐","lAtail":"⤛","lBarr":"⤎","lE":"≦","lEg":"⪋","lHar":"⥢","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","lambda":"λ","lang":"⟨","langd":"⦑","langle":"⟨","lap":"⪅","laqu":"«","laquo":"«","larr":"←","larrb":"⇤","larrbfs":"⤟","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","lat":"⪫","latail":"⤙","late":"⪭","lates":"⪭︀","lbarr":"⤌","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","lcaron":"ľ","lcedil":"ļ","lceil":"⌈","lcub":"{","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","leftarrow":"←","leftarrowtail":"↢","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","leftthreetimes":"⋋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","les":"⩽","lescc":"⪨","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","lessgtr":"≶","lesssim":"≲","lfisht":"⥼","lfloor":"⌊","lfr":"𝔩","lg":"≶","lgE":"⪑","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","ljcy":"љ","ll":"≪","llarr":"⇇","llcorner":"⌞","llhard":"⥫","lltri":"◺","lmidot":"ŀ","lmoust":"⎰","lmoustache":"⎰","lnE":"≨","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","longleftrightarrow":"⟷","longmapsto":"⟼","longrightarrow":"⟶","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","lstrok":"ł","l":"<","lt":"<","ltcc":"⪦","ltcir":"⩹","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltrPar":"⦖","ltri":"◃","ltrie":"⊴","ltrif":"◂","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","mDDot":"∺","mac":"¯","macr":"¯","male":"♂","malt":"✠","maltese":"✠","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","mcy":"м","mdash":"—","measuredangle":"∡","mfr":"𝔪","mho":"℧","micr":"µ","micro":"µ","mid":"∣","midast":"*","midcir":"⫰","middo":"·","middot":"·","minus":"−","minusb":"⊟","minusd":"∸","minusdu":"⨪","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","mopf":"𝕞","mp":"∓","mscr":"𝓂","mstpos":"∾","mu":"μ","multimap":"⊸","mumap":"⊸","nGg":"⋙̸","nGt":"≫⃒","nGtv":"≫̸","nLeftarrow":"⇍","nLeftrightarrow":"⇎","nLl":"⋘̸","nLt":"≪⃒","nLtv":"≪̸","nRightarrow":"⇏","nVDash":"⊯","nVdash":"⊮","nabla":"∇","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natur":"♮","natural":"♮","naturals":"ℕ","nbs":" ","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","ncaron":"ň","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","ncy":"н","ndash":"–","ne":"≠","neArr":"⇗","nearhk":"⤤","nearr":"↗","nearrow":"↗","nedot":"≐̸","nequiv":"≢","nesear":"⤨","nesim":"≂̸","nexist":"∄","nexists":"∄","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","ngsim":"≵","ngt":"≯","ngtr":"≯","nhArr":"⇎","nharr":"↮","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","njcy":"њ","nlArr":"⇍","nlE":"≦̸","nlarr":"↚","nldr":"‥","nle":"≰","nleftarrow":"↚","nleftrightarrow":"↮","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nlsim":"≴","nlt":"≮","nltri":"⋪","nltrie":"⋬","nmid":"∤","nopf":"𝕟","no":"¬","not":"¬","notin":"∉","notinE":"⋹̸","notindot":"⋵̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","npar":"∦","nparallel":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","npre":"⪯̸","nprec":"⊀","npreceq":"⪯̸","nrArr":"⇏","nrarr":"↛","nrarrc":"⤳̸","nrarrw":"↝̸","nrightarrow":"↛","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","ntild":"ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","nu":"ν","num":"#","numero":"№","numsp":" ","nvDash":"⊭","nvHarr":"⤄","nvap":"≍⃒","nvdash":"⊬","nvge":"≥⃒","nvgt":">⃒","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwArr":"⇖","nwarhk":"⤣","nwarr":"↖","nwarrow":"↖","nwnear":"⤧","oS":"Ⓢ","oacut":"ó","oacute":"ó","oast":"⊛","ocir":"ô","ocirc":"ô","ocy":"о","odash":"⊝","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","oelig":"œ","ofcir":"⦿","ofr":"𝔬","ogon":"˛","ograv":"ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","omacr":"ō","omega":"ω","omicron":"ο","omid":"⦶","ominus":"⊖","oopf":"𝕠","opar":"⦷","operp":"⦹","oplus":"⊕","or":"∨","orarr":"↻","ord":"º","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oscr":"ℴ","oslas":"ø","oslash":"ø","osol":"⊘","otild":"õ","otilde":"õ","otimes":"⊗","otimesas":"⨶","oum":"ö","ouml":"ö","ovbar":"⌽","par":"¶","para":"¶","parallel":"∥","parsim":"⫳","parsl":"⫽","part":"∂","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","pfr":"𝔭","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plus":"+","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plusdo":"∔","plusdu":"⨥","pluse":"⩲","plusm":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","pointint":"⨕","popf":"𝕡","poun":"£","pound":"£","pr":"≺","prE":"⪳","prap":"⪷","prcue":"≼","pre":"⪯","prec":"≺","precapprox":"⪷","preccurlyeq":"≼","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","precsim":"≾","prime":"′","primes":"ℙ","prnE":"⪵","prnap":"⪹","prnsim":"⋨","prod":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","propto":"∝","prsim":"≾","prurel":"⊰","pscr":"𝓅","psi":"ψ","puncsp":" ","qfr":"𝔮","qint":"⨌","qopf":"𝕢","qprime":"⁗","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quo":"\\"","quot":"\\"","rAarr":"⇛","rArr":"⇒","rAtail":"⤜","rBarr":"⤏","rHar":"⥤","race":"∽̱","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","rangd":"⦒","range":"⦥","rangle":"⟩","raqu":"»","raquo":"»","rarr":"→","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","rarrtl":"↣","rarrw":"↝","ratail":"⤚","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","rcaron":"ř","rcedil":"ŗ","rceil":"⌉","rcub":"}","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","rect":"▭","re":"®","reg":"®","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","rhard":"⇁","rharu":"⇀","rharul":"⥬","rho":"ρ","rhov":"ϱ","rightarrow":"→","rightarrowtail":"↣","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","rightthreetimes":"⋌","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoust":"⎱","rmoustache":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","roplus":"⨮","rotimes":"⨵","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","rsaquo":"›","rscr":"𝓇","rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","ruluhar":"⥨","rx":"℞","sacute":"ś","sbquo":"‚","sc":"≻","scE":"⪴","scap":"⪸","scaron":"š","sccue":"≽","sce":"⪰","scedil":"ş","scirc":"ŝ","scnE":"⪶","scnap":"⪺","scnsim":"⋩","scpolint":"⨓","scsim":"≿","scy":"с","sdot":"⋅","sdotb":"⊡","sdote":"⩦","seArr":"⇘","searhk":"⤥","searr":"↘","searrow":"↘","sec":"§","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","sfr":"𝔰","sfrown":"⌢","sharp":"♯","shchcy":"щ","shcy":"ш","shortmid":"∣","shortparallel":"∥","sh":"","shy":"","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","softcy":"ь","sol":"/","solb":"⧄","solbar":"⌿","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","squ":"□","square":"□","squarf":"▪","squf":"▪","srarr":"→","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","subE":"⫅","subdot":"⪽","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","subseteq":"⊆","subseteqq":"⫅","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succ":"≻","succapprox":"⪸","succcurlyeq":"≽","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","sum":"∑","sung":"♪","sup":"⊃","sup1":"¹","sup2":"²","sup3":"³","supE":"⫆","supdot":"⪾","supdsub":"⫘","supe":"⊇","supedot":"⫄","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swArr":"⇙","swarhk":"⤦","swarr":"↙","swarrow":"↙","swnwar":"⤪","szli":"ß","szlig":"ß","target":"⌖","tau":"τ","tbrk":"⎴","tcaron":"ť","tcedil":"ţ","tcy":"т","tdot":"⃛","telrec":"⌕","tfr":"𝔱","there4":"∴","therefore":"∴","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","thinsp":" ","thkap":"≈","thksim":"∼","thor":"þ","thorn":"þ","tilde":"˜","time":"×","times":"×","timesb":"⊠","timesbar":"⨱","timesd":"⨰","tint":"∭","toea":"⤨","top":"⊤","topbot":"⌶","topcir":"⫱","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","tscr":"𝓉","tscy":"ц","tshcy":"ћ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","uArr":"⇑","uHar":"⥣","uacut":"ú","uacute":"ú","uarr":"↑","ubrcy":"ў","ubreve":"ŭ","ucir":"û","ucirc":"û","ucy":"у","udarr":"⇅","udblac":"ű","udhar":"⥮","ufisht":"⥾","ufr":"𝔲","ugrav":"ù","ugrave":"ù","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","umacr":"ū","um":"¨","uml":"¨","uogon":"ų","uopf":"𝕦","uparrow":"↑","updownarrow":"↕","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","upsi":"υ","upsih":"ϒ","upsilon":"υ","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","uring":"ů","urtri":"◹","uscr":"𝓊","utdot":"⋰","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","uum":"ü","uuml":"ü","uwangle":"⦧","vArr":"⇕","vBar":"⫨","vBarv":"⫩","vDash":"⊨","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vcy":"в","vdash":"⊢","vee":"∨","veebar":"⊻","veeeq":"≚","vellip":"⋮","verbar":"|","vert":"|","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","vopf":"𝕧","vprop":"∝","vrtri":"⊳","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","vzigzag":"⦚","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","wedgeq":"≙","weierp":"℘","wfr":"𝔴","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","xfr":"𝔵","xhArr":"⟺","xharr":"⟷","xi":"ξ","xlArr":"⟸","xlarr":"⟵","xmap":"⟼","xnis":"⋻","xodot":"⨀","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrArr":"⟹","xrarr":"⟶","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","yacut":"ý","yacute":"ý","yacy":"я","ycirc":"ŷ","ycy":"ы","ye":"¥","yen":"¥","yfr":"𝔶","yicy":"ї","yopf":"𝕪","yscr":"𝓎","yucy":"ю","yum":"ÿ","yuml":"ÿ","zacute":"ź","zcaron":"ž","zcy":"з","zdot":"ż","zeetrf":"ℨ","zeta":"ζ","zfr":"𝔷","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","zscr":"𝓏","zwj":"","zwnj":""}')},9640:e=>{e.exports=JSON.parse('{"classId":"classID","dataType":"datatype","itemId":"itemID","strokeDashArray":"strokeDasharray","strokeDashOffset":"strokeDashoffset","strokeLineCap":"strokeLinecap","strokeLineJoin":"strokeLinejoin","strokeMiterLimit":"strokeMiterlimit","typeOf":"typeof","xLinkActuate":"xlinkActuate","xLinkArcRole":"xlinkArcrole","xLinkHref":"xlinkHref","xLinkRole":"xlinkRole","xLinkShow":"xlinkShow","xLinkTitle":"xlinkTitle","xLinkType":"xlinkType","xmlnsXLink":"xmlnsXlink"}')},6:e=>{e.exports=JSON.parse('{"html":"http://www.w3.org/1999/xhtml","mathml":"http://www.w3.org/1998/Math/MathML","svg":"http://www.w3.org/2000/svg","xlink":"http://www.w3.org/1999/xlink","xml":"http://www.w3.org/XML/1998/namespace","xmlns":"http://www.w3.org/2000/xmlns/"}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e].call(r.exports,r,r.exports,__nccwpck_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return r.exports}(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var __webpack_exports__={};(()=>{__nccwpck_require__.d(__webpack_exports__,{o:()=>validateAllInternalLinks});const e=__nccwpck_require__(3292);const t=__nccwpck_require__(1017);const r=__nccwpck_require__(5075);const i=__nccwpck_require__(4859);const n=__nccwpck_require__(730);const s=__nccwpck_require__(4892);const a=__nccwpck_require__(9830);const o=__nccwpck_require__(199);const l=__nccwpck_require__(5382);const c=__nccwpck_require__(237);const p="/";const f=[];const d=["/movies.json"];const m=new c;async function getAllMdxFilePaths(r){const i=JSON.parse(await e.readFile(t.join(r,"config/sidebar-learn.json"),"utf8"));const n=JSON.parse(await e.readFile(t.join(r,"config/sidebar-reference.json"),"utf8"));const s=JSON.parse(await e.readFile(t.join(r,"config/sidebar-guides.json"),"utf8"));const a=JSON.parse(await e.readFile(t.join(r,"config/sidebar-footer.json"),"utf8"));const o=[...i.map((e=>({...e,slug:t.join("learn",e.slug)}))),...n.map((e=>({...e,slug:t.join("reference/",e.slug)}))),...s.map((e=>({...e,slug:t.join("guides/",e.slug)})))];let l=[{source:t.join(r,"home.mdx"),slug:"",label:"Homepage"}];for(const e of o){l=l.concat(e.routes.map((i=>({...i,slug:t.join(e.slug,i.slug),source:t.join(r,i.source)}))))}a.forEach((e=>"source"in e&&l.push({...e,source:t.join(r,e.source)})));return l}function getHeadingsFromMarkdownTree(e){const t=[];m.reset();o(e,"heading",(e=>{let r="";o(e,(e=>{if(e.value){r+=e.value}}));t.push(m.slug(r))}));return t}const g=r().use(i).use(n).use(s,{allowDangerousHTML:true}).use(a).use((function compiler(){this.Compiler=function treeCompiler(e){return e}}));let v;async function prepareDocumentMapEntry(t,r){try{const r=await e.readFile(t.source,"utf8");const{content:i,data:n}=l(r);const s=g.parse(i);const a=getHeadingsFromMarkdownTree(s);return[t.slug,{body:i,path:t.source,slug:t.slug,headings:a,...n}]}catch(e){r(`Error preparing document map for file ${t}: ${e}`);return["",{}]}}function validateInternalLink(e,t){const[r,i]=t.split("#");const n=r;const s=n.split("?")[0];if(d.includes(s))return;if(s.startsWith("/assets"))return;const a=v.get(s.replace(/^\/+/,""));if(!a){e.link.push(t)}else if(i&&!f.includes(i)){const r=a.headings.includes(i);if(!r){e.hash.push(t)}}}function validateHashLink(e,t,r){const i=t.replace("#","");if(!f.includes(i)&&!r.headings.includes(i)){e.hash.push(t)}}function validateSourceLinks(e,t){if(e.slug&&!v.get(e.slug)){t.source.push(e.path)}}function traverseTreeAndValidateLinks(e,t,r){const i={doc:t,link:[],hash:[],source:[],relative:[]};const n=/^(?!.*\.[a-zA-Z]+\)$)\[[^\[\]]+\]\([^\(\)]+\)$/gm;const s=/^(?:[a-z+]+:)?\/\/|^[a-z]+:/i;function validateNodes(e,r=false){if(e.type==="text"&&n.test(e.value)){const t=g.parse(e.value);traverseRecursively(t)}if(e.type==="element"&&e.tagName==="a"||e.type==="link"||e.type==="buttonlink"){const r=e.properties?.href??e.url;if(!r)return;if(r.startsWith(p)){if(!/^.*\.[^\\]+$/.test(r)){validateInternalLink(i,r)}}else if(r.startsWith("#")){validateHashLink(i,r,t)}else if(!s.test(r)){i.relative.push(r)}}}function traverseRecursively(e){try{o(e,validateNodes);validateSourceLinks(t,i)}catch(e){r("Error traversing tree: "+e)}}traverseRecursively(e);return i}const formatTableRow=(e,t,r,i)=>{if(process.argv[2]==="--run-local-checker")return`| ${e} | ${t} | /${r} | \n`;return`| ${e} | ${t} | [/${r}](https://github.com/meilisearch/documentation/blob/${i}/${r}) | \n`};async function validateAllInternalLinks(e,t,r){try{const i=await getAllMdxFilePaths(e);v=new Map(await Promise.all(i.map((e=>prepareDocumentMapEntry(e,t)))));const n=i.map((async e=>{const r=v.get(e.slug);if(r){const e=(await g.process(r.body)).contents;return traverseTreeAndValidateLinks(e,r,t)}else{return{doc:{},link:[],hash:[],source:[],relative:[]}}}));const s=await Promise.all(n);let a=false;let o=[];const l=["link","hash","source","relative"];s.forEach((e=>{const{doc:{path:t}}=e;l.forEach((i=>{if(e[i].length>0){a=true;e[i].forEach((e=>{o.push(formatTableRow(e,i,t,r))}))}}))}));if(a){const e=s.flatMap((e=>{const{doc:t}=e;return l.flatMap((r=>e[r].map((e=>({docPath:t.path,errorType:r,link:e})))))}));t("This PR introduces broken links to the docs:");console.table(e,["link","errorType","docPath"])}else{console.log("This PR doesn't introduce any broken links to the docs. :D")}}catch(e){t("Error validating internal links: "+e)}}if(process.argv[2]==="--run-local-checker"){validateAllInternalLinks("../../../",(e=>{throw new Error(e)}))}})();var __webpack_exports__validateAllInternalLinks=__webpack_exports__.o;export{__webpack_exports__validateAllInternalLinks as validateAllInternalLinks};
\ No newline at end of file
+e.exports=function(e){if(typeof e==="string"&&e.charAt(0)==="\ufeff"){return e.slice(1)}return e}},4256:(e,t,r)=>{var i=r(5477);var s=r(2020);var n={TRANSITIONAL:0,NONTRANSITIONAL:1};function normalize(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function findStatus(e){var t=0;var r=s.length-1;while(t<=r){var i=Math.floor((t+r)/2);var n=s[i];if(n[0][0]<=e&&n[0][1]>=e){return n}else if(n[0][0]>e){r=i-1}else{t=i+1}}return null}var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function countSymbols(e){return e.replace(a,"_").length}function mapChars(e,t,r){var i=false;var s="";var a=countSymbols(e);for(var o=0;o253||o.length===0){n.error=true}for(var A=0;A63||a.length===0){n.error=true;break}}}if(n.error)return null;return a.join(".")};e.exports.toUnicode=function(e,t){var r=processing(e,t,n.NONTRANSITIONAL);return{domain:r.string,error:r.error}};e.exports.PROCESSING_OPTIONS=n},4294:(e,t,r)=>{e.exports=r(4219)},4219:(e,t,r)=>{var i=r(1808);var s=r(4404);var n=r(3685);var a=r(5687);var o=r(2361);var A=r(9491);var l=r(3837);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=n.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=n.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||n.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,i,s){var n=toOptions(r,i,s);for(var a=0,o=t.requests.length;a=this.maxSockets){s.requests.push(n);return}s.createSocket(n,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){s.emit("free",t,n)}function onCloseOrRemove(e){s.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var i={};r.sockets.push(i);var s=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){s.localAddress=e.localAddress}if(s.proxyAuth){s.headers=s.headers||{};s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")}p("making CONNECT request");var n=r.request(s);n.useChunkedEncodingByDefault=false;n.once("response",onResponse);n.once("upgrade",onUpgrade);n.once("connect",onConnect);n.once("error",onError);n.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(s,a,o){n.removeAllListeners();a.removeAllListeners();if(s.statusCode!==200){p("tunneling socket could not be established, statusCode=%d",s.statusCode);a.destroy();var A=new Error("tunneling socket could not be established, "+"statusCode="+s.statusCode);A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(i);return}if(o.length>0){p("got illegal response body from proxy");a.destroy();var A=new Error("got illegal response body from proxy");A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(i);return}p("tunneling connection has established");r.sockets[r.sockets.indexOf(i)]=a;return t(a)}function onError(t){n.removeAllListeners();p("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var s=new Error("tunneling socket could not be established, "+"cause="+t.message);s.code="ECONNRESET";e.request.emit("error",s);r.removeSocket(i)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(i){var n=e.request.getHeader("host");var a=mergeOptions({},r.options,{socket:i,servername:n?n.replace(/:.*$/,""):e.host});var o=s.connect(0,a);r.sockets[r.sockets.indexOf(i)]=o;t(o)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t{const i=r(3598);const s=r(412);const n=r(8045);const a=r(4634);const o=r(7931);const A=r(7890);const l=r(3983);const{InvalidArgumentError:p}=n;const c=r(4059);const d=r(2067);const u=r(8687);const g=r(6771);const m=r(6193);const E=r(888);const C=r(7858);const I=r(2286);const{getGlobalDispatcher:B,setGlobalDispatcher:Q}=r(1892);const y=r(6930);const w=r(2860);const T=r(8861);let b;try{r(6113);b=true}catch{b=false}Object.assign(s.prototype,c);e.exports.Dispatcher=s;e.exports.Client=i;e.exports.Pool=a;e.exports.BalancedPool=o;e.exports.Agent=A;e.exports.ProxyAgent=C;e.exports.RetryHandler=I;e.exports.DecoratorHandler=y;e.exports.RedirectHandler=w;e.exports.createRedirectInterceptor=T;e.exports.buildConnector=d;e.exports.errors=n;function makeDispatcher(e){return(t,r,i)=>{if(typeof r==="function"){i=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new p("invalid url")}if(r!=null&&typeof r!=="object"){throw new p("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new p("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(l.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=l.parseURL(t)}const{agent:s,dispatcher:n=B()}=r;if(s){throw new p("unsupported opts.agent. Did you mean opts.client?")}return e.call(n,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}e.exports.setGlobalDispatcher=Q;e.exports.getGlobalDispatcher=B;if(l.nodeMajor>16||l.nodeMajor===16&&l.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=r(4881).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=r(554).Headers;e.exports.Response=r(7823).Response;e.exports.Request=r(8359).Request;e.exports.FormData=r(2015).FormData;e.exports.File=r(8511).File;e.exports.FileReader=r(1446).FileReader;const{setGlobalOrigin:i,getGlobalOrigin:s}=r(1246);e.exports.setGlobalOrigin=i;e.exports.getGlobalOrigin=s;const{CacheStorage:n}=r(7907);const{kConstruct:a}=r(9174);e.exports.caches=new n(a)}if(l.nodeMajor>=16){const{deleteCookie:t,getCookies:i,getSetCookies:s,setCookie:n}=r(1724);e.exports.deleteCookie=t;e.exports.getCookies=i;e.exports.getSetCookies=s;e.exports.setCookie=n;const{parseMIMEType:a,serializeAMimeType:o}=r(685);e.exports.parseMIMEType=a;e.exports.serializeAMimeType=o}if(l.nodeMajor>=18&&b){const{WebSocket:t}=r(4284);e.exports.WebSocket=t}e.exports.request=makeDispatcher(c.request);e.exports.stream=makeDispatcher(c.stream);e.exports.pipeline=makeDispatcher(c.pipeline);e.exports.connect=makeDispatcher(c.connect);e.exports.upgrade=makeDispatcher(c.upgrade);e.exports.MockClient=u;e.exports.MockPool=m;e.exports.MockAgent=g;e.exports.mockErrors=E},7890:(e,t,r)=>{const{InvalidArgumentError:i}=r(8045);const{kClients:s,kRunning:n,kClose:a,kDestroy:o,kDispatch:A,kInterceptors:l}=r(2785);const p=r(4839);const c=r(4634);const d=r(3598);const u=r(3983);const g=r(8861);const{WeakRef:m,FinalizationRegistry:E}=r(6436)();const C=Symbol("onConnect");const I=Symbol("onDisconnect");const B=Symbol("onConnectionError");const Q=Symbol("maxRedirections");const y=Symbol("onDrain");const w=Symbol("factory");const T=Symbol("finalizer");const b=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new d(e,t):new c(e,t)}class Agent extends p{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...n}={}){super();if(typeof e!=="function"){throw new i("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new i("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new i("maxRedirections must be a positive number")}if(r&&typeof r!=="function"){r={...r}}this[l]=n.interceptors&&n.interceptors.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[g({maxRedirections:t})];this[b]={...u.deepClone(n),connect:r};this[b].interceptors=n.interceptors?{...n.interceptors}:undefined;this[Q]=t;this[w]=e;this[s]=new Map;this[T]=new E((e=>{const t=this[s].get(e);if(t!==undefined&&t.deref()===undefined){this[s].delete(e)}}));const a=this;this[y]=(e,t)=>{a.emit("drain",e,[a,...t])};this[C]=(e,t)=>{a.emit("connect",e,[a,...t])};this[I]=(e,t,r)=>{a.emit("disconnect",e,[a,...t],r)};this[B]=(e,t,r)=>{a.emit("connectionError",e,[a,...t],r)}}get[n](){let e=0;for(const t of this[s].values()){const r=t.deref();if(r){e+=r[n]}}return e}[A](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new i("opts.origin must be a non-empty string or URL.")}const n=this[s].get(r);let a=n?n.deref():null;if(!a){a=this[w](e.origin,this[b]).on("drain",this[y]).on("connect",this[C]).on("disconnect",this[I]).on("connectionError",this[B]);this[s].set(r,new m(a));this[T].register(a,r)}return a.dispatch(e,t)}async[a](){const e=[];for(const t of this[s].values()){const r=t.deref();if(r){e.push(r.close())}}await Promise.all(e)}async[o](e){const t=[];for(const r of this[s].values()){const i=r.deref();if(i){t.push(i.destroy(e))}}await Promise.all(t)}}e.exports=Agent},7032:(e,t,r)=>{const{addAbortListener:i}=r(3983);const{RequestAbortedError:s}=r(8045);const n=Symbol("kListener");const a=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new s)}}function addSignal(e,t){e[a]=null;e[n]=null;if(!t){return}if(t.aborted){abort(e);return}e[a]=t;e[n]=()=>{abort(e)};i(e[a],e[n])}function removeSignal(e){if(!e[a]){return}if("removeEventListener"in e[a]){e[a].removeEventListener("abort",e[n])}else{e[a].removeListener("abort",e[n])}e[a]=null;e[n]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},9744:(e,t,r)=>{const{AsyncResource:i}=r(852);const{InvalidArgumentError:s,RequestAbortedError:n,SocketError:a}=r(8045);const o=r(3983);const{addSignal:A,removeSignal:l}=r(7032);class ConnectHandler extends i{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof t!=="function"){throw new s("invalid callback")}const{signal:r,opaque:i,responseHeaders:n}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=i||null;this.responseHeaders=n||null;this.callback=t;this.abort=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=t}onHeaders(){throw new a("bad connect",null)}onUpgrade(e,t,r){const{callback:i,opaque:s,context:n}=this;l(this);this.callback=null;let a=t;if(a!=null){a=this.responseHeaders==="raw"?o.parseRawHeaders(t):o.parseHeaders(t)}this.runInAsyncScope(i,null,null,{statusCode:e,headers:a,socket:r,opaque:s,context:n})}onError(e){const{callback:t,opaque:r}=this;l(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,r)=>{connect.call(this,e,((e,i)=>e?r(e):t(i)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const i=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:i})))}}e.exports=connect},8752:(e,t,r)=>{const{Readable:i,Duplex:s,PassThrough:n}=r(2781);const{InvalidArgumentError:a,InvalidReturnValueError:o,RequestAbortedError:A}=r(8045);const l=r(3983);const{AsyncResource:p}=r(852);const{addSignal:c,removeSignal:d}=r(7032);const u=r(9491);const g=Symbol("resume");class PipelineRequest extends i{constructor(){super({autoDestroy:true});this[g]=null}_read(){const{[g]:e}=this;if(e){this[g]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends i{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new A}t(e)}}class PipelineHandler extends p{constructor(e,t){if(!e||typeof e!=="object"){throw new a("invalid opts")}if(typeof t!=="function"){throw new a("invalid handler")}const{signal:r,method:i,opaque:n,onInfo:o,responseHeaders:p}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new a("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new a("invalid method")}if(o&&typeof o!=="function"){throw new a("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=n||null;this.responseHeaders=p||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=o||null;this.req=(new PipelineRequest).on("error",l.nop);this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,r)=>{const{req:i}=this;if(i.push(e,t)||i._readableState.destroyed){r()}else{i[g]=r}},destroy:(e,t)=>{const{body:r,req:i,res:s,ret:n,abort:a}=this;if(!e&&!n._readableState.endEmitted){e=new A}if(a&&e){a()}l.destroy(r,e);l.destroy(i,e);l.destroy(s,e);d(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;c(this,r)}onConnect(e,t){const{ret:r,res:i}=this;u(!i,"pipeline cannot be retried");if(r.destroyed){throw new A}this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:i,handler:s,context:n}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?l.parseRawHeaders(t):l.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let a;try{this.handler=null;const r=this.responseHeaders==="raw"?l.parseRawHeaders(t):l.parseHeaders(t);a=this.runInAsyncScope(s,null,{statusCode:e,headers:r,opaque:i,body:this.res,context:n})}catch(e){this.res.on("error",l.nop);throw e}if(!a||typeof a.on!=="function"){throw new o("expected Readable")}a.on("data",(e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.pause()}})).on("error",(e=>{const{ret:t}=this;l.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){l.destroy(e,new A)}}));this.body=a}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;l.destroy(t,e)}}function pipeline(e,t){try{const r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new n).destroy(e)}}e.exports=pipeline},5448:(e,t,r)=>{const i=r(3858);const{InvalidArgumentError:s,RequestAbortedError:n}=r(8045);const a=r(3983);const{getResolveErrorBodyCallback:o}=r(7474);const{AsyncResource:A}=r(852);const{addSignal:l,removeSignal:p}=r(7032);class RequestHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}const{signal:r,method:i,opaque:n,body:o,onInfo:A,responseHeaders:p,throwOnError:c,highWaterMark:d}=e;try{if(typeof t!=="function"){throw new s("invalid callback")}if(d&&(typeof d!=="number"||d<0)){throw new s("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new s("invalid method")}if(A&&typeof A!=="function"){throw new s("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(a.isStream(o)){a.destroy(o.on("error",a.nop),e)}throw e}this.responseHeaders=p||null;this.opaque=n||null;this.callback=t;this.res=null;this.abort=null;this.body=o;this.trailers={};this.context=null;this.onInfo=A||null;this.throwOnError=c;this.highWaterMark=d;if(a.isStream(o)){o.on("error",(e=>{this.onError(e)}))}l(this,r)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=t}onHeaders(e,t,r,s){const{callback:n,opaque:A,abort:l,context:p,responseHeaders:c,highWaterMark:d}=this;const u=c==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:u})}return}const g=c==="raw"?a.parseHeaders(t):u;const m=g["content-type"];const E=new i({resume:r,abort:l,contentType:m,highWaterMark:d});this.callback=null;this.res=E;if(n!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(o,null,{callback:n,body:E,contentType:m,statusCode:e,statusMessage:s,headers:u})}else{this.runInAsyncScope(n,null,null,{statusCode:e,headers:u,trailers:this.trailers,opaque:A,body:E,context:p})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;p(this);a.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:r,body:i,opaque:s}=this;p(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}if(t){this.res=null;queueMicrotask((()=>{a.destroy(t,e)}))}if(i){this.body=null;a.destroy(i,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,i)=>e?r(e):t(i)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const i=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:i})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},5395:(e,t,r)=>{const{finished:i,PassThrough:s}=r(2781);const{InvalidArgumentError:n,InvalidReturnValueError:a,RequestAbortedError:o}=r(8045);const A=r(3983);const{getResolveErrorBodyCallback:l}=r(7474);const{AsyncResource:p}=r(852);const{addSignal:c,removeSignal:d}=r(7032);class StreamHandler extends p{constructor(e,t,r){if(!e||typeof e!=="object"){throw new n("invalid opts")}const{signal:i,method:s,opaque:a,body:o,onInfo:l,responseHeaders:p,throwOnError:d}=e;try{if(typeof r!=="function"){throw new n("invalid callback")}if(typeof t!=="function"){throw new n("invalid factory")}if(i&&typeof i.on!=="function"&&typeof i.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new n("invalid method")}if(l&&typeof l!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(A.isStream(o)){A.destroy(o.on("error",A.nop),e)}throw e}this.responseHeaders=p||null;this.opaque=a||null;this.factory=t;this.callback=r;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=o;this.onInfo=l||null;this.throwOnError=d||false;if(A.isStream(o)){o.on("error",(e=>{this.onError(e)}))}c(this,i)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=t}onHeaders(e,t,r,n){const{factory:o,opaque:p,context:c,callback:d,responseHeaders:u}=this;const g=u==="raw"?A.parseRawHeaders(t):A.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let m;if(this.throwOnError&&e>=400){const r=u==="raw"?A.parseHeaders(t):g;const i=r["content-type"];m=new s;this.callback=null;this.runInAsyncScope(l,null,{callback:d,body:m,contentType:i,statusCode:e,statusMessage:n,headers:g})}else{if(o===null){return}m=this.runInAsyncScope(o,null,{statusCode:e,headers:g,opaque:p,context:c});if(!m||typeof m.write!=="function"||typeof m.end!=="function"||typeof m.on!=="function"){throw new a("expected Writable")}i(m,{readable:false},(e=>{const{callback:t,res:r,opaque:i,trailers:s,abort:n}=this;this.res=null;if(e||!r.readable){A.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:i,trailers:s});if(e){n()}}))}m.on("drain",r);this.res=m;const E=m.writableNeedDrain!==undefined?m.writableNeedDrain:m._writableState&&m._writableState.needDrain;return E!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;d(this);if(!t){return}this.trailers=A.parseHeaders(e);t.end()}onError(e){const{res:t,callback:r,opaque:i,body:s}=this;d(this);this.factory=null;if(t){this.res=null;A.destroy(t,e)}else if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:i})}))}if(s){this.body=null;A.destroy(s,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,i)=>{stream.call(this,e,t,((e,t)=>e?i(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const i=e&&e.opaque;queueMicrotask((()=>r(t,{opaque:i})))}}e.exports=stream},6923:(e,t,r)=>{const{InvalidArgumentError:i,RequestAbortedError:s,SocketError:n}=r(8045);const{AsyncResource:a}=r(852);const o=r(3983);const{addSignal:A,removeSignal:l}=r(7032);const p=r(9491);class UpgradeHandler extends a{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid callback")}const{signal:r,opaque:s,responseHeaders:n}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=n||null;this.opaque=s||null;this.callback=t;this.abort=null;this.context=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new s}this.abort=e;this.context=null}onHeaders(){throw new n("bad upgrade",null)}onUpgrade(e,t,r){const{callback:i,opaque:s,context:n}=this;p.strictEqual(e,101);l(this);this.callback=null;const a=this.responseHeaders==="raw"?o.parseRawHeaders(t):o.parseHeaders(t);this.runInAsyncScope(i,null,null,{headers:a,socket:r,opaque:s,context:n})}onError(e){const{callback:t,opaque:r}=this;l(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,r)=>{upgrade.call(this,e,((e,i)=>e?r(e):t(i)))}))}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const i=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:i})))}}e.exports=upgrade},4059:(e,t,r)=>{e.exports.request=r(5448);e.exports.stream=r(5395);e.exports.pipeline=r(8752);e.exports.upgrade=r(6923);e.exports.connect=r(9744)},3858:(e,t,r)=>{const i=r(9491);const{Readable:s}=r(2781);const{RequestAbortedError:n,NotSupportedError:a,InvalidArgumentError:o}=r(8045);const A=r(3983);const{ReadableStreamFrom:l,toUSVString:p}=r(3983);let c;const d=Symbol("kConsume");const u=Symbol("kReading");const g=Symbol("kBody");const m=Symbol("abort");const E=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends s{constructor({resume:e,abort:t,contentType:r="",highWaterMark:i=64*1024}){super({autoDestroy:true,read:e,highWaterMark:i});this._readableState.dataEmitted=false;this[m]=t;this[d]=null;this[g]=null;this[E]=r;this[u]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new n}if(e){this[m]()}return super.destroy(e)}emit(e,...t){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...t)}on(e,...t){if(e==="data"||e==="readable"){this[u]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const r=super.off(e,...t);if(e==="data"||e==="readable"){this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[d]&&e!==null&&this.readableLength===0){consumePush(this[d],e);return this[u]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return A.isDisturbed(this)}get body(){if(!this[g]){this[g]=l(this);if(this[d]){this[g].getReader();i(this[g].locked)}}return this[g]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const r=e&&e.signal;if(r){try{if(typeof r!=="object"||!("aborted"in r)){throw new o("signal must be an AbortSignal")}A.throwIfAborted(r)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,i)=>{const s=r?A.addAbortListener(r,(()=>{this.destroy()})):noop;this.on("close",(function(){s();if(r&&r.aborted){i(r.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[g]&&e[g].locked===true||e[d]}function isUnusable(e){return A.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}i(!e[d]);return new Promise(((r,i)=>{e[d]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[d],e)})).on("close",(function(){if(this[d].body!==null){consumeFinish(this[d],new n)}}));process.nextTick(consumeStart,e[d])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const r of t.buffer){consumePush(e,r)}if(t.endEmitted){consumeEnd(this[d])}else{e.stream.on("end",(function(){consumeEnd(this[d])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:i,resolve:s,stream:n,length:a}=e;try{if(t==="text"){s(p(Buffer.concat(i)))}else if(t==="json"){s(JSON.parse(Buffer.concat(i)))}else if(t==="arrayBuffer"){const e=new Uint8Array(a);let t=0;for(const r of i){e.set(r,t);t+=r.byteLength}s(e.buffer)}else if(t==="blob"){if(!c){c=r(4300).Blob}s(new c(i,{type:n[E]}))}consumeFinish(e)}catch(e){n.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},7474:(e,t,r)=>{const i=r(9491);const{ResponseStatusCodeError:s}=r(8045);const{toUSVString:n}=r(3983);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:a,statusMessage:o,headers:A}){i(t);let l=[];let p=0;for await(const e of t){l.push(e);p+=e.length;if(p>128*1024){l=null;break}}if(a===204||!r||!l){process.nextTick(e,new s(`Response status code ${a}${o?`: ${o}`:""}`,a,A));return}try{if(r.startsWith("application/json")){const t=JSON.parse(n(Buffer.concat(l)));process.nextTick(e,new s(`Response status code ${a}${o?`: ${o}`:""}`,a,A,t));return}if(r.startsWith("text/")){const t=n(Buffer.concat(l));process.nextTick(e,new s(`Response status code ${a}${o?`: ${o}`:""}`,a,A,t));return}}catch(e){}process.nextTick(e,new s(`Response status code ${a}${o?`: ${o}`:""}`,a,A))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},7931:(e,t,r)=>{const{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:s}=r(8045);const{PoolBase:n,kClients:a,kNeedDrain:o,kAddClient:A,kRemoveClient:l,kGetDispatcher:p}=r(3198);const c=r(4634);const{kUrl:d,kInterceptors:u}=r(2785);const{parseOrigin:g}=r(3983);const m=Symbol("factory");const E=Symbol("options");const C=Symbol("kGreatestCommonDivisor");const I=Symbol("kCurrentWeight");const B=Symbol("kIndex");const Q=Symbol("kWeight");const y=Symbol("kMaxWeightPerServer");const w=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new c(e,t)}class BalancedPool extends n{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[E]=r;this[B]=-1;this[I]=0;this[y]=this[E].maxWeightPerServer||100;this[w]=this[E].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new s("factory must be a function.")}this[u]=r.interceptors&&r.interceptors.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[m]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[a].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const r=this[m](t,Object.assign({},this[E]));this[A](r);r.on("connect",(()=>{r[Q]=Math.min(this[y],r[Q]+this[w])}));r.on("connectionError",(()=>{r[Q]=Math.max(1,r[Q]-this[w]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[Q]=Math.max(1,r[Q]-this[w]);this._updateBalancedPoolStats()}}));for(const e of this[a]){e[Q]=this[y]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[C]=this[a].map((e=>e[Q])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=g(e).origin;const r=this[a].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true));if(r){this[l](r)}return this}get upstreams(){return this[a].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[d].origin))}[p](){if(this[a].length===0){throw new i}const e=this[a].find((e=>!e[o]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[a].map((e=>e[o])).reduce(((e,t)=>e&&t),true);if(t){return}let r=0;let s=this[a].findIndex((e=>!e[o]));while(r++this[a][s][Q]&&!e[o]){s=this[B]}if(this[B]===0){this[I]=this[I]-this[C];if(this[I]<=0){this[I]=this[y]}}if(e[Q]>=this[I]&&!e[o]){return e}}this[I]=this[a][s][Q];this[B]=s;return this[a][s]}}e.exports=BalancedPool},6101:(e,t,r)=>{const{kConstruct:i}=r(9174);const{urlEquals:s,fieldValues:n}=r(2396);const{kEnumerableProperty:a,isDisturbed:o}=r(3983);const{kHeadersList:A}=r(2785);const{webidl:l}=r(1744);const{Response:p,cloneResponse:c}=r(7823);const{Request:d}=r(8359);const{kState:u,kHeaders:g,kGuard:m,kRealm:E}=r(5861);const{fetching:C}=r(4881);const{urlIsHttpHttpsScheme:I,createDeferredPromise:B,readAllBytes:Q}=r(2538);const y=r(9491);const{getGlobalDispatcher:w}=r(1892);class Cache{#e;constructor(){if(arguments[0]!==i){l.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){l.brandCheck(this,Cache);l.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=l.converters.RequestInfo(e);t=l.converters.CacheQueryOptions(t);const r=await this.matchAll(e,t);if(r.length===0){return}return r[0]}async matchAll(e=undefined,t={}){l.brandCheck(this,Cache);if(e!==undefined)e=l.converters.RequestInfo(e);t=l.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof d){r=e[u];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new d(e)[u]}}const i=[];if(e===undefined){for(const e of this.#e){i.push(e[1])}}else{const e=this.#t(r,t);for(const t of e){i.push(t[1])}}const s=[];for(const e of i){const t=new p(e.body?.source??null);const r=t[u].body;t[u]=e;t[u].body=r;t[g][A]=e.headersList;t[g][m]="immutable";s.push(t)}return Object.freeze(s)}async add(e){l.brandCheck(this,Cache);l.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=l.converters.RequestInfo(e);const t=[e];const r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,Cache);l.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=l.converters["sequence"](e);const t=[];const r=[];for(const t of e){if(typeof t==="string"){continue}const e=t[u];if(!I(e.url)||e.method!=="GET"){throw l.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const i=[];for(const s of e){const e=new d(s)[u];if(!I(e.url)){throw l.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";r.push(e);const a=B();i.push(C({request:e,dispatcher:w(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=n(e.headersList.get("vary"));for(const e of t){if(e==="*"){a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of i){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){a.reject(new DOMException("aborted","AbortError"));return}a.resolve(e)}}));t.push(a.promise)}const s=Promise.all(t);const a=await s;const o=[];let A=0;for(const e of a){const t={type:"put",request:r[A],response:e};o.push(t);A++}const p=B();let c=null;try{this.#r(o)}catch(e){c=e}queueMicrotask((()=>{if(c===null){p.resolve(undefined)}else{p.reject(c)}}));return p.promise}async put(e,t){l.brandCheck(this,Cache);l.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=l.converters.RequestInfo(e);t=l.converters.Response(t);let r=null;if(e instanceof d){r=e[u]}else{r=new d(e)[u]}if(!I(r.url)||r.method!=="GET"){throw l.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const i=t[u];if(i.status===206){throw l.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(i.headersList.contains("vary")){const e=n(i.headersList.get("vary"));for(const t of e){if(t==="*"){throw l.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(i.body&&(o(i.body.stream)||i.body.stream.locked)){throw l.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const s=c(i);const a=B();if(i.body!=null){const e=i.body.stream;const t=e.getReader();Q(t).then(a.resolve,a.reject)}else{a.resolve(undefined)}const A=[];const p={type:"put",request:r,response:s};A.push(p);const g=await a.promise;if(s.body!=null){s.body.source=g}const m=B();let E=null;try{this.#r(A)}catch(e){E=e}queueMicrotask((()=>{if(E===null){m.resolve()}else{m.reject(E)}}));return m.promise}async delete(e,t={}){l.brandCheck(this,Cache);l.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=l.converters.RequestInfo(e);t=l.converters.CacheQueryOptions(t);let r=null;if(e instanceof d){r=e[u];if(r.method!=="GET"&&!t.ignoreMethod){return false}}else{y(typeof e==="string");r=new d(e)[u]}const i=[];const s={type:"delete",request:r,options:t};i.push(s);const n=B();let a=null;let o;try{o=this.#r(i)}catch(e){a=e}queueMicrotask((()=>{if(a===null){n.resolve(!!o?.length)}else{n.reject(a)}}));return n.promise}async keys(e=undefined,t={}){l.brandCheck(this,Cache);if(e!==undefined)e=l.converters.RequestInfo(e);t=l.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof d){r=e[u];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new d(e)[u]}}const i=B();const s=[];if(e===undefined){for(const e of this.#e){s.push(e[0])}}else{const e=this.#t(r,t);for(const t of e){s.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of s){const r=new d("https://a");r[u]=t;r[g][A]=t.headersList;r[g][m]="immutable";r[E]=t.client;e.push(r)}i.resolve(Object.freeze(e))}));return i.promise}#r(e){const t=this.#e;const r=[...t];const i=[];const s=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(r.request,r.options,i).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#t(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);y(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const s=r.request;if(!I(s.url)){throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(s.method!=="GET"){throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(r.request);for(const r of e){const e=t.indexOf(r);y(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);i.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){this.#e.length=0;this.#e=r;throw e}}#t(e,t,r){const i=[];const s=r??this.#e;for(const r of s){const[s,n]=r;if(this.#i(e,s,n,t)){i.push(r)}}return i}#i(e,t,r=null,i){const a=new URL(e.url);const o=new URL(t.url);if(i?.ignoreSearch){o.search="";a.search=""}if(!s(a,o,true)){return false}if(r==null||i?.ignoreVary||!r.headersList.contains("vary")){return true}const A=n(r.headersList.get("vary"));for(const r of A){if(r==="*"){return false}const i=t.headersList.get(r);const s=e.headersList.get(r);if(i!==s){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});const T=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:false}];l.converters.CacheQueryOptions=l.dictionaryConverter(T);l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...T,{key:"cacheName",converter:l.converters.DOMString}]);l.converters.Response=l.interfaceConverter(p);l.converters["sequence"]=l.sequenceConverter(l.converters.RequestInfo);e.exports={Cache:Cache}},7907:(e,t,r)=>{const{kConstruct:i}=r(9174);const{Cache:s}=r(6101);const{webidl:n}=r(1744);const{kEnumerableProperty:a}=r(3983);class CacheStorage{#s=new Map;constructor(){if(arguments[0]!==i){n.illegalConstructor()}}async match(e,t={}){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=n.converters.RequestInfo(e);t=n.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#s.has(t.cacheName)){const r=this.#s.get(t.cacheName);const n=new s(i,r);return await n.match(e,t)}}else{for(const r of this.#s.values()){const n=new s(i,r);const a=await n.match(e,t);if(a!==undefined){return a}}}}async has(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=n.converters.DOMString(e);return this.#s.has(e)}async open(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=n.converters.DOMString(e);if(this.#s.has(e)){const t=this.#s.get(e);return new s(i,t)}const t=[];this.#s.set(e,t);return new s(i,t)}async delete(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=n.converters.DOMString(e);return this.#s.delete(e)}async keys(){n.brandCheck(this,CacheStorage);const e=this.#s.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:a,has:a,open:a,delete:a,keys:a});e.exports={CacheStorage:CacheStorage}},9174:(e,t,r)=>{e.exports={kConstruct:r(2785).kConstruct}},2396:(e,t,r)=>{const i=r(9491);const{URLSerializer:s}=r(685);const{isValidHeaderName:n}=r(2538);function urlEquals(e,t,r=false){const i=s(e,r);const n=s(t,r);return i===n}function fieldValues(e){i(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(!r.length){continue}else if(!n(r)){continue}t.push(r)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},3598:(e,t,r)=>{const i=r(9491);const s=r(1808);const n=r(3685);const{pipeline:a}=r(2781);const o=r(3983);const A=r(9459);const l=r(2905);const p=r(4839);const{RequestContentLengthMismatchError:c,ResponseContentLengthMismatchError:d,InvalidArgumentError:u,RequestAbortedError:g,HeadersTimeoutError:m,HeadersOverflowError:E,SocketError:C,InformationalError:I,BodyTimeoutError:B,HTTPParserError:Q,ResponseExceededMaxSizeError:y,ClientDestroyedError:w}=r(8045);const T=r(2067);const{kUrl:b,kReset:D,kServerName:k,kClient:S,kBusy:v,kParser:_,kConnect:R,kBlocking:N,kResuming:x,kRunning:F,kPending:L,kSize:M,kWriting:U,kQueue:O,kConnected:P,kConnecting:G,kNeedDrain:H,kNoRef:V,kKeepAliveDefaultTimeout:Y,kHostHeader:J,kPendingIdx:q,kRunningIdx:W,kError:j,kPipelining:z,kSocket:X,kKeepAliveTimeoutValue:K,kMaxHeadersSize:Z,kKeepAliveMaxTimeout:$,kKeepAliveTimeoutThreshold:ee,kHeadersTimeout:te,kBodyTimeout:re,kStrictContentLength:ie,kConnector:se,kMaxRedirections:ne,kMaxRequests:ae,kCounter:oe,kClose:Ae,kDestroy:le,kDispatch:pe,kInterceptors:ce,kLocalAddress:de,kMaxResponseSize:ue,kHTTPConnVersion:he,kHost:fe,kHTTP2Session:ge,kHTTP2SessionState:me,kHTTP2BuildRequest:Ee,kHTTP2CopyHeaders:Ce,kHTTP1BuildRequest:Ie}=r(2785);let Be;try{Be=r(5158)}catch{Be={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Qe,HTTP2_HEADER_METHOD:ye,HTTP2_HEADER_PATH:we,HTTP2_HEADER_SCHEME:Te,HTTP2_HEADER_CONTENT_LENGTH:be,HTTP2_HEADER_EXPECT:De,HTTP2_HEADER_STATUS:ke}}=Be;let Se=false;const ve=Buffer[Symbol.species];const _e=Symbol("kClosedResolve");const Re={};try{const e=r(7643);Re.sendHeaders=e.channel("undici:client:sendHeaders");Re.beforeConnect=e.channel("undici:client:beforeConnect");Re.connectError=e.channel("undici:client:connectError");Re.connected=e.channel("undici:client:connected")}catch{Re.sendHeaders={hasSubscribers:false};Re.beforeConnect={hasSubscribers:false};Re.connectError={hasSubscribers:false};Re.connected={hasSubscribers:false}}class Client extends p{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:i,socketTimeout:a,requestTimeout:A,connectTimeout:l,bodyTimeout:p,idleTimeout:c,keepAlive:d,keepAliveTimeout:g,maxKeepAliveTimeout:m,keepAliveMaxTimeout:E,keepAliveTimeoutThreshold:C,socketPath:I,pipelining:B,tls:Q,strictContentLength:y,maxCachedSessions:w,maxRedirections:D,connect:S,maxRequestsPerClient:v,localAddress:_,maxResponseSize:R,autoSelectFamily:N,autoSelectFamilyAttemptTimeout:F,allowH2:L,maxConcurrentStreams:M}={}){super();if(d!==undefined){throw new u("unsupported keepAlive, use pipelining=0 instead")}if(a!==undefined){throw new u("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(A!==undefined){throw new u("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(c!==undefined){throw new u("unsupported idleTimeout, use keepAliveTimeout instead")}if(m!==undefined){throw new u("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new u("invalid maxHeaderSize")}if(I!=null&&typeof I!=="string"){throw new u("invalid socketPath")}if(l!=null&&(!Number.isFinite(l)||l<0)){throw new u("invalid connectTimeout")}if(g!=null&&(!Number.isFinite(g)||g<=0)){throw new u("invalid keepAliveTimeout")}if(E!=null&&(!Number.isFinite(E)||E<=0)){throw new u("invalid keepAliveMaxTimeout")}if(C!=null&&!Number.isFinite(C)){throw new u("invalid keepAliveTimeoutThreshold")}if(i!=null&&(!Number.isInteger(i)||i<0)){throw new u("headersTimeout must be a positive integer or zero")}if(p!=null&&(!Number.isInteger(p)||p<0)){throw new u("bodyTimeout must be a positive integer or zero")}if(S!=null&&typeof S!=="function"&&typeof S!=="object"){throw new u("connect must be a function or an object")}if(D!=null&&(!Number.isInteger(D)||D<0)){throw new u("maxRedirections must be a positive number")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new u("maxRequestsPerClient must be a positive number")}if(_!=null&&(typeof _!=="string"||s.isIP(_)===0)){throw new u("localAddress must be valid string IP address")}if(R!=null&&(!Number.isInteger(R)||R<-1)){throw new u("maxResponseSize must be a positive number")}if(F!=null&&(!Number.isInteger(F)||F<-1)){throw new u("autoSelectFamilyAttemptTimeout must be a positive number")}if(L!=null&&typeof L!=="boolean"){throw new u("allowH2 must be a valid boolean value")}if(M!=null&&(typeof M!=="number"||M<1)){throw new u("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof S!=="function"){S=T({...Q,maxCachedSessions:w,allowH2:L,socketPath:I,timeout:l,...o.nodeHasAutoSelectFamily&&N?{autoSelectFamily:N,autoSelectFamilyAttemptTimeout:F}:undefined,...S})}this[ce]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[xe({maxRedirections:D})];this[b]=o.parseOrigin(e);this[se]=S;this[X]=null;this[z]=B!=null?B:1;this[Z]=r||n.maxHeaderSize;this[Y]=g==null?4e3:g;this[$]=E==null?6e5:E;this[ee]=C==null?1e3:C;this[K]=this[Y];this[k]=null;this[de]=_!=null?_:null;this[x]=0;this[H]=0;this[J]=`host: ${this[b].hostname}${this[b].port?`:${this[b].port}`:""}\r\n`;this[re]=p!=null?p:3e5;this[te]=i!=null?i:3e5;this[ie]=y==null?true:y;this[ne]=D;this[ae]=v;this[_e]=null;this[ue]=R>-1?R:-1;this[he]="h1";this[ge]=null;this[me]=!L?null:{openStreams:0,maxConcurrentStreams:M!=null?M:100};this[fe]=`${this[b].hostname}${this[b].port?`:${this[b].port}`:""}`;this[O]=[];this[W]=0;this[q]=0}get pipelining(){return this[z]}set pipelining(e){this[z]=e;resume(this,true)}get[L](){return this[O].length-this[q]}get[F](){return this[q]-this[W]}get[M](){return this[O].length-this[W]}get[P](){return!!this[X]&&!this[G]&&!this[X].destroyed}get[v](){const e=this[X];return e&&(e[D]||e[U]||e[N])||this[M]>=(this[z]||1)||this[L]>0}[R](e){connect(this);this.once("connect",e)}[pe](e,t){const r=e.origin||this[b].origin;const i=this[he]==="h2"?l[Ee](r,e,t):l[Ie](r,e,t);this[O].push(i);if(this[x]){}else if(o.bodyLength(i.body)==null&&o.isIterable(i.body)){this[x]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[x]&&this[H]!==2&&this[v]){this[H]=2}return this[H]<2}async[Ae](){return new Promise((e=>{if(!this[M]){e(null)}else{this[_e]=e}}))}async[le](e){return new Promise((t=>{const r=this[O].splice(this[q]);for(let t=0;t{if(this[_e]){this[_e]();this[_e]=null}t()};if(this[ge]!=null){o.destroy(this[ge],e);this[ge]=null;this[me]=null}if(!this[X]){queueMicrotask(callback)}else{o.destroy(this[X].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){i(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[X][j]=e;onError(this[S],e)}function onHttp2FrameError(e,t,r){const i=new I(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(r===0){this[X][j]=i;onError(this[S],i)}}function onHttp2SessionEnd(){o.destroy(this,new C("other side closed"));o.destroy(this[X],new C("other side closed"))}function onHTTP2GoAway(e){const t=this[S];const r=new I(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[X]=null;t[ge]=null;if(t.destroyed){i(this[L]===0);const e=t[O].splice(t[W]);for(let t=0;t0){const e=t[O][t[W]];t[O][t[W]++]=null;errorRequest(t,e,r)}t[q]=t[W];i(t[F]===0);t.emit("disconnect",t[b],[t],r);resume(t)}const Ne=r(953);const xe=r(8861);const Fe=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(1145):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(r(5627),"base64"))}catch(i){t=await WebAssembly.compile(Buffer.from(e||r(1145),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{i.strictEqual(Ue.ptr,e);const s=t-Ge+Oe.byteOffset;return Ue.onStatus(new ve(Oe.buffer,s,r))||0},wasm_on_message_begin:e=>{i.strictEqual(Ue.ptr,e);return Ue.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{i.strictEqual(Ue.ptr,e);const s=t-Ge+Oe.byteOffset;return Ue.onHeaderField(new ve(Oe.buffer,s,r))||0},wasm_on_header_value:(e,t,r)=>{i.strictEqual(Ue.ptr,e);const s=t-Ge+Oe.byteOffset;return Ue.onHeaderValue(new ve(Oe.buffer,s,r))||0},wasm_on_headers_complete:(e,t,r,s)=>{i.strictEqual(Ue.ptr,e);return Ue.onHeadersComplete(t,Boolean(r),Boolean(s))||0},wasm_on_body:(e,t,r)=>{i.strictEqual(Ue.ptr,e);const s=t-Ge+Oe.byteOffset;return Ue.onBody(new ve(Oe.buffer,s,r))||0},wasm_on_message_complete:e=>{i.strictEqual(Ue.ptr,e);return Ue.onMessageComplete()||0}}})}let Le=null;let Me=lazyllhttp();Me.catch();let Ue=null;let Oe=null;let Pe=0;let Ge=null;const He=1;const Ve=2;const Ye=3;class Parser{constructor(e,t,{exports:r}){i(Number.isFinite(e[Z])&&e[Z]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(Ne.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[Z];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[ue]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){A.clearTimeout(this.timeout);if(e){this.timeout=A.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}i(this.ptr!=null);i(Ue==null);this.llhttp.llhttp_resume(this.ptr);i(this.timeoutType===Ve);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Fe);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){i(this.ptr!=null);i(Ue==null);i(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>Pe){if(Ge){r.free(Ge)}Pe=Math.ceil(e.length/4096)*4096;Ge=r.malloc(Pe)}new Uint8Array(r.memory.buffer,Ge,Pe).set(e);try{let i;try{Oe=e;Ue=this;i=r.llhttp_execute(this.ptr,Ge,e.length)}catch(e){throw e}finally{Ue=null;Oe=null}const s=r.llhttp_get_error_pos(this.ptr)-Ge;if(i===Ne.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(s))}else if(i===Ne.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(s))}else if(i!==Ne.ERROR.OK){const t=r.llhttp_get_error_reason(this.ptr);let n="";if(t){const e=new Uint8Array(r.memory.buffer,t).indexOf(0);n="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,t,e).toString()+")"}throw new Q(n,Ne.ERROR[i],e.slice(s))}}catch(e){o.destroy(t,e)}}destroy(){i(this.ptr!=null);i(Ue==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;A.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const r=t[O][t[W]];if(!r){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const r=this.headers[t-2];if(r.length===10&&r.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(r.length===10&&r.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(r.length===14&&r.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){o.destroy(this.socket,new E)}}onUpgrade(e){const{upgrade:t,client:r,socket:s,headers:n,statusCode:a}=this;i(t);const A=r[O][r[W]];i(A);i(!s.destroyed);i(s===r[X]);i(!this.paused);i(A.upgrade||A.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;i(this.headers.length%2===0);this.headers=[];this.headersSize=0;s.unshift(e);s[_].destroy();s[_]=null;s[S]=null;s[j]=null;s.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);r[X]=null;r[O][r[W]++]=null;r.emit("disconnect",r[b],[r],new I("upgrade"));try{A.onUpgrade(a,n,s)}catch(e){o.destroy(s,e)}resume(r)}onHeadersComplete(e,t,r){const{client:s,socket:n,headers:a,statusText:A}=this;if(n.destroyed){return-1}const l=s[O][s[W]];if(!l){return-1}i(!this.upgrade);i(this.statusCode<200);if(e===100){o.destroy(n,new C("bad response",o.getSocketInfo(n)));return-1}if(t&&!l.upgrade){o.destroy(n,new C("bad upgrade",o.getSocketInfo(n)));return-1}i.strictEqual(this.timeoutType,He);this.statusCode=e;this.shouldKeepAlive=r||l.method==="HEAD"&&!n[D]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=l.bodyTimeout!=null?l.bodyTimeout:s[re];this.setTimeout(e,Ve)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(l.method==="CONNECT"){i(s[F]===1);this.upgrade=true;return 2}if(t){i(s[F]===1);this.upgrade=true;return 2}i(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&s[z]){const e=this.keepAlive?o.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-s[ee],s[$]);if(t<=0){n[D]=true}else{s[K]=t}}else{s[K]=s[Y]}}else{n[D]=true}const p=l.onHeaders(e,a,this.resume,A)===false;if(l.aborted){return-1}if(l.method==="HEAD"){return 1}if(e<200){return 1}if(n[N]){n[N]=false;resume(s)}return p?Ne.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:s,maxResponseSize:n}=this;if(r.destroyed){return-1}const a=t[O][t[W]];i(a);i.strictEqual(this.timeoutType,Ve);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}i(s>=200);if(n>-1&&this.bytesRead+e.length>n){o.destroy(r,new y);return-1}this.bytesRead+=e.length;if(a.onData(e)===false){return Ne.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:s,headers:n,contentLength:a,bytesRead:A,shouldKeepAlive:l}=this;if(t.destroyed&&(!r||l)){return-1}if(s){return}const p=e[O][e[W]];i(p);i(r>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";i(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(r<200){return}if(p.method!=="HEAD"&&a&&A!==parseInt(a,10)){o.destroy(t,new d);return-1}p.onComplete(n);e[O][e[W]++]=null;if(t[U]){i.strictEqual(e[F],0);o.destroy(t,new I("reset"));return Ne.ERROR.PAUSED}else if(!l){o.destroy(t,new I("reset"));return Ne.ERROR.PAUSED}else if(t[D]&&e[F]===0){o.destroy(t,new I("reset"));return Ne.ERROR.PAUSED}else if(e[z]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:s}=e;if(r===He){if(!t[U]||t.writableNeedDrain||s[F]>1){i(!e.paused,"cannot be paused while waiting for headers");o.destroy(t,new m)}}else if(r===Ve){if(!e.paused){o.destroy(t,new B)}}else if(r===Ye){i(s[F]===0&&s[K]);o.destroy(t,new I("socket idle timeout"))}}function onSocketReadable(){const{[_]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[S]:t,[_]:r}=this;i(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[he]!=="h2"){if(e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}}this[j]=e;onError(this[S],e)}function onError(e,t){if(e[F]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){i(e[q]===e[W]);const r=e[O].splice(e[W]);for(let i=0;i0&&r.code!=="UND_ERR_INFO"){const t=e[O][e[W]];e[O][e[W]++]=null;errorRequest(e,t,r)}e[q]=e[W];i(e[F]===0);e.emit("disconnect",e[b],[e],r);resume(e)}async function connect(e){i(!e[G]);i(!e[X]);let{host:t,hostname:r,protocol:n,port:a}=e[b];if(r[0]==="["){const e=r.indexOf("]");i(e!==-1);const t=r.substring(1,e);i(s.isIP(t));r=t}e[G]=true;if(Re.beforeConnect.hasSubscribers){Re.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,servername:e[k],localAddress:e[de]},connector:e[se]})}try{const s=await new Promise(((i,s)=>{e[se]({host:t,hostname:r,protocol:n,port:a,servername:e[k],localAddress:e[de]},((e,t)=>{if(e){s(e)}else{i(t)}}))}));if(e.destroyed){o.destroy(s.on("error",(()=>{})),new w);return}e[G]=false;i(s);const A=s.alpnProtocol==="h2";if(A){if(!Se){Se=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=Be.connect(e[b],{createConnection:()=>s,peerMaxConcurrentStreams:e[me].maxConcurrentStreams});e[he]="h2";t[S]=e;t[X]=s;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[ge]=t;s[ge]=t}else{if(!Le){Le=await Me;Me=null}s[V]=false;s[U]=false;s[D]=false;s[N]=false;s[_]=new Parser(e,s,Le)}s[oe]=0;s[ae]=e[ae];s[S]=e;s[j]=null;s.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[X]=s;if(Re.connected.hasSubscribers){Re.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,servername:e[k],localAddress:e[de]},connector:e[se],socket:s})}e.emit("connect",e[b],[e])}catch(s){if(e.destroyed){return}e[G]=false;if(Re.connectError.hasSubscribers){Re.connectError.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,servername:e[k],localAddress:e[de]},connector:e[se],error:s})}if(s.code==="ERR_TLS_CERT_ALTNAME_INVALID"){i(e[F]===0);while(e[L]>0&&e[O][e[q]].servername===e[k]){const t=e[O][e[q]++];errorRequest(e,t,s)}}else{onError(e,s)}e.emit("connectionError",e[b],[e],s)}resume(e)}function emitDrain(e){e[H]=0;e.emit("drain",e[b],[e])}function resume(e,t){if(e[x]===2){return}e[x]=2;_resume(e,t);e[x]=0;if(e[W]>256){e[O].splice(0,e[W]);e[q]-=e[W];e[W]=0}}function _resume(e,t){while(true){if(e.destroyed){i(e[L]===0);return}if(e[_e]&&!e[M]){e[_e]();e[_e]=null;return}const r=e[X];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[M]===0){if(!r[V]&&r.unref){r.unref();r[V]=true}}else if(r[V]&&r.ref){r.ref();r[V]=false}if(e[M]===0){if(r[_].timeoutType!==Ye){r[_].setTimeout(e[K],Ye)}}else if(e[F]>0&&r[_].statusCode<200){if(r[_].timeoutType!==He){const t=e[O][e[W]];const i=t.headersTimeout!=null?t.headersTimeout:e[te];r[_].setTimeout(i,He)}}}if(e[v]){e[H]=2}else if(e[H]===2){if(t){e[H]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[L]===0){return}if(e[F]>=(e[z]||1)){return}const s=e[O][e[q]];if(e[b].protocol==="https:"&&e[k]!==s.servername){if(e[F]>0){return}e[k]=s.servername;if(r&&r.servername!==s.servername){o.destroy(r,new I("servername changed"));return}}if(e[G]){return}if(!r&&!e[ge]){connect(e);return}if(r.destroyed||r[U]||r[D]||r[N]){return}if(e[F]>0&&!s.idempotent){return}if(e[F]>0&&(s.upgrade||s.method==="CONNECT")){return}if(e[F]>0&&o.bodyLength(s.body)!==0&&(o.isStream(s.body)||o.isAsyncIterable(s.body))){return}if(!s.aborted&&write(e,s)){e[q]++}else{e[O].splice(e[q],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[he]==="h2"){writeH2(e,e[ge],t);return}const{body:r,method:s,path:n,host:a,upgrade:A,headers:l,blocking:p,reset:d}=t;const u=s==="PUT"||s==="POST"||s==="PATCH";if(r&&typeof r.read==="function"){r.read(0)}const m=o.bodyLength(r);let E=m;if(E===null){E=t.contentLength}if(E===0&&!u){E=null}if(shouldSendContentLength(s)&&E>0&&t.contentLength!==null&&t.contentLength!==E){if(e[ie]){errorRequest(e,t,new c);return false}process.emitWarning(new c)}const C=e[X];try{t.onConnect((r=>{if(t.aborted||t.completed){return}errorRequest(e,t,r||new g);o.destroy(C,new I("aborted"))}))}catch(r){errorRequest(e,t,r)}if(t.aborted){return false}if(s==="HEAD"){C[D]=true}if(A||s==="CONNECT"){C[D]=true}if(d!=null){C[D]=d}if(e[ae]&&C[oe]++>=e[ae]){C[D]=true}if(p){C[N]=true}let B=`${s} ${n} HTTP/1.1\r\n`;if(typeof a==="string"){B+=`host: ${a}\r\n`}else{B+=e[J]}if(A){B+=`connection: upgrade\r\nupgrade: ${A}\r\n`}else if(e[z]&&!C[D]){B+="connection: keep-alive\r\n"}else{B+="connection: close\r\n"}if(l){B+=l}if(Re.sendHeaders.hasSubscribers){Re.sendHeaders.publish({request:t,headers:B,socket:C})}if(!r||m===0){if(E===0){C.write(`${B}content-length: 0\r\n\r\n`,"latin1")}else{i(E===null,"no body must not have content length");C.write(`${B}\r\n`,"latin1")}t.onRequestSent()}else if(o.isBuffer(r)){i(E===r.byteLength,"buffer body must have content length");C.cork();C.write(`${B}content-length: ${E}\r\n\r\n`,"latin1");C.write(r);C.uncork();t.onBodySent(r);t.onRequestSent();if(!u){C[D]=true}}else if(o.isBlobLike(r)){if(typeof r.stream==="function"){writeIterable({body:r.stream(),client:e,request:t,socket:C,contentLength:E,header:B,expectsPayload:u})}else{writeBlob({body:r,client:e,request:t,socket:C,contentLength:E,header:B,expectsPayload:u})}}else if(o.isStream(r)){writeStream({body:r,client:e,request:t,socket:C,contentLength:E,header:B,expectsPayload:u})}else if(o.isIterable(r)){writeIterable({body:r,client:e,request:t,socket:C,contentLength:E,header:B,expectsPayload:u})}else{i(false)}return true}function writeH2(e,t,r){const{body:s,method:n,path:a,host:A,upgrade:p,expectContinue:d,signal:u,headers:m}=r;let E;if(typeof m==="string")E=l[Ce](m.trim());else E=m;if(p){errorRequest(e,r,new Error("Upgrade not supported for H2"));return false}try{r.onConnect((t=>{if(r.aborted||r.completed){return}errorRequest(e,r,t||new g)}))}catch(t){errorRequest(e,r,t)}if(r.aborted){return false}let C;const B=e[me];E[Qe]=A||e[fe];E[ye]=n;if(n==="CONNECT"){t.ref();C=t.request(E,{endStream:false,signal:u});if(C.id&&!C.pending){r.onUpgrade(null,null,C);++B.openStreams}else{C.once("ready",(()=>{r.onUpgrade(null,null,C);++B.openStreams}))}C.once("close",(()=>{B.openStreams-=1;if(B.openStreams===0)t.unref()}));return true}E[we]=a;E[Te]="https";const Q=n==="PUT"||n==="POST"||n==="PATCH";if(s&&typeof s.read==="function"){s.read(0)}let y=o.bodyLength(s);if(y==null){y=r.contentLength}if(y===0||!Q){y=null}if(shouldSendContentLength(n)&&y>0&&r.contentLength!=null&&r.contentLength!==y){if(e[ie]){errorRequest(e,r,new c);return false}process.emitWarning(new c)}if(y!=null){i(s,"no body must not have content length");E[be]=`${y}`}t.ref();const w=n==="GET"||n==="HEAD";if(d){E[De]="100-continue";C=t.request(E,{endStream:w,signal:u});C.once("continue",writeBodyH2)}else{C=t.request(E,{endStream:w,signal:u});writeBodyH2()}++B.openStreams;C.once("response",(e=>{const{[ke]:t,...i}=e;if(r.onHeaders(Number(t),i,C.resume.bind(C),"")===false){C.pause()}}));C.once("end",(()=>{r.onComplete([])}));C.on("data",(e=>{if(r.onData(e)===false){C.pause()}}));C.once("close",(()=>{B.openStreams-=1;if(B.openStreams===0){t.unref()}}));C.once("error",(function(t){if(e[ge]&&!e[ge].destroyed&&!this.closed&&!this.destroyed){B.streams-=1;o.destroy(C,t)}}));C.once("frameError",((t,i)=>{const s=new I(`HTTP/2: "frameError" received - type ${t}, code ${i}`);errorRequest(e,r,s);if(e[ge]&&!e[ge].destroyed&&!this.closed&&!this.destroyed){B.streams-=1;o.destroy(C,s)}}));return true;function writeBodyH2(){if(!s){r.onRequestSent()}else if(o.isBuffer(s)){i(y===s.byteLength,"buffer body must have content length");C.cork();C.write(s);C.uncork();C.end();r.onBodySent(s);r.onRequestSent()}else if(o.isBlobLike(s)){if(typeof s.stream==="function"){writeIterable({client:e,request:r,contentLength:y,h2stream:C,expectsPayload:Q,body:s.stream(),socket:e[X],header:""})}else{writeBlob({body:s,client:e,request:r,contentLength:y,expectsPayload:Q,h2stream:C,header:"",socket:e[X]})}}else if(o.isStream(s)){writeStream({body:s,client:e,request:r,contentLength:y,expectsPayload:Q,socket:e[X],h2stream:C,header:""})}else if(o.isIterable(s)){writeIterable({body:s,client:e,request:r,contentLength:y,expectsPayload:Q,header:"",h2stream:C,socket:e[X]})}else{i(false)}}}function writeStream({h2stream:e,body:t,client:r,request:s,socket:n,contentLength:A,header:l,expectsPayload:p}){i(A!==0||r[F]===0,"stream body cannot be pipelined");if(r[he]==="h2"){const r=a(t,e,(r=>{if(r){o.destroy(t,r);o.destroy(e,r)}else{s.onRequestSent()}}));r.on("data",onPipeData);r.once("end",(()=>{r.removeListener("data",onPipeData);o.destroy(r)}));function onPipeData(e){s.onBodySent(e)}return}let c=false;const d=new AsyncWriter({socket:n,request:s,contentLength:A,client:r,expectsPayload:p,header:l});const onData=function(e){if(c){return}try{if(!d.write(e)&&this.pause){this.pause()}}catch(e){o.destroy(this,e)}};const onDrain=function(){if(c){return}if(t.resume){t.resume()}};const onAbort=function(){if(c){return}const e=new g;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(c){return}c=true;i(n.destroyed||n[U]&&r[F]<=1);n.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{d.end()}catch(t){e=t}}d.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){o.destroy(t,e)}else{o.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}n.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:r,request:s,socket:n,contentLength:a,header:A,expectsPayload:l}){i(a===t.size,"blob body must have content length");const p=r[he]==="h2";try{if(a!=null&&a!==t.size){throw new c}const i=Buffer.from(await t.arrayBuffer());if(p){e.cork();e.write(i);e.uncork()}else{n.cork();n.write(`${A}content-length: ${a}\r\n\r\n`,"latin1");n.write(i);n.uncork()}s.onBodySent(i);s.onRequestSent();if(!l){n[D]=true}resume(r)}catch(t){o.destroy(p?e:n,t)}}async function writeIterable({h2stream:e,body:t,client:r,request:s,socket:n,contentLength:a,header:o,expectsPayload:A}){i(a!==0||r[F]===0,"iterator body cannot be pipelined");let l=null;function onDrain(){if(l){const e=l;l=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{i(l===null);if(n[j]){t(n[j])}else{l=e}}));if(r[he]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const r of t){if(n[j]){throw n[j]}const t=e.write(r);s.onBodySent(r);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{s.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}n.on("close",onDrain).on("drain",onDrain);const p=new AsyncWriter({socket:n,request:s,contentLength:a,client:r,expectsPayload:A,header:o});try{for await(const e of t){if(n[j]){throw n[j]}if(!p.write(e)){await waitForDrain()}}p.end()}catch(e){p.destroy(e)}finally{n.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:r,client:i,expectsPayload:s,header:n}){this.socket=e;this.request=t;this.contentLength=r;this.client=i;this.bytesWritten=0;this.expectsPayload=s;this.header=n;e[U]=true}write(e){const{socket:t,request:r,contentLength:i,client:s,bytesWritten:n,expectsPayload:a,header:o}=this;if(t[j]){throw t[j]}if(t.destroyed){return false}const A=Buffer.byteLength(e);if(!A){return true}if(i!==null&&n+A>i){if(s[ie]){throw new c}process.emitWarning(new c)}t.cork();if(n===0){if(!a){t[D]=true}if(i===null){t.write(`${o}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${o}content-length: ${i}\r\n\r\n`,"latin1")}}if(i===null){t.write(`\r\n${A.toString(16)}\r\n`,"latin1")}this.bytesWritten+=A;const l=t.write(e);t.uncork();r.onBodySent(e);if(!l){if(t[_].timeout&&t[_].timeoutType===He){if(t[_].timeout.refresh){t[_].timeout.refresh()}}}return l}end(){const{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:s,header:n,request:a}=this;a.onRequestSent();e[U]=false;if(e[j]){throw e[j]}if(e.destroyed){return}if(i===0){if(s){e.write(`${n}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${n}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&i!==t){if(r[ie]){throw new c}else{process.emitWarning(new c)}}if(e[_].timeout&&e[_].timeoutType===He){if(e[_].timeout.refresh){e[_].timeout.refresh()}}resume(r)}destroy(e){const{socket:t,client:r}=this;t[U]=false;if(e){i(r[F]<=1,"pipeline should only contain this request");o.destroy(t,e)}}}function errorRequest(e,t,r){try{t.onError(r);i(t.aborted)}catch(r){e.emit("error",r)}}e.exports=Client},6436:(e,t,r)=>{const{kConnected:i,kSize:s}=r(2785);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[i]===0&&this.value[s]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[i]===0&&e[s]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},663:e=>{const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},1724:(e,t,r)=>{const{parseSetCookie:i}=r(4408);const{stringify:s,getHeadersList:n}=r(3121);const{webidl:a}=r(1744);const{Headers:o}=r(554);function getCookies(e){a.argumentLengthCheck(arguments,1,{header:"getCookies"});a.brandCheck(e,o,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r}function deleteCookie(e,t,r){a.argumentLengthCheck(arguments,2,{header:"deleteCookie"});a.brandCheck(e,o,{strict:false});t=a.converters.DOMString(t);r=a.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){a.argumentLengthCheck(arguments,1,{header:"getSetCookies"});a.brandCheck(e,o,{strict:false});const t=n(e).cookies;if(!t){return[]}return t.map((e=>i(Array.isArray(e)?e[1]:e)))}function setCookie(e,t){a.argumentLengthCheck(arguments,2,{header:"setCookie"});a.brandCheck(e,o,{strict:false});t=a.converters.Cookie(t);const r=s(t);if(r){e.append("Set-Cookie",s(t))}}a.converters.DeleteCookieAttributes=a.dictionaryConverter([{converter:a.nullableConverter(a.converters.DOMString),key:"path",defaultValue:null},{converter:a.nullableConverter(a.converters.DOMString),key:"domain",defaultValue:null}]);a.converters.Cookie=a.dictionaryConverter([{converter:a.converters.DOMString,key:"name"},{converter:a.converters.DOMString,key:"value"},{converter:a.nullableConverter((e=>{if(typeof e==="number"){return a.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:a.nullableConverter(a.converters["long long"]),key:"maxAge",defaultValue:null},{converter:a.nullableConverter(a.converters.DOMString),key:"domain",defaultValue:null},{converter:a.nullableConverter(a.converters.DOMString),key:"path",defaultValue:null},{converter:a.nullableConverter(a.converters.boolean),key:"secure",defaultValue:null},{converter:a.nullableConverter(a.converters.boolean),key:"httpOnly",defaultValue:null},{converter:a.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:a.sequenceConverter(a.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},4408:(e,t,r)=>{const{maxNameValuePairSize:i,maxAttributeValueSize:s}=r(663);const{isCTLExcludingHtab:n}=r(3121);const{collectASequenceOfCodePointsFast:a}=r(685);const o=r(9491);function parseSetCookie(e){if(n(e)){return null}let t="";let r="";let s="";let o="";if(e.includes(";")){const i={position:0};t=a(";",e,i);r=e.slice(i.position)}else{t=e}if(!t.includes("=")){o=t}else{const e={position:0};s=a("=",t,e);o=t.slice(e.position+1)}s=s.trim();o=o.trim();if(s.length+o.length>i){return null}return{name:s,value:o,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}o(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=a(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let i="";let n="";if(r.includes("=")){const e={position:0};i=a("=",r,e);n=r.slice(e.position+1)}else{i=r}i=i.trim();n=n.trim();if(n.length>s){return parseUnparsedAttributes(e,t)}const A=i.toLowerCase();if(A==="expires"){const e=new Date(n);t.expires=e}else if(A==="max-age"){const r=n.charCodeAt(0);if((r<48||r>57)&&n[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(n)){return parseUnparsedAttributes(e,t)}const i=Number(n);t.maxAge=i}else if(A==="domain"){let e=n;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(A==="path"){let e="";if(n.length===0||n[0]!=="/"){e="/"}else{e=n}t.path=e}else if(A==="secure"){t.secure=true}else if(A==="httponly"){t.httpOnly=true}else if(A==="samesite"){let e="Default";const r=n.toLowerCase();if(r.includes("none")){e="None"}if(r.includes("strict")){e="Strict"}if(r.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${i}=${n}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3121:(e,t,r)=>{const i=r(9491);const{kHeadersList:s}=r(2785);function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const i=t[e.getUTCDay()];const s=e.getUTCDate().toString().padStart(2,"0");const n=r[e.getUTCMonth()];const a=e.getUTCFullYear();const o=e.getUTCHours().toString().padStart(2,"0");const A=e.getUTCMinutes().toString().padStart(2,"0");const l=e.getUTCSeconds().toString().padStart(2,"0");return`${i}, ${s} ${n} ${a} ${o}:${A}:${l} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...i]=r.split("=");t.push(`${e.trim()}=${i.join("=")}`)}return t.join("; ")}let n;function getHeadersList(e){if(e[s]){return e[s]}if(!n){n=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));i(n,"Headers cannot be parsed")}const t=e[n];i(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},2067:(e,t,r)=>{const i=r(1808);const s=r(9491);const n=r(3983);const{InvalidArgumentError:a,ConnectTimeoutError:o}=r(8045);let A;let l;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){l=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:o,timeout:p,...c}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new a("maxCachedSessions must be a positive integer or zero")}const d={path:o,...c};const u=new l(t==null?100:t);p=p==null?1e4:p;e=e!=null?e:false;return function connect({hostname:t,host:a,protocol:o,port:l,servername:c,localAddress:g,httpSocket:m},E){let C;if(o==="https:"){if(!A){A=r(4404)}c=c||d.servername||n.getServerName(a)||null;const i=c||t;const o=u.get(i)||null;s(i);C=A.connect({highWaterMark:16384,...d,servername:c,session:o,localAddress:g,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:m,port:l||443,host:t});C.on("session",(function(e){u.set(i,e)}))}else{s(!m,"httpSocket can only be sent on TLS update");C=i.connect({highWaterMark:64*1024,...d,localAddress:g,port:l||80,host:t})}if(d.keepAlive==null||d.keepAlive){const e=d.keepAliveInitialDelay===undefined?6e4:d.keepAliveInitialDelay;C.setKeepAlive(true,e)}const I=setupTimeout((()=>onConnectTimeout(C)),p);C.setNoDelay(true).once(o==="https:"?"secureConnect":"connect",(function(){I();if(E){const e=E;E=null;e(null,this)}})).on("error",(function(e){I();if(E){const t=E;E=null;t(e)}}));return C}}function setupTimeout(e,t){if(!t){return()=>{}}let r=null;let i=null;const s=setTimeout((()=>{r=setImmediate((()=>{if(process.platform==="win32"){i=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(s);clearImmediate(r);clearImmediate(i)}}function onConnectTimeout(e){n.destroy(e,new o)}e.exports=buildConnector},4462:e=>{const t={};const r=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,r,i){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=i;this.status=t;this.statusCode=t;this.headers=r}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,r){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:r,data:i}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=i;this.headers=r}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},2905:(e,t,r)=>{const{InvalidArgumentError:i,NotSupportedError:s}=r(8045);const n=r(9491);const{kHTTP2BuildRequest:a,kHTTP2CopyHeaders:o,kHTTP1BuildRequest:A}=r(2785);const l=r(3983);const p=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const c=/[^\t\x20-\x7e\x80-\xff]/;const d=/[^\u0021-\u00ff]/;const u=Symbol("handler");const g={};let m;try{const e=r(7643);g.create=e.channel("undici:request:create");g.bodySent=e.channel("undici:request:bodySent");g.headers=e.channel("undici:request:headers");g.trailers=e.channel("undici:request:trailers");g.error=e.channel("undici:request:error")}catch{g.create={hasSubscribers:false};g.bodySent={hasSubscribers:false};g.headers={hasSubscribers:false};g.trailers={hasSubscribers:false};g.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:s,body:n,headers:a,query:o,idempotent:A,blocking:c,upgrade:E,headersTimeout:C,bodyTimeout:I,reset:B,throwOnError:Q,expectContinue:y},w){if(typeof t!=="string"){throw new i("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&s!=="CONNECT"){throw new i("path must be an absolute URL or start with a slash")}else if(d.exec(t)!==null){throw new i("invalid request path")}if(typeof s!=="string"){throw new i("method must be a string")}else if(p.exec(s)===null){throw new i("invalid request method")}if(E&&typeof E!=="string"){throw new i("upgrade must be a string")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new i("invalid headersTimeout")}if(I!=null&&(!Number.isFinite(I)||I<0)){throw new i("invalid bodyTimeout")}if(B!=null&&typeof B!=="boolean"){throw new i("invalid reset")}if(y!=null&&typeof y!=="boolean"){throw new i("invalid expectContinue")}this.headersTimeout=C;this.bodyTimeout=I;this.throwOnError=Q===true;this.method=s;this.abort=null;if(n==null){this.body=null}else if(l.isStream(n)){this.body=n;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){l.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(l.isBuffer(n)){this.body=n.byteLength?n:null}else if(ArrayBuffer.isView(n)){this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null}else if(n instanceof ArrayBuffer){this.body=n.byteLength?Buffer.from(n):null}else if(typeof n==="string"){this.body=n.length?Buffer.from(n):null}else if(l.isFormDataLike(n)||l.isIterable(n)||l.isBlobLike(n)){this.body=n}else{throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=E||null;this.path=o?l.buildURL(t,o):t;this.origin=e;this.idempotent=A==null?s==="HEAD"||s==="GET":A;this.blocking=c==null?false:c;this.reset=B==null?null:B;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=y!=null?y:false;if(Array.isArray(a)){if(a.length%2!==0){throw new i("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3983:(e,t,r)=>{const i=r(9491);const{kDestroyed:s,kBodyUsed:n}=r(2785);const{IncomingMessage:a}=r(3685);const o=r(2781);const A=r(1808);const{InvalidArgumentError:l}=r(8045);const{Blob:p}=r(4300);const c=r(3837);const{stringify:d}=r(3477);const{headerNameLowerCasedRecord:u}=r(4462);const[g,m]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return p&&e instanceof p||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const r=d(t);if(r){e+="?"+r}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new l("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new l("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new l("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new l("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new l("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new l("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new l("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new l("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let r=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let i=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r.endsWith("/")){r=r.substring(0,r.length-1)}if(i&&!i.startsWith("/")){i=`/${i}`}e=new URL(r+i)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new l("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");i(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}i.strictEqual(typeof e,"string");const t=getHostname(e);if(A.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[s])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===a){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[s]=true}}const E=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(E);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return u[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let r=0;re.toString("utf8")))}else{t[i]=e[r+1].toString("utf8")}}else{if(!Array.isArray(s)){s=[s];t[i]=s}s.push(e[r+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let r=false;let i=-1;for(let s=0;s{e.close()}))}else{const t=Buffer.isBuffer(i)?i:Buffer.from(i);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const I=!!String.prototype.toWellFormed;function toUSVString(e){if(I){return`${e}`.toWellFormed()}else if(c.toUSVString){return c.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const B=Object.create(null);B.enumerable=true;e.exports={kEnumerableProperty:B,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:g,nodeMinor:m,nodeHasAutoSelectFamily:g>18||g===18&&m>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},4839:(e,t,r)=>{const i=r(412);const{ClientDestroyedError:s,ClientClosedError:n,InvalidArgumentError:a}=r(8045);const{kDestroy:o,kClose:A,kDispatch:l,kInterceptors:p}=r(2785);const c=Symbol("destroyed");const d=Symbol("closed");const u=Symbol("onDestroyed");const g=Symbol("onClosed");const m=Symbol("Intercepted Dispatch");class DispatcherBase extends i{constructor(){super();this[c]=false;this[u]=null;this[d]=false;this[g]=[]}get destroyed(){return this[c]}get closed(){return this[d]}get interceptors(){return this[p]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[p][t];if(typeof e!=="function"){throw new a("interceptor must be an function")}}}this[p]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,i)=>r?t(r):e(i)))}))}if(typeof e!=="function"){throw new a("invalid callback")}if(this[c]){queueMicrotask((()=>e(new s,null)));return}if(this[d]){if(this[g]){this[g].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[d]=true;this[g].push(e);const onClosed=()=>{const e=this[g];this[g]=null;for(let t=0;tthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,r)=>{this.destroy(e,((e,i)=>e?r(e):t(i)))}))}if(typeof t!=="function"){throw new a("invalid callback")}if(this[c]){if(this[u]){this[u].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new s}this[c]=true;this[u]=this[u]||[];this[u].push(t);const onDestroyed=()=>{const e=this[u];this[u]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[m](e,t){if(!this[p]||this[p].length===0){this[m]=this[l];return this[l](e,t)}let r=this[l].bind(this);for(let e=this[p].length-1;e>=0;e--){r=this[p][e](r)}this[m]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new a("handler must be an object")}try{if(!e||typeof e!=="object"){throw new a("opts must be an object.")}if(this[c]||this[u]){throw new s}if(this[d]){throw new n}return this[m](e,t)}catch(e){if(typeof t.onError!=="function"){throw new a("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},412:(e,t,r)=>{const i=r(2361);class Dispatcher extends i{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},1472:(e,t,r)=>{const i=r(727);const s=r(3983);const{ReadableStreamFrom:n,isBlobLike:a,isReadableStreamLike:o,readableStreamClose:A,createDeferredPromise:l,fullyReadBody:p}=r(2538);const{FormData:c}=r(2015);const{kState:d}=r(5861);const{webidl:u}=r(1744);const{DOMException:g,structuredClone:m}=r(1037);const{Blob:E,File:C}=r(4300);const{kBodyUsed:I}=r(2785);const B=r(9491);const{isErrored:Q}=r(3983);const{isUint8Array:y,isArrayBuffer:w}=r(4978);const{File:T}=r(8511);const{parseMIMEType:b,serializeAMimeType:D}=r(685);let k=globalThis.ReadableStream;const S=C??T;const v=new TextEncoder;const _=new TextDecoder;function extractBody(e,t=false){if(!k){k=r(5356).ReadableStream}let i=null;if(e instanceof k){i=e}else if(a(e)){i=e.stream()}else{i=new k({async pull(e){e.enqueue(typeof p==="string"?v.encode(p):p);queueMicrotask((()=>A(e)))},start(){},type:undefined})}B(o(i));let l=null;let p=null;let c=null;let d=null;if(typeof e==="string"){p=e;d="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){p=e.toString();d="application/x-www-form-urlencoded;charset=UTF-8"}else if(w(e)){p=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){p=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(s.isFormDataLike(e)){const t=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const r=`--${t}\r\nContent-Disposition: form-data`
+/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const i=[];const s=new Uint8Array([13,10]);c=0;let n=false;for(const[t,a]of e){if(typeof a==="string"){const e=v.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(a)}\r\n`);i.push(e);c+=e.byteLength}else{const e=v.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(a.name?`; filename="${escape(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r\n\r\n`);i.push(e,a,s);if(typeof a.size==="number"){c+=e.byteLength+a.size+s.byteLength}else{n=true}}}const a=v.encode(`--${t}--`);i.push(a);c+=a.byteLength;if(n){c=null}p=e;l=async function*(){for(const e of i){if(e.stream){yield*e.stream()}else{yield e}}};d="multipart/form-data; boundary="+t}else if(a(e)){p=e;c=e.size;if(e.type){d=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(s.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}i=e instanceof k?e:n(e)}if(typeof p==="string"||s.isBuffer(p)){c=Buffer.byteLength(p)}if(l!=null){let t;i=new k({async start(){t=l(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:s}=await t.next();if(s){queueMicrotask((()=>{e.close()}))}else{if(!Q(i)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const u={stream:i,source:p,length:c};return[u,d]}function safelyExtractBody(e,t=false){if(!k){k=r(5356).ReadableStream}if(e instanceof k){B(!s.isDisturbed(e),"The body has already been consumed.");B(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const i=m(r,{transfer:[r]});const[,s]=i.tee();e.stream=t;return{stream:s,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(y(e)){yield e}else{const t=e.stream;if(s.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[I]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new g("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=D(t)}return new E([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){u.brandCheck(this,e);throwIfAborted(this[d]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,r]of this.headers)e[t.toLowerCase()]=r;const t=new c;let r;try{r=new i({headers:e,preservePath:true})}catch(e){throw new g(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,i,s,n)=>{const a=[];if(s==="base64"||s.toLowerCase()==="base64"){let s="";r.on("data",(e=>{s+=e.toString().replace(/[\r\n]/gm,"");const t=s.length-s.length%4;a.push(Buffer.from(s.slice(0,t),"base64"));s=s.slice(t)}));r.on("end",(()=>{a.push(Buffer.from(s,"base64"));t.append(e,new S(a,i,{type:n}))}))}else{r.on("data",(e=>{a.push(e)}));r.on("end",(()=>{t.append(e,new S(a,i,{type:n}))}))}}));const s=new Promise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[d].body))r.write(e);r.end();await s;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const r=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[d].body)){if(!y(e)){throw new TypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new c;for(const[r,i]of e){t.append(r,i)}return t}else{await Promise.resolve();throwIfAborted(this[d]);throw u.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,r){u.brandCheck(e,r);throwIfAborted(e[d]);if(bodyUnusable(e[d].body)){throw new TypeError("Body is unusable")}const i=l();const errorSteps=e=>i.reject(e);const successSteps=e=>{try{i.resolve(t(e))}catch(e){errorSteps(e)}};if(e[d].body==null){successSteps(new Uint8Array);return i.promise}await p(e[d].body,successSteps,errorSteps);return i.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||s.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=_.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[d];const r=t.get("content-type");if(r===null){return"failure"}return b(r)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},1037:(e,t,r)=>{const{MessageChannel:i,receiveMessageOnPort:s}=r(1267);const n=["GET","HEAD","POST"];const a=new Set(n);const o=[101,204,205,304];const A=[301,302,303,307,308];const l=new Set(A);const p=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const c=new Set(p);const d=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const u=new Set(d);const g=["follow","manual","error"];const m=["GET","HEAD","OPTIONS","TRACE"];const E=new Set(m);const C=["navigate","same-origin","no-cors","cors"];const I=["omit","same-origin","include"];const B=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const Q=["content-encoding","content-language","content-location","content-type","content-length"];const y=["half"];const w=["CONNECT","TRACE","TRACK"];const T=new Set(w);const b=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const D=new Set(b);const k=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let S;const v=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!S){S=new i}S.port1.unref();S.port2.unref();S.port1.postMessage(e,t?.transfer);return s(S.port2).message};e.exports={DOMException:k,structuredClone:v,subresource:b,forbiddenMethods:w,requestBodyHeader:Q,referrerPolicy:d,requestRedirect:g,requestMode:C,requestCredentials:I,requestCache:B,redirectStatus:A,corsSafeListedMethods:n,nullBodyStatus:o,safeMethods:m,badPorts:p,requestDuplex:y,subresourceSet:D,badPortsSet:c,redirectStatusSet:l,corsSafeListedMethodsSet:a,safeMethodsSet:E,forbiddenMethodsSet:T,referrerPolicySet:u}},685:(e,t,r)=>{const i=r(9491);const{atob:s}=r(4300);const{isomorphicDecode:n}=r(2538);const a=new TextEncoder;const o=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const A=/(\u000A|\u000D|\u0009|\u0020)/;const l=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){i(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let s=collectASequenceOfCodePointsFast(",",t,r);const a=s.length;s=removeASCIIWhitespace(s,true,true);if(r.position>=t.length){return"failure"}r.position++;const o=t.slice(a+1);let A=stringPercentDecode(o);if(/;(\u0020){0,}base64$/i.test(s)){const e=n(A);A=forgivingBase64(e);if(A==="failure"){return"failure"}s=s.slice(0,-6);s=s.replace(/(\u0020)+$/,"");s=s.slice(0,-1)}if(s.startsWith(";")){s="text/plain"+s}let l=parseMIMEType(s);if(l==="failure"){l=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:l,body:A}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const i=e.hash.length;return i===0?r:r.substring(0,r.length-i)}function collectASequenceOfCodePoints(e,t,r){let i="";while(r.positione.length){return"failure"}t.position++;let i=collectASequenceOfCodePointsFast(";",e,t);i=removeHTTPWhitespace(i,false,true);if(i.length===0||!o.test(i)){return"failure"}const s=r.toLowerCase();const n=i.toLowerCase();const a={type:s,subtype:n,parameters:new Map,essence:`${s}/${n}`};while(t.positionA.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.positione.length){break}let i=null;if(e[t.position]==='"'){i=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{i=collectASequenceOfCodePointsFast(";",e,t);i=removeHTTPWhitespace(i,false,true);if(i.length===0){continue}}if(r.length!==0&&o.test(r)&&(i.length===0||l.test(i))&&!a.parameters.has(r)){a.parameters.set(r,i)}}return a}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const t=s(e);const r=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){n+="\\";break}n+=e[t.position];t.position++}else{i(r==='"');break}}if(r){return n}return e.slice(s,t.position)}function serializeAMimeType(e){i(e!=="failure");const{parameters:t,essence:r}=e;let s=r;for(let[e,r]of t.entries()){s+=";";s+=e;s+="=";if(!o.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}s+=r}return s}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,r=true){let i=0;let s=e.length-1;if(t){for(;i0&&isHTTPWhiteSpace(e[s]);s--);}return e.slice(i,s+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,r=true){let i=0;let s=e.length-1;if(t){for(;i0&&isASCIIWhitespace(e[s]);s--);}return e.slice(i,s+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},8511:(e,t,r)=>{const{Blob:i,File:s}=r(4300);const{types:n}=r(3837);const{kState:a}=r(5861);const{isBlobLike:o}=r(2538);const{webidl:A}=r(1744);const{parseMIMEType:l,serializeAMimeType:p}=r(685);const{kEnumerableProperty:c}=r(3983);const d=new TextEncoder;class File extends i{constructor(e,t,r={}){A.argumentLengthCheck(arguments,2,{header:"File constructor"});e=A.converters["sequence